Upgrade from 13.1 to 13.2 - wicked problem

I’ve upgraded from 13.1 to 13.2(x86-64, kde) - Online System Upgrade (zypper dup) and all was good. But after first reboot there is no internet. If I try to upgrade from DVD, then have I no interne at all.
It’s interesting that ethernet works.

systemctl status network.service

wicked.service - wicked managed network interfaces
Loaded: loaded (/usr/lib/systemd/system/wicked.service; enabled)
Active: active (exited) since Do 2014-12-18 16:22:35 CET; 1min 47s ago
Process: 952 ExecStart=/usr/sbin/wicked --systemd ifup all (code=exited, status=0/SUCCESS)
Main PID: 952 (code=exited, status=0/SUCCESS)
Dez 17 16:22:35 aleo wicked[952]: lo up
Dez 17 16:22:35 aleo wicked[952]: eth0 up
Dez 17 16:22:35 aleo wicked[952]: eth1 up


journalctl -b _PID=952

– Logs begin at Do 2014-12-18 17:50:17 CET, end at Do 2014-12-18 17:56:55 CET. –
Dez 18 17:50:27 ### wicked[952]: lo up
Dez 18 17:50:27 ### wicked[952]: eth0 up
Dez 18 17:50:27 ### wicked[952]: eth1 up
aleo:/home/al # strace -s 256 -f systemctl status wickedd
execve("/usr/bin/systemctl", “systemctl”, “status”, “wickedd”], /* 105 vars /]) = 0
brk(0) = 0x12eb000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0cf5984000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=200566, …}) = 0
mmap(NULL, 200566, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f0cf5953000
close(3) = 0
write(1, " \342\224\224\342\224\200947 /usr/sbin/wickedd --systemd --foreground
“, 62 └─947 /usr/sbin/wickedd --systemd --foreground
) = 62
close(5) = 0
munmap(0x7f0cf5971000, 4096) = 0
close(4) = 0
open(”/proc/947/cgroup", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0444, st_size=0, …}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0cf5971000
read(4, "10:hugetlb:/
9:perf_event:/
8:blkio:/
7:net_cls,net_prio:/
6:freezer:/
5:devices:/
4:memory:/
3:cpu,cpuacct:/
2:cpuset:/
1:name=systemd:/system.slice/wickedd.service
“, 1024) = 166
close(4) = 0
munmap(0x7f0cf5971000, 4096) = 0
write(1, "
“, 1
) = 1
getuid() = 0
gettid() = 28686
open(”/dev/urandom”, O_RDONLY|O_NOCTTY|O_CLOEXEC) = 4
read(4, “r\230\215\317\254\0%E\271\215Z\355\233\356\266\260”, 16) = 16
close(4) = 0
openat(AT_FDCWD, “/run/log/journal”, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /
3 entries /, 32768) = 104
open("/etc/machine-id", O_RDONLY|O_NOCTTY|O_CLOEXEC) = 5
read(5, "41d175c58cfa4a1ea22842c83a3fb993
", 33) = 33
close(5) = 0
openat(AT_FDCWD, “/run/log/journal/41d175c58cfa4a1ea22842c83a3fb993”, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5
getdents(5, /
3 entries /, 32768) = 88
open("/run/log/journal/41d175c58cfa4a1ea22842c83a3fb993/system.journal", O_RDONLY|O_CLOEXEC) = 6
fstat(6, {st_mode=S_IFREG|0755, st_size=8388608, …}) = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED, 6, 0) = 0x7f0cf5971000
mmap(NULL, 8388608, PROT_READ, MAP_SHARED, 6, 0) = 0x7f0cf39eb000
fstatfs(6, {f_type=0x1021994, f_bsize=4096, f_blocks=765363, f_bfree=762967, f_bavail=762967, f_files=765363, f_ffree=764418, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
getdents(5, /
0 entries /, 32768) = 0
fstatfs(5, {f_type=0x1021994, f_bsize=4096, f_blocks=765363, f_bfree=762967, f_bavail=762967, f_files=765363, f_ffree=764418, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
close(5) = 0
getdents(4, /
0 entries */, 32768) = 0
fstatfs(4, {f_type=0x1021994, f_bsize=4096, f_blocks=765363, f_bfree=762967, f_bavail=762967, f_files=765363, f_ffree=764418, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
close(4) = 0
openat(AT_FDCWD, “/var/log/journal”, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/proc/sys/kernel/random/boot_id", O_RDONLY|O_NOCTTY|O_CLOEXEC) = 4
read(4, “f6383e73-7bef-456c-8875-e7f9f86d9925”, 36) = 36
close(4) = 0
write(1, "Dez 18 17:50:22 ### wickedd[947]: \33[1;39mlo: address 127.0.0.1 covered by a static lease\33[0m
", 94Dez 18 17:50:22 ### wickedd[947]: lo: address 127.0.0.1 covered by a static lease
) = 94
write(1, "Dez 18 17:50:27 ### wickedd[947]: \33[1;39mSkipping hostname update, none available\33[0m
", 87Dez 18 17:50:27 aleo wickedd[947]: Skipping hostname update, none available
) = 87
munmap(0x7f0cf39eb000, 8388608) = 0
munmap(0x7f0cf5971000, 4096) = 0
close(6) = 0
close(3) = 0
exit_group(0) = ?
+++ exited with 0 +++


ldd /usr/sbin/wickedd

    linux-vdso.so.1 (0x00007ffff23fc000)
    libwicked-0.so.6 => /usr/lib64/libwicked-0.so.6 (0x00007fe072814000)
    libc.so.6 => /lib64/libc.so.6 (0x00007fe07246c000)
    libnl-route-3.so.200 => /usr/lib64/libnl-route-3.so.200 (0x00007fe072208000)
    libnl-3.so.200 => /usr/lib64/libnl-3.so.200 (0x00007fe071fea000)
    libanl.so.1 => /lib64/libanl.so.1 (0x00007fe071de6000)
    libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007fe071b9e000)
    libgcrypt.so.20 => /usr/lib64/libgcrypt.so.20 (0x00007fe0718ba000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007fe0716b6000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fe072b56000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe071498000)
    libm.so.6 => /lib64/libm.so.6 (0x00007fe071197000)
    libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00007fe070f86000)

aleo:/home/al # wicked show all
lo up
link: #1, state up
type: loopback
config: compat:/etc/sysconfig/network/ifcfg-lo
leases: ipv4 static granted
addr: ipv4 127.0.0.1/8 [static]

eth0 up
link: #2, state up, mtu 1500
type: ethernet, hwaddr 6c:f0:49:59:0f:37
config: compat:/etc/sysconfig/network/ifcfg-eth0
leases: ipv4 dhcp granted
addr: ipv4 192.168.1.2/24 [dhcp]
route: ipv4 default via 192.168.1.1

eth1 up
link: #3, state up, mtu 1500
type: ethernet, hwaddr 1c:bd:b9:d3:07:13
config: compat:/etc/sysconfig/network/ifcfg-eth1
leases: ipv4 static granted
addr: ipv4 192.168.1.4/24 [static]


I tried with wicked-nanny and have set it to “true” in /etc/wicked/common.xml. Results after restart wickedd and reboot:

wicked ifstatus all

lo up
link: #1, state up
type: loopback
config: compat:/etc/sysconfig/network/ifcfg-lo
leases: ipv4 static granted
addr: ipv4 127.0.0.1/8 [static]

eth0 up
link: #2, state up, mtu 1500
type: ethernet, hwaddr 6c:f0:49:59:0f:37
config: compat:/etc/sysconfig/network/ifcfg-eth0
leases: ipv4 dhcp granted
addr: ipv4 192.168.1.2/24 [dhcp]
route: ipv4 default via 192.168.1.1

eth1 up
link: #3, state up, mtu 1500
type: ethernet, hwaddr 1c:bd:b9:d3:07:13
config: compat:/etc/sysconfig/network/ifcfg-eth1
leases: ipv4 static granted
addr: ipv4 192.168.1.4/24 [static]


ifconfig -a -v

eth0 Link encap:Ethernet Hardware Adresse 6C:F0:49:59:0F:37
inet Adresse:192.168.1.2 Bcast:192.168.1.255 Maske:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:650 (650.0 b) TX bytes:4248 (4.1 Kb)

eth1 Link encap:Ethernet Hardware Adresse 1C:BD:B9:D3:07:13
inet Adresse:169.254.250.59 Bcast:169.254.250.255 Maske:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:399 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:1000
RX bytes:0 (0.0 b) TX bytes:26808 (26.1 Kb)

lo Link encap:Lokale Schleife
inet Adresse:127.0.0.1 Maske:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:302 errors:0 dropped:0 overruns:0 frame:0
TX packets:302 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 Sendewarteschlangenlänge:0
RX bytes:29064 (28.3 Kb) TX bytes:29064 (28.3 Kb)

I can’t see any errors. Do anybody know why there is no internet connection?

It seems to be, theat the problem is the kernel. The is no suppurt for
rtl8111/8168 cards. (http://comments.gmane.org/gmane.linux.suse.general.german/226994)

I ran into a problem with wicked causing a conflict on an old laptop that I ran the upgrade on. Try disabling wicked and re-enabling network manager, it worked for me. See here: https://doc.opensuse.org/release-notes/x86_64/openSUSE/13.2/ section 1.2. I haven’t yet tried disabling network manager and enabling only wicked but you may try that as well. I haven’t had time to deal with potential upgrade problems on my main laptop so I’m sticking with 13.1 as my main OS for now.

I’ve tried, but nothing has changed. I’ve done all I’ve found in net, but all in vain.

I have the same problem. And I am very angry with myself because I did not noticed that prior the upgrade. Anyway, since I DO NOT run a laptop and I have a static IP on my Desktop, I don’t want NM enabled. But wicked is not working.

I reported that as a bug since I have no issue with NetworkManager. What I did was:

systemctl mask wicked
systemctl mask wickedd

systemctl enable NetworkManager

systemctl stop wickedd
systemctl stop wicked

systemctl start NetworkManager

PS Why on earth change the ifup processes?

What a card have you? My is RTL8111/8168B PCI Express Gigabit Ethernet controller. I dont wont NM too.

I don’t understand why you don’t want NM?? If it works why *****. Any how wicked is new and any problem need to be reported. Also we don’t have much experience trouble shooting. As it happens I had trouble with 12.3 at first install with ifup and had to use NM. It worked fine and when the fix for ifup financially came I did not bother to change it. It was absolutly no bother just sate in the tray apply connecting me to the world. True it is meant as a mobile connection solution but it works great as static also.

So please report the problem you have on bugzilla and be sure to list the hardware. And learn to love NM until wicked gets fixed.

Depending on your situation,
You can try a Factory kernel
Links on the openSUSE kernel page
https://en.opensuse.org/Kernel

As of today, it looks like the “Factory base” is the standard kernel already released in Tumbleweed.
So, besides through the above links, it’s probably possible to alternatively add and enable Tumbleweed just to install the kernel and then disable the repo if you don’t want to convert your entire system to Tumbleweed.

TSU

I have an RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller in a new box with oS 13.2 64bit KDE. It actually works OOTB.

:~> uname -a
Linux 3.16.7-7-desktop #1 SMP PREEMPT Wed Dec 17 18:00:44 UTC 2014 (762f27a) x86_64 x86_64 x86_64 GNU/Linux

I also prefer ifup or wicked over nm, which is great for wireless/laptops but doesn’t bring much to a stationary, always-on desktop/server.

At first I couldn’t make the ethernet card work, but that was because I had installed windows before (it’s a dual-boot system) and I had disabled networking in windows, and apparently the way windows does this is by turning the card off, or something like that, and this setting persists between operating systems :O.

After enabling network in windows and rebooting to oS, nm worked, and wicked too. I’m currently using wicked, and have uninstalled nm. I had to set NetworkManager to taboo-never install in Yast, or it keeps trying to reinstall it.

Note: the kernel version listed above is the one from the update repo, installed yesterday. But the ethernet card worked with the previous version too, from at least 10 days ago.

Hmm. Just booted into windows, network was disabled, I enabled and disabled it again, rebooted in openSUSE, and it’s working. So my assumption above is not quite right/plain wrong. I may have been a one-off thing? I did reboot openSUSE a couple of times after installation/initial update to see if the ethernet card would start working, but it didn’t.
:?

I’ve installed r8168 driver. Disabled and enabled wicked. All work perfect, untill reboot. Then shoul I do these operations again. NM works only for internet, no ethernet. So I’ll be waiting. I use now 13.1 again. Thank you all for replies.:’(

I’ve disabled networking in windows already in suse 12.0 and ifup have had nothing against.
P.S. New kernel does not make things better.

Sorry for bumping an old thread, but I ran into this (or a similar) problem recently and didn’t see the solution anywhere on these forums.

I was using 13.1 and did a zypper dist upgrade to 13.2 and whenever I rebooted my computer I lost the eth0 interface with an error message in wicked that said something like “device eth0 operation timed out no device”. I tried the NetworkManager link that z2 posted which worked even though it changed the interface name to eno1, but that too would disappear after rebooting. Anyway, a while ago I added a udev rule to for predictable interface names called 80-net-name-slot.rules, well that changed in 13.2 so I removed the old one and added 80-net-setup-link.rules via

ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules

Source: http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

I don’t know if this is the same thing as in the OP, but hopefully it’ll help someone who ends up googling the problem.

You can also rename the interface in YaST instead (to whatever you like).
This creates /etc/udev/rules.d/70-persistent-net.rules (always did), and my existing one from years ago (I think it was created automatically back then, even if you didn’t rename the interface) still works fine on 13.2 with wicked.
My interfaces are still called eth0 and wlan0 and work fine…

My problem with wickedd is that if you have additional routes via an interface, the routes are not instantiated at start-up or restart. From my investigation, wicked does use the original route files, however the additional routes are treated as if they do not exist.

I removed wickedd and reinstalled NetworkManager along with nmcli and set that up to work which it is now doing correctly.

Until wickedd works correctly with routes at start-up or restart I will continue to disable it. I am in fact looking at moving to CentOS because of the routing instantiation issue and the fact that I do not have to mess with the networking daemon in order to get a server to work correctly.

Just my 2c

Thanks

Could you please post such a route configuration file?

It seems that wicked doesn’t support 5 columns in the file, and ignores the route in that case.
Removing the last column should help.

See also this thread:
https://forums.opensuse.org/showthread.php/509288-How-to-configure-a-static-IP-address-with-wicked?highlight=route