Xubuntu 26.04 LTS changing hostname makes NIC go UNCLAIMED
https://askubuntu.com/questions/1567165/xubuntu-26-04-lts-changing-hostname-makes-nic-go-unclaimed
I am just going to throw this one out there to see if anyone might have an idea as to what is happening. This is the first time I have ever bumped into this.
When I setup this XUbuntu 26.04 I gave it kind of a temporary hostname since I was dual booting with XUbuntu 24.04. Well, I have since removed 24.04 and I want to change my hostname back to what I use on my system.
Every time I go to change the hostname to terrance-ubuntu, sudo hostnamectl set-hostname terrance-ubuntu and I change the /etc/hosts file to match, as soon as I reboot my system the wired r8125 2.5Gbps NIC driver goes UNCLAIMED for some reason and if I connect via Wi-Fi it is extremely unstable. Any ideas?
One other thing I forgot to mention is that after this name change Chrome will also fail to launch. I will see if I can get the error messages it shows as well.
Chrome error after hostname change:
terrance@terrance-ubuntu:~$ google-chrome
[5048:5048:0525/184448.644528:ERROR:chrome/browser/process_singleton_posix.cc:363] The profile appears to be in use by another Google Chrome process (87936) on another computer (terrance-XU2604). Chrome has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chrome.
[5048:5048:0525/184448.646772:ERROR:chrome/browser/ui/views/message_box_dialog.cc:199] Unable to show message box: Google Chrome - The profile appears to be in use by another Google Chrome process (87936) on another computer (terrance-XU2604). Chrome has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chrome.
System information:
terrance@terrance-XU2604:~$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=26.04
DISTRIB_CODENAME=resolute
DISTRIB_DESCRIPTION="Ubuntu 26.04 LTS"
PRETTY_NAME="Ubuntu 26.04 LTS"
NAME="Ubuntu"
VERSION_ID="26.04"
VERSION="26.04 LTS (Resolute Raccoon)"
VERSION_CODENAME=resolute
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=resolute
LOGO=ubuntu-logo
terrance@terrance-XU2604:~$ uname -a
Linux terrance-XU2604 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64 GNU/Linux
terrance@terrance-XU2604:~$ dkms status
nct6687d/20260313-180048, 7.0.0-14-generic, x86_64: installed
nct6687d/20260313-180048, 7.0.0-15-generic, x86_64: installed
r8125/9.016.01, 7.0.0-14-generic, x86_64: installed
r8125/9.016.01, 7.0.0-15-generic, x86_64: installed
terrance@terrance-XU2604:~$ sudo lshw -C network
[sudo: authenticate] Password:
*-network
description: Wireless interface
product: MT7922 802.11ax PCI Express Wireless Network Adapter
vendor: MEDIATEK Corp.
physical id: 0
bus info: pci@0000:29:00.0
logical name: wlan0
version: 00
serial: 04:68:74:9e:f2:b3
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=mt7921e driverversion=7.0.0-15-generic firmware=____000000-20260224103233 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: iomemory:7f0-7ef irq:121 memory:7ff2100000-7ff21fffff memory:fc300000-fc307fff
*-network
description: Ethernet interface
product: RTL8125 2.5GbE Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:2a:00.0
logical name: eth0
version: 05
serial: 0a:9c:62:49:33:4f
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8125 driverversion=9.016.01-NAPI duplex=full ip=10.0.0.100 latency=0 link=yes multicast=yes port=twisted pair
resources: irq:38 ioport:f000(size=256) memory:fc200000-fc20ffff memory:fc210000-fc213fff
After hostname change and a reboot:
terrance@terrance-XU2604:~$ sudo hostnamectl set-hostname terrance-ubuntu
[sudo: authenticate] Password:
terrance@terrance-XU2604:~$ cat /etc/hostname
terrance-ubuntu
terrance@terrance-XU2604:~$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
terrance@terrance-ubuntu:~$ sudo lshw -C network
[sudo: authenticate] Password:
*-network
description: Wireless interface
product: MT7922 802.11ax PCI Express Wireless Network Adapter
vendor: MEDIATEK Corp.
physical id: 0
bus info: pci@0000:29:00.0
logical name: wlan0
version: 00
serial: 04:68:74:9e:f2:b3
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=mt7921e driverversion=7.0.0-15-generic firmware=____000000-20260224103233 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: iomemory:7f0-7ef irq:89 memory:7ff2100000-7ff21fffff memory:fc200000-fc207fff
*-network UNCLAIMED
description: Ethernet controller
product: RTL8125 2.5GbE Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:2a:00.0
version: 05
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd cap_list
configuration: latency=0
resources: ioport:1000(size=256)
terrance@terrance-ubuntu:~$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
terrance@terrance-ubuntu:~$ lspci | grep -i ethernet
2a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)