Salut la compagnie,
La carte wifi de mon pc portable semble réticente à l'idée de se connecter à un esp8266 (Amica).
Ma distri est la suivante : debian 9.6 xfce 4.12, et tout est à jour !
Malgré le bon mot de passe, impossible de se connecter. Un ami à moi y parvient sans soucis...
Le pire, c'est que j'arrivais à me connecter à l'ESP sur windows que j'avais avant en dual boot.
J'ai cherché un peu partout, je viens vers vous au cas où l'un(e) de vous aurait déjà eu le problème.
Pour vous aider à cerner le hic, j'ai ceci :
ifconfig
wlp16s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.10.130 netmask 255.255.255.0 broadcast 192.168.10.255
inet6 fe80::21f:3bff:fe58:c959 prefixlen 64 scopeid 0x20<link>
ether 00:1f:3b:58:c9:59 txqueuelen 1000 (Ethernet)
RX packets 29981 bytes 22838793 (21.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 28764 bytes 4824620 (4.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
iwlist wlp16s0
wlp16s0 Scan completed :
Cell 02 - Address: 82:7D:3A:69:1F:AB
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=66/70 Signal level=-44 dBm
Encryption key:on
ESSID:"MicroPython-691fab"
Bit Rates:5.5 Mb/s; 11 Mb/s; 1 Mb/s; 2 Mb/s; 6 Mb/s
12 Mb/s; 24 Mb/s; 48 Mb/s
Bit Rates:54 Mb/s; 9 Mb/s; 18 Mb/s; 36 Mb/s
Mode:Master
Extra:tsf=0000000e72e62769
Extra: Last beacon: 3884ms ago
IE: Unknown: 00124D6963726F507974686F6E2D363931666162
IE: Unknown: 01088B9682840C183060
IE: Unknown: 030101
IE: Unknown: 32046C122448
IE: Unknown: DD0918FE34030100000000
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
nano /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
Voilà quelques infos sur la carte wifi :
nmcli -p -f general,wifi-properties device show wlp16s0
===============================================================================
Détails de périphérique (wlp16s0)
===============================================================================
GENERAL.PÉRIPHÉRIQUE: wlp16s0
GENERAL.TYPE: wifi
GENERAL.NM-TYPE: NMDeviceWifi
GENERAL.FOURNISSEUR: Intel Corporation
GENERAL.PRODUIT: PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (PRO/Wireless 4965 AG or AGN)
GENERAL.PILOTE: iwl4965
GENERAL.PILOTE-VERSION: 4.9.0-8-amd64
GENERAL.MICROLOGICIEL-VERSION: 228.61.2.24
GENERAL.ADR.-MAT.: 00:1F:3B:58:C9:59
GENERAL.MTU: 0
GENERAL.ÉTAT: 100 (connecté)
GENERAL.RAISON: 0 (Aucun raison donnée)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1c.1/0000:10:00.0/net/wlp16s0
GENERAL.IP-IFACE: wlp16s0
GENERAL.IS-SOFTWARE: non
GENERAL.GÉRÉ-NM: oui
GENERAL.AUTOCONNECT: oui
GENERAL.MICROLOGICIEL-MANQUANT: non
GENERAL.NM-PLUGIN-MISSING: non
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNEXION: SFR-6E6578
GENERAL.CON-UUID: 170e1f7a-91f3-4152-a578-cbcf44b842b4
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/1
GENERAL.METERED: non (deviné)
-------------------------------------------------------------------------------
WIFI-PROPERTIES.WEP: oui
WIFI-PROPERTIES.WPA: oui
WIFI-PROPERTIES.WPA2: oui
WIFI-PROPERTIES.TKIP: oui
WIFI-PROPERTIES.CCMP: oui
WIFI-PROPERTIES.PA: non
WIFI-PROPERTIES.ADHOC: oui
WIFI-PROPERTIES.2GHZ: oui
WIFI-PROPERTIES.5GHZ: oui
# nmcli general permissions
PERMISSION VALEUR
org.freedesktop.NetworkManager.enable-disable-network oui
org.freedesktop.NetworkManager.enable-disable-wifi oui
org.freedesktop.NetworkManager.enable-disable-wwan oui
org.freedesktop.NetworkManager.enable-disable-wimax oui
org.freedesktop.NetworkManager.sleep-wake oui
org.freedesktop.NetworkManager.network-control oui
org.freedesktop.NetworkManager.wifi.share.protected oui
org.freedesktop.NetworkManager.wifi.share.open oui
org.freedesktop.NetworkManager.settings.modify.system oui
org.freedesktop.NetworkManager.settings.modify.own oui
org.freedesktop.NetworkManager.settings.modify.hostname oui
org.freedesktop.NetworkManager.settings.modify.global-dns oui
org.freedesktop.NetworkManager.reload oui
org.freedesktop.NetworkManager.checkpoint-rollback oui
org.freedesktop.NetworkManager.enable-disable-statistics oui
et un bout de dmesg : (9c:4f ...c'est ma box internet et 82:7d ... c'est l'esp8266)
wlp16s0: deauthenticating from 9c:4f:cf:6e:65:78 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1279.829301] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[ 1280.190964] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[ 1280.426288] e1000e: enp0s25 NIC Link is Down
[ 1280.928385] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready
[ 1281.288581] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[ 1283.472345] wlp16s0: authenticate with 82:7d:3a:69:1f:ab
[ 1283.481940] wlp16s0: send auth to 82:7d:3a:69:1f:ab (try 1/3)
[ 1283.483111] wlp16s0: authenticated
[ 1283.483133] iwl4965 0000:10:00.0 wlp16s0: disabling HT as WMM/QoS is not supported by the AP
[ 1283.483136] iwl4965 0000:10:00.0 wlp16s0: disabling VHT as WMM/QoS is not supported by the AP
[ 1283.484061] wlp16s0: associate with 82:7d:3a:69:1f:ab (try 1/3)
[ 1283.486340] wlp16s0: RX AssocResp from 82:7d:3a:69:1f:ab (capab=0x11 status=0 aid=1)
[ 1283.515575] wlp16s0: associated
[ 1293.516215] wlp16s0: deauthenticating from 82:7d:3a:69:1f:ab by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1295.837495] wlp16s0: authenticate with 82:7d:3a:69:1f:ab
[ 1295.837576] wlp16s0: send auth to 82:7d:3a:69:1f:ab (try 1/3)
[ 1295.839115] wlp16s0: authenticated
[ 1295.839163] iwl4965 0000:10:00.0 wlp16s0: disabling HT as WMM/QoS is not supported by the AP
[ 1295.839167] iwl4965 0000:10:00.0 wlp16s0: disabling VHT as WMM/QoS is not supported by the AP
[ 1295.840393] wlp16s0: associate with 82:7d:3a:69:1f:ab (try 1/3)
[ 1295.842620] wlp16s0: RX AssocResp from 82:7d:3a:69:1f:ab (capab=0x11 status=0 aid=1)
[ 1295.870501] wlp16s0: associated
[ 1305.871117] wlp16s0: deauthenticating from 82:7d:3a:69:1f:ab by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1315.258128] wlp16s0: authenticate with 82:7d:3a:69:1f:ab
[ 1315.258187] wlp16s0: send auth to 82:7d:3a:69:1f:ab (try 1/3)
[ 1315.259278] wlp16s0: authenticated
[ 1315.259299] iwl4965 0000:10:00.0 wlp16s0: disabling HT as WMM/QoS is not supported by the AP
[ 1315.259301] iwl4965 0000:10:00.0 wlp16s0: disabling VHT as WMM/QoS is not supported by the AP
[ 1315.260291] wlp16s0: associate with 82:7d:3a:69:1f:ab (try 1/3)
[ 1315.262505] wlp16s0: RX AssocResp from 82:7d:3a:69:1f:ab (capab=0x11 status=0 aid=1)
[ 1315.290430] wlp16s0: associated
[ 1319.071766] wlp16s0: deauthenticating from 82:7d:3a:69:1f:ab by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1319.375356] IPv6: ADDRCONF(NETDEV_UP): wlp16s0: link is not ready
[ 1319.455296] iwl4965 0000:10:00.0: Can't stop Rx DMA.
[ 1319.750290] e1000e: enp0s25 NIC Link is Down
[ 1320.256244] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready