[U-Boot-Users] Statically assigned IP addresses

Wolfgang Denk wd at denx.de
Tue Jan 13 21:05:45 CET 2004


In message <r02010000-1028-67E4B45645F911D888A700039387ACB6@[10.0.1.1]> you wrote:
> 
> In Linux you have always some "ifconfig interface xxxx" stuff
> during boot...so adding an "up" statement wouldn't hurt...

This is wrong. You can use IP autoconfiguration and pass all required
informantioon on the kernel's command line. No need to add tools like
ifconfig or route to a root filesystem for 99% of all cases.

> setenv netmask x.x.x.x

In almost all cases Linux will guess the correct netmask.

> and if you like:
> 
> setenv gatewayip x.x.x.x

Not if you like. If you need, and only then.


Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The day-to-day travails of the IBM programmer are so amusing to  most
of us who are fortunate enough never to have been one - like watching
Charlie Chaplin trying to cook a shoe.




More information about the U-Boot mailing list