I've been scratching my head with this one:
After an update to network-manager and its components on my Linux Mint desktop, ethernet stopped working.
It shows, the MAC address is there, but it just has this X through it and that's that. I tried several things for the last few days.
some more details here:
Anyone has experience with this and can help?
Take NetworkManager out of the equation and see if you can just IP your interface directly with whatever interface Mint is using. I think it's netplan now, something like this article I found:
If not netplan, perhaps `ip` directly, a la:
`ip addr add $YOUR_IP_HERE dev $YOUR_INTERFACE_NAME_HERE`
@speskk hmm. I see, so I can set up my own setting and shut off network manager altogether. I will try to play with that.
@speskk I did more looking into what you suggested. Below is my config.
It works when I try it (sudo netplan try) but then I loose connection after a few minutes.
It looks like a DNS issue to me - and also, my wired connection doesn't get the static address I wanted (.40 at the end).
How would you configure the static address?
uhh... so my wired is up now, after I disabled my configuration (so in the picture, I'm using the lower setting, which was there. The one I did was the top, which I was talking about above).
It seems whatever I did "zapped" network-manager to remind it of my connection? I'm going to restart and see if it holds. This is weird.
... it seems to works mostly fine, but now when I turn on my VPN, it can't connect to DNS. So even though I reverted to old config, (I changed the file extensions from yaml to spr) and I have a wired connection working through network-manager, If I start with VPN enabled, it can't resolve addresses.
If I turn off VPN and then turn it back on, it seems to be "ok" I think maybe it's caching addresses but can't get new ones.
So... I'm 90% there..?
I'm not familiar with Mint, but I believe it's based on Ubuntu, and therefore is probably using systemd these days. If so, it may be an issue with the systemd resolver, which is nightmare fuel and is what ultimately moved me off of systemd based distros years ago.
With all that said, I would try and read up on disabling systemd-resolvd (I believe that's what it's called), and then either statically assigning DNS hosts or using something like dnsmasq, which I highly recommend.
@speskk I have a router they has a statically assigned DNS. So, I want my settings to get that front the router if possible. As well, if I could set a static VPN with this configuration it will be fine - I usually set it up with the router that has a DHCP server built in (that's how I assign static IPs to my other devices)
I'm not sure if this gives you a better picture or not. I don't feel confident enough to switch off systemd. Can you help with the configuration?
I'd include what you've learned from this thread in the Mint forums post and see if anyone there or in the Mint IRC can assist, as I think other Mint users could probably steer you more effectively than I can. I've never used Mint unfortunately, and IIRC they're now more divergent from upstream Ubuntu.
@jtr Go to the terminal and try debugging it with the command `nmcli`. You could even try to connect manually to debug it. Look at your logs to determine the issue further.
General `nmcli` info at https://wiki.archlinux.org/title/NetworkManager#Usage
@jtr Well I'm not certain as it is hard to debug over Mastodon. Myself personally I would go back to basics. Reset config. If that doesn't work go back to using the IP command to manually set the network up or use nmcli. As well look at your logs files, maybe journals as I assume Linux Mint uses systemd but uncertain since I haven't used it much. Remwber to change one thing at a time so you don't get confused as to what works and doesn't.
@adamsdesk for now, it works, though I feel like a bit unstable. I don't know how to reset my config (which?) or look at the logs (again which?) or use the command you provided. It's a bit of a learning curve, and for now I think I'm good though I realize I'll have to go back dig in, possibly with the next kernel update...
@jtr Well at least it works. Understandable. This makes me think I need to write about this in hopes it will teach how to do network setup.
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!