After updating kernel and doing a reboot, network not starting

I run a program which configure computer automatically.
The program copy some data to

  • user home
  • root home
  • etc
  • usr

To be able to compile kernel module of virtualbox (virtualbox.org) at some step I install or update the following :

  • dkms (install/update + start service)
  • kernel-default
  • kernel-default-devel
  • kernel-devel
  • kernel-syms
  • gcc
  • make

Then doing a reboot.
After relogin, network has disappear.

/etc/resolv.conf

has null size

grep “” /sys/class/net/eth0/carrier*
grep “” /sys/class/net/eth0/operstate

return file not found

After running each step , I tested if network was still accessible.
So I know at what step the problem is arising.

I have no idea by what to begin.

This program has worked correctly on another computer.

Any direction is welcome

A bit vague! We have no idea about your custom “update” program". You could start by providing some relevant details about the network system state…
inxi -na
ip a
sudo systemctl status network

Why don’t you share your program and the step that apparently causes the network connectivity issue?

hello.
here the result for your asking.

user_install@localhost:~> inxi -na
Network:
Device-1: Qualcomm Atheros AR9485 Wireless Network Adapter vendor: AzureWave
driver: ath9k v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
bus-ID: 03:00.0 chip-ID: 168c:0032 class-ID: 0280
IF: wlan0 state: down mac: 02:aa:36:b2:64:a8
Device-2: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet vendor: ASUSTeK
driver: N/A pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 04:00.0
chip-ID: 1969:1083 class-ID: 0200
Device-3: IMC Networks Atheros AR3012 Bluetooth 4.0 Adapter type: USB
driver: btusb bus-ID: 1-1.1:3 chip-ID: 13d3:3362 class-ID: e001
serial: Alaska Day 2006

==============================================================

user_install@localhost:~> ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 02:aa:36:b2:64:a8 brd ff:ff:ff:ff:ff:ff permaddr dc:85:de:3a:b7:de
altname wlp3s0

=============================================================

user_install@localhost:~> sudo systemctl status network
[sudo] password for root:
● NetworkManager.service - Network Manager
Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2024-09-01 12:43:16 CEST; 24min ago
Docs: man:NetworkManager(8)
Main PID: 1456 (NetworkManager)
Tasks: 3 (limit: 4915)
CGroup: /system.slice/NetworkManager.service
└─ 1456 /usr/sbin/NetworkManager --no-daemon

Sep 01 12:57:01 localhost.localdomain NetworkManager[1456]: [1725188221.9206] device (wlan0): set-hw-addr: set MAC address to 02:AA:36:B2:64:A8 (scanning)
Sep 01 12:57:01 localhost.localdomain NetworkManager[1456]: [1725188221.9367] device (wlan0): supplicant interface state: inactive → interface_disabled
Sep 01 12:57:01 localhost.localdomain NetworkManager[1456]: [1725188221.9368] device (p2p-dev-wlan0): supplicant management interface state: inactive → interface_disabled
Sep 01 12:57:01 localhost.localdomain NetworkManager[1456]: [1725188221.9568] device (wlan0): supplicant interface state: interface_disabled → inactive
Sep 01 12:57:01 localhost.localdomain NetworkManager[1456]: [1725188221.9568] device (p2p-dev-wlan0): supplicant management interface state: interface_disabled → inactive
Sep 01 13:03:55 localhost.localdomain NetworkManager[1456]: [1725188635.0102] device (wlan0): set-hw-addr: set MAC address to 72:F6:ED:05:3E:F8 (scanning)
Sep 01 13:03:55 localhost.localdomain NetworkManager[1456]: [1725188635.0259] device (wlan0): supplicant interface state: inactive → interface_disabled
Sep 01 13:03:55 localhost.localdomain NetworkManager[1456]: [1725188635.0259] device (p2p-dev-wlan0): supplicant management interface state: inactive → interface_disabled
Sep 01 13:03:55 localhost.localdomain NetworkManager[1456]: [1725188635.0408] device (wlan0): supplicant interface state: interface_disabled → inactive
Sep 01 13:03:55 localhost.localdomain NetworkManager[1456]: [1725188635.0408] device (p2p-dev-wlan0): supplicant management interface state: interface_disabled → inactive

===============================================================

Some more indication :

user_install@localhost:~> nmcli c show
NAME UUID TYPE DEVICE
eth0 7ba00b1d-8cdd-30da-91ad-bb83ed4f7474 ethernet –

=============================================================

user_install@localhost:~> nmcli d show
GENERAL.DEVICE: wlan0
GENERAL.TYPE: wifi
GENERAL.HWADDR: 8E:4B:59:2B:C8:08
GENERAL.MTU: 1500
GENERAL.STATE: 30 (disconnected)
GENERAL.CONNECTION: –
GENERAL.CON-PATH: –
IP4.GATEWAY: –
IP6.GATEWAY: –

GENERAL.DEVICE: p2p-dev-wlan0
GENERAL.TYPE: wifi-p2p
GENERAL.HWADDR: (unknown)
GENERAL.MTU: 0
GENERAL.STATE: 30 (disconnected)
GENERAL.CONNECTION: –
GENERAL.CON-PATH: –

GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: –
GENERAL.CON-PATH: –
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY: –
IP6.GATEWAY: –

=============================================================

The command used to start the script :

“$MAIN_SCRIPTS_SUBPATH/001-1_RUN_INITIAL_TASK/05-script_install_mini_compiler_for_GA_script.sh”

The script itself :
05-script_install_mini_compiler_for_GA_script.sh

The commands log :
zypper log

Thank you for helping.

No driver?

Do you use a self compiled driver?

Maybe wrong firmware?

After reinstall 15.5 and before updating kernel (from my script) :

user_install@15:~> uname -a
Linux 15 5.14.21-150500.53-default #1 SMP PREEMPT_DYNAMIC Wed May 10 07:56:26 UTC 2023 (b630043) x86_64 x86_64 x86_64 GNU/Linux

==========================================================

Hardware information :

net.1: get network data
net interface: name = eth0, path = /class/net/eth0
type = 1
carrier = 1
hw_addr = 30:85:a9:28:16:f9
net device: path = /devices/pci0000:00/0000:00:1c.3/0000:04:00.0
net driver: name = atl1c, path = /bus/pci/drivers/atl1c
eth0: ethtool permanent hw address[6]: 30:85:a9:28:16:f9
ethtool private flags: 0
net interface: name = wlan0, path = /class/net/wlan0
type = 1
carrier = 0
hw_addr = ae:fe:bd:4b:98:8e
net device: path = /devices/pci0000:00/0000:00:1c.1/0000:03:00.0
net driver: name = ath9k, path = /bus/pci/drivers/ath9k
wlan0: ethtool permanent hw address[6]: dc:85:de:3a:b7:de
ethtool private flags: 0
net interface: name = lo, path = /class/net/lo
type = 772
carrier = 1
hw_addr = 00:00:00:00:00:00
lo: ethtool permanent hw address[6]: 00:00:00:00:00:00
GDRVINFO ethtool error: Operation not supported
ethtool private flags: 0

==========================================================

inxi -a

user_install@15:~> inxi -na
Network:
Device-1: Qualcomm Atheros AR9485 Wireless Network Adapter vendor: AzureWave
driver: ath9k v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
bus-ID: 03:00.0 chip-ID: 168c:0032 class-ID: 0280
IF: wlan0 state: down mac: aa:74:a5:39:0d:bf
Device-2: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet vendor: ASUSTeK
driver: atl1c v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000
bus-ID: 04:00.0 chip-ID: 1969:1083 class-ID: 0200
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 30:85:a9:28:16:f9
Device-3: IMC Networks Atheros AR3012 Bluetooth 4.0 Adapter type: USB
driver: btusb bus-ID: 1-1.1:7 chip-ID: 13d3:3362 class-ID: e001
serial: Alaska Day 2006

==========================================================

ip a

user_install@15:~> ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 30:85:a9:28:16:f9 brd ff:ff:ff:ff:ff:ff
altname enp4s0
inet 192.168.130.80/24 brd 192.168.130.255 scope global dynamic noprefixroute eth0
valid_lft 85338sec preferred_lft 85338sec
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether aa:74:a5:39:0d:bf brd ff:ff:ff:ff:ff:ff permaddr dc:85:de:3a:b7:de
altname wlp3s0

==========================================================

systemctrl status network
Note that ipv6 is disabled in grub

user_install@15:~> sudo systemctl status network

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for root:
● NetworkManager.service - Network Manager
Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2024-09-01 08:33:13 CEST; 8h ago
Docs: man:NetworkManager(8)
Main PID: 1488 (NetworkManager)
Tasks: 3 (limit: 4915)
CGroup: /system.slice/NetworkManager.service
└─ 1488 /usr/sbin/NetworkManager --no-daemon

Sep 01 16:36:43 15 NetworkManager[1488]: [1725201403.0535] platform-linux: do-add-ip6-address[2: fe80::3285:a9ff:fe28:16f9]: failure 95 (Operation not supported)
Sep 01 16:36:45 15 NetworkManager[1488]: [1725201405.0555] ipv6ll[145861ef9e49b2d9,ifindex=2]: changed: no IPv6 link local address to retry after Duplicate Address Detection failures (back off)
Sep 01 16:36:55 15 NetworkManager[1488]: [1725201415.0659] platform-linux: do-add-ip6-address[2: fe80::3285:a9ff:fe28:16f9]: failure 95 (Operation not supported)
Sep 01 16:36:57 15 NetworkManager[1488]: [1725201417.0681] ipv6ll[145861ef9e49b2d9,ifindex=2]: changed: no IPv6 link local address to retry after Duplicate Address Detection failures (back off)
Sep 01 16:37:07 15 NetworkManager[1488]: [1725201427.0735] platform-linux: do-add-ip6-address[2: fe80::3285:a9ff:fe28:16f9]: failure 95 (Operation not supported)
Sep 01 16:37:09 15 NetworkManager[1488]: [1725201429.0738] ipv6ll[145861ef9e49b2d9,ifindex=2]: changed: no IPv6 link local address to retry after Duplicate Address Detection failures (back off)
Sep 01 16:37:19 15 NetworkManager[1488]: [1725201439.0846] platform-linux: do-add-ip6-address[2: fe80::3285:a9ff:fe28:16f9]: failure 95 (Operation not supported)
Sep 01 16:37:21 15 NetworkManager[1488]: [1725201441.0854] ipv6ll[145861ef9e49b2d9,ifindex=2]: changed: no IPv6 link local address to retry after Duplicate Address Detection failures (back off)
Sep 01 16:37:31 15 NetworkManager[1488]: [1725201451.0961] platform-linux: do-add-ip6-address[2: fe80::3285:a9ff:fe28:16f9]: failure 95 (Operation not supported)
Sep 01 16:37:33 15 NetworkManager[1488]: [1725201453.0985] ipv6ll[145861ef9e49b2d9,ifindex=2]: changed: no IPv6 link local address to retry after Duplicate Address Detection failures (back off)

==========================================================

nmcli c show

user_install@15:~> nmcli c show
NAME UUID TYPE DEVICE
eth0 7ba00b1d-8cdd-30da-91ad-bb83ed4f7474 ethernet eth0

==========================================================

nmcli d show

user_install@15:~> nmcli d show
GENERAL.DEVICE: eth0
GENERAL.TYPE: ethernet
GENERAL.HWADDR: 30:85:A9:28:16:F9
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connected)
GENERAL.CONNECTION: eth0
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/2
WIRED-PROPERTIES.CARRIER: on
IP4.ADDRESS[1]: 192.168.130.80/24
IP4.GATEWAY: 192.168.130.230
IP4.ROUTE[1]: dst = 192.168.130.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[2]: dst = 0.0.0.0/0, nh = 192.168.130.230, mt = 100
IP4.DNS[1]: 192.168.130.230
IP4.DOMAIN[1]: troll-hathor.nwk
IP6.GATEWAY: –

GENERAL.DEVICE: wlan0
GENERAL.TYPE: wifi
GENERAL.HWADDR: 12:FB:E2:35:F7:11
GENERAL.MTU: 1500
GENERAL.STATE: 30 (disconnected)
GENERAL.CONNECTION: –
GENERAL.CON-PATH: –
IP4.GATEWAY: –
IP6.GATEWAY: –

GENERAL.DEVICE: p2p-dev-wlan0
GENERAL.TYPE: wifi-p2p
GENERAL.HWADDR: (unknown)
GENERAL.MTU: 0
GENERAL.STATE: 30 (disconnected)
GENERAL.CONNECTION: –
GENERAL.CON-PATH: –

GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 10 (unmanaged)
GENERAL.CONNECTION: –
GENERAL.CON-PATH: –
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY: –
IP6.GATEWAY: –

==========================================================

lshw

      *-network
            description: Ethernet interface
            product: AR8151 v2.0 Gigabit Ethernet
            vendor: Qualcomm Atheros
            physical id: 0
            bus info: pci@0000:04:00.0
            logical name: eth0
            version: c0
            serial: 30:85:a9:28:16:f9
            size: 1Gbit/s
            capacity: 1Gbit/s
            width: 64 bits
            clock: 33MHz
            capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
            configuration: autonegotiation=on broadcast=yes **driver=atl1c driverversion=5.14.21-150500.53-default** duplex=full ip=192.168.130.80 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
            resources: irq:29 memory:f7100000-f713ffff ioport:d000(size=128)

If that help

Seems to be a kernel driver as shown by lshw.

ethtool

user_install@15:~> sudo ethtool -i eth0
[sudo] password for root:
driver: atl1c
version: 5.14.21-150500.53-default
firmware-version:
expansion-rom-version:
bus-info: 0000:04:00.0
supports-statistics: no
supports-test: no
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no

reading the driver “/lib/modules/5.14.21-150500.53-default/kernel/drivers/net/ethernet/atheros/atl1c” i found this :

license=GPLdescription=Qualcomm Atheros 100/1000M Ethernet Network Driverauthor=Qualcomm Atheros Inc.author=Jie Yangsuserelease=SLE15-SP5

No dirver loaded, as confirmed by the inxi output. You need to find out why. Examine the kernel logs.

After updating kernel modules, Is there a way to just reinstall the driver Qualcomm Atheros AR8131 Gigabit Ethernet (atl1c) instead of reinstalling everything again ?

What can I do with the current running module : /lib/modules/5.14.21-150500.53-default/kernel/drivers/net/ethernet/atheros/atl1c/atl1c.ko.zst ?

Where to put the module after decompress ?

I may have found where the problem came from.
I have a 15.5 installation usb key created several months ago.
To go faster, I do not use the opensuse repositories on the internet network.
For virtualbox installation I install the prerequisite software with in particular ‘kernel*’.
I reboot.
At this point I have different versions for some ‘kernel*’.
On the failed system, using yast2 I forced a re-installation of all ‘kernel*’
Which solved my problem.

I am still interested for answer to the questions in my previous thread.

Thank you all for helping.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.