diskless & dhclient

Mats Lindberg mats.w.lindberg at gmail.com
Mon Mar 22 21:01:44 UTC 2010


Hi all,
I've tried to get my freebsd diskless system to get hold of some of the
dhcp-options.
E.g. my dhcp-server will always be the nfs-server as well. So I was hoping
to create the /etc/fstab with the the dhcpd's ip as the nfs server.
Thus not needing to have the hard coded nfsroot:/conf/'ip-address'/etc.
Instead i'm looking for having almost all necessary files in the
nfsroot:/conf/base/etc directory.

I've tried to set ifconfig_ETHDEV="DHCP" in /etc/rc.conf and creating a
bourne shell script /etc/dhclient_enter_hooks, but as far as I can detect
the script is never run.

I guess since the kernel already got the ip-address during pxeboot it does
not care about renewing the ip-address, or??

I'm running a legacy FreeBSD 6.4.

So - not really a specific question, more like a cry for guidance - anyone?

/Mats


More information about the freebsd-questions mailing list