[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#798494: marked as done (iw: Can't connect to wireless router when running 4.1 kernel)



Your message dated Fri, 30 Apr 2021 21:37:56 +0200
with message-id <E1lcYxH-001MJh-BZ@hullmann.westfalen.local>
and subject line Closing this bug
has caused the Debian Bug report #798494,
regarding iw: Can't connect to wireless router when running 4.1 kernel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
798494: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798494
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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@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@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@kitchencomp:/home# ip link set wlan0 down

root@kitchencomp:/home# iw dev
phy#0
        Interface wlan0
                ifindex 3
                wdev 0x1
                addr 00:11:95:92:61:bd
                type managed

root@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@kitchencomp:/home# ip link set wlan0 up

root@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@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@kitchencomp:/home# iwconfig wlan0 essid NETGEAR

root@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@kitchencomp:/home# ip link set wlan0 down

root@kitchencomp:/home# iw dev wlan0 link
Not connected.

root@kitchencomp:/home# ip link set wlan0 up

root@kitchencomp:/home# iw dev wlan0 connect NETGEAR

root@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@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@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@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@kitchencomp:/home# iw dev
phy#0
        Interface wlan0
                ifindex 3
                wdev 0x1
                addr 00:11:95:92:61:bd
                type managed

root@kitchencomp:/home# ip link set wlan0 down

root@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@kitchencomp:/home# ip link set wlan0 up

root@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@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@kitchencomp:/home# iwconfig wlan0 essid NETGEAR

root@kitchencomp:/home# iw dev wlan0 link
Not connected.

root@kitchencomp:/home# iw dev wlan0 connect NETGEAR

root@kitchencomp:/home# iw dev wlan0 link
Not connected.

root@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@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

--- End Message ---
--- Begin Message ---
This bug was filed for a very old kernel. If you can reproduce it with
- the current version in unstable/testing
- the latest kernel from buster.backports
please reopen the bug, see https://www.debian.org/Bugs/server-control

--- End Message ---

Reply to: