Screwy problem with DNS /etc/resolv.conf

Fresh install of OpenSuSE 11 on HP laptop with Linksys
add-on 10/100 card. Everything works except I cannot assign
the DNS servers. The applet in YaST lets me add it, but when you
hit finish it goes through and says it’s writing everything then
it hits Run SuSEConfig in the progress meter and immediately exits.
Nothing is getting written into /etc/resolv.conf and you cannot
perform lookups which means no browsing. For the session I can manually
add the nameserver entries into resolv.conf, but any powering off or
rebooting of the machine results in an empty resolv.conf which I suppose
it to be expected since Network Manager controls it, but I have to have
a way to keep it populated and YaST will not accept entries.

If you are using networkmanager then you would be getting the DNS nameservers via DHCP no? If you want to bypass those, I recall there’s a box you have to tick to say don’t use the DHCP specified ones, but use these.

You can choice another way to fix it.
Write down a resolv.conf that you want and then put in /root folder.

Make a shell script in /etc/init.d/after.local
example as below:

#!/bin/sh
cp /root/resolv.conf /etc/

> If you are using networkmanager then you would be getting the DNS
> nameservers via DHCP no? If you want to bypass those, I recall there’s
> a box you have to tick to say don’t use the DHCP specified ones, but
> use these.

Statically assigned IP’s and when you deselect Use DHCP on the IP settings
page it is automagically greyed out on the DNS page. Methinks maybe the
GUI is fibbing about the state of the switch. I have a hack in place to
overwrite resolv.conf while further research goes into this.

same problem here
hp6735b laptop

:frowning:

Problem solved by reinstalling WITHOUT automatic configuration. This time I configured network during installation and everything works fine.