You are not logged in.

#1 2016-08-12 05:31:22

asdf
Member
Registered: 2016-08-12
Posts: 7

[solved] wifi hardblocked at boot

Hi,

I have a fresh BL installation on my HP (Compaq) 6910p laptop. Wifi is working, but when I reboot or wake it from sleep, wifi is completely disabled. It is hardblocked and softblocked, and pressing the touch-sensitive switch for the wireless device has no effect. I've discovered that I can unblock it with rfkill, but I then have to physically switch it on after it is unblocked.

This isn't a major problem, but it is very frustrating, because I've spent several hours trying to resolve what I thought was a simple problem. From what I've read, I believe the proper wifi driver is installed. If anyone has any thoughts about solutions I would be very grateful.

Below is a copy of my syslog over a ten minute period in which I shutdown with working wifi, restarted, then re-enabled wifi. I'm also including some of the customary data regarding installed drivers, modules, devices, etc. Thanks!

ip link result:

	3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DORMANT group default qlen 1000
    	link/ether 00:13:e8:79:98:11 brd ff:ff:ff:ff:ff:ff

uname -rv result:

	3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02)

lspci -knn | grep -EiA2 net

	00:19.0 Ethernet controller [0200]: Intel Corporation 82566MM Gigabit Network Connection [8086:1049] (rev 03)
	Subsystem: Hewlett-Packard Company Device [103c:30be]
	Kernel driver in use: e1000e
	--
	10:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection [8086:4229] (rev 61)
	Subsystem: Intel Corporation Device [8086:1000]
	Kernel driver in use: iwl4965b

dmesg|grep -Ei 'wlan|firmw|dhc'

	[    0.247354] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
	[    0.260343] pci 0000:02:06.0: MMC cards are now supported by standard SDHCI controller
	[    0.873646] sdhci: Secure Digital Host Controller Interface driver
	[    0.873649] sdhci: Copyright(c) Pierre Ossman
	[    0.873941] sdhci-pci 0000:02:06.3: SDHCI controller found [1180:0822] (rev 20)
	[    0.875052] sdhci-pci 0000:02:06.3: Will use DMA mode even though HW doesn't fully claim to support it.
	[    0.876062] sdhci-pci 0000:02:06.3: Will use DMA mode even though HW doesn't fully claim to support it.
	[    0.879926] mmc0: SDHCI controller on PCI [0000:02:06.3] using DMA
	[    2.557905] iwl4965 0000:10:00.0: firmware: direct-loading firmware iwlwifi-4965-2.ucode
	[    2.557913] iwl4965 0000:10:00.0: loaded firmware version 228.61.2.24
	[    4.494352] iwl4965 0000:10:00.0: On demand firmware reload
	[ 2875.258529] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

lsmod

	Module                  	Size  		Used by

	iwl4965                	93164  	0 
	iwlegacy               	55017  	1 iwl4965
	mac80211           	474216  2 iwl4965,iwlegacy
	cfg80211             	405538  3 iwl4965,iwlegacy,mac80211
	bnep                   	17431  	2 
	bluetooth           	374429  8 bnep,btusb
	6lowpan_iphc           	16588  	1 bluetooth
	hp_wmi                 	13238  	0 
	sparse_keymap 	        12818  	1 hp_wmi
	rfkill                 	18867  	6 cfg80211,hp_wmi,bluetooth
	wmi                    	17339  	1 hp_wmi

From syslog:

	-----------------------------------------------
	shutdown -h now
	------------------------------------------------
	Aug 11 15:25:00 bunsen-HP org.a11y.Bus[707]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
	Aug 11 15:25:00 bunsen-HP org.a11y.atspi.Registry[713]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.

	Aug 11 15:25:00 bunsen-HP kernel: [  592.941762] wlan0: deauthenticating from xxxx by local choice (Reason: 3=DEAUTH_LEAVING)
	Aug 11 15:25:00 bunsen-HP bluetoothd[625]: Terminating
	Aug 11 15:25:00 bunsen-HP systemd[698]: Stopping Default.
	Aug 11 15:25:00 bunsen-HP systemd[698]: Stopped target Default.
	Aug 11 15:25:00 bunsen-HP systemd[698]: Stopping Basic System.
	Aug 11 15:25:00 bunsen-HP systemd[698]: Stopped target Basic System.
	Aug 11 15:25:00 bunsen-HP systemd[698]: Stopping Paths.
	Aug 11 15:25:00 bunsen-HP systemd[698]: Stopped target Paths.
	Aug 11 15:25:00 bunsen-HP systemd[698]: Stopping Timers.
	Aug 11 15:25:00 bunsen-HP systemd[698]: Stopped target Timers.
	Aug 11 15:25:00 bunsen-HP systemd[698]: Stopping Sockets.
	Aug 11 15:25:00 bunsen-HP systemd[698]: Stopped target Sockets.
	Aug 11 15:25:00 bunsen-HP systemd[698]: Starting Shutdown.
	Aug 11 15:25:00 bunsen-HP systemd[727]: Stopping Default.
	Aug 11 15:25:00 bunsen-HP rsyslogd: [origin software="rsyslogd" swVersion="8.4.2" x-pid="602" x-info="http://www.rsyslog.com"] exiting on signal 15.

	---
	Aug 11 15:25:52 bunsen-HP kernel: [    0.028952] Initializing cgroup subsys net_cls
	Aug 11 15:25:52 bunsen-HP kernel: [    0.028969] Initializing cgroup subsys net_prio
	Aug 11 15:25:52 bunsen-HP kernel: [    0.100963] NET: Registered protocol family 16
	Aug 11 15:25:52 bunsen-HP kernel: [    0.256341] pci 0000:02:06.0: MMC cards are now supported by standard SDHCI controller
	Aug 11 15:25:52 bunsen-HP networking[344]: Configuring network interfaces...done.
	Aug 11 15:25:52 bunsen-HP kernel: [    0.284827] NET: Registered protocol family 2
	Aug 11 15:25:52 bunsen-HP kernel: [    0.286239] NET: Registered protocol family 1
	Aug 11 15:25:52 bunsen-HP kernel: [    0.734289] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
	Aug 11 15:25:52 bunsen-HP kernel: [    0.734720] audit: initializing netlink subsys (disabled)
	Aug 11 15:25:52 bunsen-HP connmand[500]: Connection Manager version 1.21
	Aug 11 15:25:52 bunsen-HP avahi-daemon[519]: Network interface enumeration completed.
	Aug 11 15:25:52 bunsen-HP connmand[500]: Checking loopback interface settings
	Aug 11 15:25:52 bunsen-HP connmand[500]: System hostname is bunsen-HP
	Aug 11 15:25:52 bunsen-HP dbus[520]: [system] Activating via systemd: service name='fi.w1.wpa_supplicant1' unit='wpa_supplicant.service'
	Aug 11 15:25:52 bunsen-HP connmand[500]: The name net.connman.vpn was not provided by any .service files
	Aug 11 15:25:52 bunsen-HP connmand[500]: lo {newlink} index 1 operstate 0 <UNKNOWN>
	Aug 11 15:25:52 bunsen-HP connmand[500]: eth0 {create} index 2 type 1 <ETHER>
	Aug 11 15:25:52 bunsen-HP connmand[500]: eth0 {update} flags 4098 <DOWN>
	Aug 11 15:25:52 bunsen-HP connmand[500]: eth0 {newlink} index 2 address 00:1B:38:7E:E1:26 mtu 1500
	Aug 11 15:25:52 bunsen-HP connmand[500]: eth0 {newlink} index 2 operstate 2 <DOWN>
	Aug 11 15:25:52 bunsen-HP kernel: [    0.763611] NET: Registered protocol family 10
	Aug 11 15:25:52 bunsen-HP kernel: [    0.763889] NET: Registered protocol family 17
	Aug 11 15:25:52 bunsen-HP kernel: [    0.825795] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
	Aug 11 15:25:52 bunsen-HP kernel: [    0.847294] sdhci: Secure Digital Host Controller Interface driver
	Aug 11 15:25:52 bunsen-HP kernel: [    0.847297] sdhci: Copyright(c) Pierre Ossman
	Aug 11 15:25:52 bunsen-HP kernel: [    0.847600] sdhci-pci 0000:02:06.3: SDHCI controller found [1180:0822] (rev 20)
	Aug 11 15:25:52 bunsen-HP kernel: [    0.848723] sdhci-pci 0000:02:06.3: Will use DMA mode even though HW doesn't fully claim to support it.
	Aug 11 15:25:52 bunsen-HP kernel: [    0.849730] sdhci-pci 0000:02:06.3: Will use DMA mode even though HW doesn't fully claim to support it.
	Aug 11 15:25:52 bunsen-HP kernel: [    0.849864] mmc0: SDHCI controller on PCI [0000:02:06.3] using DMA
	Aug 11 15:25:52 bunsen-HP kernel: [    1.150214] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
	Aug 11 15:25:52 bunsen-HP kernel: [    2.365446] NET: Registered protocol family 23
	Aug 11 15:25:52 bunsen-HP kernel: [    4.122247] NET: Registered protocol family 31
	Aug 11 15:25:52 bunsen-HP dbus[520]: [system] Successfully activated service 'fi.w1.wpa_supplicant1'
	Aug 11 15:25:52 bunsen-HP wpa_supplicant[593]: Successfully initialized wpa_supplicant
	Aug 11 15:25:52 bunsen-HP kernel: [    4.253501] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
	Aug 11 15:25:53 bunsen-HP connmand[500]: Adding interface eth0 [ ethernet ]
	Aug 11 15:25:53 bunsen-HP kernel: [    4.630713] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
	Aug 11 15:25:53 bunsen-HP connmand[500]: eth0 {update} flags 36867 <UP>
	Aug 11 15:25:53 bunsen-HP connmand[500]: eth0 {newlink} index 2 address 00:1B:38:7E:E1:26 mtu 1500
	Aug 11 15:25:53 bunsen-HP connmand[500]: eth0 {newlink} index 2 operstate 2 <DOWN>
	Aug 11 15:25:53 bunsen-HP connmand[500]: Method "ListAdapters" with signature "" on interface "org.bluez.Manager" doesn't exist
	Aug 11 15:25:53 bunsen-HP connmand[500]: wlan0 {create} index 3 type 1 <ETHER>
	Aug 11 15:25:53 bunsen-HP connmand[500]: wlan0 {update} flags 4098 <DOWN>
	Aug 11 15:25:53 bunsen-HP connmand[500]: wlan0 {newlink} index 3 address <867-5309> mtu 1500
	Aug 11 15:25:53 bunsen-HP connmand[500]: wlan0 {newlink} index 3 operstate 2 <DOWN>
	Aug 11 15:25:53 bunsen-HP connmand[500]: Adding interface wlan0 [ wifi ]
	Aug 11 15:25:53 bunsen-HP wpa_supplicant[593]: rfkill: WLAN hard blocked
	Aug 11 15:25:53 bunsen-HP wpa_supplicant[593]: rfkill: WLAN soft blocked

	---------------------------
	sudo rfkill list all
	---------------------------
	Aug 11 15:26:56 bunsen-HP ntpd_intres[551]: host name not found: 0.debian.pool.ntp.org
	Aug 11 15:26:56 bunsen-HP ntpd_intres[551]: host name not found: 1.debian.pool.ntp.org
	Aug 11 15:26:56 bunsen-HP ntpd_intres[551]: host name not found: 2.debian.pool.ntp.org
	Aug 11 15:26:56 bunsen-HP ntpd_intres[551]: host name not found: 3.debian.pool.ntp.org

	----------------------------------------------------------
	user attempting to turn on wifi power at switch
	----------------------------------------------------------
	Aug 11 15:28:06 bunsen-HP wpa_supplicant[593]: rfkill: WLAN hard blocked

	---------------------------
	@ 15:29 sudo rfkill unblock 1
	---------------------------

	-------------------------------------------------------------------------
	@ 15:31 user attempting to turn on wifi power at switch (2nd attempt)
	-------------------------------------------------------------------------
	Aug 11 15:31:02 bunsen-HP wpa_supplicant[593]: rfkill: WLAN soft blocked
	Aug 11 15:32:42 bunsen-HP wpa_supplicant[593]: rfkill: WLAN hard blocked

	-------------------------------------------------------
	@ 15:33 user executed sudo rfkill unblock all
	-------------------------------------------------------
	Aug 11 15:33:01 bunsen-HP wpa_supplicant[593]: rfkill: WLAN hard blocked

	------------------------------------------------
	@ 15:34 user depressed wifi power switch
	------------------------------------------------
	Aug 11 15:34:10 bunsen-HP wpa_supplicant[593]: rfkill: WLAN unblocked
	Aug 11 15:34:10 bunsen-HP connmand[500]: wlan0 {update} flags 4099 <UP>
	Aug 11 15:34:10 bunsen-HP connmand[500]: wlan0 {newlink} index 3 address <867-5309> mtu 1500
	Aug 11 15:34:10 bunsen-HP connmand[500]: wlan0 {newlink} index 3 operstate 5 <DORMANT>
	Aug 11 15:34:10 bunsen-HP kernel: [  501.603105] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
	Aug 11 15:34:14 bunsen-HP connmand[500]: wlan0 {update} flags 4098 <DOWN>
	Aug 11 15:34:14 bunsen-HP connmand[500]: wlan0 {newlink} index 3 address <867-5309> mtu 1500
	Aug 11 15:34:14 bunsen-HP connmand[500]: wlan0 {newlink} index 3 operstate 2 <DOWN>
	Aug 11 15:34:14 bunsen-HP kernel: [  505.608151] WARNING: CPU: 0 PID: 4 at /build/linux-7z1rSb/linux-3.16.7-ckt25/net/mac80211/util.c:1565 ieee80211_reconfig+0x4ba/0x1510 [mac80211]()
	Aug 11 15:34:14 bunsen-HP kernel: [  505.608159] Modules linked in: ecb btusb arc4 snd_hda_codec_analog snd_hda_codec_generic iTCO_wdt iTCO_vendor_support iwl4965 iwlegacy mac80211 cfg80211 bnep binfmt_misc cpufreq_userspace cpufreq_stats bluetooth cpufreq_powersave 6lowpan_iphc cpufreq_conservative pata_pcmcia tpm_infineon hp_wmi sparse_keymap rfkill coretemp kvm joydev evdev serio_raw pcspkr pcmcia lpc_ich mfd_core yenta_socket pcmcia_rsrc pcmcia_core snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore shpchp mei_me mei wmi irda crc_ccitt i915 acpi_cpufreq drm_kms_helper tpm_tis drm tpm hp_accel i2c_algo_bit lis3lv02d i2c_core input_polldev video processor battery ac button fuse parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 crc32c_generic btrfs xor raid6_pq sg sd_mod crc_t10dif crct10dif_generic sr_mod cdrom crct10dif_common psmouse ahci libahci firewire_ohci sdhci_pci sdhci mmc_core firewire_core crc_itu_t ata_piix uhci_hcd ehci_pci ehci_hcd e1000e usbcore ptp pps_core usb_common ata_generic fan thermal thermal_sys libata scsi_mod
	Aug 11 15:34:14 bunsen-HP kernel: [  505.608434]  [<ffffffff81067777>] ? warn_slowpath_common+0x77/0x90
	Aug 11 15:34:14 bunsen-HP kernel: [  505.608441]  [<ffffffff810677dc>] ? warn_slowpath_fmt+0x4c/0x50
	Aug 11 15:34:14 bunsen-HP kernel: [  505.608765] WARNING: CPU: 0 PID: 4 at /build/linux-7z1rSb/linux-3.16.7-ckt25/net/mac80211/driver-ops.h:12 ieee80211_do_stop+0x848/0x8b0 [mac80211]()
	Aug 11 15:34:14 bunsen-HP kernel: [  505.608773] Modules linked in: ecb btusb arc4 snd_hda_codec_analog snd_hda_codec_generic iTCO_wdt iTCO_vendor_support iwl4965 iwlegacy mac80211 cfg80211 bnep binfmt_misc cpufreq_userspace cpufreq_stats bluetooth cpufreq_powersave 6lowpan_iphc cpufreq_conservative pata_pcmcia tpm_infineon hp_wmi sparse_keymap rfkill coretemp kvm joydev evdev serio_raw pcspkr pcmcia lpc_ich mfd_core yenta_socket pcmcia_rsrc pcmcia_core snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore shpchp mei_me mei wmi irda crc_ccitt i915 acpi_cpufreq drm_kms_helper tpm_tis drm tpm hp_accel i2c_algo_bit lis3lv02d i2c_core input_polldev video processor battery ac button fuse parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 crc32c_generic btrfs xor raid6_pq sg sd_mod crc_t10dif crct10dif_generic sr_mod cdrom crct10dif_common psmouse ahci libahci firewire_ohci sdhci_pci sdhci mmc_core firewire_core crc_itu_t ata_piix uhci_hcd ehci_pci ehci_hcd e1000e usbcore ptp pps_core usb_common ata_generic fan thermal thermal_sys libata scsi_mod
	Aug 11 15:34:14 bunsen-HP kernel: [  505.609014]  [<ffffffff81067777>] ? warn_slowpath_common+0x77/0x90
	Aug 11 15:34:14 bunsen-HP kernel: [  505.609021]  [<ffffffff810677dc>] ? warn_slowpath_fmt+0x4c/0x50
	Aug 11 15:34:14 bunsen-HP wpa_supplicant[593]: rfkill: WLAN unblocked
	Aug 11 15:34:18 bunsen-HP wpa_supplicant[593]: rfkill: WLAN hard blocked
	Aug 11 15:34:19 bunsen-HP wpa_supplicant[593]: rfkill: WLAN unblocked
	Aug 11 15:34:19 bunsen-HP connmand[500]: wlan0 {update} flags 4099 <UP>
	Aug 11 15:34:19 bunsen-HP connmand[500]: wlan0 {newlink} index 3 address <867-5309> mtu 1500
	Aug 11 15:34:19 bunsen-HP kernel: [  511.082873] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
	Aug 11 15:34:19 bunsen-HP connmand[500]: wlan0 {newlink} index 3 operstate 2 <DOWN>
	Aug 11 15:34:21 bunsen-HP connmand[500]: Skipping disconnect of 53696c6b79_managed_psk, network is connecting.
	Aug 11 15:34:21 bunsen-HP wpa_supplicant[593]: wlan0: SME: Trying to authenticate with xxxx (SSID='honypot' freq=2437 MHz)
	Aug 11 15:34:21 bunsen-HP wpa_supplicant[593]: wlan0: Trying to associate with xxxx (SSID='honypot' freq=2437 MHz)
	Aug 11 15:34:21 bunsen-HP wpa_supplicant[593]: wlan0: Associated with xxxx
	Aug 11 15:34:21 bunsen-HP connmand[500]: wlan0 {add} route fe80:: gw :: scope 0 <UNIVERSE>
	Aug 11 15:34:21 bunsen-HP connmand[500]: wlan0 {update} flags 69635 <UP,LOWER_UP>
	Aug 11 15:34:21 bunsen-HP connmand[500]: wlan0 {newlink} index 3 address <867-5309> mtu 1500
	Aug 11 15:34:21 bunsen-HP kernel: [  513.088196] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
	Aug 11 15:34:21 bunsen-HP connmand[500]: wlan0 {newlink} index 3 operstate 5 <DORMANT>
	Aug 11 15:34:21 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=US
	Aug 11 15:34:22 bunsen-HP wpa_supplicant[593]: wlan0: WPA: Key negotiation completed with xxxx [PTK=CCMP GTK=TKIP]
	Aug 11 15:34:22 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-CONNECTED - Connection to xxxx completed [id=0 id_str=]
	Aug 11 15:34:22 bunsen-HP connmand[500]: wlan0 {RX} 2 packets 330 bytes
	Aug 11 15:34:22 bunsen-HP connmand[500]: wlan0 {TX} 2 packets 288 bytes
	Aug 11 15:34:22 bunsen-HP connmand[500]: wlan0 {update} flags 69699 <UP,RUNNING,LOWER_UP>
	Aug 11 15:34:22 bunsen-HP connmand[500]: wlan0 {newlink} index 3 address <867-5309> mtu 1500
	Aug 11 15:34:22 bunsen-HP connmand[500]: wlan0 {newlink} index 3 operstate 6 <UP>
	Aug 11 15:34:22 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-39 noise=9999 txrate=1000
	Aug 11 15:34:23 bunsen-HP connmand[500]: Setting hostname to bunsen-HP
	Aug 11 15:34:23 bunsen-HP connmand[500]: Setting domainname to hsd1.mi.comcast.net
	Aug 11 15:34:23 bunsen-HP connmand[500]: wlan0 {add} address 10.0.0.171/24 label wlan0 family 2
	Aug 11 15:34:23 bunsen-HP connmand[500]: wlan0 {add} route 10.0.0.0 gw 0.0.0.0 scope 253 <LINK>
	Aug 11 15:34:23 bunsen-HP connmand[500]: wlan0 {add} route 10.0.0.1 gw 0.0.0.0 scope 253 <LINK>
	Aug 11 15:34:23 bunsen-HP connmand[500]: wlan0 {add} route 75.75.76.76 gw 10.0.0.1 scope 0 <UNIVERSE>
	Aug 11 15:34:23 bunsen-HP connmand[500]: wlan0 {add} route 75.75.75.75 gw 10.0.0.1 scope 0 <UNIVERSE>
	Aug 11 15:34:23 bunsen-HP connmand[500]: wlan0 {add} route 0.0.0.0 gw 10.0.0.1 scope 0 <UNIVERSE>
	Aug 11 15:34:23 bunsen-HP connmand[500]: wlan0 {add} route <867-5309>:: gw :: scope 0 <UNIVERSE>
	Aug 11 15:34:24 bunsen-HP connmand[500]: wlan0 {add} address <867-5309> label (null) family 10
	Aug 11 15:34:24 bunsen-HP connmand[500]: Failed to find URL:http://ipv6.connman.net/online/status.html
	Aug 11 15:34:28 bunsen-HP connmand[500]: wlan0 {add} route 82.165.8.211 gw 10.0.0.1 scope 0 <UNIVERSE>
	Aug 11 15:34:29 bunsen-HP connmand[500]: wlan0 {del} route 82.165.8.211 gw 10.0.0.1 scope 0 <UNIVERSE>
	 ->nl_recvmsgs failed: -33
	Aug 11 16:00:22 bunsen-HP wpa_supplicant[593]: nl80211: send_and_recv->nl_recvmsgs failed: -33
	Aug 11 16:01:18 bunsen-HP wpa_supplicant[593]: wlan0: WPA: Group rekeying completed with xxxx [GTK=TKIP]
	Aug 11 16:05:05 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-88 noise=9999 txrate=65000
	Aug 11 16:05:08 bunsen-HP wpa_supplicant[593]: nl80211: send_and_recv->nl_recvmsgs failed: -33
	Aug 11 16:05:08 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-38 noise=9999 txrate=1000
	Aug 11 16:05:08 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-38 noise=9999 txrate=1000
	Aug 11 16:05:13 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-95 noise=9999 txrate=1000
	Aug 11 16:05:16 bunsen-HP wpa_supplicant[593]: nl80211: send_and_recv->nl_recvmsgs failed: -33
	Aug 11 16:05:16 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-38 noise=9999 txrate=1000
	Aug 11 16:05:16 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-38 noise=9999 txrate=1000
	Aug 11 16:15:22 bunsen-HP wpa_supplicant[593]: nl80211: send_and_recv->nl_recvmsgs failed: -33
	Aug 11 16:15:41 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-93 noise=9999 txrate=1000
	Aug 11 16:15:44 bunsen-HP wpa_supplicant[593]: nl80211: send_and_recv->nl_recvmsgs failed: -33
	Aug 11 16:15:44 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-41 noise=9999 txrate=1000
	Aug 11 16:15:56 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-36 noise=9999 txrate=130000
	Aug 11 16:29:31 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-87 noise=9999 txrate=144400
	Aug 11 16:29:34 bunsen-HP wpa_supplicant[593]: nl80211: send_and_recv->nl_recvmsgs failed: -33
	Aug 11 16:29:34 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-42 noise=9999 txrate=1000
	Aug 11 16:29:35 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-37 noise=9999 txrate=1000
	Aug 11 16:34:38 bunsen-HP wpa_supplicant[593]: nl80211: send_and_recv->nl_recvmsgs failed: -33
	Aug 11 16:37:16 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-95 noise=9999 txrate=144400
	Aug 11 16:37:19 bunsen-HP wpa_supplicant[593]: nl80211: send_and_recv->nl_recvmsgs failed: -33
	Aug 11 16:37:19 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-44 noise=9999 txrate=1000
	Aug 11 16:37:19 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-44 noise=9999 txrate=1000
	Aug 11 16:37:19 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-44 noise=9999 txrate=1000
	Aug 11 16:37:55 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-38 noise=9999 txrate=72200
	Aug 11 16:37:56 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-95 noise=9999 txrate=72200
	Aug 11 16:37:59 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-42 noise=9999 txrate=1000
	Aug 11 16:37:59 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-42 noise=9999 txrate=1000
	Aug 11 16:38:10 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-95 noise=9999 txrate=1000
	Aug 11 16:38:13 bunsen-HP wpa_supplicant[593]: nl80211: send_and_recv->nl_recvmsgs failed: -33
	Aug 11 16:38:13 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-43 noise=9999 txrate=1000
	Aug 11 16:38:16 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-39 noise=9999 txrate=72200
	Aug 11 16:38:16 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-94 noise=9999 txrate=72200
	Aug 11 16:38:19 bunsen-HP wpa_supplicant[593]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-42 noise=9999 txrate=1000

Last edited by asdf (2016-08-13 04:36:30)

Offline

#2 2016-08-12 05:58:05

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: [solved] wifi hardblocked at boot

rfkill can't unblock hard-blocked switches. I think what's going on here is that when you press the button on the laptop, the hard block gets removed and because you already removed the soft-block with rfkill, the wifi becomes available.

If your wifi hard-blocks after waking up from sleep or rebooting, then chances are high that your laptop's embedded controller (EC) is setting the hard block every time (given that there's no actually phyiscal on/off switch since the position of the hardware switch is apparently not being remembered when suspending/powering off the device). I suggest that you first look for an option related to the wifi switch in your computer's BIOS, maybe you can permanently remove the hard-block.

Offline

#3 2016-08-12 06:12:32

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: [solved] wifi hardblocked at boot

hmm my gut instinct tells me it may have something to do with network manager, since it's the thing that handles changing of networking status... What's the output of :

nmcli connection show

nmcli device status

You can remove the devices from networkmanagers grip, by adding the wlan0 interface to /etc/network/interfaces  file.
This may stop networkmanager from stopping the nm from bringing the interface down.


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#4 2016-08-12 17:53:21

asdf
Member
Registered: 2016-08-12
Posts: 7

Re: [solved] wifi hardblocked at boot

rfkill can't unblock hard-blocked switches. I think what's going on here is that when you press the button on the laptop, the hard block gets removed and because you already removed the soft-block with rfkill, the wifi becomes available.

If your wifi hard-blocks after waking up from sleep or rebooting, then chances are high that your laptop's embedded controller (EC) is setting the hard block every time (given that there's no actually phyiscal on/off switch since the position of the hardware switch is apparently not being remembered when suspending/powering off the device). I suggest that you first look for an option related to the wifi switch in your computer's BIOS, maybe you can permanently remove the hard-block.

Well, I rebooted, and did not touch the wifi power switch at all. I first checked to confirm the hard block:

$ sudo rfkill list all

	 0: phy0: Wireless LAN
		Soft blocked: no
		Hard blocked: yes
	1: hp-wifi: Wireless LAN
		Soft blocked: yes
		Hard blocked: no

I then entred

sudo rfkill unblock all

, and the led light for wifi came on. I then double-checked with rfkill:

$ $ sudo rfkill list all
	0: phy0: Wireless LAN
		Soft blocked: no
		Hard blocked: no
	1: hp-wifi: Wireless LAN
		Soft blocked: no
		Hard blocked: no

I then followed your suggestion to check for a bios setting. There IS an option to disable wireless switching, which I selected. After rebooting there was no change in results. I confirmed the bios setting and repeated with the same result. Enabling switching again in bios did nothing. I'm stumped.

Offline

#5 2016-08-12 18:15:58

asdf
Member
Registered: 2016-08-12
Posts: 7

Re: [solved] wifi hardblocked at boot

hmm my gut instinct tells me it may have something to do with network manager, since it's the thing that handles changing of networking status... What's the output of :

nmcli connection show

nmcli device status

You can remove the devices from networkmanagers grip, by adding the wlan0 interface to /etc/network/interfaces  file.
This may stop networkmanager from stopping the nm from bringing the interface down.

I tried both nmcli commands and got a 'command not found' error. I did an apt-cache search for nmcli and didn't find anything. I have a strong feeling that I'm doing something stupid. More stupid than my customary stupid.

Your comment about networkmanager issues got me thinking about connman, which I had installed. I thought maybe it could be conflicting with networkmanager in some way, so I disabled then uninstalled it. No change in results. I think set up wifi via systemd config files, etc., and disabled networkmanager service. No change, but resolving systemd errors resulting from a typo has been a good exercise in patience. I still don't have my network configuration files behaving well as the syslog shows an error  relating to RouteMetric in both wired and wireless config files:

Unknown lvalue 'RouteMetric' in section 'DHCP'

I triple-checked the content of the files but fail to see why they don't comply with the systemd documentation (and the examples from the archwiki). Here is my /etc/systemd/network/wireless.network file:

[Match]
Name=wlan0

[Network]
DHCP=both
DNS=8.8.8.8
DNS=8.8.4.4

[DHCP]
RouteMetric=512

I tried substituting different values (wireless higher than wired) but get no change. I will be tempted to buy a pre-configured linux rig to replace this thing when I finally snap and take out my frustrations on it. I may revert to network manager and reconfigure after taking a break.

As for isolating the wifi hard block problem, eliminating services has reduced the number of lines in my syslog:

Aug 12 13:33:40 bunsen-HP kernel: [    0.029406] Initializing cgroup subsys net_cls
Aug 12 13:33:40 bunsen-HP kernel: [    0.029423] Initializing cgroup subsys net_prio
Aug 12 13:33:40 bunsen-HP kernel: [    0.101065] NET: Registered protocol family 16
Aug 12 13:33:40 bunsen-HP kernel: [    0.256340] pci 0000:02:06.0: MMC cards are now supported by standard SDHCI controller
Aug 12 13:33:40 bunsen-HP networking[367]: Configuring network interfaces...done.
Aug 12 13:33:40 bunsen-HP kernel: [    0.284808] NET: Registered protocol family 2
Aug 12 13:33:40 bunsen-HP kernel: [    0.286208] NET: Registered protocol family 1
Aug 12 13:33:40 bunsen-HP kernel: [    0.734201] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
Aug 12 13:33:40 bunsen-HP kernel: [    0.734631] audit: initializing netlink subsys (disabled)
Aug 12 13:33:40 bunsen-HP avahi-daemon[552]: Network interface enumeration completed.


Aug 12 13:33:40 bunsen-HP systemd-networkd[605]: [/etc/systemd/network/wireless.network:10] Unknown lvalue 'RouteMetric' in section 'DHCP'
Aug 12 13:33:40 bunsen-HP systemd-networkd[605]: [/etc/systemd/network/wired.network:10] Unknown lvalue 'RouteMetric' in section 'DHCP'

Aug 12 13:33:40 bunsen-HP systemd-networkd[605]: lo              : gained carrier
Aug 12 13:33:40 bunsen-HP systemd-networkd[605]: wlan0           : link configured

Aug 12 13:33:40 bunsen-HP kernel: [    0.763445] NET: Registered protocol family 10
Aug 12 13:33:40 bunsen-HP kernel: [    0.763715] NET: Registered protocol family 17
Aug 12 13:33:40 bunsen-HP kernel: [    0.799417] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
Aug 12 13:33:40 bunsen-HP kernel: [    0.853124] sdhci: Secure Digital Host Controller Interface driver
Aug 12 13:33:40 bunsen-HP kernel: [    0.853127] sdhci: Copyright(c) Pierre Ossman
Aug 12 13:33:40 bunsen-HP kernel: [    0.853419] sdhci-pci 0000:02:06.3: SDHCI controller found [1180:0822] (rev 20)
Aug 12 13:33:40 bunsen-HP kernel: [    0.854539] sdhci-pci 0000:02:06.3: Will use DMA mode even though HW doesn't fully claim to support it.
Aug 12 13:33:40 bunsen-HP kernel: [    0.855546] sdhci-pci 0000:02:06.3: Will use DMA mode even though HW doesn't fully claim to support it.
Aug 12 13:33:40 bunsen-HP kernel: [    0.855703] mmc0: SDHCI controller on PCI [0000:02:06.3] using DMA
Aug 12 13:33:40 bunsen-HP kernel: [    1.134204] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
Aug 12 13:33:40 bunsen-HP kernel: [    2.373594] NET: Registered protocol family 23
Aug 12 13:33:40 bunsen-HP kernel: [    3.017517] NET: Registered protocol family 31
Aug 12 13:33:40 bunsen-HP kernel: [    4.882823] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Aug 12 13:33:41 bunsen-HP systemd-networkd[605]: eth0            : link configured


Aug 12 13:33:41 bunsen-HP systemd-networkd[605]: wlan0           : could not bring up interface: Operation not possible due to RF-kill
Aug 12 13:33:41 bunsen-HP kernel: [    5.380416] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

Offline

#6 2016-08-12 21:05:38

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,702

Re: [solved] wifi hardblocked at boot

hi @asdf
their problem smells me very much

"A hp_wmi module is loaded before the correct module"

Unfortunately, I can only provide the description here in German ...  neutral

Offline

#7 2016-08-12 21:45:07

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [solved] wifi hardblocked at boot

asdf wrote:
Unknown lvalue 'RouteMetric' in section 'DHCP'

I triple-checked the content of the files but fail to see why they don't comply with the systemd documentation (and the examples from the archwiki). Here is my /etc/systemd/network/wireless.network file:

[Match]
Name=wlan0

[Network]
DHCP=both
DNS=8.8.8.8
DNS=8.8.4.4

[DHCP]
RouteMetric=512

I tried substituting different values (wireless higher than wired) but get no change.

Why have you set the RouteMetric so high?

These values work on my (Arch) system:
https://github.com/Head-on-a-Stick/conf … ed.network
https://github.com/Head-on-a-Stick/conf … ss.network

Does the connection still work as expected?

In  respect of @unklar's link, try adding hp-wmi on it's own line in /etc/modules and rebooting.

Offline

#8 2016-08-13 04:34:16

asdf
Member
Registered: 2016-08-12
Posts: 7

Re: [solved] wifi hardblocked at boot

Okay, I tried putting "hp_wmi" on its own line within /etc/modules as discussed in unklar's link with no result. Rather than take the time to find out how to change the order that modules are loaded, I decided to try blacklisting hp_wmi. Surprisingly (to me), this seems to work. I am able to reboot or wake from sleep with wifi already enabled. I'm a little confused, because modinfo indicates depends for this module (which I thought would prevent blacklisting of this module unless the depends were also blacklisted). Because I don't understand why this even works it feels like a bit of a kludge. I think I'll do some reading to better understand kernel modules.

Head_on_a_Stick wrote:

Why have you set the RouteMetric so high?

Heh. I tried a number of different entries and couldn't even get a variation on the error message. I used your values to begin with (it turns out I was actually following your tutorial, which was nicely done by the way) but plugged-in some variations that I pulled from other sources. I just forgot to return it to something that looked more typical. I still don't know why I'm getting the error, though. I checked the official documentation, and it looks like it should work. By the way, I also got an error with the DHCP=ipv4 line. The documentation also listed that as a valid entry, but I found some commentary accompanying the commits, which suggested that they were discouraging "ipv4" and "ipv6" as entries; I have no idea why. Regardless, switching ipv4 to "both" resolved the issue (which was preventing connection). I guess I should add some articles on systemd to my reading list as well.

Thank you for your help with this; I really appreciate it.

Offline

#9 2016-08-13 08:39:00

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,702

Re: [solved] wifi hardblocked at boot

Good that my old nose still works.  big_smile

The loading of the "wrong" _wmi modules relates laptops from Acer, Asus, HP and Dell.

Symptom: the issue of rfkill list is a second wireless instance called "acer-wireless" to see.

Example:

Offline

Board footer

Powered by FluxBB