On Fri, Mar 3, 2023 at 10:46 AM Albretch Mueller <lbrt...@gmail.com> wrote: > > [...] > $ sudo lshw -class network > *-network DISABLED > description: Ethernet interface > product: RTL810xE PCI Express Fast Ethernet controller > vendor: Realtek Semiconductor Co., Ltd. > physical id: 0 > bus info: pci@0000:01:00.0 > logical name: enp1s0 > version: 07 > serial: c0:3e:ba:26:aa:93 > width: 64 bits > clock: 33MHz > capabilities: pm msi pciexpress msix vpd cap_list ethernet physical > configuration: broadcast=yes driver=r8169 > driverversion=5.10.0-18-amd64 latency=0 link=no multicast=yes > resources: irq:16 ioport:3000(size=256) > memory:91400000-91400fff memory:91200000-91203fff > *-network > description: Network controller > product: QCA9377 802.11ac Wireless Network Adapter > vendor: Qualcomm Atheros > physical id: 0 > bus info: pci@0000:02:00.0 > version: 31 > width: 64 bits > clock: 33MHz > capabilities: pm msi pciexpress bus_master cap_list > configuration: driver=ath10k_pci latency=0 > resources: irq:127 memory:91000000-911fffff > $ > > The difference between the wired Ethernet controller and the Wireless > Network Adapter are obvious, but what is the "logical name" of the > internal wireless card, which as I read: > > https://forums.debian.net/viewtopic.php?t=136212 > > is supported in the kernel since version 4.4? > > How can you go: "ip link set dev <logical name for wireless adapter> > up" when I don't even see what the logical name is?
The "logical name" is a Consistent Name, and it is provided by biosdevname. Also see https://linux.dell.com/files/whitepapers/consistent_network_device_naming_in_linux.pdf . The 'p' is a pci bus, the 's' is a slot number. Since the interface does not move around once installed, the interface will always have the same name like 'enp4s0'. ifconfig will give you the names: $ ifconfig enp4s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ... lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 ... wlp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ... Jeff