aptosid.com

Hardware - Wireless always soft blocked (Solved)

alexk - 06.09.2017, 02:40
Post subject: Wireless always soft blocked (Solved)
My wireless device (Atheros AR9271 USB) keeps on getting soft blocked in the last month, apparently upon each reboot. Seemed to start happening after an upgrade. Any ideas why this is happening and how to prevent it? I'm forced to unblock using rfkill at each boot, then manually connect.

      Code:
$ infobash -v3
Host/Kernel/OS  "MSAK1" running Linux 4.13.0-0.slh.1-aptosid-amd64 x86_64 [ sidux 2009-02 Αιθήρ - kde-full - (200907141427) ]
CPU Info        4x Intel Core i5-2500K @ 6144 KB cache flags( sse3 ht nx lm vmx ) clocked at [ 3292.467 MHz ]
Videocard       Intel 2nd Generation Core Processor Family Integrated Graphics Controller  X.Org 1.19.3  [ 1920x1080@60.00hz ]
Network cards   Intel 82579V Gigabit
                Qualcomm Atheros AR9271 802.11n
Processes 232 | Uptime 4:46 | Memory 3709.9/15960.5MB | HDD WDC WD3200AAKS-0 Size 320GB (70%used) | Client Shell | Infobash v3.50

alexk - 06.10.2017, 22:21
Post subject: RE: Wireless always soft blocked
I'm still having this problem at every reboot. Have to unblock wifi and restart it. Then everything's good until the next reboot.
      Code:
$ rfkill list
0: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: yes
        Hard blocked: no
alex@MSAK1:~$ rfkill unblock wifi
alex@MSAK1:~$ sudo ifconfig wlan0 up
alex@MSAK1:~$ sudo ifup wlan0
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/74:ea:3a:90:4a:a2
Sending on   LPF/wlan0/74:ea:3a:90:4a:a2
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPREQUEST of 192.168.1.180 on wlan0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.1.180 from 192.168.1.1
DHCPACK of 192.168.1.180 from 192.168.1.1
bound to 192.168.1.180 -- renewal in 35976 seconds.

$ infobash -v3
Host/Kernel/OS  "MSAK1" running Linux 4.13.0-4.slh.3-aptosid-amd64 x86_64 [ sidux 2009-02 Αιθήρ - kde-full - (200907141427) ]
CPU Info        4x Intel Core i5-2500K @ 6144 KB cache flags( sse3 ht nx lm vmx ) clocked at [ 3292.734 MHz ]
Videocard       Intel 2nd Generation Core Processor Family Integrated Graphics Controller  X.Org 1.19.3  [ 1920x1080@60.00hz ]
Network cards   Intel 82579V Gigabit
                Qualcomm Atheros AR9271 802.11n
Processes 232 | Uptime 33min | Memory 1872.7/15960.5MB | HDD WDC WD3200AAKS-0 Size 320GB (71%used) | Client Shell | Infobash v3.50

$ lsusb -s 003:005
Bus 003 Device 005: ID 0cf3:9271 Atheros Communications, Inc. AR9271 802.11n

$ lsmod | grep ath
ath9k_htc              69632  0
ath9k_common           28672  1 ath9k_htc
ath9k_hw              430080  2 ath9k_htc,ath9k_common
ath                    28672  3 ath9k_htc,ath9k_hw,ath9k_common
mac80211              483328  2 ath9k_htc,ath9k_hw
cfg80211              258048  4 ath9k_htc,mac80211,ath,ath9k_common
multipath              16384  0
md_mod                114688  6 raid1,raid10,multipath,linear,raid0,raid456
usbcore               172032  10 ath9k_htc,usbhid,usb_storage,ehci_hcd,usblp,xhci_pci,btusb,uas,xhci_hcd,ehci_pci

[/code]
alexk - 06.10.2017, 22:56
Post subject: RE: Wireless always soft blocked
      Code:
$ locate -i rfkill
/home/fll/cow/lib/modules/2.6.39-3.slh.1-aptosid-amd64/kernel/net/rfkill
/home/fll/cow/lib/modules/2.6.39-3.slh.1-aptosid-amd64/kernel/net/rfkill/rfkill.ko
/lib/modules/4.13.0-2.slh.2-aptosid-amd64/kernel/drivers/platform/x86/amilo-rfkill.ko
/lib/modules/4.13.0-2.slh.2-aptosid-amd64/kernel/net/rfkill
/lib/modules/4.13.0-2.slh.2-aptosid-amd64/kernel/net/rfkill/rfkill-gpio.ko
/lib/modules/4.13.0-2.slh.2-aptosid-amd64/kernel/net/rfkill/rfkill.ko
/lib/modules/4.13.0-4.slh.3-aptosid-amd64/kernel/drivers/platform/x86/amilo-rfkill.ko
/lib/modules/4.13.0-4.slh.3-aptosid-amd64/kernel/net/rfkill
/lib/modules/4.13.0-4.slh.3-aptosid-amd64/kernel/net/rfkill/rfkill-gpio.ko
/lib/modules/4.13.0-4.slh.3-aptosid-amd64/kernel/net/rfkill/rfkill.ko
/lib/systemd/systemd-rfkill
/lib/systemd/system/systemd-rfkill.service
/lib/systemd/system/systemd-rfkill.socket
/lib/udev/rules.d/61-kde-bluetooth-rfkill.rules
/usr/include/linux/rfkill.h
/usr/sbin/rfkill
/usr/share/bash-completion/completions/rfkill
/usr/share/doc/rfkill
/usr/share/doc/rfkill/README
/usr/share/doc/rfkill/changelog.Debian.amd64.gz
/usr/share/doc/rfkill/changelog.Debian.gz
/usr/share/doc/rfkill/copyright
/usr/share/man/man8/rfkill.8.gz
/usr/share/man/man8/systemd-rfkill.8.gz
/usr/share/man/man8/systemd-rfkill.service.8.gz
/usr/share/man/man8/systemd-rfkill.socket.8.gz
/var/lib/dpkg/info/rfkill.list
/var/lib/dpkg/info/rfkill.md5sums
/var/lib/systemd/rfkill
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.1:1.0:bluetooth
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.1:1.0:phy0
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.1:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.2:1.0:bluetooth
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.2:1.0:phy0
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.2:1.0:phy1
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.2:1.0:phy2
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.2:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.3:1.0:phy0
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.3:1.0:phy1
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.3:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.4:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.5:1.0:bluetooth
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.5:1.0:hci0
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.5:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.6:1.0:bluetooth
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.6:1.0:hci0
/var/lib/systemd/rfkill/pci-0000:00:1a.0-usb-0:1.6:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:00:1d.0-usb-0:1.3:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:00:1d.0-usb-0:1.4:1.0:wlan
/var/lib/systemd/rfkill/pci-0000:03:00.0-usb-0:1:1.0:bluetooth
/var/lib/systemd/rfkill/pci-0000:03:00.0-usb-0:2:1.0:bluetooth
/var/lib/systemd/rfkill/pci-0000:03:00.0-usb-0:2:1.0:wlan


People often seem to fix this by blacklisting a module, but I don't know which one to blacklist.
      Code:
$ lsmod
Module                  Size  Used by
ctr                    16384  6
ccm                    20480  9
xt_CHECKSUM            16384  1
iptable_mangle         16384  1
ipt_MASQUERADE         16384  3
nf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE
iptable_nat            16384  1
nf_nat_ipv4            16384  1 iptable_nat
nf_nat                 24576  2 nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_conntrack_ipv4      16384  5
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
xt_conntrack           16384  1
nf_conntrack           81920  6 nf_conntrack_ipv4,ipt_MASQUERADE,nf_nat_masquerade_ipv4,xt_conntrack,nf_nat_ipv4,nf_nat
ipt_REJECT             16384  2
nf_reject_ipv4         16384  1 ipt_REJECT
xt_tcpudp              16384  6
tun                    32768  1
bridge                131072  0
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
ebtable_filter         16384  0
ebtables               32768  1 ebtable_filter
ip6table_filter        16384  0
ip6_tables             24576  1 ip6table_filter
iptable_filter         16384  1
uinput                 20480  1
af_packet              40960  8
rfcomm                 40960  16
bnep                   20480  2
cpufreq_powersave      16384  0
cpufreq_conservative    16384  0
binfmt_misc            20480  1
usblp                  20480  0
arc4                   16384  2
ath9k_htc              69632  0
iTCO_wdt               16384  0
ath9k_common           28672  1 ath9k_htc
ath9k_hw              430080  2 ath9k_htc,ath9k_common
iTCO_vendor_support    16384  1 iTCO_wdt
gpio_ich               16384  0
intel_rapl             20480  0
btusb                  40960  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
btrtl                  16384  1 btusb
kvm_intel             188416  0
btbcm                  16384  1 btusb
ath                    28672  3 ath9k_htc,ath9k_hw,ath9k_common
btintel                16384  1 btusb
joydev                 20480  0
mac80211              483328  2 ath9k_htc,ath9k_hw
bluetooth             331776  43 btrtl,btintel,bnep,btbcm,rfcomm,btusb
kvm                   352256  1 kvm_intel
irqbypass              16384  1 kvm
cfg80211              258048  4 ath9k_htc,mac80211,ath,ath9k_common
crct10dif_pclmul       16384  0
drbg                   36864  1
ansi_cprng             16384  0
ecdh_generic           24576  1 bluetooth
crc32_pclmul           16384  0
rfkill                 20480  8 bluetooth,cfg80211
ghash_clmulni_intel    16384  0
pcbc                   16384  0
aesni_intel           184320  6
mei_me                 20480  0
mei                    53248  1 mei_me
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
cryptd                 20480  3 crypto_simd,ghash_clmulni_intel,aesni_intel
evdev                  20480  9
intel_cstate           16384  0
lpc_ich                24576  0
intel_rapl_perf        16384  0
nuvoton_cir            20480  0
rc_core                24576  1 nuvoton_cir
mfd_core               16384  1 lpc_ich
sg                     32768  0
pcspkr                 16384  0
serio_raw              16384  0
snd_hda_codec_hdmi     45056  1
snd_hda_codec_realtek    69632  1
snd_hda_codec_generic    65536  1 snd_hda_codec_realtek
i915                 1544192  22
video                  36864  1 i915
button                 16384  1 i915
i2c_algo_bit           16384  1 i915
drm_kms_helper        126976  1 i915
drm                   282624  10 i915,drm_kms_helper
intel_gtt              20480  1 i915
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
snd_hda_intel          28672  3
snd_hda_codec          90112  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core           49152  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                81920  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer              28672  1 snd_pcm
snd                    65536  14 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
soundcore              16384  1 snd
w83627ehf              40960  0
hwmon_vid              16384  1 w83627ehf
coretemp               16384  0
parport_pc             40960  0
ppdev                  20480  0
lp                     20480  0
parport                40960  3 lp,parport_pc,ppdev
ip_tables              24576  3 iptable_mangle,iptable_filter,iptable_nat
x_tables               28672  11 ipt_REJECT,iptable_mangle,ip_tables,ebtables,iptable_filter,xt_tcpudp,ipt_MASQUERADE,xt_CHECKSUM,ip6table_filter,xt_conntrack,ip6_tables
autofs4                28672  2
ext4                  393216  6
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                   61440  1 ext4
fscrypto               24576  1 ext4
btrfs                 880640  0
raid10                 49152  0
raid456               110592  0
async_raid6_recov      20480  1 raid456
async_memcpy           16384  2 raid456,async_raid6_recov
async_pq               16384  2 raid456,async_raid6_recov
async_xor              16384  3 async_pq,raid456,async_raid6_recov
async_tx               16384  5 async_xor,async_pq,raid456,async_memcpy,async_raid6_recov
xor                    24576  2 async_xor,btrfs
raid6_pq              114688  4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c              16384  3 nf_conntrack,raid456,nf_nat
crc32c_generic         16384  0
raid1                  36864  0
raid0                  20480  0
multipath              16384  0
linear                 16384  0
md_mod                114688  6 raid1,raid10,multipath,linear,raid0,raid456
hid_logitech_hidpp     32768  0
hid_logitech_dj        20480  0
usbhid                 45056  0
hid                   110592  3 usbhid,hid_logitech_dj,hid_logitech_hidpp
uas                    24576  0
usb_storage            57344  1 uas
sr_mod                 24576  0
sd_mod                 49152  8
cdrom                  32768  1 sr_mod
ahci                   36864  7
libahci                28672  1 ahci
i2c_i801               24576  0
psmouse               118784  0
firewire_ohci          40960  0
crc32c_intel           24576  2
i2c_core               36864  6 i2c_algo_bit,i2c_i801,psmouse,i915,drm_kms_helper,drm
libata                180224  2 ahci,libahci
scsi_mod              155648  6 sd_mod,usb_storage,libata,uas,sr_mod,sg
xhci_pci               16384  0
firewire_core          53248  1 firewire_ohci
crc_itu_t              16384  1 firewire_core
xhci_hcd              110592  1 xhci_pci
ehci_pci               16384  0
ehci_hcd               49152  1 ehci_pci
e1000e                172032  0
ptp                    20480  1 e1000e
usbcore               172032  10 ath9k_htc,usbhid,usb_storage,ehci_hcd,usblp,xhci_pci,btusb,uas,xhci_hcd,ehci_pci
pps_core               16384  1 ptp

alexk - 07.10.2017, 12:36
Post subject: RE: Wireless always soft blocked
Problem seems resolved after removing a few packages. I was about to implement a workaround.
      Code:
Start-Date: 2017-10-06  23:33:14
Commandline: apt purge network-manager
Purge: plasma-nm:amd64 (4:5.10.5-2), network-manager:amd64 (1.8.4-2)
End-Date: 2017-10-06  23:33:31

Start-Date: 2017-10-06  23:34:50
Commandline: apt purge network-config
Purge: network-config:amd64 (0.2-2)
End-Date: 2017-10-06  23:34:57

Start-Date: 2017-10-07  08:18:11
Commandline: apt -y autoremove
Remove: libteamdctl0:amd64 (1.26-1+b1), libkf5modemmanagerqt6:amd64 (5.37.0-2), libstoken1:amd64 (0.91-1), libopenconnect5:amd64 (7.08-1), libndp0:amd64 (1.6-1+b1), libtomcrypt0:amd64 (1.17-9)
End-Date: 2017-10-07  08:19:11


This forum is pretty ghost-town like these days!
All times are GMT - 12 Hours
Powered by PNphpBB2 © 2003-2010 The Zafenio Group
Credits