[SOLVED]No WiFi for Atheros using Network Manager on Stretch

Kernels & Hardware, configuring network, installing services

[SOLVED]No WiFi for Atheros using Network Manager on Stretch

Postby joesmoe10 » 2017-12-10 20:34

No WiFi options appear in Network Manager. When installing from the debian ISO, WiFi worked. After installing and logging in, I can only connect with a wired interface, no wireless options appear in the Network manager settings.

Here's debug info from running the UbuntuForums wireless-info script as root.

The wireless hardware is a PCI 02:00.0 Network controller: Qualcomm Atheros AR93xx Wireless Network Adapter (rev 01).

Code: Select all
########## wireless info START ##########

Report from: 10 Dec 2017 01:31 PST -0800

Booted last: 10 Dec 2017 00:00 PST -0800

Script from: 05 Dec 2017 03:13 UTC +0000

##### release ###########################

Distributor ID:   Debian
Description:   Debian GNU/Linux 9.3 (stretch)
Release:   9.3
Codename:   stretch

##### kernel ############################

Linux 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3 (2017-12-03) x86_64 unknown unknown GNU/Linux

Parameters: ro, quiet, acpi=off

##### desktop ###########################

sed: can't read /root/.dmrc: No such file or directory

Could not be determined.

##### lspci #############################

00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (2) I219-V [8086:15b8] (rev 31)
   Subsystem: ASUSTeK Computer Inc. Ethernet Connection (2) I219-V [1043:8672]
   Kernel driver in use: e1000e

02:00.0 Network controller [0280]: Qualcomm Atheros AR93xx Wireless Network Adapter [168c:0030] (rev 01)
   Subsystem: Qualcomm Atheros AR93xx Wireless Network Adapter [168c:3112]
   Kernel modules: ath9k

##### lsusb #############################

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 046d:c068 Logitech, Inc. G500 Laser Mouse
Bus 001 Device 004: ID 29ea:0102 
Bus 001 Device 003: ID 1050:0407 Yubico.com
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

'pccardctl' is not installed (package "pcmciautils").

##### rfkill ############################

##### lsmod #############################

ath9k                  94208  0
ath9k_common           32768  1 ath9k
ath9k_hw              446464  2 ath9k,ath9k_common
ath                    32768  3 ath9k_hw,ath9k,ath9k_common
mac80211              671744  1 ath9k
cfg80211              589824  4 mac80211,ath9k,ath,ath9k_common
rfkill                 24576  2 cfg80211

##### interfaces ########################

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

##### ifconfig ##########################

enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.134  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::9ac4:febb:2784:75c  prefixlen 64  scopeid 0x20<link>
        ether <MAC address>  txqueuelen 1000  (Ethernet)
        RX packets 4959  bytes 6172579 (5.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3528  bytes 362794 (354.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xd3400000-d3420000 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 336  bytes 26628 (26.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 336  bytes 26628 (26.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

##### iwconfig ##########################

lo        no wireless extensions.

enp0s31f6  no wireless extensions.

##### route #############################

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    100    0        0 enp0s31f6
192.168.1.0     0.0.0.0         255.255.255.0   U     100    0        0 enp0s31f6

##### resolv.conf #######################

search smashbros
nameserver 192.168.1.1

##### network managers ##################

Installed:

   NetworkManager

Running:

root       926     1  0 00:53 ?        00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE:                         enp0s31f6
GENERAL.TYPE:                           ethernet
GENERAL.NM-TYPE:                        NMDeviceEthernet
GENERAL.VENDOR:                         Intel Corporation
GENERAL.PRODUCT:                        Ethernet Connection (2) I219-V
GENERAL.DRIVER:                         e1000e
GENERAL.DRIVER-VERSION:                 3.2.6-k
GENERAL.FIRMWARE-VERSION:               0.7-4
GENERAL.HWADDR:                         <MAC address>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1f.6/net/enp0s31f6
GENERAL.IP-IFACE:                       enp0s31f6
GENERAL.IS-SOFTWARE:                    no
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.NM-PLUGIN-MISSING:              no
GENERAL.PHYS-PORT-ID:                   --
GENERAL.CONNECTION:                     Wired connection 1
GENERAL.CON-UUID:                       b50e544b-a709-33e3-a01c-200e20667561
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/2
GENERAL.METERED:                        no (guessed)
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                     100 Mb/s
CAPABILITIES.IS-SOFTWARE:               no
WIRED-PROPERTIES.CARRIER:               on
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{2}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   b50e544b-a709-33e3-a01c-200e20667561 | Wired connection 1
IP4.ADDRESS[1]:                         192.168.1.134/24
IP4.GATEWAY:                            192.168.1.1
IP4.DNS[1]:                             192.168.1.1
IP4.DOMAIN[1]:                          smashbros
DHCP4.OPTION[1]:                        requested_subnet_mask = 1
DHCP4.OPTION[2]:                        requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[3]:                        subnet_mask = 255.255.255.0
DHCP4.OPTION[4]:                        domain_name_servers = 192.168.1.1
DHCP4.OPTION[5]:                        ip_address = 192.168.1.134
DHCP4.OPTION[6]:                        requested_static_routes = 1
DHCP4.OPTION[7]:                        dhcp_server_identifier = 192.168.1.1
DHCP4.OPTION[8]:                        requested_time_offset = 1
DHCP4.OPTION[9]:                        broadcast_address = 192.168.1.255
DHCP4.OPTION[10]:                       requested_interface_mtu = 1
DHCP4.OPTION[11]:                       dhcp_rebinding_time = 75600
DHCP4.OPTION[12]:                       requested_domain_name_servers = 1
DHCP4.OPTION[13]:                       dhcp_message_type = 5
DHCP4.OPTION[14]:                       requested_broadcast_address = 1
DHCP4.OPTION[15]:                       routers = 192.168.1.1
DHCP4.OPTION[16]:                       dhcp_renewal_time = 43200
DHCP4.OPTION[17]:                       requested_domain_name = 1
DHCP4.OPTION[18]:                       domain_name = smashbros
DHCP4.OPTION[19]:                       requested_routers = 1
DHCP4.OPTION[20]:                       expiry = 1512984148
DHCP4.OPTION[21]:                       host_name = jschaf
DHCP4.OPTION[22]:                       requested_netbios_scope = 1
DHCP4.OPTION[23]:                       requested_wpad = 1
DHCP4.OPTION[24]:                       requested_ms_classless_static_routes = 1
DHCP4.OPTION[25]:                       requested_netbios_name_servers = 1
DHCP4.OPTION[26]:                       network_number = 192.168.1.0
DHCP4.OPTION[27]:                       requested_domain_search = 1
DHCP4.OPTION[28]:                       next_server = 192.168.1.1
DHCP4.OPTION[29]:                       requested_ntp_servers = 1
DHCP4.OPTION[30]:                       requested_host_name = 1
DHCP4.OPTION[31]:                       dhcp_lease_time = 86400
IP6.ADDRESS[1]:                         fe80::9ac4:febb:2784:75c/64
IP6.GATEWAY:                            --

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/SmashBros-5]] (600 root)
[connection] id=SmashBros-5 | type=wifi | permissions=
[wifi] mac-address-blacklist= | ssid=SmashBros-5
[ipv4] method=auto
[ipv6] method=auto

##### Netplan config ####################

##### iw reg get ########################

Region: US/Pacific (based on set time zone)

global
country 00: DFS-UNSET
   (2402 - 2472 @ 40), (N/A, 20), (N/A)
   (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, NO-IR
   (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
   (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, NO-IR
   (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, NO-IR
   (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
   (5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
   (57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################

lo        no frequency information.

enp0s31f6  no frequency information.

##### iwlist scan #######################

lo        Interface doesn't support scanning.

enp0s31f6  Interface doesn't support scanning.

##### module infos ######################

[ath9k]
filename:       /lib/modules/4.9.0-4-amd64/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:         Atheros Communications
depends:        mac80211,ath9k_hw,ath9k_common,cfg80211,ath
intree:         Y
vermagic:       4.9.0-4-amd64 SMP mod_unload modversions
parm:           debug:Debugging mask (uint)
parm:           nohwcrypt:Disable hardware encryption (int)
parm:           blink:Enable LED blink on activity (int)
parm:           led_active_high:Invert LED polarity (int)
parm:           btcoex_enable:Enable wifi-BT coexistence (int)
parm:           bt_ant_diversity:Enable WLAN/BT RX antenna diversity (int)
parm:           ps_enable:Enable WLAN PowerSave (int)

[ath9k_common]
filename:       /lib/modules/4.9.0-4-amd64/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
license:        Dual BSD/GPL
description:    Shared library for Atheros wireless 802.11n LAN cards.
author:         Atheros Communications
depends:        ath9k_hw,cfg80211,ath
intree:         Y
vermagic:       4.9.0-4-amd64 SMP mod_unload modversions

[ath9k_hw]
filename:       /lib/modules/4.9.0-4-amd64/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
license:        Dual BSD/GPL
description:    Support for Atheros 802.11n wireless LAN cards.
author:         Atheros Communications
depends:        ath
intree:         Y
vermagic:       4.9.0-4-amd64 SMP mod_unload modversions

[ath]
filename:       /lib/modules/4.9.0-4-amd64/kernel/drivers/net/wireless/ath/ath.ko
license:        Dual BSD/GPL
description:    Shared library for Atheros wireless LAN cards.
author:         Atheros Communications
depends:        cfg80211
intree:         Y
vermagic:       4.9.0-4-amd64 SMP mod_unload modversions

[mac80211]
filename:       /lib/modules/4.9.0-4-amd64/kernel/net/mac80211/mac80211.ko
license:        GPL
description:    IEEE 802.11 subsystem
depends:        cfg80211
intree:         Y
vermagic:       4.9.0-4-amd64 SMP mod_unload modversions
parm:           max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm:           max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm:           beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm:           probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm:           ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)

[cfg80211]
filename:       /lib/modules/4.9.0-4-amd64/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:         Johannes Berg
depends:        rfkill
intree:         Y
vermagic:       4.9.0-4-amd64 SMP mod_unload modversions
parm:           bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[ath9k]
blink: 0
bt_ant_diversity: 0
btcoex_enable: 0
led_active_high: -1
nohwcrypt: 0
ps_enable: 0

[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
probe_wait_ms: 500

[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

##### modprobe options ##################

##### rc.local ##########################

grep: /etc/rc.local: No such file or directory

##### pm-utils ##########################

find: ‘/etc/pm/*.d’: No such file or directory

##### udev rules ########################

##### dmesg #############################

[    1.266580] ath9k 0000:02:00.0: enabling device (0000 -> 0002)
[    1.266585] ath9k 0000:02:00.0: can't find IRQ for PCI INT A; please try using pci=biosirq
[    1.266611] genirq: Flags mismatch irq 0. 00000080 (ath9k) vs. 00015a00 (timer)
[    1.266630] ath9k 0000:02:00.0: request_irq failed
[    1.266647] ath9k: probe of 0000:02:00.0 failed with error -16
[  771.035909] ath9k: ath9k: Driver unloaded
[  775.950633] ath9k 0000:02:00.0: can't find IRQ for PCI INT A; please try using pci=biosirq
[  775.950674] genirq: Flags mismatch irq 0. 00000080 (ath9k) vs. 00015a00 (timer)
[  775.950677] ath9k 0000:02:00.0: request_irq failed
[  775.950687] ath9k: probe of 0000:02:00.0 failed with error -16

########## wireless info END ############
Last edited by joesmoe10 on 2017-12-10 21:31, edited 1 time in total.
joesmoe10
 
Posts: 4
Joined: 2017-12-10 20:21

Re: No WiFi for Atheros using Network Manager on Stretch

Postby arochester » 2017-12-10 20:39

Have you added the firmware?

https://wiki.debian.org/ath9k
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN." - oswaldkelso
arochester
 
Posts: 1202
Joined: 2010-12-07 19:55

Re: No WiFi for Atheros using Network Manager on Stretch

Postby joesmoe10 » 2017-12-10 20:45

Yes the ath9k module is loaded.

Code: Select all
root@jschaf:/home/jschaf# lsmod | grep -i ath
ath9k                  94208  0
ath9k_common           32768  1 ath9k
ath9k_hw              446464  2 ath9k,ath9k_common
ath                    32768  3 ath9k_hw,ath9k,ath9k_common
mac80211              671744  1 ath9k
cfg80211              589824  4 mac80211,ath9k,ath,ath9k_common
joesmoe10
 
Posts: 4
Joined: 2017-12-10 20:21

Re: No WiFi for Atheros using Network Manager on Stretch

Postby arochester » 2017-12-10 20:47

Did you reboot?
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN." - oswaldkelso
arochester
 
Posts: 1202
Joined: 2010-12-07 19:55

Re: No WiFi for Atheros using Network Manager on Stretch

Postby joesmoe10 » 2017-12-10 20:54

Yes, just rebooted again for good measure. No luck.

I have a suspicion it's caused by acpi=off in my GRUB boot params. Without acpi=off, debian wouldn't boot.

https://askubuntu.com/questions/918744/ ... h-acpi-off
joesmoe10
 
Posts: 4
Joined: 2017-12-10 20:21

Re: No WiFi for Atheros using Network Manager on Stretch

Postby GarryRicketson » 2017-12-10 20:56

please try using pci=biosirq

Did you try that, in your boot parameters ?, or (bios settings)

https://ubuntuforums.org/showthread.php?t=1846516&page=5
Code: Select all
acpi=force irqpoll noapictimer

Code: Select all
modprobe ath9k

instead of
Code: Select all
modprobe ath5k
User avatar
GarryRicketson
 
Posts: 4790
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: No WiFi for Atheros using Network Manager on Stretch

Postby joesmoe10 » 2017-12-10 21:30

Okay, after updating my BIOS everything appears to be working. I don't need the acpi=off or any other boot params.

Thank you for the help.
joesmoe10
 
Posts: 4
Joined: 2017-12-10 20:21


Return to System configuration

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable