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

[Solved] Re: Stretch, WIFI connection failed with aborting authentication with ... by local choice (Reason: 3=DEAUTH_LEAVING)



Hi,

Yesterday I received a mail from Maurico in which there is reference to
a bug related to long names interfaces (the name with the MAC address).

The workaround is to inhibit the use of long names with the following
command
Ln -s / dev / null /etc/systemd/network/99-default.link

At the next restart (a little longer for interface loss), the short
names are back and the WIFI connection works.

Thanks.

Cheers,

Yann.
Le lundi 19 juin 2017 à 19:59 +0200, Yann Cohen a écrit :
> Hello,
> 
> Le samedi 10 juin 2017 à 10:21 -0500, Richard Owlett a écrit :
> > On 06/10/2017 08:04 AM, Yann Cohen wrote:
> > > Hello,
> > > 
> 
> [...]
> > 
> > > Last week, I reinstalled my laptop (lenovo YOGA 13) with Debian
> > > Stretch  and network-manager.
> > > 
> > > Linux yogayan 4.9.0-3-amd64 #1 SMP Debian 4.9.30-1 (2017-06-04)
> > > x86_64
> > > GNU/Linux
> > > 
> > > Bus 001 Device 004: ID 0bda:1724 Realtek Semiconductor Corp.
> > > RTL8723AU
> > > 802.11n WLAN Adapter
> > 
> > That is likely your problem.
> > See thread beginning at
> > <https://lists.debian.org/debian-user/2017/04/msg00525.html>.
> > Cindy-Sue Causey pointed to
> > <https://packages.debian.org/jessie/firmware-realtek>
> > 
> > See also comment by Pascal Hambourg at
> > <https://lists.debian.org/debian-user/2017/04/msg00552.html>
> > 
> > HTH
> > 
> 
> Well,
> 
> I summarize the situation :
>  * the WIFI interface embedded on my laptop has been working fine for
>    three with debian jessie
>  * on stretch, I installed realtek non-free firmware 
>  * at boot time, in dmesg, I can see the successful loading of the
>    firmware
>     [   11.811782] usb 1-1.4: firmware: direct-loading firmware
>     rtlwifi/rtl8723aufw_B_NoBT.bin
>     [   11.811794] usb 1-1.4: Firmware revision 31.0 (signature
> 0x2302)
>  * the connection failed "by local choice (Reason: 3=DEAUTH_LEAVING)"
>  * I got 2 usb WIFI dongle (which work fine on my raspberry pi
>    -raspbian jessie-). For each the same message appears in the
> log...
>  * I tried to use this dongles on too other stretch workstation with
>    the same negative result.
>  * I have an other laptop with an PCI WIFI (Qualcomm Atheros QCA9565
> /
>    AR9565) interface which works fine with debian stretch...
> 
> 
> > From my point of view, I did everything right, at least like the
> > Jessie
> 
> configuration.
> But obviously it seems not !
> and I can't find where !
> I look more and more like a dog trying to catch his tail !
> 
> So, with the publication of Stretch as stable few days ago, maybe  I
> would no be the only to have this issue...
> 
> 
--- 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: