I have a laptop with integrated wifi networking and a USB-C GBit wired network adapter. Both work fine, but the wired network only shows up on the CLI commands, but not on the GUI NetworkManager tool, this shows only wifi.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason:Topic automatically closed 6 months after creation. New replies are no longer allowed.
kaefert wrote: ⤴Sun Aug 01, 2021 12:37 pm
Both work fine, but the wired network only shows up on the CLI commands, but not on the GUI NetworkManager tool, this shows only wifi.
You must have a cable cable connected to a switch or router.
If you have a cable connected and it's not showing up then it's probably a driver issue. The simplest and quickest thing to do is try a more recent kernel. Go into update manager, select View then select Linux Kernels. Install the latest 5.11, reboot and see if that rectifies the problem.
Okey, I will try that tonight (in around 14 hours). I don't want to reboot that system right now.
To clarify: The wired network is connected, gets assigned a config by my network's DHCP server, and performs as expected with the full GBit duplex bandwith. My issue is only with the NetworkManager GUI.
kaefert wrote: ⤴Mon Aug 02, 2021 2:26 am
To clarify: The wired network is connected, gets assigned a config by my network's DHCP server, and performs as expected with the full GBit duplex bandwith. My issue is only with the NetworkManager GUI.
Thanks for the clarification. That certainly does indicate a problem to be looked at.
# nmcli r
WIFI-HW WIFI WWAN-HW WWAN
enabled enabled enabled enabled
# nmcli r all on
# nmcli r
WIFI-HW WIFI WWAN-HW WWAN
enabled enabled enabled enabled
t42 wrote: ⤴Mon Aug 02, 2021 5:05 am
Left-click Network icon --> Network Settings --> Add Profile button
If you mean the "+"-Button in there, this gives me a popup titled "Add VPN" with the options OpenVPN, PPTP and "Import from file...".
Kadaitcha Man wrote: ⤴Mon Aug 02, 2021 5:11 am
I'd delete the old one first
Please be more specific, what old profile should I delete? It seems NetworkManager only has profiles for wifi on my machine, do you want me to delete the wifi network profile? Why? How?
Kadaitcha Man wrote: ⤴Mon Aug 02, 2021 7:01 am
Just create a new connection for that device
how do I do that? Left-click Network icon --> Network Settings --> "+" only allows me to create VPN profiles as explained, I can't see any other button in that window that could be meant by the description Add Profile button...
Ahh, sorry, I was fixated on the path @t42 told me, didn't see the difference in your instructions. Sorry.
I now created an Ethernet Profile named "DHCP Client" leaving everything as default only selecting the card (which was shown in a dropdown).
But NetworkManager still shows only the wifi connection everywhere else, only under "Network Connections" I now have this profile which shows as never used:
# netplan --debug generate
DEBUG:command generate: running ['/lib/netplan/generate']
** (generate:499554): DEBUG: 17:08:56.321: Processing input file /etc/netplan/1-network-manager-all.yaml..
** (generate:499554): DEBUG: 17:08:56.321: starting new processing pass
** (generate:499554): DEBUG: 17:08:56.321: Processing input file /run/netplan/enx00e04c6806d3.yaml..
** (generate:499554): DEBUG: 17:08:56.321: starting new processing pass
** (generate:499554): DEBUG: 17:08:56.321: We have some netdefs, pass them through a final round of validation
** (generate:499554): DEBUG: 17:08:56.321: enx00e04c6806d3: setting default backend to 1
** (generate:499554): DEBUG: 17:08:56.321: Configuration is valid
** (generate:499554): DEBUG: 17:08:56.321: Generating output files..
** (generate:499554): DEBUG: 17:08:56.321: openvswitch: definition enx00e04c6806d3 is not for us (backend 1)
** (generate:499554): DEBUG: 17:08:56.321: NetworkManager: definition enx00e04c6806d3 is not for us (backend 1)
(generate:499554): GLib-DEBUG: 17:08:56.321: posix_spawn avoided (fd close requested)
(generate:499554): GLib-DEBUG: 17:08:56.322: posix_spawn avoided (fd close requested)
# netplan apply
The reboot step I can do in around 6 hours tonight. Should I try with a newer kernel or stay with the current one and just see if the netplan thing did work on it's own?
okey, so I tried rebooting, doesn't seem any different.
UPDATE: switching to Kernel 5.11 makes NetworkManager GUI handle my USB-C LAN Adapter.
Though with this Kernel my initramfs-dropbear for remote LUKS unlocking stopped working.
It seems with the 5.11 kernel the initramfs runtime does find the USB-C LAN adapter only after the DCHP-client has already given up on auto configuring network devices...
So I've set the default kernel in GRUB back to 5.4, since this is the more important feature for me right now..