From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 13 Jan 2004 21:05:45 +0100 Subject: [U-Boot-Users] Statically assigned IP addresses In-Reply-To: Your message of "Tue, 13 Jan 2004 20:50:49 +0200." Message-ID: <20040113200550.DF69EC10AF@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message 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.