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

[Resolu] Re: [Stetch] Pas de connexion WIFI : aborting authentication ... by local choice (Reason: 3=DEAUTH_LEAVING)



Bonjour,

Hier j'ai reçu un mail de Maurico dans lequel il est fait référence à
un bug lié aux noms long des interfaces (le nom avec l'adresse MAC).

Le contournement est d'inhiber l'utilisation des noms longs avec la
command suivante 
ln -s /dev/null /etc/systemd/network/99-default.link

au redémarrage suivant (un peu plus long pour perte d'interface), les
noms "courts" sont de retour et la connexion WIFI fonctionne bien.

Bonne journée.

Yann.

Le jeudi 25 mai 2017 à 11:19 +0200, Yann Cohen a écrit :
> Bonjour,
> 
> J'ai réinstallé mon portable lenovo Yoga 13 sous stretch et je
> rencontre des problèmes lors de la connexion WIFI
> 
> De base j'ai sous usb une puce RTL8723AU (Wifi+BT) qui est reconnue
> via
> lsusb et dans les messages de démarrage
> 
> Bus 001 Device 004: ID 0bda:1724 Realtek Semiconductor Corp.
> RTL8723AU
> 802.11n WLAN Adapter
> 
> May 21 23:38:57 yogayan kernel: [   19.262374] usb 1-1.4: rtl8xxxu:
> Loading firmware rtlwifi/rtl8723aufw_B_NoBT.bin
> May 21 23:38:57 yogayan kernel: [   19.267786] usb 1-1.4: firmware:
> direct-loading firmware rtlwifi/rtl8723aufw_B_NoBT.bin
> May 21 23:38:57 yogayan kernel: [   19.267813] usb 1-1.4: Firmware
> revision 31.0 (signature 0x2302)
> 
> en plus j'ai une clé DLink
> Bus 001 Device 010: ID 07d1:3c07 D-Link System DWA-110 Wireless G
> Adapter(rev.A1) [Ralink RT2571W]
> 
> 
> Dans les deux cas j'ai le même symptôme lors de la tentative de
> connexion en WIFI sur tous les ssid disponibles dans mon
> environnement
> :
> aborting authentication with 9a:a1:d7:52:c2:71 by local choice
> (Reason:
> 3=DEAUTH_LEAVING)
> 
> Bien entendu "avant" le passage sous stretch, ce portable en Jessie
> fonctionnait en wifi sans problème...
> 
> Mon ami google ne m'a pas été d'une grande aide sur ce point ou bien
> je
> n'ai pas su lui poser la question correctement...
> 
> Merci d'avance pour vos remarques et suggestions...
> 
> 
> Yann.
> 
> 
> Trace dans /var/log/syslog lors de la connexion à un ssid WIFI ouvert
> 8>-------------------------------------------------------------------
> -
> May 25 10:58:05 yogayan NetworkManager[572]:
> <info>  [1495702685.2214]
> device (wlxa4db30024657): set-hw-addr: set MAC address to
> 66:2B:4E:B9:A6:EA (scanning)
> May 25 10:58:05 yogayan kernel: [ 1285.548176] IPv6:
> ADDRCONF(NETDEV_UP): wlxa4db30024657: link is not ready
> May 25 10:58:08 yogayan NetworkManager[572]:
> <info>  [1495702688.6778]
> device (wlxa4db30024657): Activation: starting connection 'SFR WiFi
> FON' (b8e934d1-75ff-46a7-a6d2-dbca8ec880d8)
> May 25 10:58:08 yogayan NetworkManager[572]:
> <info>  [1495702688.6786]
> audit: op="connection-activate" uuid="b8e934d1-75ff-46a7-a6d2-
> dbca8ec880d8" name="SFR WiFi FON" pid=11829 uid=1000 result="success"
> May 25 10:58:08 yogayan NetworkManager[572]:
> <info>  [1495702688.6794]
> device (wlxa4db30024657): state change: disconnected -> prepare
> (reason
> 'none') [30 40 0]
> May 25 10:58:08 yogayan NetworkManager[572]:
> <info>  [1495702688.7746]
> device (wlxa4db30024657): set-hw-addr: reset MAC address to
> A4:DB:30:02:46:57 (preserve)
> May 25 10:58:08 yogayan kernel: [ 1289.101900] IPv6:
> ADDRCONF(NETDEV_UP): wlxa4db30024657: link is not ready
> May 25 10:58:08 yogayan NetworkManager[572]:
> <info>  [1495702688.8085]
> device (wlxa4db30024657): state change: prepare -> config (reason
> 'none') [40 50 0]
> May 25 10:58:08 yogayan NetworkManager[572]:
> <info>  [1495702688.8121]
> device (wlxa4db30024657): Activation: (wifi) connection 'SFR WiFi
> FON'
> requires no security.  No secrets needed.
> May 25 10:58:08 yogayan NetworkManager[572]:
> <info>  [1495702688.8129]
> Config: added 'ssid' value 'SFR WiFi FON'
> May 25 10:58:08 yogayan NetworkManager[572]:
> <info>  [1495702688.8133]
> Config: added 'scan_ssid' value '1'
> May 25 10:58:08 yogayan NetworkManager[572]:
> <info>  [1495702688.8138]
> Config: added 'key_mgmt' value 'NONE'
> May 25 10:58:08 yogayan wpa_supplicant[660]: wlxa4db30024657: SME:
> Trying to authenticate with 9a:a1:d7:52:c2:71 (SSID='SFR WiFi FON'
> freq=2437 MHz)
> May 25 10:58:08 yogayan kernel: [ 1289.150740] wlxa4db30024657:
> authenticate with 9a:a1:d7:52:c2:71
> May 25 10:58:08 yogayan kernel: [ 1289.160992] wlxa4db30024657: send
> auth to 9a:a1:d7:52:c2:71 (try 1/3)
> May 25 10:58:08 yogayan kernel: [ 1289.162624] wlxa4db30024657:
> authenticated
> May 25 10:58:08 yogayan NetworkManager[572]:
> <info>  [1495702688.8572]
> device (wlxa4db30024657): supplicant interface state: inactive ->
> authenticating
> May 25 10:58:13 yogayan kernel: [ 1294.166593] wlxa4db30024657: 
> May 25 10:58:13 yogayan wpa_supplicant[660]: wlxa4db30024657: CTRL-
> EVENT-SSID-TEMP-DISABLED id=0 ssid="SFR WiFi FON" auth_failures=1
> duration=10 reason=CONN_FAILED
> May 25 10:58:13 yogayan NetworkManager[572]:
> <info>  [1495702693.8652]
> device (wlxa4db30024657): supplicant interface state: authenticating
> ->
> disconnected
> May 25 10:58:23 yogayan NetworkManager[572]:
> <info>  [1495702703.8721]
> device (wlxa4db30024657): supplicant interface state: disconnected ->
> scanning
> May 25 10:58:24 yogayan wpa_supplicant[660]: wlxa4db30024657: CTRL-
> EVENT-SSID-REENABLED id=0 ssid="SFR WiFi FON"
> May 25 10:58:24 yogayan wpa_supplicant[660]: wlxa4db30024657: SME:
> Trying to authenticate with 9a:a1:d7:52:c2:71 (SSID='SFR WiFi FON'
> freq=2437 MHz)
> May 25 10:58:24 yogayan kernel: [ 1305.242321] wlxa4db30024657:
> authenticate with 9a:a1:d7:52:c2:71
> May 25 10:58:24 yogayan NetworkManager[572]:
> <info>  [1495702704.9434]
> device (wlxa4db30024657): supplicant interface state: scanning ->
> authenticating
> May 25 10:58:24 yogayan kernel: [ 1305.258710] wlxa4db30024657: send
> auth to 9a:a1:d7:52:c2:71 (try 1/3)
> May 25 10:58:24 yogayan kernel: [ 1305.260216] wlxa4db30024657:
> authenticated
> May 25 10:58:29 yogayan kernel: [ 1310.261231] wlxa4db30024657:
> aborting authentication with 9a:a1:d7:52:c2:71 by local choice
> (Reason:
> 3=DEAUTH_LEAVING)
> May 25 10:58:29 yogayan wpa_supplicant[660]: wlxa4db30024657: CTRL-
> EVENT-SSID-TEMP-DISABLED id=0 ssid="SFR WiFi FON" auth_failures=2
> duration=20 reason=CONN_FAILED
> May 25 10:58:29 yogayan NetworkManager[572]:
> <info>  [1495702709.9580]
> device (wlxa4db30024657): supplicant interface state: authenticating
> ->
> disconnected
> May 25 10:58:33 yogayan NetworkManager[572]:
> <warn>  [1495702713.8183]
> device (wlxa4db30024657): Activation: (wifi) association took too
> long,
> failing activation
> May 25 10:58:33 yogayan kernel: [ 1314.136852] IPv6:
> ADDRCONF(NETDEV_UP): wlxa4db30024657: link is not ready
> May 25 10:58:33 yogayan NetworkManager[572]:
> <info>  [1495702713.8183]
> device (wlxa4db30024657): state change: config -> failed (reason
> 'ssid-
> not-found') [50 120 53]
> May 25 10:58:33 yogayan NetworkManager[572]:
> <warn>  [1495702713.8189]
> device (wlxa4db30024657): Activation: failed for connection 'SFR WiFi
> FON'
> May 25 10:58:33 yogayan NetworkManager[572]:
> <info>  [1495702713.8195]
> device (wlxa4db30024657): state change: failed -> disconnected
> (reason
> 'none') [120 30 0]
> May 25 10:58:33 yogayan NetworkManager[572]:
> <info>  [1495702713.9177]
> device (wlxa4db30024657): set-hw-addr: set MAC address to
> 22:02:9B:FB:7A:0D (scanning)
> May 25 10:58:33 yogayan kernel: [ 1314.248016] IPv6:
> ADDRCONF(NETDEV_UP): wlxa4db30024657: link is not ready
> May 25 10:58:35 yogayan NetworkManager[572]:
> <info>  [1495702715.0003]
> device (wlxa4db30024657): supplicant interface state: disconnected ->
> inactive
> --------------------------------------------------------------------
> <8
--- Begin Message ---
Correction, the source is this https://www.reddit.com/r/debian/comments/5tdp8q/stretch_wifi_error/ (I had a lot of tabs open, sorry)

On Sun, Jun 25, 2017 at 7:23 AM, Mauricio <tauro.kpo@gmail.com> wrote:
Hello Yann,

I found your mail on the web and I think I have a solution (it has worked for me!).

As root, run:

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

This will prevent systemd to create the long network interfaces names. It seems some firmwares don't play well with them. You must unplug-plug the USB dongle (or restart of it is internal).

This has worked for me. I'm using a TL-WN821N (atheros firmware) Wifi USB dongle.

My source:
https://www.reddit.com/r/debian/comments/5leii8/unable_to_connect_to_wifi_with_usb_adapter_via/

I hope this helps you. Happy hacking!


--- End Message ---

Reply to: