Sunday February 28th 2021 - Update issue with packman inode mirror
There are issues with the inode mirror, please configure an alternative mirror. See http://packman.links2linux.org/mirrors
-
New wifi connection eeach boot
My Network Manager has recently started to create a wifi connection on every reboot. I'm currently up to wlan28 (from wlan0, of course). It means inputting the router password each time to restart wifi, which of course is doable fairly quickly but a total pain.
I'm on framework 5.78 and plasma 5.20.5.
It seems like a bug but I'm not sure how to handle it.
Anyone have any ideas?
Pete
-
Re: New wifi connection eeach boot
While this should not happen of course, I do not think that NM is to blame. The device names are given by the system (udev).
This to avoid searching for a solution in the wrong place.
Henk van Velden
-
AW: New wifi connection eeach boot
Read:
https://bugs.launchpad.net/ubuntu/+s...ev/+bug/153727
I was affected by the same bug on wlan a few years ago, I have done something, but I do not know it anymore.
But it has to do with udev......
Last edited by Sauerland; 19-Jan-2021 at 06:32.
-
Re: AW: New wifi connection eeach boot
 Originally Posted by Sauerland
A case of MAC spoofing? https://en.wikipedia.org/wiki/MAC_spoofing
See the part about MAC Address Randomization in WiFi.
Henk van Velden
-
Re: New wifi connection eeach boot
I'm not much wiser but thanks for the responses. I added wifi.scan-rand-mac-address=no to Networkmanager.conf some time ago because I thought that stops it. Maybe I've got that the wrong way round.
I'm now up to wlan32.
Pete
-
Re: New wifi connection eeach boot
You can edit this file and delete all the wlan entries
sudo vi /etc/udev/rules.d/70-persistent-net.rules
OpenSUSE 15.2 with VirtualBox VM's (XP, 10, Ubuntu MATE 20.04, OpenSUSE 15.2)
Pi4 with Ubuntu MATE 20.04
Unix since 1974 (pdp-11, Interdata, AT&T, Tandy, Convergent, Sun, IBM, NCR, and HP)
Linux since 1995 (Mandrake, Redhat, Fedora, CentOS, OpenSUSE)
-
Re: New wifi connection eeach boot
 Originally Posted by larryr
You can edit this file and delete all the wlan entries
sudo vi /etc/udev/rules.d/70-persistent-net.rules
Thanks. I'd already done that and started back at wlan0. This morning I'm at wlan1.
So I'm back where I started. Maybe I'll just live with it and see if it corrects itself with future updates.
Pete
-
Re: AW: New wifi connection eeach boot
 Originally Posted by hcvv
I've been looking at this further and the mac address remains the same throughout. Only the device name changes, incremented by 1 each time. Having restarted I'm now on wlan4.
Pete
-
Re: New wifi connection eeach boot
The wrong way to fix it but it should work!!!
step 1 sudo vi /etc/udev/rules.d/70-persistent-net.rules and delete all but wlan0
step 2 sudo chmod 444 /etc/udev/rules.d/70-persistent-net.rules - make it so that it cannot be changed (it should be 644)
now it cannot be added to any more.
to undo just sudo chmod 644 /etc/udev/rules.d/70-persistent-net.rules
For 45 years my job was to get Unix/Linux working - sometime the fix is just plain UGLY. Then you wait for the proper fix.
OpenSUSE 15.2 with VirtualBox VM's (XP, 10, Ubuntu MATE 20.04, OpenSUSE 15.2)
Pi4 with Ubuntu MATE 20.04
Unix since 1974 (pdp-11, Interdata, AT&T, Tandy, Convergent, Sun, IBM, NCR, and HP)
Linux since 1995 (Mandrake, Redhat, Fedora, CentOS, OpenSUSE)
-
Re: New wifi connection eeach boot
 Originally Posted by larryr
The wrong way to fix it but it should work!!!
step 1 sudo vi /etc/udev/rules.d/70-persistent-net.rules and delete all but wlan0
step 2 sudo chmod 444 /etc/udev/rules.d/70-persistent-net.rules - make it so that it cannot be changed (it should be 644)
now it cannot be added to any more.
to undo just sudo chmod 644 /etc/udev/rules.d/70-persistent-net.rules
For 45 years my job was to get Unix/Linux working - sometime the fix is just plain UGLY. Then you wait for the proper fix.
Strange....of course it is /usr/lib/udev/rules.d/75-persistent-net-generator.rules that is triggered (eg usually a new device with unique MAC) and subsequently creates the new entries. It would have been interesting to see the multiple entries, and the associated MACs.
Example...
Code:
# PCI device 0x8086:0x100e (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:74:e4:b1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x8086:0x100e (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="08:00:27:8f:eb:84", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
openSUSE Leap 15.2; KDE Plasma 5
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|