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

Re: questions about DHCP



>>>>> "JBJ" == Jens B Jorgensen <jjorgens@bdsinc.com> writes:
    JBJ>  /etc/dhcpd.conf belongs to the dhcp package which is the dhcp
    JBJ> *server*, not the client. Stick with dhclient, it'll work fine
    JBJ> for you. Now, if you're wondering about the /etc/dhclient.conf
    JBJ> then you don't need to worry. I just leave mine empty since the
    JBJ> program's defaults seem to work fine. Just do this:
    JBJ> 
    JBJ> touch /etc/dhclient.conf
    JBJ> 

Thanks for pointing that out!! I was beginning to wonder if dhcpd was
for the server and why I needed it. When I tried dhclient yesterday, I
did as you said, I just touched /etc/dhclient.conf. But I think I will
add some settings in it since the hostname of my Debian box is not
getting "propagated". From windows boxes, I can ping my Debian box by IP
address only and not by (fqdn) hostname.

    JBJ>  Type this as root:
    JBJ> 
    JBJ> echo '/sbin/dhclient eth0' >> /etc/init.d/network
    JBJ> 
    JBJ> Then it'll be started during the boot sequence at the
    JBJ> appropriate time.

I was going to add that line to /etc/init.d/bootmisc.sh but
/etc/init.d/network is a better place.

Thanks for your help.

Regards,

-- 
Salman Ahmed
ssahmed AT pathcom DOT com


Reply to: