dhcp_hostname in Debian Woody R1 where?
Trying to get aquianted with Debian (woody-R1) and am stuck with the DHCP_HOSTNAME option.
My servers are configured to deny access to hosts not registered with dns and this machine gets it's IP from dhcp so can't simply update a host file somewhere. For some reason, this machine isn't updating the dns server. In RedHat et al, simply putting the DHCP_HOSTNAME="bla bla" option in the ifcfg-ethX works but Debian doesn't use the same format to confgure the interface. Any assistance would be appreciated. Thanks. |
The file you must edit is /etc/network/interfaces. The file has a manpage: basically you just need to add a line
hostname fill_in_your_hostname in /etc/network/interfaces I think that's what you're looking for, Succes! Sterrenkijker |
Thanks mate. I tried that and had no luck. I even went into the options file (same dir) with the same result.
What I ended up doing was modifying the /etc/dhcp.conf file adding send host-name "my_hostname"; I found this file in shear desperation used the man pages. RedHat, Mandrake and even Slackware don't use this file but use the configuration scripts for the interface. It all worked since then. Almost all of the information I found trawling the net suggested the same as you did. Have I got some sort of funny install or something? Thanks for your help. Hopefully someone else will find this post usefull if nothing else. Ciao |
All times are GMT -5. The time now is 03:20 PM. |