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.
Realtek firmwares are provided by the firmware-realtek package.

After enabling the Stretch-backports, a newer kernel version is available 4.18.0.0 and a newer version of the Firmware-realtek in Stretch backports

This one contains the wifi firmware for rtl8723de : Realtek RTL8723DE firmware (rtlwifi/rtl8723defw.bin)

Just install them and make sure to boot on this latest kernel version. The integrated wifi card is now available for configuration and for use.

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.