it showed not 1 but 2 entries for eth0 - though with different UUIDs.
On Mon, 26 May 2025 12:20:22 -0700
accipiter <pedicularis@mail.com> wrote:
it showed not 1 but 2 entries for eth0 - though with different UUIDs.
If you are using Network Manager, you should not have anything else
setting up interfaces that NM manages for you. What did you use for the purpose in the past?
If you are using Network Manager, you should not have anything else
setting up interfaces that NM manages for you. What did you use for
the purpose in the past?
In the past it was the old standard /etc/network/interfaces setup. I
had commented-out all the lines associated with 'eth0', but it's
possible there's something that I haven't adequately killed off. Is
there some way to ensure that's thoroughly dead without messing up NetworkManager?
On 27/05/2025 02:20, accipiter wrote:
nmcli c edit eth0[...]
Attempting to delete/remove the connection entry with the wrong data
simply caused the defective connection entry to be replicated, only
now with yet another UUID.
Is there a chance that NetworkManager is under control of netplan.io in
your case?
Commands from https://wiki.debian.org/NetworkManager#Troubleshooting
might help to figure out what goes wrong in your case.
In the past it was the old standard /etc/network/interfaces setup. I had commented-out all the lines associated with 'eth0', but it's possible
there's something that I haven't adequately killed off. Is
there some way to ensure that's thoroughly dead without messing up NetworkManager?
On 5/26/25 6:20 PM, Charles Curley wrote:
On Mon, 26 May 2025 12:20:22 -0700
accipiter <pedicularis@mail.com> wrote:
it showed not 1 but 2 entries for eth0 - though with different UUIDs.
If you are using Network Manager, you should not have anything else
setting up interfaces that NM manages for you. What did you use for the purpose in the past?
In the past it was the old standard /etc/network/interfaces setup. I had commented-out all the lines associated with 'eth0', but it's possible
there's something that I haven't adequately killed off. Is
there some way to ensure that's thoroughly dead without messing up NetworkManager?
On Mon, 26 May 2025 20:46:37 -0700
accipiter <pedicularis@mail.com> wrote:
If you are using Network Manager, you should not have anything elseIn the past it was the old standard /etc/network/interfaces setup. I
setting up interfaces that NM manages for you. What did you use for
the purpose in the past?
had commented-out all the lines associated with 'eth0', but it's
possible there's something that I haven't adequately killed off. Is
there some way to ensure that's thoroughly dead without messing up
NetworkManager?
Commenting out the appropriate stanza in /e/n/i should do it. But it
wouldn't hurt to check it now in case the upgrade uncommented it.
Hi,
On Mon, May 26, 2025 at 08:46:37PM -0700, accipiter wrote:
In the past it was the old standard /etc/network/interfaces setup. I had
commented-out all the lines associated with 'eth0', but it's possible
there's something that I haven't adequately killed off. Is
there some way to ensure that's thoroughly dead without messing up
NetworkManager?
Show us the /etc/network/interfaces file and anything you have in /etc/network/interfaces.d/ if that is still included from /e/n/i.
Any time I've seen this sort of thing happen it's been because something
else is bringing up a network interface before NetworkManager takes
control of it.
There was also this (11 year old) bug report where someone has
macchanger installed which was changing the MAC address of their eth0
every time the interface went down, which caused N-M to think the
normal eth0 was a new interface next time.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771077
Thanks,
Andy
Hi,
On Mon, May 26, 2025 at 08:46:37PM -0700, accipiter wrote:
In the past it was the old standard /etc/network/interfaces setup. I had
commented-out all the lines associated with 'eth0', but it's possible
there's something that I haven't adequately killed off. Is
there some way to ensure that's thoroughly dead without messing up
NetworkManager?
Show us the /etc/network/interfaces file and anything you have in /etc/network/interfaces.d/ if that is still included from /e/n/i.
Any time I've seen this sort of thing happen it's been because something
else is bringing up a network interface before NetworkManager takes
control of it.
There was also this (11 year old) bug report where someone has
macchanger installed which was changing the MAC address of their eth0
every time the interface went down, which caused N-M to think the
normal eth0 was a new interface next time.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771077
Thanks,
Andy
On 27/05/2025 02:20, accipiter wrote:
nmcli c edit eth0[...]
Attempting to delete/remove the connection entry with the wrong data
simply caused the defective connection entry to be replicated, only
now with yet another UUID.
Is there a chance that NetworkManager is under control of netplan.io in
your case?
Commands from https://wiki.debian.org/NetworkManager#Troubleshooting
might help to figure out what goes wrong in your case.
At first it didn't seem to do any good, mis-replicating the eth0 connection when I killed that particular eth0 using its UUID. But then I tried killing *both* eth0 connections, then trying to re-edit / create the eth0 connection - and I was left with just a single connection!!
Restarting the networking (/etc/init.d/networking restart) *seemed* to have an initially correct setup as ifconfig showed the right IP addressing. But nmcli showed 2 addresses - the manual one that I wanted, and additionally 169.254.220.204 and wrong gateway/routing. And
I couldn't ping my gateway.
On 5/26/25 14:20, accipiter wrote:
Attempting to delete/remove the connection entry with the wrong dataI had a similar problem just yesterday. Could not remember what all I
simply caused the defective connection entry to be replicated, only
now with yet another UUID. It is this erroneous connection entry that
appears connected to the eth0 device.
did to it in the past year, I do know I had majorly modified the
networking. I completely redid the network configs but still had the ip address going back to the previous setup. Gave up on it and wiped the
hard drive and reinstalled Debian 12. Now everything works great.
On 5/27/25 7:40 PM, Titus Newswanger wrote:
On 5/26/25 14:20, accipiter wrote:
Attempting to delete/remove the connection entry with the wrong dataI had a similar problem just yesterday. Could not remember what all I
simply caused the defective connection entry to be replicated, only
now with yet another UUID. It is this erroneous connection entry that
appears connected to the eth0 device.
did to it in the past year, I do know I had majorly modified the
networking. I completely redid the network configs but still had the ip
address going back to the previous setup. Gave up on it and wiped the
hard drive and reinstalled Debian 12. Now everything works great.
It may come to that. Hate to do it, there are some old bits that I've
been using to interact with some specialized hardware - it's the whole
reason why I keep this 14-yo machine. I can *probably* reconstruct but there's a finite probability that I'll miss something that I didn't
backup. Without a network connection it all gets harder.
It seems likely that there's some detritus from one or more prior
versions of Debian that's screwing things up, but I'm not knowledgeable enough to figure it out.
This morning's reboot - networking reports via ifconfig and nmcli look
better (right IP#, gateway, /etc/resolv.conf set properly once I use
nmcli to force the device to connect, but can't ping the gateway nor
does pinging this system from other host get any reply.
Thanks to everyone for your suggestions!! I'll make a few more attempts before the total rebuild but I'm not optimistic.
-F
On 5/27/25 7:40 PM, Titus Newswanger wrote:
On 5/26/25 14:20, accipiter wrote:
Attempting to delete/remove the connection entry with the wrong dataI had a similar problem just yesterday. Could not remember what all I
simply caused the defective connection entry to be replicated, only
now with yet another UUID. It is this erroneous connection entry
that appears connected to the eth0 device.
did to it in the past year, I do know I had majorly modified the
networking. I completely redid the network configs but still had the
ip address going back to the previous setup. Gave up on it and wiped
the hard drive and reinstalled Debian 12. Now everything works great.
It may come to that. Hate to do it, there are some old bits that I've
been using to interact with some specialized hardware - it's the whole
reason why I keep this 14-yo machine. I can *probably* reconstruct
but there's a finite probability that I'll miss something that I
didn't backup. Without a network connection it all gets harder.
It seems likely that there's some detritus from one or more prior
versions of Debian that's screwing things up, but I'm not
knowledgeable enough to figure it out.
This morning's reboot - networking reports via ifconfig and nmcli look
better (right IP#, gateway, /etc/resolv.conf set properly once I use
nmcli to force the device to connect, but can't ping the gateway nor
does pinging this system from other host get any reply.
Thanks to everyone for your suggestions!! I'll make a few more
attempts before the total rebuild but I'm not optimistic.
-F
.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (1 / 15) |
Uptime: | 160:21:21 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,056 |
Messages: | 6,416,492 |