[BusyBox] configure network

ni xiao nixiao at lit.a-star.edu.sg
Sun Jun 9 23:34:03 UTC 2002


Hi

You suggestion is quite good. but my network is dhcp. How can I amend that
script.

Thanks

nixiao
----- Original Message -----
From: "Nick Popoff" <busybox at tre.bloodletting.com>
To: "ni xiao" <nixiao at lit.org.sg>; <alan at chandlerfamily.org.uk>
Cc: "busybox @busybox.net" <busybox at busybox.net>
Sent: Sunday, June 09, 2002 7:46 PM
Subject: RE: [BusyBox] configure network


>
> Ni Xiao wrote:
> > I am newbie for busybox. I have done linux boot up in my system and
> > try to configure network access. where can I get rcS sample to boot
> > my network.
>
> It's pretty easy!  Compile in route and ifconfig support for Busybox,
> bring up your Linux system making sure that during boot up it is seeing
> your network card, and you have compiled the right driver for that
> network card into your Linux kernel, then add something like this to
> your startup script:
>
> /sbin/route eth add default 10.3.2.1
> /sbin/ifconfig eth0 10.3.2.20 netmask 255.255.255.0
> /sbin/ifconfig lo 127.0.0.1 netmask 255.0.0.0
>
> Replacing all the 10.x.x.x IP addresses with the right ones for your
> network.  I'm not 100% positive about the "eth" parameter to route
> but it's something like that...
>
>




More information about the busybox mailing list