Autor: Stefan Krusche Data: A: dng Assumpte: Re: [DNG] systemd and wlan0 interface problem
Am Sonntag 01 Juli 2018 schrieb Stefan Krusche: > Hello Haines,
>
> I certainly am no expert on this, but I'll try to help.
>
> Am Sonntag 01 Juli 2018 schrieb Haines Brown:
> > Does not a /etc/udev/rules.d/70-persistent-net-rules file with the
> > following content not force udev to assign wlan0 to the interface rather
> > than use wlx<mac address>?
> >
> > # PCI device 0x1814:0x0601 (rt2800pci)
> > SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<the \
> > mac address>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", \
> > NAME="wlan0"
>
> I think so. That's what you suggested in the first place and what I
> proposed.
>
> > If on the other hand I change the interface file on the ascii machine to
> > use the wireless dongle's mac address, such as wlx2123ff1a1794, by making
> > the first two lines of the interface read:
> >
> > auto wlx2123ff1a1794
> > iface wlx2123ff1a1794 inet dhcp
> > ...
> >
> > wpa_supplicant fails to bring up wlx2123ff1a1794.
>
> I think, you are on the right track here. Check how your interfaces are
> named with
>
> ip addr
>
> or
>
> sudo ifconfig
>
> and change /etc/network/interfaces accordingly.
That is,
> > auto wlx2123ff1a1794
> > iface wlx2123ff1a1794 inet dhcp