Bonsoir,
Je rencontre la difficulté suivante avec Ubuntu :
impossible de me connecter à ma box Wifi (Alice Box équivalente à une Free Box Cristal).
Mon Toshiba Satellite C650-17N tourne actuellement sous Windows 10, et se connecte sans problème à la ma box. D'après un utilitaire Windows, la carte intégré Wifi est une Atheros AR9285.
Je teste Ubuntu sur une clé USB avec un fichier d'échange de 4 Gb. Je souhaite valider que tout fonctionne avant d'installer Ubuntu définitivement sur mon Toshiba.
Quand je boote avec ubuntu sur une clé USB, j'ai les symptômes suivants :
- les réseaux WIFI sont tous détectés (ma box et celle des voisins).
- quand j'essaye de me connecter à ma box, la clé est refusée. J'ai vérifié qu'il s'agissait du bon mot de passe (clavier français, copier / coller à partir de LibreOffice)
- chose agaçante, je me connecte de mon Toshiba sur mon mobile en hotspot WIFI !
Après avoir pas mal cherché sur les forums, voici quelques éléments matériels
ubuntu@ubuntu:~$ nmcli dev wifi
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
FreeWifi_secure Infra 11 270 Mo/s 95 ▂▄▆█ WPA1 802.1X
FreeWifi Infra 11 270 Mo/s 95 ▂▄▆█ --
MonAliceBox Infra 11 270 Mo/s 92 ▂▄▆█ WPA1
* AndroidAP Infra 6 65 Mo/s 83 ▂▄▆█ WPA2
Sinon, voici mon fameux wificheck.log
>> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"
>> lsusb
Bus 002 Device 003: ID 0781:5567 SanDisk Corp. Cruzer Blade
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 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 001 Device 002: ID 10f1:1a2a Importek Laptop Integrated Webcam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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
>> lspci -k -nn | grep -A 3 -i net
02:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8152 v1.1 Fast Ethernet [1969:2060] (rev c1)
Subsystem: Toshiba America Info Systems AR8152 v1.1 Fast Ethernet [1179:ff1e]
Kernel driver in use: atl1c
Kernel modules: atl1c
03:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
Subsystem: Lite-On Communications Inc AR9285 Wireless Network Adapter (PCI-Express) [11ad:6611]
Kernel driver in use: ath9k
Kernel modules: ath9k
>> sudo lshw -C network
*-network
description: Ethernet interface
produit: AR8152 v1.1 Fast Ethernet
fabriquant: Qualcomm Atheros
identifiant matériel: 0
information bus: pci@0000:02:00.0
nom logique: enp2s0
version: c1
numéro de série: 00:26:6c:73:dc:72
capacité: 100Mbit/s
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=atl1c driverversion=1.0.1.1-NAPI latency=0 link=no multicast=yes port=twisted pair
ressources: irq:26 mémoire:d5600000-d563ffff portE/S:3000(taille=128)
*-network
description: Interface réseau sans fil
produit: AR9285 Wireless Network Adapter (PCI-Express)
fabriquant: Qualcomm Atheros
identifiant matériel: 0
information bus: pci@0000:03:00.0
nom logique: wlp3s0
version: 01
numéro de série: 70:f1:a1:f2:c2:64
bits: 64 bits
horloge: 33MHz
fonctionnalités: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=4.18.0-15-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
ressources: irq:17 mémoire:d4500000-d450ffff
>> lsmod
Module Size Used by
arc4 16384 2
ath9k 151552 0
ath9k_common 36864 1 ath9k
ath9k_hw 475136 2 ath9k_common,ath9k
ath 32768 3 ath9k_common,ath9k,ath9k_hw
mac80211 802816 1 ath9k
uvcvideo 94208 0
videobuf2_vmalloc 16384 1 uvcvideo
gpio_ich 16384 0
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 24576 1 uvcvideo
snd_hda_codec_conexant 24576 1
videobuf2_common 40960 2 videobuf2_v4l2,uvcvideo
snd_hda_codec_generic 73728 1 snd_hda_codec_conexant
snd_hda_intel 40960 3
videodev 188416 3 videobuf2_v4l2,uvcvideo,videobuf2_common
cfg80211 667648 4 ath9k_common,ath9k,ath,mac80211
snd_hda_codec 126976 3 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_intel
media 40960 2 videodev,uvcvideo
coretemp 16384 0
snd_hda_core 81920 4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec
toshiba_acpi 45056 0
input_leds 16384 0
joydev 24576 0
snd_hwdep 20480 1 snd_hda_codec
sparse_keymap 16384 1 toshiba_acpi
snd_pcm 98304 3 snd_hda_intel,snd_hda_codec,snd_hda_core
serio_raw 16384 0
lpc_ich 24576 0
industrialio 69632 1 toshiba_acpi
snd_seq_midi 16384 0
wmi 24576 1 toshiba_acpi
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 32768 1 snd_seq_midi
snd_seq 65536 2 snd_seq_midi,snd_seq_midi_event
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer 32768 2 snd_seq,snd_pcm
snd 81920 16 snd_hda_codec_generic,snd_seq,snd_hda_codec_conexant,snd_seq_device,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
mac_hid 16384 0
soundcore 16384 1 snd
sch_fq_codel 20480 2
parport_pc 36864 0
ppdev 20480 0
lp 20480 0
parport 49152 3 parport_pc,lp,ppdev
ip_tables 28672 0
x_tables 40960 1 ip_tables
autofs4 40960 2
overlay 94208 1
nls_iso8859_1 16384 1
dm_mirror 24576 0
dm_region_hash 20480 1 dm_mirror
dm_log 20480 2 dm_region_hash,dm_mirror
uas 24576 0
usb_storage 69632 2 uas
hid_generic 16384 0
usbhid 49152 0
hid 122880 2 usbhid,hid_generic
i915 1740800 11
psmouse 151552 0
ahci 40960 1
atl1c 49152 0
i2c_algo_bit 16384 1 i915
libahci 32768 1 ahci
drm_kms_helper 172032 1 i915
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
video 45056 2 toshiba_acpi,i915
drm 458752 5 drm_kms_helper,i915
>> iwconfig
wlp3s0 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
Encryption key:off
Power Management:off
>> ifconfig -a
>> sudo iwlist scan // J'enlève les cellules des voisins ...
wlp3s0 Scan completed :
Cell 01 - Address: 30:7E:CB:41:3E:44
Cell 02 - Address: 12:5A:9B:F7:D8:56
Cell 03 - Address: 40:5A:9B:F7:D8:56
Cell 04 - Address: 14:0C:76:96:C4:18
Cell 05 - Address: 0E:78:2C:A1:45:5C
Cell 05 - Address: 0E:78:2C:A1:45:5C
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=70/70 Signal level=-39 dBm
Encryption key:on
ESSID:"MonAliceBox"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=000000a0bd9abcac
Extra: Last beacon: 156ms ago
IE: Unknown: 000A4D6F6E313135414D6F69
IE: Unknown: 010882848B961224486C
IE: Unknown: 03010B
IE: Unknown: 2A0104
IE: Unknown: 32040C183060
IE: Unknown: 2D1A6E1017FFFF000001000000000000000000000000000000000000
IE: Unknown: 3D160B000500000000000000000000000000000000000000
IE: Unknown: 3E0100
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : TKIP CCMP
Authentication Suites (1) : PSK
IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
IE: Unknown: 7F0101
IE: Unknown: DD07000C4300000000
IE: Unknown: DD1E00904C336E1017FFFF000001000000000000000000000000000000000000
IE: Unknown: DD1A00904C340B000500000000000000000000000000000000000000
Cell 06 - Address: 0E:78:2C:A1:45:5D
Cell 07 - Address: 0E:78:2C:A1:45:5E
Cell 08 - Address: B8:D9:4D:CD:EF:50
Cell 09 - Address: 78:94:B4:DF:B8:7F
Cell 10 - Address: 78:94:B4:DF:B8:7E
Cell 11 - Address: A2:7E:CB:41:3E:45
Cell 12 - Address: F4:CA:E5:CB:BA:BE
Cell 13 - Address: 14:0C:76:96:C4:17
Cell 14 - Address: F4:CA:E5:E5:59:F4
Cell 15 - Address: 64:7C:34:71:18:9C
Cell 16 - Address: 24:7F:20:AB:5E:3E
Cell 17 - Address: 34:6B:46:63:55:84
Cell 18 - Address: E0:CA:94:AC:41:56
Cell 19 - Address: 1E:5F:2F:CE:D9:A2
Cell 20 - Address: 1E:5F:2F:CE:D9:A3
Cell 21 - Address: E4:9E:12:A7:97:39
Cell 22 - Address: E4:9E:12:0F:A1:DD
Cell 23 - Address: E4:9E:12:0F:A1:DE
Cell 24 - Address: 7A:A1:D7:44:67:E5
Cell 25 - Address: 7A:A1:D7:44:67:E7
Cell 26 - Address: F4:CA:E5:FB:53:9A
Cell 27 - Address: 68:A3:78:10:8F:85
Cell 28 - Address: 14:0C:76:7C:FB:87
Cell 29 - Address: 68:A3:78:17:ED:8F
Cell 30 - Address: F4:CA:E5:CB:BA:BC
Cell 31 - Address: 68:A3:78:17:ED:8D
Cell 32 - Address: 14:0C:76:96:C4:16
Cell 33 - Address: F4:CA:E5:E5:59:F6
Cell 34 - Address: E4:9E:12:13:2D:95
Cell 35 - Address: 0E:73:01:DA:0B:C4
Cell 36 - Address: 0E:73:01:DA:0B:C6
Cell 37 - Address: 68:A3:78:1F:35:FE
Cell 38 - Address: E4:9E:12:0C:44:0D
Cell 39 - Address: F4:CA:E5:CC:05:EC
Cell 40 - Address: 0E:73:01:DA:0B:C5
Cell 41 - Address: 00:24:D4:63:64:06
Cell 42 - Address: 00:24:D4:63:64:04
>> uname -r -m
4.18.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 // Je ne mets pas, si besoin, je rajouterai ?
>> nmcli connection list (< 15.04) ou nmcli connection show (>= 15.04)
NAME UUID TYPE DEVICE
MonAliceBox c6392f6d-c802-4a82-a646-1fd63db53576 wifi --
Wired connection 1 7118c71a-5976-3a3b-8ca6-3e66cce6a8f1 ethernet --
>> nmcli connection status
>> sudo rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Ce ne serait pas une histoire de WPA1 / WPA2 ?
Mes questions seraient alors :
- quelle commande dois-je rajouter et dans quel fichier afin que quand je boote sur ma clé USB, ubuntu se connecte automatiquement à ma Box ?
- est-il plus secure de basculer ma Box en WPA2 ?
Je remercie par avance ce forum de sa sagacité.
Brok