[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dhcp on ethN instead of eth0



Here is a beginning, I wonder what others think about replacing
"debian-live" with the Documentation/nfsroot.txt syntax a little bit
extended with possibility to chain devices declarations.

What's done is :
1) get what interface has to be used for dhcp (first found, the one
used) in scripts/live, just before mounting rootfs.
2) auto-fill /etc/network/interfaces from scripts/live-bottom/23networking

device_declaration :
<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>

ip=<device_declaration1>,<device_declaration2>,...

e.g :
append [...] ip=10.0.0.1::10.0.0.254:255.255.255.0::eth0,:::::eth1:dhcp

-- 
Mathieu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipopts.patch
Type: text/x-patch
Size: 3336 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20070626/3d623fb0/attachment.bin 


Reply to: