lwip

38 views
Skip to first unread message

Tom Chandler

unread,
May 25, 2012, 2:11:28 PM5/25/12
to minix3
I am running "tracking current" Minix3. I have followed instructions
that I found in the
newsgroup about using lwip. I have lwip installed and running. I can
ping devices on
my local net, but, I can not go outside my local net.

It would appear that either my gateway and/or name server entries are
not being
read and/or used.

If I read the doc's correctly, it indicated that the inet config files
would be used.
Inet works without problem.

really would like to test lwip and if anyone has suggestion on
configuration and/or
use of lwip, I would appreciate any comments.

Thank You
Tom c

Tomas Hruby

unread,
May 25, 2012, 2:15:34 PM5/25/12
to min...@googlegroups.com
Do you use DHCP or static configuration?

If static, do you tell add_route explicitly which device it should
use? For instance -I /dev/ip0 ?

T.

Tom Chandler

unread,
May 25, 2012, 2:34:10 PM5/25/12
to min...@googlegroups.com
Listed below is my rc.net file:

ifconfig -I /dev/ip0 -n 255.255.255.0 -h 192.168.1.141
add_route -g 192.168.1.1
daemonize nonamed -L

the above file works with inet.

Thank you
tom c



--
You received this message because you are subscribed to the Google Groups "minix3" group.
To post to this group, send email to min...@googlegroups.com.
To unsubscribe from this group, send email to minix3+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/minix3?hl=en.


Tomas Hruby

unread,
May 25, 2012, 2:48:46 PM5/25/12
to min...@googlegroups.com
On Fri, May 25, 2012 at 11:34 AM, Tom Chandler <tchan...@gmail.com> wrote:
> Listed below is my rc.net file:
>
> ifconfig -I /dev/ip0 -n 255.255.255.0 -h 192.168.1.141
> add_route -g 192.168.1.1

make it "add_route -I /dev/ip0 -g 192.168.1.1"

I am surprised that the add_route did not block the whole booting process.

I will update the wiki if I do not forget.

T.

Tom Chandler

unread,
May 25, 2012, 3:24:17 PM5/25/12
to min...@googlegroups.com
Thank you for the update.  I made the changes, and now I can
ping the outside by ip only. 

My resolv.conf has entries for 8.8.8.8 & 8.8.4.4.  These work
via inet, but for some reason lwip, does not seem to know
my dns servers.

Is there a different file other than resolv.conf I need to update.

nonamed -L is running when I do a ps ax.

Thank you
Tom c



T.

Reply all
Reply to author
Forward
0 new messages