I have an ASUS X550C laptop and having installed openSUSE 42.2 on it I now find that on every boot rfkill shows the wireless is soft blocked. I am using Network Manager and all I have to do is set the tick in the systray thing for NM and up comes my wireless connections.
Can someone please explain why this is like this? I want wireless to be on at boot time.
Been doing some more testing on this and found the following in the journal which seems to show that it does start but then gets disconnected but I cant seem to work out why.
Dec 30 09:03:38 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): using nl80211 for WiFi device control
Dec 30 09:03:38 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): driver supports Access Point (AP) mode
Dec 30 09:03:38 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): new 802.11 WiFi device (carrier: UNKNOWN, driver: 'iwlwifi', ifindex: 3)
Dec 30 09:03:38 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Dec 30 09:03:39 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): supplicant interface state: init -> starting
Dec 30 09:03:39 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0) supports 5 scan SSIDs
Dec 30 09:03:39 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): supplicant interface state: starting -> ready
Dec 30 09:03:39 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
Dec 30 09:03:42 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): supplicant interface state: ready -> inactive
Dec 30 09:03:42 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): Activation: starting connection 'Crowhill-5G' (599418c5-9529-4dfe-b7ef-2642c1adfed8)
Dec 30 09:03:42 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Dec 30 09:03:42 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Dec 30 09:03:42 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): Activation: (wifi) connection 'Crowhill-5G' has security, and secrets exist. No new secrets needed.
Dec 30 09:03:42 Laptop42-2.crowhill kernel: wlan0: authenticate with 5c:f4:ab:2d:16:ce
Dec 30 09:03:42 Laptop42-2.crowhill kernel: wlan0: send auth to 5c:f4:ab:2d:16:ce (try 1/3)
Dec 30 09:03:42 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): supplicant interface state: inactive -> authenticating
Dec 30 09:03:42 Laptop42-2.crowhill kernel: wlan0: send auth to 5c:f4:ab:2d:16:ce (try 2/3)
Dec 30 09:03:42 Laptop42-2.crowhill kernel: wlan0: send auth to 5c:f4:ab:2d:16:ce (try 3/3)
Dec 30 09:03:42 Laptop42-2.crowhill kernel: wlan0: authentication with 5c:f4:ab:2d:16:ce timed out
Dec 30 09:03:42 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): supplicant interface state: authenticating -> disconnected
Dec 30 09:03:42 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): supplicant interface state: disconnected -> scanning
Dec 30 09:03:45 Laptop42-2.crowhill kernel: wlan0: authenticate with 5c:f4:ab:2d:16:ce
Dec 30 09:03:45 Laptop42-2.crowhill kernel: wlan0: send auth to 5c:f4:ab:2d:16:ce (try 1/3)
Dec 30 09:03:45 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): supplicant interface state: scanning -> authenticating
Dec 30 09:03:45 Laptop42-2.crowhill kernel: wlan0: authenticated
Dec 30 09:03:45 Laptop42-2.crowhill kernel: wlan0: associate with 5c:f4:ab:2d:16:ce (try 1/3)
Dec 30 09:03:45 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): supplicant interface state: authenticating -> associating
Dec 30 09:03:45 Laptop42-2.crowhill kernel: wlan0: RX AssocResp from 5c:f4:ab:2d:16:ce (capab=0x11 status=0 aid=1)
Dec 30 09:03:45 Laptop42-2.crowhill kernel: wlan0: associated
Dec 30 09:03:45 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
Dec 30 09:03:46 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Dec 30 09:03:46 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'Crowhill-5G'.
Dec 30 09:03:46 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): device state change: config -> ip-config (reason 'none') [50 70 0]
Dec 30 09:03:46 Laptop42-2.crowhill NetworkManager[2092]: <info> Activation (wlan0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Dec 30 09:03:46 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): DHCPv4 state changed unknown -> bound
Dec 30 09:03:46 Laptop42-2.crowhill avahi-daemon[2037]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.0.23.
Dec 30 09:03:46 Laptop42-2.crowhill avahi-daemon[2037]: New relevant interface wlan0.IPv4 for mDNS.
Dec 30 09:03:46 Laptop42-2.crowhill avahi-daemon[2037]: Registering new address record for 192.168.0.23 on wlan0.IPv4.
Dec 30 09:03:46 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
Dec 30 09:03:46 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
Dec 30 09:03:46 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): device state change: secondaries -> activated (reason 'none') [90 100 0]
Dec 30 09:03:46 Laptop42-2.crowhill NetworkManager[2092]: <info> Policy set 'Crowhill-5G' (wlan0) as default for IPv4 routing and DNS.
Dec 30 09:03:47 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): Activation: successful, device activated.
Dec 30 09:03:47 Laptop42-2.crowhill nm-dispatcher[2171]: Dispatching action 'up' for wlan0
Dec 30 09:04:24 Laptop42-2.crowhill kernel: wlan0: deauthenticating from 5c:f4:ab:2d:16:ce by local choice (Reason: 3=DEAUTH_LEAVING)
Dec 30 09:04:24 Laptop42-2.crowhill avahi-daemon[2037]: Interface wlan0.IPv4 no longer relevant for mDNS.
Dec 30 09:04:24 Laptop42-2.crowhill avahi-daemon[2037]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.0.23.
Dec 30 09:04:24 Laptop42-2.crowhill dhclient[2363]: receive_packet failed on wlan0: Network is down
Dec 30 09:04:24 Laptop42-2.crowhill avahi-daemon[2037]: Withdrawing address record for 192.168.0.23 on wlan0.
Dec 30 09:04:24 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): device state change: activated -> unavailable (reason 'none') [100 20 0]
Dec 30 09:04:24 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 2363
Dec 30 09:04:24 Laptop42-2.crowhill NetworkManager[2092]: <info> (wlan0): DHCPv4 state changed bound -> done
Dec 30 09:04:29 Laptop42-2.crowhill nm-dispatcher[2827]: Dispatching action 'down' for wlan0
Thanks for the pointers. Does not explain however that as soon as I tick the wireless box on the Network Manager systray widget the wireless bursts into life and connects perfectly.
I have also changed the IPV6 setting to ignore in NM but to no avail. I also tried booting of the previous kernel but again no difference.
I doubt it is the router since other wireless devices connect OK. I cannot be completely sure but I do believe that when I first installed 42.2 on the laptop it worked fine, and stopped after I updated it recently.
Been doing some more on this and managed to get the journal output for iwlwifi (driver) as well as NM and wlan all merged together. First part shows that the wireless is connected and has the correct details.
Dec 30 20:22:20 Laptop42-2.crowhill kernel: wlan0: authenticated
Dec 30 20:22:20 Laptop42-2.crowhill NetworkManager[1725]: <info> (wlan0): supplicant interface state: authenticating -> associating
Dec 30 20:22:20 Laptop42-2.crowhill kernel: wlan0: associate with 5c:f4:ab:2d:16:ce (try 1/3)
Dec 30 20:22:20 Laptop42-2.crowhill kernel: wlan0: RX AssocResp from 5c:f4:ab:2d:16:ce (capab=0x11 status=0 aid=1)
Dec 30 20:22:20 Laptop42-2.crowhill kernel: wlan0: associated
Dec 30 20:22:20 Laptop42-2.crowhill NetworkManager[1725]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
Dec 30 20:22:20 Laptop42-2.crowhill NetworkManager[1725]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Dec 30 20:22:20 Laptop42-2.crowhill NetworkManager[1725]: <info> (wlan0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'Crowhill-5G'.
Dec 30 20:22:20 Laptop42-2.crowhill NetworkManager[1725]: <info> (wlan0): device state change: config -> ip-config (reason 'none') [50 70 0]
Dec 30 20:22:20 Laptop42-2.crowhill NetworkManager[1725]: <info> Activation (wlan0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Dec 30 20:22:20 Laptop42-2.crowhill NetworkManager[1725]: <info> dhclient started with pid 1932
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> address 192.168.0.23
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> plen 24 (255.255.255.0)
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> gateway 192.168.0.1
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> server identifier 192.168.0.1
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> lease time 86400
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> nameserver '84.200.69.80'
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> nameserver '84.200.70.40'
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> domain name 'Crowhill'
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> (wlan0): DHCPv4 state changed unknown -> bound
Dec 30 20:22:21 Laptop42-2.crowhill avahi-daemon[1735]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.0.23.
Dec 30 20:22:21 Laptop42-2.crowhill avahi-daemon[1735]: New relevant interface wlan0.IPv4 for mDNS.
Dec 30 20:22:21 Laptop42-2.crowhill avahi-daemon[1735]: Registering new address record for 192.168.0.23 on wlan0.IPv4.
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> (wlan0): device state change: ip-config -> ip-check (reason 'none') [70 80 0]
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> (wlan0): device state change: ip-check -> secondaries (reason 'none') [80 90 0]
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> (wlan0): device state change: secondaries -> activated (reason 'none') [90 100 0]
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> NetworkManager state is now CONNECTED_LOCAL
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> NetworkManager state is now CONNECTED_SITE
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> Policy set 'Crowhill-5G' (wlan0) as default for IPv4 routing and DNS.
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <13>Dec 30 20:22:21 dns-resolver: ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched...
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <13>Dec 30 20:22:21 dns-resolver: You can find my version in /etc/resolv.conf.netconfig
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: ATTENTION: You have modified /etc/resolv.conf. Leaving it untouched...
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: You can find my version in /etc/resolv.conf.netconfig ...
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> (wlan0): Activation: successful, device activated.
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> startup complete
Dec 30 20:22:21 Laptop42-2.crowhill nm-dispatcher[1894]: Dispatching action 'up' for wlan0
Dec 30 20:22:21 Laptop42-2.crowhill NetworkManager[1725]: <info> NetworkManager state is now CONNECTED_GLOBAL
this second part is what happened next to take down the wireless
Dec 30 20:22:52 Laptop42-2.crowhill kernel: wlan0: deauthenticating from 5c:f4:ab:2d:16:ce by local choice (Reason: 3=DEAUTH_LEAVING)
Dec 30 20:22:52 Laptop42-2.crowhill avahi-daemon[1735]: Interface wlan0.IPv4 no longer relevant for mDNS.
Dec 30 20:22:52 Laptop42-2.crowhill avahi-daemon[1735]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.0.23.
Dec 30 20:22:52 Laptop42-2.crowhill dhclient[1932]: receive_packet failed on wlan0: Network is down
Dec 30 20:22:52 Laptop42-2.crowhill NetworkManager[1725]: <info> WiFi hardware radio set disabled
Dec 30 20:22:52 Laptop42-2.crowhill NetworkManager[1725]: <info> (wlan0): device state change: activated -> unavailable (reason 'none') [100 20 0]
Dec 30 20:22:52 Laptop42-2.crowhill avahi-daemon[1735]: Withdrawing address record for 192.168.0.23 on wlan0.
Dec 30 20:22:52 Laptop42-2.crowhill NetworkManager[1725]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 1932
Dec 30 20:22:52 Laptop42-2.crowhill NetworkManager[1725]: <info> (wlan0): DHCPv4 state changed bound -> done
Dec 30 20:22:53 Laptop42-2.crowhill NetworkManager[1725]: <info> NetworkManager state is now CONNECTED_LOCAL
Dec 30 20:22:53 Laptop42-2.crowhill NetworkManager[1725]: <info> NetworkManager state is now DISCONNECTED
Dec 30 20:22:58 Laptop42-2.crowhill NetworkManager[1725]: <info> WiFi now disabled by radio killswitch
Dec 30 20:22:58 Laptop42-2.crowhill NetworkManager[1725]: <warn> Failed to GDBus.Error:fi.w1.wpa_supplicant1.NotConnected: This interface is not connected: disconnect.
Dec 30 20:22:58 Laptop42-2.crowhill NetworkManager[1725]: <warn> Failed to GDBus.Error:fi.w1.wpa_supplicant1.NotConnected: This interface is not connected: disconnect.
Dec 30 20:22:58 Laptop42-2.crowhill nm-dispatcher[2579]: Dispatching action 'down' for wlan0
Dec 30 20:23:14 Laptop42-2.crowhill NetworkManager[1725]: <info> connectivity: check for uri 'http://conncheck.opensuse.org' failed with 'Error resolving 'conncheck.opensuse.org': Name or service not known'
Dec 30 20:23:43 Laptop42-2.crowhill kernel: Modules linked in: hid_generic hidp cmac ecb rfcomm ctr ccm af_packet bnep dm_mod btusb btrtl btbcm btintel uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev bluetooth nls_iso8859_1 snd_hda_codec_hdmi intel_rapl x86_pkg_temp_thermal arc4 nls_cp437 snd_hda_codec_realtek snd_hda_codec_generic intel_powerclamp iwldvm vfat fat coretemp snd_hda_intel kvm_intel mac80211 snd_hda_codec snd_hda_core snd_hwdep kvm iwlwifi cfg80211 snd_pcm asus_nb_wmi asus_wmi sparse_keymap irqbypass crct10dif_pclmul crc32_pclmul rtsx_pci_ms memstick r8169 mii snd_timer mei_me rfkill crc32c_intel iTCO_wdt iTCO_vendor_support snd fjes i2c_i801 mei lpc_ich shpchp drbg joydev ansi_cprng thermal soundcore aesni_intel aes_x86_64 processor battery ac pcspkr lrw gf128mul wmi
I have searched on the DEAUTH stuff but nothing seemed relevant as this only happens on initial boot, once activated by ticking the wireless box on NM widget it comes up and styas up, also if I hibernate it comes up ok on resume.
to fix their connection, so I ran those commands and the network burst into life but they did not fix the problem at boot up time. They also mentioned about making it a system connection which I assume means that “All users may connect to this network” is ticked, which it is.
One other thing I’ve noticed is that the Fn/F2 key combination does not work to enable/disable the hardware for wireless but I have no idea whether or not this is relevant. Other Fn/Fx key combinations work OK.
I am still at a loss to know how to fix this permanently so I dont have to run commands or tick boxes when I boot this laptop
Sorry to say adding that stuff to modprobe.d does not fix my issue. The wifi is NOT hard blocked but soft blocked so I did not hold out much hope but worth a try.
Well I’ve just solved it and this is going to be quite silly really…
I needed to check the Power Management settings and check I had the correct thing when closing the laptop lid, on doing this I noticed that the Wireless power saving was ticked so I unticked it and now my wifi connects just fine on boot up.
So thanks for all the pointers and sorry I did not check this before…