[NCLUG] dhcp and @home
Matt Rosing
rosing at peakfive.com
Fri Mar 16 12:10:11 MST 2001
I tried setting up my RH6.2 box with dhcp with @home and finally
bagged it and used a static address. That works, but I'd like to get
the dhcp working. So now my stupid question: linuxconf doesn't seem to
let me specify the params to dhcpd. Is there a way to do this with
linuxconf or should I tell linuxconf I have no adapter and modify the
startup scripts myself? If the latter, where's the best place to put
this?
Thanks,
Matt
>my dhcp works great with linux. The server requires you to supply
>your hostname when you request an IP address. Try
>
>/sbin/dhcpcd -d -h <hostname> eth0
>
>the -d flag just syslogs stuff, so it's optional, but can help with
>trouble shooting. <hostname> is the (terribly boring) hostname they
>gave you (something like c34232-a). It has been several months since
>I first set mine up and I remember I had to screw with it for a little
>while to get it to work right, you may have to use the -s ipaddress
>flag the first time i.e. /sbin/dhcpcd -d -h <hostname> -s <ip> eth0
>where <ip> is the original ip address they gave you. check man dhcpcd
>for further info. Once you get it working you will probably have to
>modify your startup script so that it starts correctly at boot time.
>I am using SuSE 6.4 and had to modify /sbin/init.d/dhclient to include
>the -h <hostname> stuff. Your milage may vary.
More information about the NCLUG
mailing list