Carte USB DLink DWA 121

Bonjour,
J’ai un souci avec ma carte wifi usb Dlink DWA 121. Elle est bien reconnue et le pilote est installé (RTL8192u pour RTL8188CUS), puisqu’elle apparaît dans le network manager.
Cependant, à chaque fois que je tente de me connecter, j’ai un échec. C’est très mystérieux pour moi, sachant que c’est un ordinateur fixe qui possède une carte wifi intégrée mais qui ne fonctionne plus suite à un bricolage basique (changement du bloc d’alim).

Dans mon sources.list, j’ai à la fois “Jessie” et “sid”, avec les préférences sur la version stable

A tout hasard, je mets le résultat de quelques commandes utiles…
lsusb

breunz@captp:/sbin$ lsusb
Bus 001 Device 008: ID 2001:3308 D-Link Corp. DWA-121 802.11n Wireless N 150 Pico Adapter [Realtek RTL8188CUS]

ifconfig

breunz@captp:/sbin$ ./ifconfig 
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.35  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::c27c:d1ff:fea0:4904  prefixlen 64  scopeid 0x20<link>
        ether c0:7c:d1:a0:49:04  txqueuelen 1000  (Ethernet)
        RX packets 28647  bytes 29543154 (28.1 MiB)
        RX errors 0  dropped 2  overruns 0  frame 0
        TX packets 22044  bytes 2521122 (2.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Boucle locale)
        RX packets 734  bytes 58138 (56.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 734  bytes 58138 (56.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 5e:1c:8c:be:ab:4f  txqueuelen 1000  (Ethernet)
        RX packets 5  bytes 1033 (1.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 37  bytes 6122 (5.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlxe46f1329a392: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether a6:ba:02:79:84:b8  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

iwconfig

breunz@captp:/sbin$ iwconfig 
eth0      no wireless extensions.

wlan0     IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          
lo        no wireless extensions.

wlxe46f1329a392  IEEE 802.11  ESSID:"freebox######"  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off

La solution est donnée ici :

Le noyau du driver firmware-realtek fonctionne mal dans certains cas. L’action décrite ci dessus a résolu mon problème