For some context: I am using nixos 24.11, kernel 6.6.76, and KDE/Plasma 6.2.5 with Wayland.
I have been getting issues connecting my ethernet to my pc. I have deleted the previous ethernet entry in NetworkManager, and then unplugged both ends of the ethernet cable before plugging them back in. It should have automatically detected that I connected via ethernet and set up a new entry in NetworkManager, but it doesn’t do that. I dual boot with windows, and I get absolutely no issue on windows with ethernet, so I am assuming it’s not a hardware issue. It’s something that is strictly related to nixos or plasma/wayland.
Link to my configuration.nix: nixos/hosts/plasma-six/configuration.nix at 031e9b89a396d7be96ec97a4d0d89dcc1560b93c · dddictionary/nixos · GitHub
Link to my home.nix (if it’s of any help): nixos/home.nix at 031e9b89a396d7be96ec97a4d0d89dcc1560b93c · dddictionary/nixos · GitHub
Any help is appreciated! I would love to get back to using Linux and nixos, but i’m just hard stuck on windows now.
UPDATE: So I manually added an ethernet connection through the NetworkManager UI. However, for some reason, I don’t seem to have full access to the internet. It says “limited connection”. Simple google searches work, doing the google speed test shows I have a 700 mb upload, but sites like reddit, and apps like discord do not load. This feels weird; seems like a DNS issue? I have attached an imgur link showing what the configuration in network manager looks like, as well as what ip -p address
shows.
I also checked my router’s settings page (verizon fios) and it shows that my nixos machine is not being seen as connected…
Please let me know if I would need to show anything else!
Hello
So this is a pretty weird issue. Normally your ethernet should work out of the box especially when it works on other Systems. Your config also seems fine. Can you post the settings of your ethernet connection in Networkmanager nm-connection-editor
.
Also can you post the output of this command ifconfig -a
but please blur your ip-Adress out.
So I’m back to square one. After I thought I managed to get a connection working through ethernet, I restarted my PC, and this connection disappeared. It is once again stuck in a weird loop of connecting…. and not connected. I can share the outputs of nm-connection-editor, but ifconfig -a might just be useless considering I can’t even connect to something with it…
The other two images since I can only attach 5 per post:
Ok so I am seeing three things that don’t seem that right.
- Under the Ethernet Tab and the devices dropdown Menu there should be a device named something like “enp…”. Try using this device when it is shown there.
- Also under the Ethernet Tab under Link negotiation set this to ignore
- Under IPv4 Tab under Method try Automatic (DHCP) but without addresses only
1 Like
Awesome! This seems to be a stable solution. I put those settings in, and it worked. Made sure to restart the PC just in case, but it’s looking good! Thanks for your help! Really appreciated 
1 Like