Voici un résultat
a@b:~$ cat wificheck.log
>> cat /etc/lsb-release
>> lsusb
Bus 001 Device 002: ID 04a9:190e Canon, Inc. CanoScan LiDE 120
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> lspci -k -nn | grep -A 3 -i net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 03)
Subsystem: ASRock Incorporation Motherboard (one of many) [1849:8168]
Kernel driver in use: r8169
Kernel modules: r8169
>> sudo lshw -C network
*-network
description: Ethernet interface
produit: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
fabricant: Realtek Semiconductor Co., Ltd.
identifiant matériel: 0
information bus: pci@0000:01:00.0
nom logique: enp1s0
version: 03
numéro de série: 00:25:22:c8:d3:22
taille: 100Mbit/s
capacité: 1Gbit/s
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration : autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl_nic/rtl8168d-1.fw ip=192.168.0.26 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
ressources : irq:17 portE/S:e800(taille=256) mémoire:dfeff000-dfefffff mémoire:dfef8000-dfefbfff mémoire:effe0000-efffffff
>> lsmod | sort
async_memcpy 20480 2 raid456,async_raid6_recov
async_pq 24576 2 raid456,async_raid6_recov
async_raid6_recov 24576 1 raid456
async_tx 20480 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
async_xor 20480 3 async_pq,raid456,async_raid6_recov
autofs4 45056 2
coretemp 20480 0
cx22702 16384 1
cx8800 40960 0
cx8802 20480 1 cx88_dvb
cx88_alsa 20480 1
cx88_dvb 40960 0
cx88_vp3054_i2c 16384 1 cx88_dvb
cx88xx 90112 4 cx8802,cx8800,cx88_alsa,cx88_dvb
drm 491520 3 drm_kms_helper,ttm,nouveau
drm_kms_helper 184320 1 nouveau
dvb_core 139264 2 cx88_dvb,videobuf2_dvb
fb_sys_fops 16384 1 drm_kms_helper
gpio_ich 16384 0
hid 131072 2 usbhid,hid_generic
hid_generic 16384 0
i2c_algo_bit 16384 3 cx88xx,cx88_vp3054_i2c,nouveau
i2c_i801 32768 0
input_leds 16384 0
ip_tables 32768 0
ir_rc5_decoder 20480 0
kvm 663552 1 kvm_intel
kvm_intel 282624 0
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
libcrc32c 16384 1 raid456
linear 20480 0
lp 20480 0
lpc_ich 24576 0
mac_hid 16384 0
mc 53248 5 videodev,videobuf2_v4l2,dvb_core,videobuf2_common,tuner
Module Size Used by
multipath 20480 0
mxm_wmi 16384 1 nouveau
nouveau 1949696 0
parport 53248 3 parport_pc,lp,ppdev
parport_pc 40960 1
pata_acpi 16384 0
ppdev 24576 0
r8169 90112 0
raid0 24576 0
raid10 57344 0
raid1 45056 0
raid456 155648 1
raid6_pq 114688 3 async_pq,raid456,async_raid6_recov
rc_core 53248 4 cx88xx,ir_rc5_decoder,rc_hauppauge
rc_hauppauge 16384 0
realtek 24576 1
sch_fq_codel 20480 2
serio_raw 20480 0
snd 90112 19 snd_hda_codec_generic,snd_seq,snd_seq_device,cx88_alsa,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
snd_hda_codec 135168 3 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek
snd_hda_codec_generic 81920 1 snd_hda_codec_realtek
snd_hda_codec_realtek 126976 1
snd_hda_core 90112 4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hda_intel 53248 3
snd_hwdep 20480 1 snd_hda_codec
snd_intel_dspcfg 24576 1 snd_hda_intel
snd_pcm 106496 4 cx88_alsa,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_rawmidi 36864 1 snd_seq_midi
snd_seq 69632 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_seq_midi 20480 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_timer 36864 2 snd_seq,snd_pcm
soundcore 16384 1 snd
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
ttm 106496 1 nouveau
tuner 28672 1
tuner_simple 24576 2
tuner_types 28672 1 tuner_simple
tveeprom 28672 1 cx88xx
usbhid 57344 0
video 49152 1 nouveau
videobuf2_common 49152 6 cx8802,cx88xx,cx8800,videobuf2_v4l2,cx88_dvb,videobuf2_dvb
videobuf2_dma_sg 16384 2 cx8800,cx88_dvb
videobuf2_dvb 16384 1 cx88_dvb
videobuf2_memops 20480 1 videobuf2_dma_sg
videobuf2_v4l2 24576 2 cx8800,cx88_dvb
videodev 225280 6 cx88xx,cx8800,cx88_alsa,videobuf2_v4l2,videobuf2_common,tuner
wmi 32768 2 mxm_wmi,nouveau
xor 24576 1 async_xor
x_tables 40960 1 ip_tables
>> iwconfig
>> 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
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:25:22:c8:d3:22 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.26/24 brd 192.168.0.255 scope global dynamic noprefixroute enp1s0
valid_lft 844257sec preferred_lft 844257sec
inet6 2a01:e0a:4b8:570:710e:1436:e4c:94f1/64 scope global temporary dynamic
valid_lft 86223sec preferred_lft 66136sec
inet6 2a01:e0a:4b8:570:38b:defc:2a64:d74a/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 86223sec preferred_lft 86223sec
inet6 fe80::b56c:2d01:756:7558/64 scope link noprefixroute
valid_lft forever preferred_lft forever
>> sudo iwlist scan
>> uname -r -m
5.4.0-52-generic x86_64
>> cat /etc/network/interfaces
>> nmcli device show
GENERAL.DEVICE: enp1s0
GENERAL.TYPE: ethernet
GENERAL.HWADDR: 00:25:22:C8:D3:22
GENERAL.MTU: 1500
GENERAL.STATE: 100 (connecté)
GENERAL.CONNECTION: Connexion filaire 1
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
WIRED-PROPERTIES.CARRIER: marche
IP4.ADDRESS[1]: 192.168.0.26/24
IP4.GATEWAY: 192.168.0.254
IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 192.168.0.254, mt = 100
IP4.ROUTE[2]: dst = 192.168.0.0/24, nh = 0.0.0.0, mt = 100
IP4.ROUTE[3]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]: 212.27.40.240
IP4.DNS[2]: 212.27.40.241
IP6.ADDRESS[1]: 2a01:e0a:4b8:570:710e:1436:e4c:94f1/64
IP6.ADDRESS[2]: 2a01:e0a:4b8:570:38b:defc:2a64:d74a/64
IP6.ADDRESS[3]: fe80::b56c:2d01:756:7558/64
IP6.GATEWAY: fe80::224:d4ff:febd:1668
IP6.ROUTE[1]: dst = 2a01:e0a:4b8:570::/64, nh = ::, mt = 100
IP6.ROUTE[2]: dst = ::/0, nh = fe80::224:d4ff:febd:1668, mt = 20100
IP6.ROUTE[3]: dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[4]: dst = fe80::/64, nh = ::, mt = 100
IP6.DNS[1]: 2a01:e00::2
IP6.DNS[2]: 2a01:e00::1
GENERAL.DEVICE: lo
GENERAL.TYPE: loopback
GENERAL.HWADDR: 00:00:00:00:00:00
GENERAL.MTU: 65536
GENERAL.STATE: 10 (non-géré)
GENERAL.CONNECTION: --
GENERAL.CON-PATH: --
IP4.ADDRESS[1]: 127.0.0.1/8
IP4.GATEWAY: --
IP6.ADDRESS[1]: ::1/128
IP6.GATEWAY: --
IP6.ROUTE[1]: dst = ::1/128, nh = ::, mt = 256
>> nmcli dev wifi
>> nmcli connection list (< 15.04) ou nmcli connection show (>= 15.04)
NAME UUID TYPE DEVICE
Connexion filaire 1 e919f1e6-638d-30ca-94e3-76336a3d5b14 ethernet enp1s0
>> sudo rfkill list
La 1ere commande a été oubliée de faire car
a@b:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
a@b:~$
Idem pour
a@b:~$ iwconfig
enp1s0 no wireless extensions.
lo no wireless extensions.
a@b:~$
Idem pour
a@b:~$ sudo iwlist scan
[sudo] Mot de passe de a :
enp1s0 Interface doesn't support scanning.
lo Interface doesn't support scanning.
a@b:~$
Notons que sudo est inutile
a@b:~$ iwlist scan
enp1s0 Interface doesn't support scanning.
lo Interface doesn't support scanning.
a@b:~$
Mais c'est normal pour
a@b:~$ cat /etc/network/interfaces
cat: /etc/network/interfaces: Aucun fichier ou dossier de ce type
a@b:~$
et pour
$ nmcli dev wifi
a@b:~$