[RESPONDED] Ubuntu Server Ethernet Expansion Card not working

Hey,

I am trying to get the Ethernet expansion card to work on my Framework Ubuntu Server, which is a Desktop that uses the i5-1135G7 mainboard. Unfortunately, the ethernet card does not seem to be recognized by the system. Alternatively, it could be an issue of enabling the Ethernet Card and giving it a static IP address. Has anyone else tried using the ethernet card on Ubuntu? Did you have to update the linux kernel or install a different driver?

I am using Ubuntu Server 22.04.

Hey,
I had a similar issue. The ethernet card would basically be suspended as soon as I plugged it into the laptop, thanks to tlp.

However, following this guide [IN TICKET] Ethernet card not working on Ubuntu 22.04 Linux - #7 by Adrian_Edwards fixed it for me.

Not sure if the same applies for you but you can give it a try and report whether the card shows up when you execute lsusb

@Matt_Hartley may also be interested in this thread

Hi @Hari_Ravichandran,

I would be glad to assist in resolving the Ethernet Expansion card issue. In terminal can you type this command to show ethernet status? and show us the output.

sudo lshw -C network

@Loell_Framework , Here you go:


Welcome to Ubuntu 22.04.2 LTS (GNU/Linux 6.2.7-060207-generic x86_64)

. . .

(base) ravichandran@f0-server:~$ sudo lshw -C network
  *-network
       description: Wireless interface
       product: Wi-Fi 6 AX210/AX211/AX411 160MHz
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:aa:00.0
       logical name: wlp170s0
       version: 1a
       serial: f8:b5:4d:6e:df:a7
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=6.2.7-060207-generic firmware=72.daa05125.0 ty-a0-gf-a0-72.uc ip=192.168.111.115 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:17 memory:7a200000-7a203fff
  *-network DISABLED
       description: Ethernet interface
       physical id: a
       bus info: usb@2:3
       logical name: enx9cbf0d000956
       serial: 9c:bf:0d:00:09:56
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=cdc_ncm driverversion=6.2.7-060207-generic duplex=half firmware=CDC NCM (NO ZLP) link=no multicast=yes port=twisted pair
(base) ravichandran@f0-server:~$

Can you post output of lsusb as well? thanks

Here it is:


(base) ravichandran@f0-server:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 8087:0032 Intel Corp. AX210 Bluetooth
Bus 003 Device 002: ID 32ac:0002 Framework HDMI Expansion Card
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0bda:8156 Realtek Semiconductor Corp. USB 10/100/1G/2.5G LAN
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

hi @Hari_Ravichandran, It looks like it’s recognized. can we dig a bit deeper? requires two terminals opened may need screen when on ubuntu server, the first terminal is for monitoring type in

journalctl -f

while in the second terminal we load relevant module and attempt to enable the ethernet expansion card, type in

sudo modprobe -r cdc_ncm && sudo modprobe cdc_ncm
sudo ifconfig enx9cbf0d000956 up

check and see if there are changes in network manager, type in

nmcli dev status

if not, let us see the journalctl output.

1 Like

Sorry for the delay. Here is what happens when I execute the second command:

(base) ravichandran@f0-server:~$ sudo modprobe -r cdc_ncm && sudo modprobe cdc_ncm
[sudo] password for ravichandran:
modprobe: FATAL: Module cdc_ncm is in use.

Not sure if there’s anything useful here, but here is the journalctl output after running for a few seconds:

(base) ravichandran@f0-server:~$ journalctl -f
Mar 24 13:34:29 f0-server nextcloud.nextcloud-fixer[1636156]: Nextcloud is not installed - only a limited number of commands are available
Mar 24 13:34:30 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:30 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:30 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:30 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:30 f0-server kernel: audit: type=1400 audit(1679664870.001:1955332): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:30 f0-server kernel: audit: type=1400 audit(1679664870.001:1955333): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:30 f0-server kernel: audit: type=1400 audit(1679664870.001:1955334): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:30 f0-server kernel: audit: type=1400 audit(1679664870.001:1955335): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:30 f0-server nextcloud.nextcloud-fixer[1636259]: Nextcloud is not installed - only a limited number of commands are available
Mar 24 13:34:31 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:31 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:31 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:31 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:31 f0-server kernel: audit: type=1400 audit(1679664871.001:1955336): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:31 f0-server kernel: audit: type=1400 audit(1679664871.001:1955337): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:31 f0-server nextcloud.nextcloud-fixer[1636335]: Nextcloud is not installed - only a limited number of commands are available
Mar 24 13:34:32 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:32 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:32 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:32 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:32 f0-server nextcloud.nextcloud-fixer[1636437]: Nextcloud is not installed - only a limited number of commands are available
Mar 24 13:34:33 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:33 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:33 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:33 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:33 f0-server nextcloud.nextcloud-fixer[1636560]: Nextcloud is not installed - only a limited number of commands are available
Mar 24 13:34:34 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:34 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:34 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:34 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:35 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:35 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:35 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:35 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:35 f0-server kernel: kauditd_printk_skb: 14 callbacks suppressed
Mar 24 13:34:35 f0-server kernel: audit: type=1400 audit(1679664875.001:1955352): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:35 f0-server kernel: audit: type=1400 audit(1679664875.001:1955353): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:35 f0-server kernel: audit: type=1400 audit(1679664875.001:1955354): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:35 f0-server kernel: audit: type=1400 audit(1679664875.001:1955355): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:35 f0-server nextcloud.nextcloud-fixer[1636662]: Nextcloud is not installed - only a limited number of commands are available
Mar 24 13:34:36 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:36 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:36 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:36 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:36 f0-server kernel: audit: type=1400 audit(1679664876.001:1955356): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:36 f0-server kernel: audit: type=1400 audit(1679664876.001:1955357): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:36 f0-server kernel: audit: type=1400 audit(1679664876.001:1955358): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:36 f0-server kernel: audit: type=1400 audit(1679664876.001:1955359): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:36 f0-server nextcloud.nextcloud-fixer[1636736]: Nextcloud is not installed - only a limited number of commands are available
Mar 24 13:34:37 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:37 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:37 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:37 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:37 f0-server kernel: audit: type=1400 audit(1679664877.001:1955360): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:37 f0-server kernel: audit: type=1400 audit(1679664877.001:1955361): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:37 f0-server nextcloud.nextcloud-fixer[1636812]: Nextcloud is not installed - only a limited number of commands are available
Mar 24 13:34:38 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:38 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:38 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:38 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:38 f0-server nextcloud.nextcloud-fixer[1636935]: Nextcloud is not installed - only a limited number of commands are available
Mar 24 13:34:39 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:39 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:39 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:39 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:39 f0-server nextcloud.nextcloud-fixer[1637030]: Nextcloud is not installed - only a limited number of commands are available
Mar 24 13:34:40 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:40 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:40 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:40 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:40 f0-server nextcloud.nextcloud-fixer[1637134]: Nextcloud is not installed - only a limited number of commands are available
Mar 24 13:34:41 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:41 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:41 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:41 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:41 f0-server kernel: kauditd_printk_skb: 14 callbacks suppressed
Mar 24 13:34:41 f0-server kernel: audit: type=1400 audit(1679664881.001:1955376): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:41 f0-server kernel: audit: type=1400 audit(1679664881.001:1955377): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:41 f0-server kernel: audit: type=1400 audit(1679664881.001:1955378): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:41 f0-server kernel: audit: type=1400 audit(1679664881.001:1955379): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:41 f0-server nextcloud.nextcloud-fixer[1637210]: Nextcloud is not installed - only a limited number of commands are available
Mar 24 13:34:41 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:42 f0-server kernel: audit: type=1400 audit(1679664881.997:1955380): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:42 f0-server kernel: audit: type=1400 audit(1679664881.997:1955381): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:42 f0-server kernel: audit: type=1400 audit(1679664881.997:1955382): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:42 f0-server kernel: audit: type=1400 audit(1679664881.997:1955383): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:41 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:41 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:41 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:43 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:43 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:43 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/mountinfo" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:43 f0-server audit[2663311]: AVC apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/vmstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:43 f0-server kernel: audit: type=1400 audit(1679664883.001:1955384): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/netstat" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:43 f0-server kernel: audit: type=1400 audit(1679664883.001:1955385): apparmor="DENIED" operation="open" class="file" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/2663311/net/snmp" pid=2663311 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
Mar 24 13:34:43 f0-server nextcloud.nextcloud-fixer[1637304]: Nextcloud is not installed - only a limited number of commands are available
^C
(base) ravichandran@f0-server:~$

try recording the journalCTL output while trying to use the ethernet card, like connect a known working ethernet cable/network to it - that should produce some messages if something is indeed not working - also may be worth noting what the lights on the card do when you try this

@Hari_Ravichandran The modprobe output is correct, so that’s good.

I have seen issues in the past, rare, but they do exist, where this will turn something up.

journalctl | grep "failed due to incorrect slot or ep state"

Please reply back to @Loell_Framework and let them know if you get any output from this.

If there is no output from the above, let’s again make sure we’re trying to bring the device “up.”

Use ip link show to get your device name:

ip link show | grep -oP 'e\w{12}'

With the correct interface name from the above output, then run:
sudo ip link set interface-name up

If this still doesn’t work, let’s take a look at the power state:

Let’s again verify the device name:

ls /sys/bus/usb/devices/*/net/

Then:

readlink -f /sys/bus/usb/devices/*/net/interface-name/device

This will give you a directory output for the device. Copy that output and do:

cat path/output/provided/power/control

  • “on” (the device is powered on)
  • “auto” (the device’s power management is controlled by the system)
  • “suspend” (the device is suspended and not currently active)

Hey, sorry for not responding earlier. Have been swamped at work.

So there is no output for the above command. Will have to try the other commands you have posted as well:

(base) ravichandran@f0-server:~$ ip link show | grep -oP 'e\w{12}'
enx9cbf0d0009
(base) ravichandran@f0-server:~$ sudo ip link set enx9cbf0d0009 up
Cannot find device "enx9cbf0d0009"
(base) ravichandran@f0-server:~$ ls /sys/bus/usb/devices/*/net/
enx9cbf0d000956
(base) ravichandran@f0-server:~$ readlink -f /sys/bus/usb/devices/*/net/enx9cbf0d000956/device
/sys/devices/pci0000:00/0000:00:0d.0/usb2/2-3/2-3:2.0

Not exactly sure what you meant by this command [cat path/output/provided/power/control] (e.g., what is the placeholder?), but this is the output of ls in the .../power directory:

(base) ravichandran@f0-server:~$ ls /sys/devices/pci0000:00/0000:00:0d.0/usb2/2-3/2-3:2.0/power/
async  runtime_active_kids  runtime_enabled  runtime_status  runtime_usage

Let me know your thoughts!

That’s me grabbing the wrong stuff, not you - my goof. I keep a list of copypasta from which I pull from for efficiency, helped if I actually edited it.

You figured out the path despite my goof, so thanks. Can’t believe I missed that. Doh! :slight_smile:


Resetting a bit here.

  • We know the module is loaded and in use.
  • We know the card is detected.
  • On the plus side, we also know that there is no ep state errors which is very good.

Since we don’t test this on Ubuntu server, I’d like to just due some due diligence to rule out any card weirdness. Can you boot to a live Ubuntu 22.04 USB, testing the card there. Won’t affect your existing Ubuntu server install, but will tell us really quickly that the card is in fact, in good working order.

Let’s pivot there, then resume our troubleshooting back on Ubuntu server after that.