Network Issues Tumbleweed 42.3 It once worked now it does not. please help

Hello and kind regards to everyone.

So my father and i were just trying out Tumbleweed openSUSE 42.3, which to our surprise was very pleasant to use, as casual multimedia users.
We try different kinds of OS as a hobbie of ours. The fascinating world of the free software is astonishing to us and we are very grateful.

Now on more technical issues, when we first installed Tumbleweed, we could not set the right network configuration, thus having no internet connection.
I tried different solutions by different users and helpers and somehow by setting, global options by wicked and DHCP option, it worked. Then when upgrading Kernel Vanilla we lost connection to internet.

We tried reinstalling several times but we just don’t know how to properly set the network configuration.

We don’t have any real technical knowledge, just by trial and error.
Tell us how to give you more information and i will do as requested.

Thanks in advance and pardon my english if mistaken.

This is one of the problems that show up now;

More than one interface asks to control the hostname via DHCP. If you keep the current settings, the behavior is non deterministic.

Involved configuration files:
ifcfg-en2s0 dhcp

Hi and welcome.

A few Questions:

Do you have Leap 42.3 or Tumbleweed installed?
Please post:

lsb-release -id

Then when upgrading Kernel Vanilla

Why that?
Which Kernel is running:

uname -a

Which Repos are enabled:

zypper lr -d

Please use Code-Tags, the small # in the Editor.

These are the commands as followed:

Distributor ID:    openSUSE
Description:    openSUSE Tumbleweed
Linux linux-4v42 4.15.11-1-default #1 SMP PREEMPT Mon Mar 19 19:55:59 UTC 2018 (a1db525) x86_64 x86_64 x86_64 GNU/Linux
 | Alias               | Nombre                      | Habilitado | Comprobación GPG | Actualizar | Prioridad | Tipo   | URI                                                                  | Servicio--+---------------------+-----------------------------+------------+------------------+------------+-----------+--------+----------------------------------------------------------------------+---------
1 | openSUSE-20180324-0 | openSUSE-20180324-0         | Si         | (r ) Si          | No         |   99      | rpm-md | cd:///?devices=/dev/disk/by-id/ata-MATSHITADVD-RAM_UJ8B0_YM58_597860 |         
2 | repo-debug          | openSUSE-Tumbleweed-Debug   | No         | ----             | ----       |   99      | NONE   | http://download.opensuse.org/debug/tumbleweed/repo/oss/              |         
3 | repo-non-oss        | openSUSE-Tumbleweed-Non-Oss | Si         | ( p) Si          | Si         |   99      | NONE   | http://download.opensuse.org/tumbleweed/repo/non-oss/                |         
4 | repo-oss            | openSUSE-Tumbleweed-Oss     | Si         | ( p) Si          | Si         |   99      | NONE   | http://download.opensuse.org/tumbleweed/repo/oss/                    |         
5 | repo-source         | openSUSE-Tumbleweed-Source  | No         | ----             | ----       |   99      | NONE   | http://download.opensuse.org/source/tumbleweed/repo/oss/             |         
6 | repo-update         | openSUSE-Tumbleweed-Update  | Si         | ( p) Si          | Si         |   99      | NONE   | http://download.opensuse.org/update/tumbleweed/                      

So a little uptade;

By the reason that we are trying to find out, the wireless connection failed. However, we moved the desktop pc from one room to another, so we could try via ethernet cable and Internet connection was succesful.

I’m guessing the problem is unsuccesful wireless connection configuration, we are still trying to figure this out because the PC does not belong in the other room and wireless is needed.

Being connected via ethernet may help the wireless situation i suppose, so i’ll keep tuned in.

In YaST - System - Networksettings - Overview, you should see 2 items. One if the wirde network card, that you succesfully configured. The other one is the wireless card. Click it, click Edit to configure it, with ( easiest ) DHCP, search you wireless router, select the proper protocol ( most likely WPA2/PSK, and enter the key/passphrase. Finish everything and check the connection.

The Wireless Network Adpater seems to be configured as suggested (DHCP,WPA2/PSK and key) it recognises my wifi connection but it doesn’t connect to internet.

How else can i show you more information, it seems to be working fine but it is indeed not working.

Some hardware details could be useful…

/usr/sbin/hwinfo --wlan

Examining wicked logging could be useful as well…

sudo journalctl -u wicked

Be aware that the output could be lengthy. You could capture it to a text file first if desired

sudo journalctl -u wicked > log.txt

Consider uploading to https://paste.opensuse.org/ and post the link to it here.

Here are the first 2 commands, the wicked log was not there however, due to Tumblewedd being installed again, thus removing previous log?

18: PCI 200.0: 0282 WLAN controller                            
  [Created at pci.378]
  Unique ID: qru8.eVj0IaBAaq2
  Parent ID: z8Q3.+tNoEKW5xGD
  SysFS ID: /devices/pci0000:00/0000:00:1c.0/0000:02:00.0
  SysFS BusID: 0000:02:00.0
  Hardware Class: network
  Model: "Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express)"
  Vendor: pci 0x168c "Qualcomm Atheros"
  Device: pci 0x002b "AR9285 Wireless Network Adapter (PCI-Express)"
  SubVendor: pci 0x105b "Foxconn International, Inc."
  SubDevice: pci 0xe037
  Revision: 0x01
  Driver: "ath9k"
  Driver Modules: "ath9k"
  Device File: wlp2s0
  Features: WLAN
  Memory Range: 0xf7000000-0xf700ffff (rw,non-prefetchable)
  IRQ: 16 (no events)
  HW Address: 64:27:37:a5:08:cb
  Permanent HW Address: 64:27:37:a5:08:cb
  Link detected: no
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472
  WLAN encryption modes: WEP40 WEP104 TKIP CCMP
  WLAN authentication modes: open sharedkey wpa-psk wpa-eap
  Module Alias: "pci:v0000168Cd0000002Bsv0000105Bsd0000E037bc02sc80i00"
  Driver Info #0:
    Driver Status: ath9k is active
    Driver Activation Cmd: "modprobe ath9k"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #15 (PCI bridge)
    -- Logs begin at Sun 2018-04-01 00:39:39 -03, end at Sun 2018-04-01 00:46:27 -03
    abr 01 00:40:09 linux-viy6 systemd[1]: Starting wicked managed network interface
    abr 01 00:40:16 linux-viy6 wicked[1135]: lo              up
    abr 01 00:40:16 linux-viy6 wicked[1135]: wlp2s0          device-not-running
    abr 01 00:40:16 linux-viy6 systemd[1]: Started wicked managed network interfaces
    abr 01 00:43:54 linux-viy6 systemd[1]: Reloading wicked managed network interfac
    abr 01 00:43:54 linux-viy6 wicked[3430]: wlp2s0          device-ready
    abr 01 00:43:54 linux-viy6 wicked[3430]: wlp2s0          device-not-running
    abr 01 00:43:54 linux-viy6 systemd[1]: Reloaded wicked managed network interface
    lines 1-9/9 (END)

Please post:

journalctl -k | grep -Ei 'ath9k|firmware|wlan|wlp2s0'

You can use copy/paste and Code-Tags, only if the result is to long use the susepaste.
And please show also the complete line with the command, it helps if there are some mistakes inside.

Hi, and welcome to the forums.

I would suggest you try switching to Network Manager instead of Wicked.

I would also like to know the brand and model of the router you are trying to connect to.

… and a suggestion: Are the wireless settings in the router set properly? For example, do you have anything like MAC address filtering enabled? If so, do you have your wireless MAC entered in there and allowed?

In addition, you might temporarily give the wireless a simple encryption password to see if the problem is there.

And, I have found on some routers that having them set to Automatic instead of WPA or WPA2 exclusively can cause authorization failures on some devices, so try changing that setting.

And, check the IP ranges set in your router for the Wireless connections, make sure they are in the range accepted by the main IP settings you have in the router.

Also, make certain that you do not have that range already filled by other devices around the home.

If you have set Static Assignments for your devices in the router, make certain that this PC is not connecting on an address that is in use by another machine. I have also seen that happen with the same results you are experiencing, scratching your head.

Best we try to get this fixed while you still have some hair left.:wink:

Ok, so no MAC filters enabled, wifi ranges are ok , i reseted the router settings and changed the password to a simpler one, tried no password at all. No Static Assignments set for devices in router aswell. Further help is very well aprecciated.

Command requested:

abr 01 09:09:26 linux-5o3e kernel: ath9k 0000:02:00.0 wlp2s0: renamed from wlan0abr 01 09:09:44 linux-5o3e kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
abr 01 09:09:45 linux-5o3e kernel: wlp2s0: authenticate with 98:97:d1:cc:af:38
abr 01 09:09:45 linux-5o3e kernel: wlp2s0: send auth to 98:97:d1:cc:af:38 (try 1/3)
abr 01 09:09:45 linux-5o3e kernel: wlp2s0: authenticated
abr 01 09:09:45 linux-5o3e kernel: ath9k 0000:02:00.0 wlp2s0: disabling HT/VHT due to WEP/TKIP use
abr 01 09:09:45 linux-5o3e kernel: wlp2s0: associate with 98:97:d1:cc:af:38 (try 1/3)
abr 01 09:09:45 linux-5o3e kernel: wlp2s0: RX AssocResp from 98:97:d1:cc:af:38 (capab=0x431 status=0 aid=2)
abr 01 09:09:45 linux-5o3e kernel: wlp2s0: associated
abr 01 09:09:45 linux-5o3e kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
abr 01 09:12:26 linux-5o3e kernel: wlp2s0: deauthenticating from 98:97:d1:cc:af:38 by local choice (Reason: 3=DEAUTH_LEAVING)
abr 01 09:12:27 linux-5o3e kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
abr 01 09:12:28 linux-5o3e kernel: wlp2s0: authenticate with 98:97:d1:cc:af:38
abr 01 09:12:28 linux-5o3e kernel: wlp2s0: send auth to 98:97:d1:cc:af:38 (try 1/3)
abr 01 09:12:28 linux-5o3e kernel: wlp2s0: authenticated
abr 01 09:12:28 linux-5o3e kernel: ath9k 0000:02:00.0 wlp2s0: disabling HT/VHT due to WEP/TKIP use
abr 01 09:12:28 linux-5o3e kernel: wlp2s0: associate with 98:97:d1:cc:af:38 (try 1/3)
abr 01 09:12:28 linux-5o3e kernel: wlp2s0: RX AssocResp from 98:97:d1:cc:af:38 (capab=0x431 status=0 aid=2)
abr 01 09:12:28 linux-5o3e kernel: wlp2s0: associated
abr 01 09:12:29 linux-5o3e kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready

Well, that output suggests that you are getting associated ok.

When that is the case, what is reported by the following?

ip a
ip route
grep name /etc/resolv.conf

So ip a, was the only command showing information, the others didn’t throw anything at all.

ip a;

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether f0:bf:97:e8:dd:e1 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 32:7a:68:ea:13:d1 brd ff:ff:ff:ff:ff:ff
linux-5o3e:/home/german # ip route
linux-5o3e:/home/german # grep name /etc/resolv.conf
linux-5o3e:/home/german # 

Also trying NetworkManager it shows that 2 miniapplications are required to be running(KDE plasma and nm-applet for GNOME), ‘‘make sure they are running otherwise execute manually’’.

Kind regards

That’s because no IP address assigned, and this means that the wifi interface is not active…

 wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000

yet your earlier journal log showed that the wireless device was associated. The picture is still not clear.

I’ve read accounts of others with wifi hardware supported by the ath9k driver where frequent disconnections are reported, as appears to be the case from the journal logging snippet you posted. Some users report disabling hardware encryption helps. For example…

https://forum.manjaro.org/t/slow-wifi-connection-and-disconnecting-randomly/30388
https://bbs.archlinux.org/viewtopic.php?id=161305&p=2

It essentially involves creating a custom file (as root) in /etc/modprobe.d/ (eg /etc/modprobe.d/ath9k.conf) with

options ath9k nohwcrypt=1

It will take effect at the next boot.

Not sure if it will help, but perhaps worth a shot here.

Wireless internet connection succesful!

So first we assigned static ip, then

grep name /etc/resolv.conf

gave us our Router Server Name, and finally setting dynamic DHCP without static somehow did the trick.

Thoughts on how did this happen?, because we don’t really know if that was what solved the problem.

Sincere gratitude to everyone.

Good to read of your progress with this. Not sure why configuring with static IP then dynamically DHCP should help here. It’s probably a good idea to monitor the connection via the following in a terminal window…

sudo journalctl -fu wicked

*Assuming wicked is in use.

For NetworkManager, use

sudo journalctl -fu NetworkManager

When you next believe that the connection has dropped for some reason, check the log output. That might help determine if there are further issues to be sorted.

This is showed using wicked;

-- Logs begin at Sun 2018-04-01 04:24:09 -03. --
abr 01 05:16:10 linux-5o3e wicked[4447]: wlp2s0          device-ready
abr 01 05:16:10 linux-5o3e wicked[4447]: wlp2s0          setup-in-progress
abr 01 05:16:10 linux-5o3e systemd[1]: Reloaded wicked managed network interfaces.
abr 01 06:09:47 linux-5o3e systemd[1]: Stopping wicked managed network interfaces...
abr 01 06:09:53 linux-5o3e wicked[7619]: wlp2s0          device-ready
abr 01 06:09:53 linux-5o3e systemd[1]: Stopped wicked managed network interfaces.
-- Reboot --
abr 01 06:13:26 linux-5o3e systemd[1]: Starting wicked managed network interfaces...
abr 01 06:13:47 linux-5o3e wicked[1112]: lo              up
abr 01 06:13:47 linux-5o3e wicked[1112]: wlp2s0          up
abr 01 06:13:47 linux-5o3e systemd[1]: Started wicked managed network interfaces.

NM;


-- Logs begin at Sun 2018-04-01 04:24:09 -03. --
abr 01 05:02:10 linux-5o3e NetworkManager[1095]: <info>  [1522569730.5351] sup-iface[0x55847b5f4010,wlp2s0]: supports 4 scan SSIDs
abr 01 05:02:10 linux-5o3e NetworkManager[1095]: <info>  [1522569730.5361] device (wlp2s0): supplicant interface state: starting -> ready
abr 01 05:02:10 linux-5o3e NetworkManager[1095]: <info>  [1522569730.5362] device (wlp2s0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
abr 01 05:02:15 linux-5o3e NetworkManager[1095]: <info>  [1522569735.5305] manager: startup complete
abr 01 05:06:00 linux-5o3e systemd[1]: Stopping Network Manager...
abr 01 05:06:00 linux-5o3e NetworkManager[1095]: <info>  [1522569960.6294] caught SIGTERM, shutting down normally.
abr 01 05:06:00 linux-5o3e NetworkManager[1095]: <info>  [1522569960.6317] device (wlp2s0): state change: disconnected -> unmanaged (reason 'unmanaged', sys-iface-state: 'managed')
abr 01 05:06:00 linux-5o3e NetworkManager[1095]: <info>  [1522569960.6423] device (wlp2s0): set-hw-addr: reset MAC address to 64:27:37:A5:08:CB (unmanage)
abr 01 05:06:00 linux-5o3e NetworkManager[1095]: <info>  [1522569960.6917] exiting (success)
abr 01 05:06:00 linux-5o3e systemd[1]: Stopped Network Manager.

Wireless internet working just fine.

                 This is showed using wicked;

 Code:
-- Logs begin at Sun 2018-04-01 04:24:09 -03. -- abr 01 05:16:10 linux-5o3e wicked[4447]: wlp2s0          device-ready
abr 01 05:16:10 linux-5o3e wicked[4447]: wlp2s0          setup-in-progress
abr 01 05:16:10 linux-5o3e systemd[1]: Reloaded wicked managed network interfaces.
abr 01 06:09:47 linux-5o3e systemd[1]: Stopping wicked managed network interfaces...
abr 01 06:09:53 linux-5o3e wicked[7619]: wlp2s0          device-ready
abr 01 06:09:53 linux-5o3e systemd[1]: Stopped wicked managed network interfaces.
-- Reboot --
abr 01 06:13:26 linux-5o3e systemd[1]: Starting wicked managed network interfaces...
abr 01 06:13:47 linux-5o3e wicked[1112]: lo              up
abr 01 06:13:47 linux-5o3e wicked[1112]: wlp2s0          up
abr 01 06:13:47 linux-5o3e systemd[1]: Started wicked managed network interfaces.

Network Manager;

-- Logs begin at Sun 2018-04-01 04:24:09 -03. --
abr 01 05:02:10 linux-5o3e NetworkManager[1095]: <info>   [1522569730.5351] sup-iface[0x55847b5f4010,wlp2s0]: supports 4 scan  SSIDs
abr 01 05:02:10 linux-5o3e NetworkManager[1095]: <info>   [1522569730.5361] device (wlp2s0): supplicant interface state: starting  -> ready
abr 01 05:02:10 linux-5o3e NetworkManager[1095]: <info>   [1522569730.5362] device (wlp2s0): state change: unavailable ->  disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
abr 01 05:02:15 linux-5o3e NetworkManager[1095]: <info>  [1522569735.5305] manager: startup complete
abr 01 05:06:00 linux-5o3e systemd[1]: Stopping Network Manager...
abr 01 05:06:00 linux-5o3e NetworkManager[1095]: <info>  [1522569960.6294] caught SIGTERM, shutting down normally.
abr 01 05:06:00 linux-5o3e NetworkManager[1095]: <info>   [1522569960.6317] device (wlp2s0): state change: disconnected ->  unmanaged (reason 'unmanaged', sys-iface-state: 'managed')
abr 01 05:06:00 linux-5o3e NetworkManager[1095]: <info>   [1522569960.6423] device (wlp2s0): set-hw-addr: reset MAC address to  64:27:37:A5:08:CB (unmanage)
abr 01 05:06:00 linux-5o3e NetworkManager[1095]: <info>  [1522569960.6917] exiting (success)
abr 01 05:06:00 linux-5o3e systemd[1]: Stopped Network Manager.

Wireless internet working just fine.

I’ve seen this before, an empty resolv.conf after multiple tries to get networking working. Of course a static IP + DNS’s will overwrite resolv.conf. The first was mostly recovered by a reboot of the machine.