Package: firmware-ralink
Version: 20180825+dfsg-1
Severity: normal
Dear Maintainer,
Under Debian Buster, a usb wi-fi adapter D-link DWA-130, rev. F1 can
display available wifi services but could not connect
to any of them. An "ip link" command shows:
wlx74dada1c2b5d: <NO-CARRIER, BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq
state UP mode DORMANT group default qlen 1000
link/ether 74:da:da:1c:2b:5d brd ff:ff:ff:ff:ff:ff
The same D-link usb wifi adapter installed on a same make and model
computer but running under Debian Jessie works without problem, able to
connect to any chosen wifi service.
On that Debian Jessie system, ip link shows:
wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode
DORMANT group default qlen 1000
link/ether 74:da:da:1c:2b:5d brd ff:ff:ff:ff:ff:ff
=== Workaround: ===
I am able to make the D-link usb wifi adapter work under Debian Buster
by creating the file
/lib/udev/rules.d/70-wifi.rules
which contains this single line (address comes from device name
"wlx74dada1c2b5d"):
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="74:da:da:1c:2b:5d",
NAME="wlan0"
After rebooting the Debian Buster system with that file in place, the
D-link usb wifi adapter works, and "ip link" shows the now shorter
device name:
wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode
DORMANT group default qlen 1000
link/ether 74:da:da:1c:2b:5d brd ff:ff:ff:ff:ff:ff
The workaround solution comes from:
https://askubuntu.com/questions/826325/how-to-revert-usb-wifi-interface-name-from-wlxxxxxxxxxxxxx-to-wlanx
The discussion in that thread mentions a (Ubuntu studio) kernel having a
low latency, wondering whether the long device name is the source of the
problem?
I have not tried forcing names other than "wlan0" to determine whether
it is "wlan0" that is magical or whether other names would work.
I would expect the D-link usb wifi adapter to work under Debian Buster
without this workaround, as the adapter works fine under Jessie.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages firmware-ralink depends on:
ii firmware-misc-nonfree 20180825+dfsg-1
firmware-ralink recommends no packages.
firmware-ralink suggests no packages.
-- no debconf information