Le script vu ici
https://ubuntuforums.org/showthread.php?t=2224209&p=13024222#post13024222 donne davantage d'infos, notamment les options des modules :
########## wireless info START ##########
last: /var/log/wtmp: No such file or directory
Perhaps this file was removed by the operator to prevent logging last info.
Report from: 23 Mar 2017 12:29 CET +0100
Booted last: 23 Mar 2017 00:00 CET +0100
Script from: 08 Jul 2016 02:16 UTC +0000
##### release ###########################
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
##### kernel ############################
Linux 4.4.0-67-generic #88~14.04.1-Ubuntu SMP Thu Mar 9 15:30:23 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=7
##### desktop ###########################
Ubuntu
##### lspci #############################
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 11)
Subsystem: ASUSTeK Computer Inc. Device [1043:859e]
Kernel driver in use: r8169
06:00.0 Network controller [0280]: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) [168c:002e] (rev 01)
Subsystem: Qualcomm Atheros Device [168c:30a4]
Kernel driver in use: ath9k
##### lsusb #############################
Bus 002 Device 002: ID 8087:8000 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0bda:0158 Realtek Semiconductor Corp. USB 2.0 multicard reader
Bus 001 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 8087:8008 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA card info ##################
##### rfkill ############################
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
##### lsmod #############################
ath9k 143360 0
eeepc_wmi 16384 0
asus_wmi 28672 1 eeepc_wmi
sparse_keymap 16384 1 asus_wmi
ath9k_common 36864 1 ath9k
ath9k_hw 466944 2 ath9k_common,ath9k
ath 32768 3 ath9k_common,ath9k,ath9k_hw
mac80211 733184 1 ath9k
cfg80211 561152 4 ath,ath9k_common,ath9k,mac80211
mxm_wmi 16384 0
video 40960 2 i915,asus_wmi
wmi 20480 2 mxm_wmi,asus_wmi
##### interfaces ########################
auto lo
iface lo inet loopback
##### ifconfig ##########################
eth0 Link encap:Ethernet HWaddr <MAC 'eth0' [IF1]>
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::<IP6 'eth0' [IF1]>/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2367 errors:0 dropped:15 overruns:0 frame:0
TX packets:2243 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1694188 (1.6 MB) TX bytes:288060 (288.0 KB)
wlan2 Link encap:Ethernet HWaddr <MAC 'wlan2' [IF2]>
inet addr:192.168.1.53 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::<IP6 'wlan2' [IF2]>/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:93 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4093 (4.0 KB) TX bytes:22871 (22.8 KB)
##### iwconfig ##########################
lo no wireless extensions.
eth0 no wireless extensions.
wlan2 IEEE 802.11bgn ESSID:"Coeur-Noir"
Mode:Managed Frequency:2.412 GHz Access Point: <MAC 'Coeur-Noir' [AC3]>
Bit Rate=6 Mb/s Tx-Power=16 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=25/70 Signal level=-85 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:2 Invalid misc:21 Missed beacon:0
##### route #############################
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan2
##### resolv.conf #######################
nameserver 127.0.1.1
search lan
##### network managers ##################
Installed:
NetworkManager
Running:
root 980 1 0 12:18 ? 00:00:00 NetworkManager
##### NetworkManager info ###############
NetworkManager Tool
State: connected (global)
- Device: wlan2 [Coeur-Noir] --------------------------------------------------
Type: 802.11 WiFi
Driver: ath9k
State: connected
Default: no
HW Address: <MAC 'wlan2' [IF2]>
Capabilities:
Speed: 6 Mb/s
Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes
Wireless Access Points (* = current AP)
Bbox-F8CA7EBC: Infra, <MAC 'Bbox-F8CA7EBC' [AC2]>, Freq 2437 MHz, Rate 54 Mb/s, Strength 27 WPA WPA2
Bouygues Telecom Wi-Fi: Infra, <MAC 'Bouygues Telecom Wi-Fi' [AC1]>, Freq 2412 MHz, Rate 54 Mb/s, Strength 25
*Coeur-Noir: Infra, <MAC 'Coeur-Noir' [AC3]>, Freq 2412 MHz, Rate 54 Mb/s, Strength 36 WPA
IPv4 Settings:
Address: 192.168.1.53
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.254
DNS: 192.168.1.254
- Device: eth0 [Coeur Noir [eth]] ---------------------------------------------
Type: Wired
Driver: r8169
State: connected
Default: yes
HW Address: <MAC 'eth0' [IF1]>
Capabilities:
Carrier Detect: yes
Speed: 100 Mb/s
Wired Properties
Carrier: on
IPv4 Settings:
Address: 192.168.1.100
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.254
DNS: 64.6.64.6
DNS: 64.6.65.6
DNS: 37.235.1.174
DNS: 37.235.1.177
DNS: 80.67.169.12
DNS: 80.67.169.40
##### NetworkManager.state ##############
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
##### NetworkManager.conf ###############
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
##### NetworkManager profiles ###########
[[/etc/NetworkManager/system-connections/Coeur-Noir]] (600 root)
[connection] id=Coeur-Noir | type=802-11-wireless
[802-11-wireless] ssid=Coeur-Noir | mac-address=<MAC 'wlan2' [IF2]>
[ipv4] method=auto
[ipv6] method=auto
##### iw reg get ########################
Region: Europe/Paris (based on set time zone)
country FR:
(2402 - 2482 @ 40), (N/A, 20)
(5170 - 5250 @ 40), (N/A, 20)
(5250 - 5330 @ 40), (N/A, 20), DFS
(5490 - 5710 @ 40), (N/A, 27), DFS
(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
##### iwlist channels ###################
lo no frequency information.
eth0 no frequency information.
wlan2 13 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Current Frequency:2.412 GHz (Channel 1)
##### iwlist scan #######################
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
Channel occupancy:
2 APs on Frequency:2.412 GHz (Channel 1)
1 APs on Frequency:2.437 GHz (Channel 6)
wlan2 Scan completed :
Cell 01 - Address: <MAC 'Bouygues Telecom Wi-Fi' [AC1]>
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=25/70 Signal level=-85 dBm
Encryption key:off
ESSID:"Bouygues Telecom Wi-Fi"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000e31a746e8
Extra: Last beacon: 52ms ago
Cell 02 - Address: <MAC 'Bbox-F8CA7EBC' [AC2]>
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=25/70 Signal level=-85 dBm
Encryption key:on
ESSID:"Bbox-F8CA7EBC"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=000000252836ef26
Extra: Last beacon: 52ms ago
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Cell 03 - Address: <MAC 'Coeur-Noir' [AC3]>
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=26/70 Signal level=-84 dBm
Encryption key:on
ESSID:"Coeur-Noir"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000000e31a8c631
Extra: Last beacon: 52ms ago
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
##### module infos ######################
[ath9k]
filename: /lib/modules/4.4.0-67-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
srcversion: 591F25EEE2294D51A1DE1FE
depends: mac80211,ath9k_hw,ath9k_common,cfg80211,ath
intree: Y
vermagic: 4.4.0-67-generic SMP mod_unload modversions
parm: debug:Debugging mask (uint)
parm: nohwcrypt:Disable hardware encryption (int)
parm: blink:Enable LED blink on activity (int)
parm: led_active_high:Invert LED polarity (int)
parm: btcoex_enable:Enable wifi-BT coexistence (int)
parm: bt_ant_diversity:Enable WLAN/BT RX antenna diversity (int)
parm: ps_enable:Enable WLAN PowerSave (int)
parm: use_chanctx:Enable channel context for concurrency (int)
[ath9k_common]
filename: /lib/modules/4.4.0-67-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
license: Dual BSD/GPL
description: Shared library for Atheros wireless 802.11n LAN cards.
author: Atheros Communications
srcversion: 6FBD9F8A613FDFA282AB4FE
depends: ath9k_hw,cfg80211,ath
intree: Y
vermagic: 4.4.0-67-generic SMP mod_unload modversions
[ath9k_hw]
filename: /lib/modules/4.4.0-67-generic/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
srcversion: FA7ECFBA5761A5B3ED96BB2
depends: ath
intree: Y
vermagic: 4.4.0-67-generic SMP mod_unload modversions
[ath]
filename: /lib/modules/4.4.0-67-generic/kernel/drivers/net/wireless/ath/ath.ko
license: Dual BSD/GPL
description: Shared library for Atheros wireless LAN cards.
author: Atheros Communications
srcversion: 3FCDBF7CE71CB8FB980D59D
depends: cfg80211
intree: Y
vermagic: 4.4.0-67-generic SMP mod_unload modversions
[mac80211]
filename: /lib/modules/4.4.0-67-generic/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
srcversion: 95AEC776A5F508489477F0E
depends: cfg80211
intree: Y
vermagic: 4.4.0-67-generic SMP mod_unload modversions
parm: minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)
[cfg80211]
filename: /lib/modules/4.4.0-67-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: A7DC879B6551813C20004F1
depends:
intree: Y
vermagic: 4.4.0-67-generic SMP mod_unload modversions
parm: bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int)
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)
##### module parameters #################
[ath9k]
blink: 0
bt_ant_diversity: 0
btcoex_enable: 0
led_active_high: -1
nohwcrypt: 0
ps_enable: 0
use_chanctx: 0
[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500
[cfg80211]
bss_entries_limit: 1000
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00
##### /etc/modules ######################
lp
rtc
##### modprobe options ##################
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en
[/etc/modprobe.d/qemu-system-x86.conf]
options kvm_intel nested=1
##### rc.local ##########################
rmmod ums_realtek
modprobe ums_realtek ss_en=0
exit 0
##### pm-utils ##########################
[/etc/pm/power.d/wireless] (755 root)
/sbin/iwconfig wlan0 power off
##### udev rules ########################
[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'eth0' [IF1]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x1814:0x0701 (rt2800pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
# USB device 0x:0x (rt2500usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC address>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"
# PCI device 0x168c:0x002e (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'wlan2' [IF2]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan2"
##### dmesg #############################
[ 637.817504] wlan2: authenticate with <MAC 'Coeur-Noir' [AC3]>
[ 637.841843] wlan2: send auth to <MAC 'Coeur-Noir' [AC3]> (try 1/3)
[ 637.846067] wlan2: authenticated
[ 637.849161] wlan2: associate with <MAC 'Coeur-Noir' [AC3]> (try 1/3)
[ 637.913115] wlan2: RX AssocResp from <MAC 'Coeur-Noir' [AC3]> (capab=0x411 status=0 aid=3)
[ 637.913205] wlan2: associated
[ 639.765456] wlan2: authenticate with <MAC 'Coeur-Noir' [AC3]>
[ 639.790027] wlan2: send auth to <MAC 'Coeur-Noir' [AC3]> (try 1/3)
[ 639.792661] wlan2: authenticated
[ 639.793027] wlan2: associate with <MAC 'Coeur-Noir' [AC3]> (try 1/3)
[ 639.866267] wlan2: RX AssocResp from <MAC 'Coeur-Noir' [AC3]> (capab=0x411 status=0 aid=3)
[ 639.866352] wlan2: associated
[ 645.777069] wlan2: authenticate with <MAC 'Coeur-Noir' [AC3]>
[ 645.801468] wlan2: send auth to <MAC 'Coeur-Noir' [AC3]> (try 1/3)
[ 645.804049] wlan2: authenticated
[ 645.804740] wlan2: associate with <MAC 'Coeur-Noir' [AC3]> (try 1/3)
[ 645.815375] wlan2: RX AssocResp from <MAC 'Coeur-Noir' [AC3]> (capab=0x411 status=0 aid=3)
[ 645.815456] wlan2: associated
[ 654.780520] wlan2: authenticate with <MAC 'Coeur-Noir' [AC3]>
[ 654.804966] wlan2: send auth to <MAC 'Coeur-Noir' [AC3]> (try 1/3)
[ 654.908164] wlan2: send auth to <MAC 'Coeur-Noir' [AC3]> (try 2/3)
[ 654.924075] wlan2: authenticated
[ 654.928161] wlan2: associate with <MAC 'Coeur-Noir' [AC3]> (try 1/3)
[ 654.985995] wlan2: RX AssocResp from <MAC 'Coeur-Noir' [AC3]> (capab=0x411 status=0 aid=3)
[ 654.986078] wlan2: associated
[ 663.675984] wlan2: authenticate with <MAC 'Coeur-Noir' [AC3]>
[ 663.700420] wlan2: send auth to <MAC 'Coeur-Noir' [AC3]> (try 1/3)
[ 663.711679] wlan2: authenticated
[ 663.715655] wlan2: associate with <MAC 'Coeur-Noir' [AC3]> (try 1/3)
[ 663.778757] wlan2: RX AssocResp from <MAC 'Coeur-Noir' [AC3]> (capab=0x411 status=0 aid=3)
[ 663.778840] wlan2: associated
########## wireless info END ############
Aujourd'hui ça connecte, puis déconnecte, puis reconnecte… demande pas systématiquement le mot de passe.
Avec retour aux paramètres par défaut.
Je penche donc pour un bête problème de réception du signal…