Reason: 3=DEAUTH_LEAVING

The ASUSTek Wifi USB adapter works fine once plugged into a laptop running Debian 9.3
Setting up its networking configuration is straightforward using iw, ip link and dhclient.

Although this new device is recognized by NetworkManager, its configuration failed and the process gets stuck at :

Reason: 3=DEAUTH_LEAVING

It looks like that NetworkManager does not like wireless interfaces with

This issue has been already encountered :

https://lists.debian.org/debian-user/2017/06/msg01045.html

Here is their workaround :

ln -s /dev/null /etc/systemd/network/99-default.link

Unplug-plug your USB dongle and NetworkManager should be working fine.

Advertisements

Missing firmwares for module i915

While upgrading your Debian Stretch, you can come up with this message :

W: Possible missing firmware /lib/firmware/i915/kbl_huc_ver02_00_1810.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_07_1398.bin for module i915
W: Possible missing firmware /lib/firmware/i915/skl_huc_ver01_07_1398.bin for module i915

This has been referenced as a bug :

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864601

If you can’t upgrade to Debian Buster, there is a possible workaround

Otherwise, after switching to Buster, the available version of firmware-misc-nonfree provides the missing firmwares.

Realtek wifi card rtl8723de not detected on Debian Stretch

The HP Pavilion 15-cc507nf notebook comes up with a wifi adapter Realtek rtl8723de not detected after a fresh install of Debian Stretch.
The firmware-realtek from the stretch backports repository does not provide any available module for this wifi card.

https://unix.stackexchange.com/questions/394012/wifi-not-working-in-debian-8-9-having-rtl8723de-driver-10ecd723

https://ubuntuforums.org/showthread.php?t=2367405&page=2&s=956015e55460cc1fbb14a84439fa3b46

https://github.com/lwfinger/rtlwifi_new/issues/267

https://github.com/lwfinger/rtlwifi_new/issues/270

Support is expected in Q4/2017

Possible missing firmwares for module i915

The warning message below has been displayed after upgrading Debian testing :

W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915

This issue has been referenced in the Debian bug tracking system : #857997
For now, this package does not provide the latest version of Kabylake GuC (9.14) and Broxton GuC (8.7) firmwares.
To remove this warning message, as a workaround, just download them and copy the blob files into the directory /lib/firmware/i915.
Finally, rebuild your initramfs :

update-initramfs -k `uname -r`-u

RTNETLINK answers: Operation not possible due to RF-kill

Trying to set up a wifi pci card using ip link set wlan0 up, I had this message :

RTNETLINK answers: Operation not possible due to RF-kill

On a Debian Jessie, rfkill utility is provided by the deb package rfkill

To install it :

[fool@localhost:~]$ sudo apt-get install rfkill

Then, listing the current settings :

[fool@localhost:~]$ sudo rfkill list all

0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
1: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
2: hp-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: no

Unblocking everything :

[fool@localhost:~]$ sudo rfkill unblock all

Checking now the new configuration :

[fool@localhost:~]$ sudo rfkill list all

0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
3: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

Finally, setting up the wifi interface works successfully.