At the time I did not have network access, so I skipped that part of the setup.
Today, I tried to configure the network with IP, nameserver and gateway.
The problem was the nameserver wouldn’t take.
What would happen is that Yast would stop and start the network, then try to download updates from opensuse.org. The problem is, it could not resolve the domain names to IP address. Even if I skipped over the download errors, when it completed, it still did not retain the IP of the nameserver.
What I had to do was wait for it to hit an error on the download/install and then manually edit /etc/resolv.conf and add
Then it was able to download and complete the network installation.
I’ve had this once or twice when switching from a dhcp setup to static one using networkmanager as setup method (on openSUSE 11.0). Don’t know if there is a relation, but it did stick out to me.
Solution for me was to delete the current nic settings (using YaST), save it, and again reconfigure it all.
Similar problem, new install of 11.0 via the DVD but I did have network availability. The installer chose to set things up as DHCP, after the full install and updates I went in through Yast/Network Devices/Network Settings and set up a static IP using ifup and set my own gateway and DNS. Everything worked except vncviewer to my other machines (openSuse 11.0 is the client here). By using NetworkManager in the Network Settings/ Global Options tab I could get vncviewer to connect to other VNC servers but I lost and nameserver entry in /etc/resolv.conf and thus lost all outside world connectivity.
If I manually add nameserver nnn.nnn.nnn.nnn to the resolv.conf file everything works – until I reboot then I must reedit the resolv.conf file to add back the nameserver.
Anybody know which file(s) I edit (don’t need to do it through a GUI) to get this nameserver value to stick?
If this is a server i would recommend configuring everything statically and using ifup.
ifup is the ‘old way’ to manage the network connections whereas Networkmanager is the new way.
Networkmanager is mainly useful when having to deal with different environments. It lets you configure directly and automatically without having to go into YaST.
For a server I would not recommend Networkmanager and set it to ifup. Note that you will lose the little network icon in the panel tray as this is an element of Networkmanager.
What does “Change Default Route via DHCP” checkbox do?
It overwrites the current default route that is set(check the setting using ’ route ’ in a terminal console) with the one given by any dhcp server located in the network you are connected to.
You normally want this when having set a nic to DHCP.
I tried deleting the netcard entry, but it doesn’t contain the nameservers so it doesn’t help the problem with resolv.conf getting overwritten on boot.
True, the purpose of deleting the netcard entry is so you can give it a new static ip configuration that should ‘stick’
There is a greyed out checkbox that says “Change /etc/resolv.conf manually”. Why would this be greyed out? Do I need to login as root? Or check some other selection?
You should be able to override this setting and be able to set this manually. See what happens when using ifup and having deleted and re-entered the static ip details for you nic.
As it is, this is a major show stopper!
Agreed, fortunately most are not having issues with this. But it is a pain.
To recap, see what happens when you use ifup, entering all configurations (ip address/subnet, dns & gateway) manually.
As root (using 'su - ') also check to see what ’ ifconfig ’ and ’ route ’ return.
Please note that in my situation ifup would work with static IP’s configured manually if I didn’t require vncviewer to also work in my deveolpment environment. Whatever NetworkManager is doing behind the scenes it does allow vncviewer to work on my LAN but it hoses /etc/resolv.conf until I manually edit it to give it nameserver … Now everything works until I reboot.
Well, I type vncviewer nnn.nnn.nnn.nnn in a console window, but I think the answer to your question is that it is actually using Xtightvnc. I am using tightvnc at the server end.
Yes, with the ifup method I can ping (UDP) and I can run my own TCP/IP capable apps against my network (no subnet), when I try vncviewer it comes back with
Connected to RFB server, using protocol version 3.7
followed by some messages about having no desktops to connect to. This of course sent me off chasing things that never solved a thing. On a whim I changed over to NetworkManager and vncviewer now reports protocol version 3.3 and works perfectly - however I’m back to hand modifying the resolv.conf file as previously discussed.
So I’m happy that NetworkManager has done whatever magic it does, I can hand modify resolv.conf by myself.
Thanks a lot, I followed your advice and it seems somewhat stable now. I changed from Network Manager to ifup in Yast. Then exited yast and use ifconfig to set up my eth0 card and (again) edited resolv.conf.