LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-28-2019, 09:09 PM   #1
arvid001
LQ Newbie
 
Registered: Apr 2018
Posts: 22

Rep: Reputation: Disabled
Red face Upgraded to Debian Buster (presently stable release) and lost networking


Today I upgraded to Debian Buster using the edit sources.list method. Everything appears to have worked until I rebooted. Then networking does not work. The SETTINGS menu shows only VPN as a network option, but my system is directly connected via eth0, so that is not an option. Without networking there seems to be no way to get on-line for backing out of Buster and no way to do any further download/install of necessary software packages for networking.

Am I at the point where a DVD based install is the only option (that sucks)?

Last edited by arvid001; 08-28-2019 at 09:12 PM.
 
Old 08-28-2019, 09:20 PM   #2
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,007
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
If you boot into your old kernel (which should still be installed), does your network then work again?

Also, try the following things to collect some more information:
Code:
cat /etc/network/interfaces
ip add
lspci -nnk | grep -A 3 -i network
Probably we can get your network functioning again without a reinstall. If you can export the output of the commands I gave you and post them here, we'll be able to help much more, as well.
 
Old 08-28-2019, 10:27 PM   #3
arvid001
LQ Newbie
 
Registered: Apr 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
Old Kernal networking works

Did a restart using an older kernal and networking is back.

---
root@RadioRoom:/home/arv# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback
root@RadioRoom:/home/arv# ^C
root@RadioRoom:/home/arv#

---
root@RadioRoom:/home/arv# ip add
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
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
inet6 ::1/128 scope host
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 d0:50:99:3c:48:ae brd ff:ff:ff:ff:ff:ff
inet 192.168.0.8/24 brd 192.168.0.255 scope global dynamic noprefixroute eth0
valid_lft 85909sec preferred_lft 85909sec
inet6 fe80::d250:99ff:fe3c:48ae/64 scope link noprefixroute
valid_lft forever preferred_lft forever
root@RadioRoom:/home/arv#

---
root@RadioRoom:/home/arv# lspci -nnk | grep -A 3 -i network
root@RadioRoom:/home/arv#

---
This was with the old kernal. Just realized that maybe I should be doing this same thing with the newest kernal and Debian Buster?
Is that correct? I will reboot into the latest kernal and then try this again........just a minute...
 
Old 08-28-2019, 10:48 PM   #4
arvid001
LQ Newbie
 
Registered: Apr 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
Now those commands using the Debian Buster install from earlier today:

arv@RadioRoom:~$ su
Password:
root@RadioRoom:/home/arv# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback
root@RadioRoom:/home/arv#
root@RadioRoom:/home/arv#
root@RadioRoom:/home/arv# ip add
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
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
root@RadioRoom:/home/arv#
root@RadioRoom:/home/arv#
root@RadioRoom:/home/arv# lspci -nnk | grep -A 3 -i network
root@RadioRoom:/home/arv#

Does that help?
 
Old 08-28-2019, 11:08 PM   #5
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,007
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Do an lspci -k (and put it in the [ code ] brackets as it will probably be rather long) with the old kernel. For some reason doesn't show up as a network device, we need to know what kernel the hardware is using.

Your ethernet is onboard, right? Not a USB dongle?

Last edited by Timothy Miller; 08-28-2019 at 11:12 PM.
 
Old 08-28-2019, 11:25 PM   #6
arvid001
LQ Newbie
 
Registered: Apr 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
Result of "lspci -k" on old kernal

Here is the result of "lspci -k" on the old kernal:
[
arv@RadioRoom:~$ su
Password:
root@RadioRoom:/home/arv# lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex
Subsystem: ASRock Incorporation Family 15h (Models 10h-1fh) Processor Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) I/O Memory Management Unit
Subsystem: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) I/O Memory Management Unit
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Richland [Radeon HD 8370D]
Subsystem: ASRock Incorporation Richland [Radeon HD 8370D]
Kernel driver in use: radeon
Kernel modules: radeon
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port
Kernel driver in use: pcieport
Kernel modules: shpchp
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40)
Subsystem: ASRock Incorporation FCH SATA Controller [AHCI mode]
Kernel driver in use: ahci
Kernel modules: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
Subsystem: ASRock Incorporation FCH USB OHCI Controller
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
Subsystem: ASRock Incorporation FCH USB EHCI Controller
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
Subsystem: ASRock Incorporation FCH USB OHCI Controller
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
Subsystem: ASRock Incorporation FCH USB EHCI Controller
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 16)
Subsystem: ASRock Incorporation FCH SMBus Controller
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD] FCH IDE Controller
Subsystem: ASRock Incorporation FCH IDE Controller
Kernel driver in use: pata_atiixp
Kernel modules: pata_atiixp, ata_generic
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
Subsystem: ASRock Incorporation FCH Azalia Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
Subsystem: ASRock Incorporation FCH LPC Bridge
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
Subsystem: ASRock Incorporation FCH USB OHCI Controller
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 3
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 5
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
Subsystem: ASRock Incorporation Motherboard (one of many)
Kernel driver in use: r8168
Kernel modules: r8168
root@RadioRoom:/home/arv# ^C
root@RadioRoom:/home/arv#

]
 
Old 08-28-2019, 11:29 PM   #7
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,007
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Please put that much text in code brackets in the future to make it more legible and keep the size of the post down.

Code:
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
Subsystem: ASRock Incorporation Motherboard (one of many)
Kernel driver in use: r8168
Kernel modules: r8168
Is your network card.

Looking it up, looks like the buster kernels prefer 8169 driver over 8168. Do you have the 8168-dkms package installed?

Code:
apt list --installed | grep 8168
Also, do you have the Realtek firmware installed?

Code:
apt search firmware-realtek

Last edited by Timothy Miller; 08-28-2019 at 11:34 PM.
 
Old 08-28-2019, 11:57 PM   #8
arvid001
LQ Newbie
 
Registered: Apr 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
Realteck driver

Not sure what you mean by "put text in code brackets". I did put bounding brackets ahead and behind the text part.
I am an old, old, ancient, UNIX Sys-Admin (AT&T & Bell Labs) and probably not up to speed on modern methods.

Since there is no networking with the new kernal it would be impossible to install a new Realtek driver when running
on Buster, but would installing that driver while using the older Kernal make it available to Buster on the newest kernal?

I can do some searches but does anyone know where to find the Kernel driver that is in use: r8168 (Kernel modules: r8168)?
I find that driver at <https://softfamous.com/realtek-rtl8168-8111-pci-e-gigabit-ethernet-nic-driver/> but it is only in
Windows format. Will that work on Debian Linux?

Thanks
 
Old 08-29-2019, 12:09 AM   #9
arvid001
LQ Newbie
 
Registered: Apr 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
Realtek 8168 installed

This while running the older kernal. Do I need to run these commands using the New kernal on Buster?

[root@RadioRoom:/home/arv#
root@RadioRoom:/home/arv# apt list --installed | grep 8168

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

r8168-dkms/now 8.043.02-1 all [installed,local]
root@RadioRoom:/home/arv#
root@RadioRoom:/home/arv# apt search firmware-realtek
Sorting... Done
Full Text Search... Done
firmware-realtek/now 20161130-5 all [installed,local]
Binary firmware for Realtek wired/wifi/BT adapters

root@RadioRoom:/home/arv#
]

Arv
 
Old 08-29-2019, 12:18 AM   #10
arvid001
LQ Newbie
 
Registered: Apr 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
Realtek installed

This PC is a desktop tower system with the Ethernet built inside. So, no dongle.

Code:
root@RadioRoom:/home/arv# lshw
radioroom                   
    description: Desktop Computer
    product: To Be Filled By O.E.M. (To Be Filled By O.E.M.)
    vendor: To Be Filled By O.E.M.
    version: To Be Filled By O.E.M.
    serial: To Be Filled By O.E.M.
    width: 64 bits
    capabilities: smbios-2.7 dmi-2.7 smp vsyscall32
    configuration: boot=normal chassis=desktop family=To Be Filled By O.E.M. sku=To Be Filled By O.E.M. uuid=00020003-0004-0005-0006-000700080009
  *-core
       description: Motherboard
       product: FM2A58M-VG3+ R2.0
       vendor: ASRock
       physical id: 0
       serial: E80-48045602222
     *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 0
          version: P1.30
          date: 08/01/2014
          size: 64KiB
          capacity: 8MiB
          capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
     *-cache:0
          description: L1 cache
          physical id: 7
          slot: L1 CACHE
          size: 96KiB
          capacity: 96KiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=1
     *-cache:1
          description: L2 cache
          physical id: 8
          slot: L2 CACHE
          size: 1MiB
          capacity: 1MiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=2
     *-memory
          description: System Memory
          physical id: f
          slot: System board or motherboard
          size: 4GiB
        *-bank:0
             description: DIMM DDR3 Synchronous Unbuffered (Unregistered) 1333 MHz (0.8 ns)
             product: 991586
             physical id: 0
             serial: 00000000
             slot: DIMM 0
             size: 2GiB
             width: 64 bits
             clock: 1333MHz (0.8ns)
        *-bank:1
             description: DIMM DDR3 Synchronous Unbuffered (Unregistered) 1333 MHz (0.8 ns)
             product: 991586
             physical id: 1
             serial: 00000000
             slot: DIMM 0
             size: 2GiB
             width: 64 bits
             clock: 1333MHz (0.8ns)
     *-cpu
          description: CPU
          product: AMD A4-6300 APU with Radeon(tm) HD Graphics
          vendor: Advanced Micro Devices [AMD]
          physical id: 17
          bus info: cpu@0
          version: AMD A4-6300 APU with Radeon(tm) HD Graphics
          slot: CPUSocket
          size: 3GHz
          capacity: 3700MHz
          width: 64 bits
          clock: 100MHz
          capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb cpb hw_pstate ssbd vmmcall bmi1 arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold cpufreq
          configuration: cores=2 enabledcores=2 threads=2
     *-pci:0
          description: Host bridge
          product: Family 15h (Models 10h-1fh) Processor Root Complex
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 00
          width: 32 bits
          clock: 66MHz
        *-generic UNCLAIMED
             description: IOMMU
             product: Family 15h (Models 10h-1fh) I/O Memory Management Unit
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 0.2
             bus info: pci@0000:00:00.2
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: msi ht bus_master cap_list
             configuration: latency=0
        *-display
             description: VGA compatible controller
             product: Richland [Radeon HD 8370D]
             vendor: Advanced Micro Devices, Inc. [AMD/ATI]
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
             configuration: driver=radeon latency=0
             resources: irq:28 memory:c0000000-cfffffff ioport:f000(size=256) memory:ff700000-ff73ffff memory:c0000-dffff
        *-pci:0
             description: PCI bridge
             product: Family 15h (Models 10h-1fh) Processor Root Port
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 4
             bus info: pci@0000:00:04.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:25 ioport:e000(size=4096) memory:ff600000-ff6fffff ioport:d0000000(size=1048576)
           *-network
                description: Ethernet interface
                product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:01:00.0
                logical name: eth0
                version: 11
                serial: d0:50:99:3c:48:aeblocks
                size: 1Gbit/s
                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=r8168 driverversion=8.043.02-NAPI duplex=full ip=192.168.0.8 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
                resources: irq:26 ioport:e000(size=256) memory:ff600000-ff600fff memory:d0000000-d0003fff
        *-sata
             description: SATA controller
             product: FCH SATA Controller [AHCI mode]
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 11
             bus info: pci@0000:00:11.0
             logical name: scsi0
             version: 40
             width: 32 bits
             clock: 66MHz
             capabilities: sata msi ahci_1.0 bus_master cap_list emulated
             configuration: driver=ahci latency=32
             resources: irq:27 ioport:f190(size=8) ioport:f180(size=4) ioport:f170(size=8) ioport:f160(size=4) ioport:f150(size=16) memory:ff749000-ff7497ff
           *-disk
                description: ATA Disk
                product: MKNSSDCR120GB
                vendor: Toshiba
                physical id: 0.0.0
                bus info: scsi@0:0.0.0
                logical name: /dev/sda
                version: BBF0
                serial: MKN1220A0000087336
                size: 111GiB (120GB)
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=d909e046
              *-volume:0
                   description: EXT4 volume
                   vendor: Linux
                   physical id: 1
                   bus info: scsi@0:0.0.0,1
                   logical name: /dev/sda1
                   logical name: /
                   version: 1.0
                   serial: 4bbb99c3-93c1-4f5f-83d9-03b2366d1ecb
                   size: 107GiB
                   capacity: 107GiB
                   capabilities: primary bootable journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
                   configuration: created=2017-07-12 11:27:07 filesystem=ext4 lastmountpoint=/ modified=2019-08-28 21:40:11 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2019-08-28 21:40:11 state=mounted
              *-volume:1
                   description: Extended partition
                   physical id: 2
                   bus info: scsi@0:0.0.0,2
                   logical name: /dev/sda2
                   size: 4677MiB
                   capacity: 4677MiB
                   capabilities: primary extended partitioned partitioned:extended
                 *-logicalvolume
                      description: Linux swap volume
                      physical id: 5
                      logical name: /dev/sda5
                      version: 1
                      serial: 5ba1c782-1d19-4609-812e-55aa40fb9c7b
                      size: 4677MiB
                      capacity: 4677MiB
                      capabilities: nofs swap initialized
                      configuration: filesystem=swap pagesize=4096
        *-usb:0
             description: USB controller
             product: FCH USB OHCI Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 12
             bus info: pci@0000:00:12.0
             version: 11
             width: 32 bits
             clock: 66MHz
             capabilities: ohci bus_master
             configuration: driver=ohci-pci latency=32
             resources: irq:18 memory:ff748000-ff748fff
           *-usbhost
                product: OHCI PCI host controller
                vendor: Linux 4.9.0-9-amd64 ohci_hcd
                physical id: 1
                bus info: usb@3
                logical name: usb3
                version: 4.09
                capabilities: usb-1.10
                configuration: driver=hub slots=5 speed=12Mbit/s
              *-usb
                   description: Mouse
                   product: USB-PS/2 Optical Mouse
                   vendor: Logitech
                   physical id: 2
                   bus info: usb@3:2
                   version: 20.00
                   capabilities: usb-2.00
                   configuration: driver=usbhid maxpower=98mA speed=2Mbit/s
        *-usb:1
             description: USB controller
             product: FCH USB EHCI Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 12.2
             bus info: pci@0000:00:12.2
             version: 11
             width: 32 bits
             clock: 66MHz
             capabilities: pm debug ehci bus_master cap_list
             configuration: driver=ehci-pci latency=32
             resources: irq:17 memory:ff747000-ff7470ff
           *-usbhost
                product: EHCI Host Controller
                vendor: Linux 4.9.0-9-amd64 ehci_hcd
                physical id: 1
                bus info: usb@1
                logical name: usb1
                version: 4.09
                capabilities: usb-2.00
                configuration: driver=hub slots=5 speed=480Mbit/s
        *-usb:2
             description: USB controller
             product: FCH USB OHCI Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 13
             bus info: pci@0000:00:13.0
             version: 11
             width: 32 bits
             clock: 66MHz
             capabilities: ohci bus_master
             configuration: driver=ohci-pci latency=32
             resources: irq:18 memory:ff746000-ff746fff
           *-usbhost
                product: OHCI PCI host controller
                vendor: Linux 4.9.0-9-amd64 ohci_hcd
                physical id: 1
                bus info: usb@4
                logical name: usb4
                version: 4.09
                capabilities: usb-1.10
                configuration: driver=hub slots=5 speed=12Mbit/s
        *-usb:3
             description: USB controller
             product: FCH USB EHCI Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 13.2
             bus info: pci@0000:00:13.2
             version: 11
             width: 32 bits
             clock: 66MHz
             capabilities: pm debug ehci bus_master cap_list
             configuration: driver=ehci-pci latency=32
             resources: irq:17 memory:ff745000-ff7450ff
           *-usbhost
                product: EHCI Host Controller
                vendor: Linux 4.9.0-9-amd64 ehci_hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 4.09
                capabilities: usb-2.00
                configuration: driver=hub slots=5 speed=480Mbit/s
        *-serialblocks
             description: SMBus
             product: FCH SMBus Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 16
             width: 32 bits
             clock: 66MHz
             configuration: driver=piix4_smbus latency=0
             resources: irq:0
        *-ide
             description: IDE interface
             product: FCH IDE Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14.1
             bus info: pci@0000:00:14.1
             logical name: scsi2
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: ide isa_compat_mode pci_native_mode bus_master emulated
             configuration: driver=pata_atiixp latency=32
             resources: irq:17 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:f100(size=16)
           *-cdrom
                description: DVD reader
                product: DVD-ROM SH-118CB
                vendor: TSSTcorp
                physical id: 0.0.0
                bus info: scsi@2:0.0.0
                logical name: /dev/cdrom
                logical name: /dev/dvd
                logical name: /dev/sr0
                version: SB00
                capabilities: removable audio dvd
                configuration: ansiversion=5 status=nodisc
        *-multimedia
             description: Audio device
             product: FCH Azalia Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14.2
             bus info: pci@0000:00:14.2
             version: 01
             width: 64 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=snd_hda_intel latency=32
             resources: irq:16 memory:ff740000-ff743fff
        *-isa
             description: ISA bridge
             product: FCH LPC Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14.3
             bus info: pci@0000:00:14.3
             version: 11
             width: 32 bits
             clock: 66MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-pci:1
             description: PCI bridge
             product: FCH PCI Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14.4
             bus info: pci@0000:00:14.4
             version: 40
             width: 32 bits
             clock: 66MHz
             capabilities: pci subtractive_decode bus_master
        *-usb:4
             description: USB controller
             product: FCH USB OHCI Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14.5
             bus info: pci@0000:00:14.5
             version: 11
             width: 32 bits
             clock: 66MHz
             capabilities: ohci bus_master
             configuration: driver=ohci-pci latency=32
             resources: irq:18 memory:ff744000-ff744fff
           *-usbhost
                product: OHCI PCI host controller
                vendor: Linux 4.9.0-9-amd64 ohci_hcd
                physical id: 1
                bus info: usb@5
                logical name: usb5
                version: 4.09
                capabilities: usb-1.10
                configuration: driver=hub slots=2 speed=12Mbit/s
     *-pci:1
          description: Host bridge
          product: Family 15h (Models 10h-1fh) Processor Function 0
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 101
          bus info: pci@0000:00:18.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:2
          description: Host bridge
          product: Family 15h (Models 10h-1fh) Processor Function 1
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 102
          bus info: pci@0000:00:18.1
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:3
          description: Host bridge
          product: Family 15h (Models 10h-1fh) Processor Function 2
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 103
          bus info: pci@0000:00:18.2
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:4
          description: Host bridge
          product: Family 15h (Models 10h-1fh) Processor Function 3
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 104
          bus info: pci@0000:00:18.3
          version: 00
          width: 32 bits
          clock: 33MHz
          configuration: driver=k10temp
          resources: irq:0
     *-pci:5
          description: Host bridge
          product: Family 15h (Models 10h-1fh) Processor Function 4
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 105
          bus info: pci@0000:00:18.4
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:6
          description: Host bridge
          product: Family 15h (Models 10h-1fh) Processor Function 5
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 106
          bus info: pci@0000:00:18.5
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pnp00:00
          product: PnP device PNP0c01
          physical id: 1
          capabilities: pnp
          configuration: driver=system
     *-pnp00:01
          product: PnP device PNP0c02
          physical id: 2
          capabilities: pnp
          configuration: driver=system
     *-pnp00:02
          product: PnP device PNP0c02
          physical id: 3
          capabilities: pnp
          configuration: driver=system
     *-pnp00:03
          product: PnP device PNP0c02
          physical id: 4
          capabilities: pnp
          configuration: driver=system
     *-pnp00:04
          product: PnP device PNP0c02
          physical id: 5
          capabilities: pnp
          configuration: driver=system
     *-pnp00:05
          product: PnP device PNP0b00
          physical id: 6
          capabilities: pnp
          configuration: driver=rtc_cmos
     *-pnp00:06
          product: PnP device PNP0c02
          physical id: 9
          capabilities: pnp
          configuration: driver=system
     *-pnp00:07
          product: PnP device PNP0303
          physical id: a
          capabilities: pnp
          configuration: driver=i8042 kbd
     *-pnp00:08
          product: PnP device PNP0c02
          physical id: b
          capabilities: pnp
          configuration: driver=system
root@RadioRoom:/home/arv#

Last edited by arvid001; 08-29-2019 at 12:27 AM. Reason: Added output of "lshw" to show what the system is and added HTML for [code] [/code]
 
Old 08-29-2019, 04:34 AM   #11
flshope
Member
 
Registered: Jul 2009
Location: Tennessee (United States)
Distribution: Debian 11.6, Ubuntu 22.04.2, 18.04.6, Android 11
Posts: 236
Blog Entries: 44

Rep: Reputation: 80
Did you read the Debian 10 Release Notes?

Code:
4.1.6 Verify network interface name support
Systems upgraded from older releases that still use network interfaces with names like eth0 or wlan0 are at risk of losing networking once they switch to buster; see Section 5.1.5 for migration instructions.
 
Old 08-29-2019, 11:56 AM   #12
arvid001
LQ Newbie
 
Registered: Apr 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
Deprecated network names

I upgraded from Stretch so the network names supposedly already deprecated in that release and should have been ready for the Buster release (see Release Notes 5.1.5). Unless...the wording in the release notes is incorrect.

The problem with network naming might have been more visible if we still had the "ifconfig" command that has been standard in UNIX and Linux for many many years. But, alas, that too has been deprecated in favor of a more Windows-like command.

It the network names are known and available via various commands, it maybe should have been the responsibility of the release managers to make this renaming an automated process.

Code:
root@RadioRoom:/home/arv# echo /sys/class/net/[ew]*
/sys/class/net/eth0
root@RadioRoom:/home/arv# 

root@RadioRoom:/home/arv# sudo rgrep -w eth0 /etc
/etc/avahi/avahi-daemon.conf:#allow-interfaces=eth0
/etc/dhcp/dhclient.conf:#  interface "eth0";
/etc/dhcp/dhclient.conf:#  interface "eth0";
/etc/default/minissdpd:MiniSSDPd_INTERFACE_ADDRESS="eth0"
/etc/initramfs-tools/initramfs.conf:# Specify a specific network interface, like eth0
/etc/udev/rules.d/70-persistent-net.rules:SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="d0:50:99:3c:48:ae", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
/etc/samba/smb.conf:;   interfaces = 127.0.0.0/8 eth0
root@RadioRoom:/home/arv# 

root@RadioRoom:/home/arv# udevadm test-builtin net_id /sys/class/net/eth0 2>/dev/null
ID_NET_NAMING_SCHEME=v240
ID_NET_NAME_MAC=enxd050993c48ae
ID_OUI_FROM_DATABASE=ASRock Incorporation
ID_NET_NAME_PATH=enp1s0
root@RadioRoom:/home/arv#
Unfortunately this info is not made obviously available prior to doing the upgrade.
Once you are ready to carry out the switch, disable 70-persistent-net.rules either by renaming it or by commenting out individual lines. On virtual machines you will need to remove the files /etc/systemd/network/99-default.link and (if using virtio network devices) /etc/systemd/network/50-virtio-kernel-names.link. Then rebuild the initrd:

How does one go about "disable 70-persistent-net"? Where does it reside? How do I know if I am using a "virtual machine" or a real one? What should be done to "rebuild initrd"?

Apparently my system is still using eth0, even though that was supposed to have been deprecated in the Stretch releass, according to the Buster release notes. What should I do now, and how should I do it?

Thanks
 
Old 08-29-2019, 12:33 PM   #13
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,007
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
I don't think it's the name. The system is using networkmanager & systemd, and so the name shouldn't matter, it'll update and carry on without issues with the new name. I think it's because the 8168 driver is installed, which blacklists the 8169 driver. I think buster REQUIRES the 8169 driver now for this chipset from what I've read, ergo why ip add doesn't even SEE an interface assigned for that card. In theory should be able to confirm if you (with new kernel) ran (as root)

Code:
dmesg | grep 8168
dmesg | grep 8169
This should show the driver (8168) being unable to load.
 
Old 08-29-2019, 12:54 PM   #14
thinknix
Member
 
Registered: Nov 2008
Distribution: Lots!
Posts: 178

Rep: Reputation: 58
I had issues with the systemd-style persistent interface names in Buster with and the Realtek wireless drivers. It was a fresh install in my case, not an upgrade, still it sounds like you need to revert to the old naming scheme.

I disabled the persistent naming using the tips in /usr/share/doc/udev/README.Debian.gz:

Code:
- Disable the default *.link rules with
"ln -s /dev/null /etc/systemd/network/99-default.link"
and rebuild the initrd with "update-initramfs -u".
After a reboot I had my wlan0 back and all was working.
 
Old 08-29-2019, 12:56 PM   #15
arvid001
LQ Newbie
 
Registered: Apr 2018
Posts: 22

Original Poster
Rep: Reputation: Disabled
Realtek issue...?

Code:
root@RadioRoom:/home/arv# dmesg | grep 8168
[    0.222827] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
[    0.955239] r8168: loading out-of-tree module taints kernel.
[    0.955966] r8168 Gigabit Ethernet driver 8.043.02-NAPI loaded
[    0.972731] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[    0.972736] r8168  Copyright (C) 2016  Realtek NIC software team <nicfae@realtek.com> 
[    2.388168] ppdev: user-space parallel port driver
[    6.924717] r8168: eth0: link up
root@RadioRoom:/home/arv# dmesg | grep 8169
root@RadioRoom:/home/arv#
What now?
 
  


Reply

Tags
buster, debian, networking



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying OS files without exiting the presently-running OS? Possible? RonCam Bodhi 1 03-10-2019 01:16 PM
LXer: Debian 11 "Bullseye" and Debian 12 "Bookworm" Are Coming After Debian 10 "Buster" LXer Syndicated Linux News 0 04-18-2018 12:26 PM
[SOLVED] Upgraded Stretch->Buster, lost network. How to set up simple DHCP connection? pepperslq Debian 7 02-26-2018 02:38 AM
my introduction, have presently no questions wstrickler Linux - Newbie 1 04-15-2014 06:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration