Bonjour,
je possède un ordinateur portable avec une carte wifi intégrée Intel Wireless 8260.
La trouvant un peu juste (perte régulière de connexion, pas de visibilité de réseau wifi) et les différentes recherches aboutissant à la conclusion que cette carte était un peu juste, j'ai acheté un un dongle USB WIFI Essential B N300 qui se trouve être un Realtek dongle RTL8811AU.
Je le connecte, l'installe comme indiquer sur la page
https://linux-note.com/ubuntu-18-installer-dongle-wi-fi-rtl8811au/
Ma problématique est que mon ordinateur continue de vouloir se connecter avec la carte wifi intégrée et non avec le dongle.
Comment choisir/ sélectionner le dongle wifi pour se connecter "par défaut"
A toute fin utile, je colle mon "wificheck"
>> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.04
DISTRIB_CODENAME=disco
DISTRIB_DESCRIPTION="Ubuntu 19.04"
>> lsusb
Bus 002 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2b Intel Corp.
Bus 001 Device 003: ID 0bda:58d1 Realtek Semiconductor Corp.
Bus 001 Device 005: ID 0bda:a811 Realtek Semiconductor Corp. RTL8811AU 802.11a/b/g/n/ac WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> lspci -k -nn | grep -A 3 -i net
02:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
Subsystem: Intel Corporation Wireless 8260 [8086:0110]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
>> sudo lshw -C network
*-network
description: Interface réseau sans fil
produit: Wireless 8260
fabriquant: Intel Corporation
identifiant matériel: 0
information bus: pci@0000:02:00.0
nom logique: wlp2s0
version: 3a
numéro de série: 34:f3:9a:29:d6:28
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.0.0-15-generic firmware=36.9f0a2d68.0 latency=0 link=no multicast=yes wireless=IEEE 802.11
ressources: irq:127 mémoire:ef000000-ef001fff
*-network
description: Ethernet interface
identifiant matériel: 1
nom logique: enx9cebe83f4081
numéro de série: 9c:eb:e8:3f:40:81
taille: 1Gbit/s
capacité: 1Gbit/s
fonctionnalités: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.09.9 duplex=full ip=192.168.1.51 link=yes multicast=yes port=MII speed=1Gbit/s
>> lsmod | sort
ac97_bus 16384 1 snd_soc_core
acpi_als 20480 0
acpi_pad 184320 0
acpi_thermal_rel 16384 1 int3400_thermal
aesni_intel 372736 2
aes_x86_64 20480 1 aesni_intel
ahci 40960 2
arc4 16384 2
asus_nb_wmi 28672 0
asus_wireless 20480 0
asus_wmi 28672 1 asus_nb_wmi
autofs4 45056 4
binfmt_misc 24576 1
bluetooth 557056 31 btrtl,btintel,btbcm,bnep,btusb,rfcomm
bnep 24576 2
btbcm 16384 1 btusb
btintel 24576 1 btusb
btrtl 20480 1 btusb
btusb 49152 0
cdc_ether 20480 0
cfg80211 671744 3 iwlmvm,iwlwifi,mac80211
cmac 16384 1
coretemp 20480 0
crc32_pclmul 16384 0
crct10dif_pclmul 16384 1
cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel
crypto_simd 16384 1 aesni_intel
drm 475136 5 drm_kms_helper,i915
drm_kms_helper 180224 1 i915
ecdh_generic 28672 2 bluetooth
fb_sys_fops 16384 1 drm_kms_helper
ghash_clmulni_intel 16384 0
glue_helper 16384 1 aesni_intel
hid 126976 3 i2c_hid,hid_multitouch,hid_generic
hid_generic 16384 0
hid_multitouch 24576 0
i2c_algo_bit 16384 1 i915
i2c_hid 28672 0
i2c_i801 32768 0
i915 1814528 11
idma64 20480 0
industrialio 73728 2 acpi_als,kfifo_buf
input_leds 16384 0
int3400_thermal 20480 0
int3403_thermal 16384 0
int340x_thermal_zone 16384 2 int3403_thermal,processor_thermal_device
intel_cstate 20480 0
intel_lpss 16384 1 intel_lpss_pci
intel_lpss_pci 20480 0
intel_pch_thermal 16384 0
intel_powerclamp 20480 0
intel_rapl 24576 0
intel_rapl_perf 16384 0
intel_soc_dts_iosf 20480 1 processor_thermal_device
intel_xhci_usb_role_switch 16384 0
ip_tables 28672 0
irqbypass 16384 1 kvm
iwlmvm 380928 0
iwlwifi 311296 1 iwlmvm
joydev 24576 0
kfifo_buf 16384 1 acpi_als
kvm 626688 2 kvmgt,kvm_intel
kvmgt 28672 0
kvm_intel 241664 0
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
libahci 32768 1 ahci
lp 20480 0
mac80211 806912 1 iwlmvm
mac_hid 16384 0
mdev 24576 2 kvmgt,vfio_mdev
media 53248 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
mei 102400 1 mei_me
mei_me 40960 0
mii 16384 2 usbnet,r8152
Module Size Used by
nls_iso8859_1 16384 1
parport 53248 3 parport_pc,lp,ppdev
parport_pc 40960 0
ppdev 24576 0
processor_thermal_device 16384 0
r8152 65536 0
rfcomm 77824 4
roles 16384 1 intel_xhci_usb_role_switch
sch_fq_codel 20480 6
serio_raw 20480 0
snd 81920 19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
snd_compress 24576 1 snd_soc_core
snd_hda_codec 131072 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_codec_generic 77824 1 snd_hda_codec_realtek
snd_hda_codec_hdmi 53248 1
snd_hda_codec_realtek 114688 1
snd_hda_core 86016 8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl
snd_hda_ext_core 28672 2 snd_soc_hdac_hda,snd_soc_skl
snd_hda_intel 40960 3
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 102400 8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_pcm_dmaengine 16384 1 snd_soc_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_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_soc_skl
snd_soc_acpi_intel_match 28672 1 snd_soc_skl
snd_soc_core 233472 2 snd_soc_hdac_hda,snd_soc_skl
snd_soc_hdac_hda 24576 1 snd_soc_skl
snd_soc_skl 106496 0
snd_soc_skl_ipc 65536 1 snd_soc_skl
snd_soc_sst_dsp 36864 1 snd_soc_skl_ipc
snd_soc_sst_ipc 20480 1 snd_soc_skl_ipc
snd_timer 36864 2 snd_seq,snd_pcm
soundcore 16384 1 snd
sparse_keymap 16384 1 asus_wmi
sunrpc 356352 1
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
usbnet 45056 1 cdc_ether
uvcvideo 98304 0
vfio 32768 3 kvmgt,vfio_mdev,vfio_iommu_type1
vfio_iommu_type1 28672 0
vfio_mdev 16384 0
video 45056 2 asus_wmi,i915
videobuf2_common 49152 2 videobuf2_v4l2,uvcvideo
videobuf2_memops 20480 1 videobuf2_vmalloc
videobuf2_v4l2 24576 1 uvcvideo
videobuf2_vmalloc 20480 1 uvcvideo
videodev 200704 3 videobuf2_v4l2,uvcvideo,videobuf2_common
virt_dma 20480 1 idma64
wmi 28672 2 asus_wmi,wmi_bmof
wmi_bmof 16384 0
x86_pkg_temp_thermal 20480 0
x_tables 40960 1 ip_tables
>> iwconfig
wlp2s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
>> ifconfig -a
enx9cebe83f4081: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.51 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 2a01:cb08:8aed:1b00:41d2:d6d2:a05e:e1c0 prefixlen 64 scopeid 0x0<global>
inet6 fe80::59e5:faf2:de0e:fdab prefixlen 64 scopeid 0x20<link>
inet6 2a01:cb08:8aed:1b00:2606:ae3f:e778:6d62 prefixlen 64 scopeid 0x0<global>
ether 9c:eb:e8:3f:40:81 txqueuelen 1000 (Ethernet)
RX packets 3249 bytes 3783849 (3.7 MB)
RX errors 0 dropped 12 overruns 0 frame 0
TX packets 1776 bytes 209658 (209.6 KB)
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<host>
loop txqueuelen 1000 (Boucle locale)
RX packets 1227 bytes 83075 (83.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1227 bytes 83075 (83.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp2s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 34:f3:9a:29:d6:28 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
>> sudo iwlist scan
wlp2s0 No scan results
>> uname -r -m
5.0.0-15-generic x86_64
>> cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
>> nm-tool
>> nmcli dev wifi
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
badenk Infra 13 130 Mo/s 29 ▂___ WPA2
>> nmcli connection list (< 15.04) ou nmcli connection show (>= 15.04)
NAME UUID TYPE DEVICE
[...]
>> nmcli connection status
>> sudo rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Merci de votre aide