bootscripts suggestion regarding networking

Alexander E. Patrakov patrakov at ums.usu.ru
Thu Oct 21 18:57:42 PDT 2004


Ian Molton wrote:

> Gerard Beekmans wrote:
>> Hi guys,
>> 
>> A suggestion that might be nice to add to the lfs-bootscripts package.
>> 
>> It might be a nice feature to have the "network" script output the IP
>> address that it configured for each interface it brings up. I'm sure
>> most people will know what the IP addresses are, but there are cases
>> where this would be helpful to see right at bootup.
> 
> Id prefer it NOT to dhcp AT ALL as none of my boxen do that.

Why not take a boot parameter?

linux => no network configured
linux dhcp => dhcp starts from bootscripts
linux ipv4=192.168.0.102/24 gateway=192.168.0.1 => static IP

-- 
Alexander E. Patrakov



More information about the lfs-dev mailing list