Problem with internet connection for opensuse 13.2

Hello all,

I recently upgrade my laptop (lenovo G570) to 13.2 KDE version.
I have installed the driver for both Ethernet and wireless drivers.

If I connect the Ethernet cable after starting the OS, then it won’t work. It will show that Ethernet is connected and I can see the ipaddress using ifconfig, but I can’t get any internet (none of the browsers are working).
But if I connect the Ethernet cable before starting the OS, I have internet.

For Wifi: also have similar problem.
After starting the OS, I can see the ipaddress and it shows that wifi is connect, but no internet.
But If I connect the “Ethernet cable” before starting the OS, and remove the cable after the OS is competently up, then the wifi is also working fine.

Please help me to resolve this.

Thanks

Please mention which manager you are using for the network connections: “NetworkManager” or “wicked”?
Please check that the upgrade migrated your KWallet content correctly – each WLAN connection needs a SSID password.
Please show us your systemd network services setup:


> systemctl list-unit-files | grep -iE 'etwor|icke'

rahul@linux-rahul:~> systemctl list-unit-files | grep -iE ‘etwor|icke’
dbus-org.opensuse.Network.AUTO4.service enabled
dbus-org.opensuse.Network.DHCP4.service enabled
dbus-org.opensuse.Network.DHCP6.service enabled
dbus-org.opensuse.Network.Nanny.service enabled
network.service enabled
NetworkManager-dispatcher.service enabled
NetworkManager-wait-online.service disabled
NetworkManager.service enabled
wicked.service enabled
wickedd-auto4.service enabled
wickedd-dhcp4.service enabled
wickedd-dhcp6.service enabled
wickedd-nanny.service enabled
wickedd.service enabled
network-online.target static
network-pre.target static
network.target static
rahul@linux-rahul:~>

I don’t know how to check which one is running.
Could you please tell me how to check it.?
Also which version of kwallet am I supposed to have?

All OK.

The root cause of this issue is here: with (at least) 13.2 Network Manager and Wicked are mutually exclusive.
One of them has to be disabled and IMHO preferably masked (to avoid systemd warnings during boot).
As root:

% systemctl disable ????.service

Alternative:

% systemctl mask ????.service

All OK.

Mostly as a normal user but sometimes root is better:

> systemctl status ????.service

Assuming 13.2:


> uname -a
Linux ***** 3.16.7-35-desktop #1 SMP PREEMPT Sun Feb 7 17:32:21 UTC 2016 (832c776) x86_64 x86_64 x86_64 GNU/Linux
>
> rpm -q kwalletmanager
kwalletmanager-14.12.3-16.1.x86_64
>

Still not working.

First I masked/disabled Wicked.

rahul@linux-rahul:~> systemctl list-unit-files | grep -iE ‘etwor|icke’
NetworkManager-dispatcher.service enabled
NetworkManager-wait-online.service enabled
NetworkManager.service enabled
wicked.service disabled
wickedd-auto4.service disabled
wickedd-dhcp4.service disabled
wickedd-dhcp6.service disabled
wickedd-nanny.service disabled
wickedd.service static
network-online.target static
network-pre.target static
network.target static
rahul@linux-rahul:~>

No internet at all. But but wifi/ethernet driver are shown in ifconfig

2*
Then I disable/masked the network manager

rahul@linux-rahul:~> systemctl list-unit-files | grep -iE ‘etwor|icke’
dbus-org.opensuse.Network.AUTO4.service enabled
dbus-org.opensuse.Network.DHCP4.service enabled
dbus-org.opensuse.Network.DHCP6.service enabled
dbus-org.opensuse.Network.Nanny.service enabled
network.service enabled
NetworkManager-dispatcher.service masked
NetworkManager-wait-online.service masked
NetworkManager.service masked
wicked.service enabled
wickedd-auto4.service enabled
wickedd-dhcp4.service enabled
wickedd-dhcp6.service enabled
wickedd-nanny.service enabled
wickedd.service static
network-online.target static
network-pre.target static
network.target static
rahul@linux-rahul:~>

now Even wifi/ether netdriver are not available. See below no ip for ethernet and no wifi at all.

linux-rahul:/home/rahul # ifconfig
eth0 Link encap:Ethernet HWaddr B8:70:F4:00:9C:A0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:946 errors:0 dropped:0 overruns:0 frame:0
TX packets:946 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:79530 (77.6 Kb) TX bytes:79530 (77.6 Kb)

3*******

I also tried the following.

rahul@linux-rahul:~> systemctl list-unit-files | grep -iE ‘etwor|icke’
dbus-org.opensuse.Network.AUTO4.service enabled
dbus-org.opensuse.Network.DHCP4.service enabled
dbus-org.opensuse.Network.DHCP6.service enabled
dbus-org.opensuse.Network.Nanny.service enabled
network.service enabled
NetworkManager-dispatcher.service enabled
NetworkManager-wait-online.service enabled
NetworkManager.service enabled
wicked.service enabled
wickedd-auto4.service masked
wickedd-dhcp4.service masked
wickedd-dhcp6.service masked
wickedd-nanny.service masked
wickedd.service static
network-online.target static
network-pre.target static
network.target static
rahul@linux-rahul:~>

Still no internet

Try it with Network Manager enabled but, with the NetworkManager-wait-online.service disabled.

Easiest to do from Yast Also I have found wicked to not work with my chip set so maybe use networkmanager. That’s what I do can be set in yast. You start messing with the config files directly and it is easy to mess things up

Thanks Guys.
It is working fine now.

now I use networkmanager and disable wicked.