[pkg-wpa-devel] Bug#798494: iw: Can't connect to wireless router when running 4.1 kernel
John Harrington
j-fharrington at tds.net
Wed Sep 9 21:04:21 UTC 2015
Package: iw
Version: 3.17-1
Severity: important
Dear Maintainer,
My network manager (wicd) lost the ability to connect to my unsecured wireless
router when I upgraded from the 3.16-0-4-686-pae kernel to the 4.1.0-1-686-pae
kernel. It still works normally when I boot into the 3.16 kernel.
This computer has a Qualcomm Atheros wireless adapter using the ath5k driver.
See further details in the command line output below.
On another computer of mine, wicd lost the ability to connect when upgrading
from the 4.0.0-2-686-pae to the 4.1.0-1-686-pae kernel. (On this computer --
the one I'm preparing this bug report on -- I upgraded directly from the 3.16
kernel to the 4.1 kernel, so have not tested the wireless connection on this
computer when running the 4.0 kernel.) On that other computer -- the one on
which I lost wireless capability on the upgrade from the 4.0 to the 4.1 kernel
-- I have an Intel Ultimate N Wifi Link 5300 adapter using the iwlwifi driver.
Since I have the same problem with two different devices, I assume this problem
is not specific to a particular adapter or driver.
Sorry if I'm reporting this bug against the wrong package. From the command
line I can't connect using either the iw or the iwconfig utilities, and I don't
know how to narrow the problem down any further. Below are a series of
commands that I ran under both the 3.16 and the 4.1 kernel with the
corresponding terminal output, showing that both the iw and iwconfig commands
successfully connect when running the 3.16 but fail when running the 4.1
kernel:
_______________________________________________
OUTPUT WHEN RUNNING THE 3.16 KERNEL:
root at kitchencomp:/home# lspci -k
<part of output omitted>
00:0d.0 Ethernet controller: Qualcomm Atheros AR5212/5213/2414 Wireless Network
Adapter (rev 01)
Subsystem: D-Link System Inc AirPlus DWL-G520 Wireless PCI Adapter
(rev. B)
Kernel driver in use: ath5k
<part of output omitted>
root at kitchencomp:/home# iw dev
phy#0
Interface wlan0
ifindex 3
wdev 0x1
addr 00:11:95:92:61:bd
ssid NETGEAR
type managed
channel 11 (2462 MHz), width: 20 MHz (no HT), center1: 2462 MHz
root at kitchencomp:/home# ip link set wlan0 down
root at kitchencomp:/home# iw dev
phy#0
Interface wlan0
ifindex 3
wdev 0x1
addr 00:11:95:92:61:bd
type managed
root at kitchencomp:/home# ip link show wlan0
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group
default qlen 1000
link/ether 00:11:95:92:61:bd brd ff:ff:ff:ff:ff:ff
root at kitchencomp:/home# ip link set wlan0 up
root at kitchencomp:/home# ip link show wlan0
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode
DEFAULT group default qlen 1000
link/ether 00:11:95:92:61:bd brd ff:ff:ff:ff:ff:ff
root at kitchencomp:/home# iw dev wlan0 scan
BSS 00:14:6c:20:29:3c(on wlan0)
TSF: 185632755274 usec (2d, 03:33:52)
freq: 2462
beacon interval: 100 TUs
capability: ESS ShortPreamble ShortSlotTime (0x0421)
signal: -80.00 dBm
last seen: 72 ms ago
Information elements from Probe Response frame:
SSID: NETGEAR
Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 12.0 24.0 36.0
DS Parameter set: channel 11
ERP: <no flags>
Extended supported rates: 9.0 18.0 48.0 54.0
root at kitchencomp:/home# iwconfig wlan0 essid NETGEAR
root at kitchencomp:/home# iw dev wlan0 link
Connected to 00:14:6c:20:29:3c (on wlan0)
freq: 2462
RX: 24920 bytes (369 packets)
TX: 6490 bytes (34 packets)
signal: -84 dBm
tx bitrate: 6.0 MBit/s
bss flags: short-preamble short-slot-time
dtim period: 0
beacon int: 100
root at kitchencomp:/home# ip link set wlan0 down
root at kitchencomp:/home# iw dev wlan0 link
Not connected.
root at kitchencomp:/home# ip link set wlan0 up
root at kitchencomp:/home# iw dev wlan0 connect NETGEAR
root at kitchencomp:/home# iw dev wlan0 link
Connected to 00:14:6c:20:29:3c (on wlan0)
SSID: NETGEAR
freq: 2462
RX: 10726 bytes (130 packets)
TX: 5439 bytes (29 packets)
signal: -83 dBm
tx bitrate: 11.0 MBit/s
bss flags: short-preamble short-slot-time
dtim period: 0
beacon int: 100
root at kitchencomp:/home# ip link show wlan0
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode
DEFAULT group default qlen 1000
link/ether 00:11:95:92:61:bd brd ff:ff:ff:ff:ff:ff
root at kitchencomp:/home# iwconfig
wlan0 IEEE 802.11bg ESSID:"NETGEAR"
Mode:Managed Frequency:2.462 GHz Access Point: 00:14:6C:20:29:3C
Bit Rate=11 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=28/70 Signal level=-82 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:27 Missed beacon:0
lo no wireless extensions.
eth0 no wireless extensions.
_____________________________________
OUTPUT WHEN RUNNING 4.1 KERNEL:
root at kitchencomp:/home# lspci -k
<part of output omitted>
00:0d.0 Ethernet controller: Qualcomm Atheros AR5212/5213/2414 Wireless Network
Adapter (rev 01)
Subsystem: D-Link System Inc AirPlus DWL-G520 Wireless PCI Adapter
(rev. B)
Kernel driver in use: ath5k
<part of output omitted>
root at kitchencomp:/home# iw dev
phy#0
Interface wlan0
ifindex 3
wdev 0x1
addr 00:11:95:92:61:bd
type managed
root at kitchencomp:/home# ip link set wlan0 down
root at kitchencomp:/home# ip link show wlan0
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group
default qlen 1000
link/ether 00:11:95:92:61:bd brd ff:ff:ff:ff:ff:ff
root at kitchencomp:/home# ip link set wlan0 up
root at kitchencomp:/home# ip link show wlan0
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode
DEFAULT group default qlen 1000
link/ether 00:11:95:92:61:bd brd ff:ff:ff:ff:ff:ff
root at kitchencomp:/home# iw dev wlan0 scan
BSS 00:14:6c:20:29:3c(on wlan0)
TSF: 182169811238 usec (2d, 02:36:09)
freq: 2462
beacon interval: 100 TUs
capability: ESS ShortPreamble ShortSlotTime (0x0421)
signal: -79.00 dBm
last seen: 88 ms ago
Information elements from Probe Response frame:
SSID: NETGEAR
Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 12.0 24.0 36.0
DS Parameter set: channel 11
ERP: <no flags>
Extended supported rates: 9.0 18.0 48.0 54.0
root at kitchencomp:/home# iwconfig wlan0 essid NETGEAR
root at kitchencomp:/home# iw dev wlan0 link
Not connected.
root at kitchencomp:/home# iw dev wlan0 connect NETGEAR
root at kitchencomp:/home# iw dev wlan0 link
Not connected.
root at kitchencomp:/home# ip link show wlan0
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode
DEFAULT group default qlen 1000
link/ether 00:11:95:92:61:bd brd ff:ff:ff:ff:ff:ff
root at kitchencomp:/home# iwconfig
wlan0 IEEE 802.11bg ESSID:"NETGEAR"
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
lo no wireless extensions.
eth0 no wireless extensions.
______________________________________________
Since I can't connect to my network when running the 4.1 kernel, I prepared
this report running the 4.1 kernel, and then rebooted using the 3.16 kernel and
re-ran reportbug, so there should be two sets of system information below.
Thanks, John Harrington
-- System Information:
Debian Release: stretch/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 4.1.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages iw depends on:
ii libc6 2.19-19
ii libnl-3-200 3.2.26-1
ii libnl-genl-3-200 3.2.26-1
Versions of packages iw recommends:
ii crda 3.13-1
iw suggests no packages.
-- System Information:
Debian Release: stretch/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages iw depends on:
ii libc6 2.19-19
ii libnl-3-200 3.2.26-1
ii libnl-genl-3-200 3.2.26-1
Versions of packages iw recommends:
ii crda 3.13-1
iw suggests no packages.
-- no debconf information
More information about the Pkg-wpa-devel
mailing list