Upgrade from 13.2 to 42.1 - no Internet connection

Hi

I recently upgraded from Opensuse 13.2 to LEAP 42.1 using zypper dup. Everything seemed to work pretty smoothly except that at first boot I had no Internet connection. I was a bit taken aback as I’ve upgraded using this method over the years for about 6 versions previously, and never encountered connectivity issues before.

Some searching made me aware that the issue could be related to use of either Wicked or Network manager. I looked at the YAST networking settings and it seemed that Wicked was enabled, but the various settings were blank. I then switched using the Global tab to Network Manager, again settings blank. In both cases, no Internet, of course. So I decided I’d try entering the IP address of my router as a static IP route (under Network Manager), and I regained connectivity. I use a wired connection only so this seemed OK.

I guess I should have stopped there, but couldn’t resist trying again with Wicked, as this seemed to be the manager that 42.1 wanted to use. In the past, I’ve found that hanging onto older versions of system software has come back and bitten me at later upgrades.

Anyway, I supplied the same static IP address in Wicked but I got no Internet connection. Worse, I seemed to have no connectivity at all as I couldn’t even ping other devices on the LAN. Network doesn’t seem to be running at all.

My expertise in this area is pretty much nil, but in the past YAST has generally managed to sort me out. But here Wicked seems to want something I don’t know how to supply.

I can just stick with Network manager I guess, but it does seem to me that Wicked ought to work (and really ought to have worked after the upgrade without manual settings changes).

Regards

Fred

…my first try when there is no network after update/install is Section 1.2 from here:
https://doc.opensuse.org/release-notes/x86_64/openSUSE/13.2/

If you want to use wicked, read the openSUSE guide for Leap:
https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.basicnet.html#sec.basicnet.yast

If you want to configure a static IP address (rayher than using DHCP), then read the following section
https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.basicnet.html#sec.basicnet.manconf

Once you have configured the NIC via YaST, check that you have the parameters correctly assigned

ip add
ip route
grep -i "name" /etc/resolv.conf

Thanks guys. I knew the docs would be somewhere, but I failed to find them. :X

I now reckon with my simple setup that there’s no point in switching to Wicked when NM is working fine.

I’m only left wondering why, when a fresh install from disk always manages to create an internet connection, a distribution update fails. I deduce there must be some module in the installer which figures this stuff out when the installer runs. If so, it’s a shame such a module isn’t incorporated permanently into YAST as a wizard.

Wicked should work. When switching to wicked, you might have to remove the existing config to avoid device naming conflicts, then set it up again ( it’ll show up as being not configured.) When you want to use a static IP address, make sure you also enter the DNS’s ( 8.8.8.8 and 8.8.4.4 to use google’s DNS’s ) and the default gateway ( the IP address of your router ).

The main difference between wicked and Networkmanager is that by using the defaults wicked will start the networkconnection at boot, Networkmanager only after the user has logged in. Both have their pros and cons. I

The main difference between wicked and Networkmanager is that by using the defaults wicked will start the networkconnection at boot, Networkmanager only after the user has logged in. Both have their pros and cons. I

Actually, a NetworkManager system connection is made available soon after NetworkManager starts, before any user has logged in.

…otherwise VNC could not work on a headless suse with NetworkManager, or?

In networkManger settings allow other users to use on this loads it earlier and allows all users to use it.