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

Re: initramfs-tools / cryptoroot



Hi,

> On Fri, Aug 24, 2007 at 12:28:22AM +0200, Daniel Reichelt wrote:
>>> why are you not using ipconfig, the klibc dhclient equiv.
>>> if it doesn't work for you i'd be happy to know why!?

> wasn't talking about udphcpc but ipconfig see usage in 
> /usr/share/initramfs-tools/scripts/nfs boils down to
> ipconfig <device>

not udphcpc, but udhcpc (I caused the typo :-)

Ah ok. Well, because I wouldn't want to mix static/dynamic IP address assigning
in a larger network. Admittedly, I haven't  implemented that completely
consitent (yet), e.g. the DHCP-option "send-hostname" is missing (this works
for me 'cause I'm practically not assigning IPs from the dynamic pool, thus
having them in static DNS). To get back to your question: if you use s.th. like
"cryptopts=...,ip=192.168.5.2", just that IP will be set, no dhcpc started etc.
What's still missing here is passing the netmask via kernel cmdline.


Daniel



Reply to: