:: Re: [DNG] systemd and wlan0 interfa…
Top Page
Delete this message
Reply to this message
Author: Didier Kryn
Date:  
To: dng
Subject: Re: [DNG] systemd and wlan0 interface problem [SOLUTON]
Le 20/07/2018 à 03:39, Haines Brown a écrit :
> So I wrote the stanza manually:
>
>    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
>    ATTR{address}=="<my dongle's MAC address>",
>    ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

>
> I put this interface stanza in /etc/network/interfaces:
>
>     auto wlx2824ff1a1794
>     iface wlx2824ff1a1794 inet dhcp
>       wpa-ssid ATT680
>       wpa-psk <my password>

>
> wlx2824ff1a1794 is the Dongle's MAC address. I then did
>
>     # ifup wlx2824ff1a1794

>
> and I'm connected wirelessly.


    If udev renames your interface "wlan0", why then would you need
"wlx2824ff1a1794" in the interfaces file? You would need "wlan0".

    In my understanding, your udev rule has no effect, for some yet
unknown reason, and some other rule renames it "wlx2824ff1a1794".

        Didier