View Full Version : DHCP Hostname (All)
stanford
09-12-2006, 08:47 PM
I'm using a windows 2003 as my dhcp server. My client linux has aquired an IP thru dhcp but the hostname is blank. Can anyone help me with this one? Thank You...
monkey_1
09-12-2006, 10:21 PM
What Linux distro do you use? You must 'tell' Linux your hostname and your domain name:
<pre>/etc/hosts
/etc/resolv.conf</pre>
_______
<font color=orange>Mono</font color=orange>
stanford
09-12-2006, 11:15 PM
I'm using RedHat 9. Can you help me out?
This the content of:
/etc/resolv.conf
"; generated by /sbin/dhclient-script
search jmscs.local
nameserver 172.16.0.254
nameserver 172.16.0.1"
/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 liveon localhost.localdomain localhost
Thank You.
monkey_1
09-13-2006, 07:44 AM
/etc/resolv.conf
domain your.domain.here
"; generated by /sbin/dhclient-script
search jmscs.local
nameserver 172.16.0.254
nameserver 172.16.0.1"
/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 liveon.your.domain.here liveon localhost.your.domain.here localhost.localdomain localhost
_______
<font color=orange>Mono</font color=orange>
Powered by vBulletin™ Version 4.1.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.