BASH – Connessione a Internet vista da Ubuntu

29 Gennaio, 2014 (16:24) | BASH, Linux | By: sargonsei

BASH – Connessione a Internet vista da Ubuntu – Aggiornamento anno 2024.
ATTENZIONE: Le prove sono state effettuate su un PC dotato di hardware in grado di connettersi ad internet sia tramite rete Ethernet, sia tramite WiFi USB, sia tramite WiFi integrato. I relativi output rilevano 2 periferiche WiFi USB in quanto -come dimostra l’output del comando [lsusb -vt]- la periferica WiFi USB integrata è connessa alla scheda madre tramite porta USB interna.

Il comando [dmesg] può essere impartito senza i pribilegi di amministratore solo se prima di impartirlo è stato impartito il comando
sudo sysctl -w kernel.dmesg_restrict=0 # UBUNTU: sudo dmesg DIVENTA dmesg
Quest’ultimo comando diviene efficace quando viene impartito e perde di efficacia allo spegnimento del computer.

I comandi:
inxi -Snzxxx # Sistema Operativo e Connessioni a Internet disponibili
lspci -k | grep -iA 3 net # Verifica la presenza di schede di rete integrate e relativo driver
lspci -vs 02:00.0 # Informazioni relative a WiFi integrato
lspci -vs 03:00.0 # Informazioni relative a Ethernet integrata
lsusb | grep -i wirel # Informazioni relative a WiFi USB
sudo lsusb -vs 003:002|head -17 # Informazioni periferica USB (WiFi porta USB) connessa al Bus 003 Device 002
sudo lsusb -vs 001:004|head -17 # Informazioni periferica USB (WiFi integrata) connessa al Bus 001 Device 004
sudo lsusb -vd 0846:4260|head -17 # Informazioni periferica USB (WiFi porta USB) avente vendor=0846 e product=4260
sudo lsusb -vd 0bda:b721|head -17 # Informazioni periferica USB (WiFi integrata) avente vendor=0bda e product=b721
lsusb -vt # Elenco periferiche USB e relativi hub
/sbin/arp # Dati relativi alla rete internet
cat /etc/NetworkManager/NetworkManager.conf # Informazioni sul / dal Network Manager e sue connessioni configurate
cat /etc/resolv.conf # Informazioni sui server DNS configurati
sudo cat /var/lib/NetworkManager/NetworkManager.state # Stato di NetworkManager
dmesg | grep -i wireless # Verifica WiFi attivi e relativi firmware
dmesg | grep -i renamed # Verifica nomi connessioni Internet
ifconfig # Visualizza parametri delle interfaccie di rete
ip addr | sed '/^[0-9]/!d;s/: <.*$//' # Elenca dispositivi Internet
iwconfig # Visualizza parametri delle interfaccie di rete WIFI
ls -l /etc/NetworkManager/system-connections # Lista files di configurazione connessione Internet
nmcli device status # Visualizza informazioni di connessione
nmcli device wifi list # Rete WiFi in uso + raggiungibili
ping -c 5 192.168.1.1 # Raggiungibilità del proprio gateway (“router ADSL”)
ping -c 5 8.8.8.8 # Raggiungibilità di un host su Internet (senza risoluzione via server DNS)
ping -c 5 google.it # Raggiungibilità di un host su Internet (con risoluzione via server DNS)
rfkill list # Elenco, tipologia, e stato reti WiFi
route -n # Tabella di routing
route -v # Tabella di routing
sudo lshw -c network # Informazioni sulle schede di rete rilevate (PCI e USB)
sudo iwlist scan # Elenco Reti Wifi disponibili e relative caratteristiche

Esempi di output:

:~$ inxi -Snzxxx # Sistema Operativo e Connessioni a Internet disponibili
System:
  Kernel: 5.15.0-92-lowlatency x86_64 bits: 64 compiler: gcc v: 11.4.0
    Desktop: KDE Plasma 5.24.7 tk: Qt 5.15.3 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Network:
  Device-1: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Lite-On
    driver: rtl8723be v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: d000
    bus-ID: 02:00.0 chip-ID: 10ec:b723 class-ID: 0280
  IF: wlp2s0 state: up mac: 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: c000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0 state: down mac: 
  Device-3: NetGear WG111v3 54 Mbps Wireless [realtek RTL8187B] type: USB
    driver: rtl8187 bus-ID: 3-2:2 chip-ID: 0846:4260 class-ID: 0000
    serial: 
  IF: wlx00223fee429a state: down mac: 
:~$ lspci -k | grep -iA 3 net # Verifica la presenza di schede di rete integrate e relativo driver
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
        Subsystem: Lite-On Communications Inc RTL8723BE PCIe Wireless Network Adapter
        Kernel driver in use: rtl8723be
        Kernel modules: rtl8723be
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
        Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Kernel driver in use: r8169
        Kernel modules: r8169
:~$ lspci -vs 02:00.0 # Informazioni relative a WiFi integrato
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
        Subsystem: Lite-On Communications Inc RTL8723BE PCIe Wireless Network Adapter
        Flags: bus master, fast devsel, latency 0, IRQ 44
        I/O ports at d000 [size=256]
        Memory at fe800000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: 
        Kernel driver in use: rtl8723be
        Kernel modules: rtl8723be

:~$ lspci -vs 03:00.0 # Informazioni relative a Ethernet integrata
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
        Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
        Flags: bus master, fast devsel, latency 0, IRQ 36
        I/O ports at c000 [size=256]
        Memory at fe704000 (64-bit, non-prefetchable) [size=4K]
        Memory at fe700000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: 
        Kernel driver in use: r8169
        Kernel modules: r8169

:~$ lsusb | grep -i wirel # Informazioni relative a WiFi USB
Bus 003 Device 002: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
:~$ sudo lsusb -vs 003:002|head -17 # Informazioni periferica USB (WiFi porta USB) connessa al Bus 003 Device 002
[sudo] password di ubuntustudio22k04:

Bus 003 Device 002: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0846 NetGear, Inc.
  idProduct          0x4260 WG111v3 54 Mbps Wireless [realtek RTL8187B]
  bcdDevice            2.00
  iManufacturer           1 Manufacturer_NETGEAR
  iProduct                2 NETGEAR WG111v3
  iSerial                 3 00223FEE429A
  bNumConfigurations      1
:~$ sudo lsusb -vs 001:004|head -17 # Informazioni periferica USB (WiFi integrata) connessa al Bus 001 Device 004

Bus 001 Device 004: ID 0bda:b721 Realtek Semiconductor Corp. Bluetooth Radio
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0xb721
  bcdDevice            2.00
  iManufacturer           1 Realtek
  iProduct                2 Bluetooth Radio
  iSerial                 3 00e04c000001
  bNumConfigurations      1
:~$ sudo lsusb -vd 0846:4260|head -17 # Informazioni periferica USB (WiFi porta USB) avente vendor=0846 e product=4260

Bus 003 Device 002: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0846 NetGear, Inc.
  idProduct          0x4260 WG111v3 54 Mbps Wireless [realtek RTL8187B]
  bcdDevice            2.00
  iManufacturer           1 Manufacturer_NETGEAR
  iProduct                2 NETGEAR WG111v3
  iSerial                 3 00223FEE429A
  bNumConfigurations      1
:~$ sudo lsusb -vd 0bda:b721|head -17 # Informazioni periferica USB (WiFi integrata) avente vendor=0bda e product=b721

Bus 001 Device 004: ID 0bda:b721 Realtek Semiconductor Corp. Bluetooth Radio
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.10
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0xb721
  bcdDevice            2.00
  iManufacturer           1 Realtek
  iProduct                2 Bluetooth Radio
  iSerial                 3 00e04c000001
  bNumConfigurations      1
:~$ lsusb -vt # Elenco periferiche USB e relativi hub
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 2: Dev 2, If 0, Class=Vendor Specific Class, Driver=rtl8187, 480M
        ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
        ID 0438:7900 Advanced Micro Devices, Inc. Root Hub
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/2p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 0438:7900 Advanced Micro Devices, Inc. Root Hub
        |__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
            ID 047d:2048 Kensington Orbit Trackball with Scroll Ring
        |__ Port 3: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
            ID 0bda:b721 Realtek Semiconductor Corp.
        |__ Port 3: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
            ID 0bda:b721 Realtek Semiconductor Corp.
        |__ Port 4: Dev 5, If 0, Class=Video, Driver=uvcvideo, 480M
            ID 0bda:57b5 Realtek Semiconductor Corp.
        |__ Port 4: Dev 5, If 1, Class=Video, Driver=uvcvideo, 480M
            ID 0bda:57b5 Realtek Semiconductor Corp.
:~$ /sbin/arp # Dati relativi alla rete internet
Indirizzo TipoHW IndirizzoHW Flag Maschera Interfaccia
wind3.hub.wind3.hub      ether   a8:02:db:c5:31:94   C                     wlp2s0
:~$ cat /etc/NetworkManager/NetworkManager.conf # Informazioni sul / dal Network Manager e sue connessioni configurate
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

[device]
wifi.scan-rand-mac-address=no
:~$ cat /etc/resolv.conf # Informazioni sui server DNS configurati
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad
search wind3.hub
:~$ sudo cat /var/lib/NetworkManager/NetworkManager.state # Stato di NetworkManager
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
:~$ dmesg | grep -i wireless # Verifica WiFi attivi e relativi firmware
[   17.632568] input: Asus Wireless Radio Control as /devices/LNXSYSTM:00/LNXSYBUS:00/ATK4002:00/input/input16
[   20.752699] rtlwifi: rtlwifi: wireless switch is on
[ 1837.052496] rtl8187: wireless switch is on
:~$ dmesg | grep -i renamed # Verifica nomi connessioni Internet
[    2.524828] r8169 0000:03:00.0 enp3s0: renamed from eth0
[   21.853763] rtl8723be 0000:02:00.0 wlp2s0: renamed from wlan0
[ 1837.124963] rtl8187 3-2:1.0 wlx00223fee429a: renamed from wlan0
:~$ ifconfig # Visualizza parametri delle interfaccie di rete
enp3s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 38:d5:47:8a:bd:41  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10
        loop  txqueuelen 1000  (Loopback locale)
        RX packets 3285  bytes 385800 (385.8 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3285  bytes 385800 (385.8 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.7  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::888d:97e7:5f11:2c81  prefixlen 64  scopeid 0x20
        ether 54:8c:a0:f3:60:39  txqueuelen 1000  (Ethernet)
        RX packets 58731  bytes 76461787 (76.4 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 30194  bytes 4008893 (4.0 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlx00223fee429a: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:22:3f:ee:42:9a  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

:~$ ip addr | sed '/^[0-9]/!d;s/: <.*$//' # Elenca dispositivi Internet
1: lo
2: enp3s0
3: wlp2s0
4: wlx00223fee429a
:~$ iwconfig # Visualizza parametri delle interfaccie di rete WIFI
lo        no wireless extensions.

enp3s0    no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:"Wind3 HUB - C53194"
          Mode:Managed  Frequency:2.442 GHz  Access Point: A8:02:DB:C5:31:94
          Bit Rate=72.2 Mb/s   Tx-Power=20 dBm
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:on
          Link Quality=66/70  Signal level=-44 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:12   Missed beacon:0

wlx00223fee429a  IEEE 802.11  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

:~$ ls -l /etc/NetworkManager/system-connections # Lista files di configurazione connessione Internet
totale 8
-rw------- 1 root root 336 lug 12  2022 'Wind3 HUB - C53194-156689bc-b67e-4365-b671-4567371774a1.nmconnection'
-rw------- 1 root root 335 lug 12  2022 'Wind3 HUB - C53194.nmconnection'
:~$ nmcli device status # Visualizza informazioni di connessione
DEVICE           TYPE      STATE            CONNECTION
wlp2s0           wifi      collegato        Wind3 HUB - C53194
wlx00223fee429a  wifi      disconnesso      --
p2p-dev-wlp2s0   wifi-p2p  disconnesso      --
enp3s0           ethernet  non disponibile  --
lo               loopback  non gestito      --
:~$ nmcli device wifi list # Rete WiFi in uso + raggiungibili
IN-USE  BSSID              SSID                MODE   CHAN  RATE        SIGNAL  BARS  SECURITY
*       A8:02:DB:C5:31:94  Wind3 HUB - C53194  Infra  7     260 Mbit/s  76      ▂▄▆_  WPA2
        9C:31:C3:CB:8B:1C  SKYWIFI_IRBCN       Infra  6     260 Mbit/s  50      ▂▄__  WPA2

IN-USE  BSSID              SSID                MODE   CHAN  RATE        SIGNAL  BARS  SECURITY
        A8:02:DB:C5:31:94  Wind3 HUB - C53194  Infra  7     260 Mbit/s  87      ▂▄▆█  WPA2
        9C:31:C3:CB:8B:1C  SKYWIFI_IRBCN       Infra  6     260 Mbit/s  64      ▂▄▆_  WPA2
:~$ ping -c 5 192.168.1.1 # Raggiungibilità del proprio gateway (“router ADSL”)
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=2.15 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=2.14 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=4.89 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=4.50 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=3.42 ms

--- 192.168.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 2.137/3.419/4.891/1.146 ms
:~$ ping -c 5 8.8.8.8 # Raggiungibilità di un host su Internet (senza risoluzione via server DNS)
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=9.90 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=9.98 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=9.83 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=117 time=9.89 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=117 time=10.4 ms

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 9.832/10.000/10.404/0.206 ms
:~$ ping -c 5 google.it # Raggiungibilità di un host su Internet (con risoluzione via server DNS)
PING google.it (142.250.180.163) 56(84) bytes of data.
64 bytes from mil04s44-in-f3.1e100.net (142.250.180.163): icmp_seq=1 ttl=117 time=10.7 ms
64 bytes from mil04s44-in-f3.1e100.net (142.250.180.163): icmp_seq=2 ttl=117 time=10.4 ms
64 bytes from mil04s44-in-f3.1e100.net (142.250.180.163): icmp_seq=3 ttl=117 time=10.4 ms
64 bytes from mil04s44-in-f3.1e100.net (142.250.180.163): icmp_seq=4 ttl=117 time=10.8 ms
64 bytes from mil04s44-in-f3.1e100.net (142.250.180.163): icmp_seq=5 ttl=117 time=10.8 ms

--- google.it ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 10.367/10.639/10.845/0.198 ms
:~$ rfkill list # Elenco, tipologia, e stato reti WiFi
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
2: phy1: Wireless LAN
        Soft blocked: no
        Hard blocked: no
:~$ route -n # Tabella di routing
Tabella di routing IP del kernel
Destinazione Gateway Genmask Flag Metric Ref Usa Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    600    0        0 wlp2s0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlp2s0
192.168.1.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp2s0
:~$ route -v # Tabella di routing
Tabella di routing IP del kernel
Destinazione Gateway Genmask Flag Metric Ref Usa Iface
default         wind3.hub.wind3 0.0.0.0         UG    600    0        0 wlp2s0
link-local      0.0.0.0         255.255.0.0     U     1000   0        0 wlp2s0
192.168.1.0     0.0.0.0         255.255.255.0   U     600    0        0 wlp2s0
:~$ sudo lshw -c network # Informazioni sulle schede di rete rilevate (PCI e USB)
  *-network
       descrizione: Interfaccia Wireless
       prodotto: RTL8723BE PCIe Wireless Network Adapter
       fornitore: Realtek Semiconductor Co., Ltd.
       id fisico: 0
       bus info: pci@0000:02:00.0
       nome logico: wlp2s0
       versione: 00
       seriale: 54:8c:a0:f3:60:39
       larghezza: 64 bits
       orologio: 33MHz
       capacità: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configurazione: broadcast=yes driver=rtl8723be driverversion=5.15.0-92-lowlatency firmware=N/A ip=192.168.1.7 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       risorse: irq:44 ioport:d000(dimensione=256) memoria:fe800000-fe803fff
  *-network
       descrizione: Ethernet interface
       prodotto: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       fornitore: Realtek Semiconductor Co., Ltd.
       id fisico: 0
       bus info: pci@0000:03:00.0
       nome logico: enp3s0
       versione: 10
       seriale: 38:d5:47:8a:bd:41
       capacità: 1Gbit/s
       larghezza: 64 bits
       orologio: 33MHz
       capacità: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configurazione: autonegotiation=on broadcast=yes driver=r8169 driverversion=5.15.0-92-lowlatency firmware=rtl8168g-3_0.0.1 04/23/13 latency=0 link=no multicast=yes port=twisted pair
       risorse: irq:36 ioport:c000(dimensione=256) memoria:fe704000-fe704fff memoria:fe700000-fe703fff
  *-network
       descrizione: Interfaccia Wireless
       id fisico: b
       bus info: usb@3:2
       nome logico: wlx00223fee429a
       seriale: 00:22:3f:ee:42:9a
       capacità: ethernet physical wireless
       configurazione: broadcast=yes driver=rtl8187 driverversion=5.15.0-92-lowlatency firmware=N/A link=no multicast=yes wireless=IEEE 802.11
:~$