wired LAN not shown in GUI Network Manager

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
kaefert
Level 3
Level 3
Posts: 110
Joined: Sun Jan 08, 2012 12:08 pm

wired LAN not shown in GUI Network Manager

Post by kaefert »

Hey there!

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.

Can this be fixed?

Code: Select all

$ inxi -Fxxxrzd
System:    Kernel: 5.4.0-80-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.0.5 wm: muffin 5.0.1 
           dm: LightDM 1.30.0 Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Dell product: XPS 15 7590 v: N/A serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Dell model: 018W12 v: A05 serial: <filter> UEFI: Dell v: 1.11.0 date: 05/31/2021 
Battery:   ID-1: BAT0 charge: 86.0 Wh condition: 86.0/97.0 Wh (89%) volts: 12.9/11.4 model: LGC-LGC8.33 DELL 5XJ289A 
           type: Li-ion serial: <filter> status: Full 
CPU:       Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 12.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62399 
           Speed: 3861 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 4262 2: 4211 3: 4275 4: 4294 5: 4202 6: 4280 7: 4251 
           8: 4270 9: 4226 10: 4140 11: 4076 12: 4198 
Graphics:  Device-1: Intel UHD Graphics 630 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3e9b 
           Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Hewlett-Packard driver: N/A bus ID: 01:00.0 
           chip ID: 10de:1f91 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.2.6 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           chip ID: 8086:a348 
           Device-2: N/A type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-5.4.4:9 chip ID: 2000:dd00 
           serial: <filter> 
           Sound Server: ALSA v: k5.4.0-80-generic 
Network:   Device-1: Intel Wi-Fi 6 AX200 vendor: Bigfoot Networks driver: iwlwifi v: kernel port: 3000 bus ID: 3b:00.0 
           chip ID: 8086:2723 
           IF: wlp59s0 state: up mac: <filter> 
           Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152 bus ID: 4-1.4:3 chip ID: 0bda:8153 
           serial: <filter> 
           IF: enx00e04c6806d3 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 15.02 TiB used: 1.22 TiB (8.1%) 
           ID-1: /dev/nvme0n1 vendor: SK Hynix model: PC601 NVMe 512GB size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> rev: 80002111 scheme: GPT 
           ID-2: /dev/sda type: USB vendor: Seagate model: Desktop size: 7.28 TiB serial: <filter> rev: 040B 
           ID-3: /dev/sdb type: USB vendor: Seagate model: Expansion Desk size: 7.28 TiB serial: <filter> rev: 0915 
           Message: No Optical or Floppy data was found. 
Partition: ID-1: / size: 476.39 GiB used: 359.40 GiB (75.4%) fs: btrfs dev: /dev/dm-0 
           ID-2: /boot size: 456.7 MiB used: 210.3 MiB (46.0%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-3: /home size: 476.39 GiB used: 359.40 GiB (75.4%) fs: btrfs dev: /dev/dm-0 
           ID-4: /var size: 476.39 GiB used: 359.40 GiB (75.4%) fs: btrfs dev: /dev/dm-0 
           ID-5: /var/log size: 476.39 GiB used: 359.40 GiB (75.4%) fs: btrfs dev: /dev/dm-0 
Sensors:   System Temperatures: cpu: 68.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/influxdb.list 
           1: deb https://repos.influxdata.com/ubuntu focal stable
           Active apt repos in: /etc/apt/sources.list.d/nodesource.list 
           1: deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x focal main
           2: deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x focal main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http://ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com uma main upstream import backport
           2: deb http://ubuntu.anexia.at/ubuntu focal main restricted universe multiverse
           3: deb http://ubuntu.anexia.at/ubuntu focal-updates main restricted universe multiverse
           4: deb http://ubuntu.anexia.at/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/xpra.list 
           1: deb https://xpra.org/ focal main
Info:      Processes: 418 Uptime: 21h 03m Memory: 7.42 GiB used: 2.11 GiB (28.4%) Init: systemd v: 245 runlevel: 5 Compilers: 
           gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38
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.
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: wired LAN not shown in GUI Network Manager

Post by Moonstone Man »

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.

Code: Select all

System:    Kernel: 5.4.0-80-generic
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.
kaefert
Level 3
Level 3
Posts: 110
Joined: Sun Jan 08, 2012 12:08 pm

Re: wired LAN not shown in GUI Network Manager

Post by kaefert »

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.
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: wired LAN not shown in GUI Network Manager

Post by Moonstone Man »

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.
t42
Level 11
Level 11
Posts: 3742
Joined: Mon Jan 20, 2014 6:48 pm

Re: wired LAN not shown in GUI Network Manager

Post by t42 »

kaefert wrote: Mon Aug 02, 2021 2:26 am To clarify: The wired network is connected
what is an output of these commands:

Code: Select all

nmcli -o
nmcli connection show
-=t42=-
kaefert
Level 3
Level 3
Posts: 110
Joined: Sun Jan 08, 2012 12:08 pm

Re: wired LAN not shown in GUI Network Manager

Post by kaefert »

Code: Select all

# nmcli -o
wlp59s0: connected to {{{my wifi name}}}
        "Intel 6 AX200"
        wifi (iwlwifi), {{{my wifi mac}}}, hw, mtu 1500
        ip4 default
        inet4 192.168.1.6/24
        route4 0.0.0.0/0
        route4 169.254.0.0/16
        route4 192.168.1.0/24
        inet6 fdaa:6290:6ff7::21a/128
        inet6 fdaa:6290:6ff7:0:15c5:e729:c5c4:4e50/64
        inet6 fdaa:6290:6ff7:0:81f7:88b2:a3db:abad/64
        inet6 fdaa:6290:6ff7:0:2ee6:f5d0:6433:1efc/64
        inet6 fe80::1fb:a6b3:4e9b:ac4d/64
        route6 fdaa:6290:6ff7::/48
        route6 fdaa:6290:6ff7::/64
        route6 fdaa:6290:6ff7::21a/128
        route6 fe80::/64

enx00e04c6806d3: unmanaged
        "Realtek RTL8153"
        ethernet (r8152), {{{ethernet adapter mac}}}, hw, mtu 1500

lo: unmanaged
        "lo"
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536

p2p-dev-wlp59s0: unmanaged
        "p2p-dev-wlp59s0"
        wifi-p2p, hw

DNS configuration:
        servers: 192.168.1.1
        domains: lan
        interface: wlp59s0

        servers: fdaa:6290:6ff7::1 fe80::f29f:c2ff:fea3:363b fe80::8ac3:97ff:feeb:6afc
        interface: wlp59s0

Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.

Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.

Code: Select all

# nmcli connection show
NAME          UUID                                  TYPE  DEVICE  
{{{my wifi name}}}      c971f129-f2f8-4d87-ab95-ff3b0dcc35af  wifi  wlp59s0 
t42
Level 11
Level 11
Posts: 3742
Joined: Mon Jan 20, 2014 6:48 pm

Re: wired LAN not shown in GUI Network Manager

Post by t42 »

what is:

Code: Select all

nmcli r
nmcli r all on
nmcli r
I'd try to recreate a wired profile. Left-click Network icon --> Network Settings --> Add Profile button (filling active connection data)
-=t42=-
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: wired LAN not shown in GUI Network Manager

Post by Moonstone Man »

t42 wrote: Mon Aug 02, 2021 5:05 am I'd try to recreate a wired profile. Left-click Network icon --> Network Settings --> Add Profile button (filling active connection data)
I'd delete the old one first :)
kaefert
Level 3
Level 3
Posts: 110
Joined: Sun Jan 08, 2012 12:08 pm

Re: wired LAN not shown in GUI Network Manager

Post by kaefert »

Code: Select all

# 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?
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: wired LAN not shown in GUI Network Manager

Post by Moonstone Man »

kaefert wrote: Mon Aug 02, 2021 6:50 am do you want me to delete the wifi network profile? Why? How?
No. Just create a new connection for that device. I was mistaken and was thinking of someone else's issue.
kaefert
Level 3
Level 3
Posts: 110
Joined: Sun Jan 08, 2012 12:08 pm

Re: wired LAN not shown in GUI Network Manager

Post by kaefert »

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...
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: wired LAN not shown in GUI Network Manager

Post by Moonstone Man »

kaefert wrote: Mon Aug 02, 2021 7:11 am
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 ...
You don't see this when you click + in Network Connections?

Screenshot from 2021-08-02 21-21-31.jpg
kaefert
Level 3
Level 3
Posts: 110
Joined: Sun Jan 08, 2012 12:08 pm

Re: wired LAN not shown in GUI Network Manager

Post by kaefert »

no, if I click on this + I see this:
Screenshot_20210802_132933.png
Moonstone Man
Level 16
Level 16
Posts: 6054
Joined: Mon Aug 27, 2012 10:17 pm

Re: wired LAN not shown in GUI Network Manager

Post by Moonstone Man »

kaefert wrote: Mon Aug 02, 2021 7:30 am no, if I click on this + I see this:
That's network settings. I said network connections.
kaefert
Level 3
Level 3
Posts: 110
Joined: Sun Jan 08, 2012 12:08 pm

Re: wired LAN not shown in GUI Network Manager

Post by kaefert »

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:
Screenshot_20210802_133628.png
t42
Level 11
Level 11
Posts: 3742
Joined: Mon Jan 20, 2014 6:48 pm

Re: wired LAN not shown in GUI Network Manager

Post by t42 »

kaefert wrote: Mon Aug 02, 2021 7:38 am I was fixated on the path @t42 told me
You can see the add profile button only when selecting wired connection (which you do not have obviously). Sorry for not envisage that.
35-48.png
36-58.png
Last edited by t42 on Mon Aug 02, 2021 7:58 am, edited 1 time in total.
-=t42=-
t42
Level 11
Level 11
Posts: 3742
Joined: Mon Jan 20, 2014 6:48 pm

Re: wired LAN not shown in GUI Network Manager

Post by t42 »

You can try this
Open your your .yaml file in /etc/netplan/
It should look like this (otherwise make changes as necessary):

Code: Select all

# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager
Then:

Code: Select all

sudo netplan --debug generate
sudo netplan apply
reboot
Then open NetworkManager GUI to configure your connection.
-=t42=-
kaefert
Level 3
Level 3
Posts: 110
Joined: Sun Jan 08, 2012 12:08 pm

Re: wired LAN not shown in GUI Network Manager

Post by kaefert »

Code: Select all

# cat /etc/netplan/1-network-manager-all.yaml 
# Let NetworkManager manage all devices on this system
network:
  version: 2
  renderer: NetworkManager

Code: Select all

# 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?
t42
Level 11
Level 11
Posts: 3742
Joined: Mon Jan 20, 2014 6:48 pm

Re: wired LAN not shown in GUI Network Manager

Post by t42 »

Please try one thing at a time.
-=t42=-
kaefert
Level 3
Level 3
Posts: 110
Joined: Sun Jan 08, 2012 12:08 pm

Re: wired LAN not shown in GUI Network Manager

Post by kaefert »

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..
Locked

Return to “Networking”