Results 1 to 9 of 9
I did autoinstallation of SuSe 9 using autoyast and its XML profile. After installation, I can't ping machines on local LAN by their hostnames whereas they can be pinged using ...
- 12-09-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 17
SUSE 9: Cant ping machines on local LAN by host name
I did autoinstallation of SuSe 9 using autoyast and its XML profile. After installation, I can't ping machines on local LAN by their hostnames whereas they can be pinged using their IPs. I can ping google.com by hostname and IP i.e. I can access internet without any trouble.
Also, I can ping the SuSe machine from other Windows or Linux machines on LAN using its IP.
Any help in this regard will be highly appreciated!
thanks a lot...
- 12-09-2009 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Are you running a DNS server? You would have to have your hostnames registered with your DNS server so that the names can be resolved. Some routers provide this functionality but not all.
- 12-09-2009 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 17
Bigtomrodney,
Yes there is a DNS server running on my local network. I did the same type of installation with SuSe 10 and it worked fine without any registrations etc.
- 12-10-2009 #4Just Joined!
- Join Date
- Oct 2009
- Posts
- 17
I got the root cause but not the correct solution... "/etc/resolv.conf" isnt getting modified by dhcpd service, it doesnt contain 'nameserver' and 'search' entries.
Any solutions??
- 12-10-2009 #5Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
You might want to have a look in YaST.
Go to Yast > Network Settings > Hostname/DNS and see if you are setup to automatically update resolv.conf.
- 12-10-2009 #6Just Joined!
- Join Date
- Oct 2009
- Posts
- 17
As I said earlier, I am doing an auto-install. I am preparing my XML profile using autoyast. Its networking section looks like this=>
<networking>
<dns>
<dhcp_hostname config:type="boolean">true</dhcp_hostname>
<dhcp_resolv config:type="boolean">true</dhcp_resolv>
<domain>abc.com</domain>
<hostname>suse-machine</hostname>
</dns>
<interfaces config:type="list">
<interface>
<bootproto>dhcp</bootproto>
<device>eth0</device>
<startmode>onboot</startmode>
</interface>
</interfaces>
<modules config:type="list">
<module_entry>
<device>static-0</device>
<module></module>
<options></options>
</module_entry>
</modules>
<routing>
<ip_forward config:type="boolean">false</ip_forward>
</routing>
</networking>
As you can see, I have set <dhcp_hostname> and <dhcp_resolv > fields as "true". 'abc.com' is a dummy domain name.
Now, where I am going wrong??
- 12-10-2009 #7Just Joined!
- Join Date
- Oct 2009
- Posts
- 17
another update...
When I delete my old /etc/resolv.conf and restart dhcpcd daemon, then it does not recreate resolv.conf on the machine on which I carry autoinstall. But on the machine which I set up manually, resolv.conf is recreated if I restart dhcpcd.
Any probable reasons??
- 12-11-2009 #8Just Joined!
- Join Date
- Oct 2009
- Posts
- 17
SOLVED!!
I found the option in Yast where the entry 'modify_resolv_conf' in /etc/sysconfig/network/config is set to YES.
This fixed the issue...
Thanks a lot BigTomRodney for your help!!
- 12-15-2009 #9Just Joined!
- Join Date
- Dec 2009
- Posts
- 1
Hello
That is so nice collection.Well after finding your this comment there is no need for any book reading search of last few years.I like your idea for distributing the books by years.


Reply With Quote