You are not logged in.

#1 2017-10-16 08:17:10

SchimpansenMann
Member
Registered: 2014-05-14
Posts: 14

[Solved] Problems with wifi (Lenovo IdeaPad N581)

Hey,

for some time now (> 6 month), I have some significant trouble with my wifi and I'm not quite sure if the problems are hard- and/or software related. Before I buy a new wifi module ,I first want to rule out any (most) of the software related problems.

My wifi card shows up in the system and the driver seems to be loaded properly (see below). However most of the time, I can't find any networks (scan times out) even though there are multiple networks with strong signals around, or, if I am able to connect to a network (which is quite rare) the network connectivity is very bad or breaks up completely soon after the connection is established.

There is one thing that let me speculate that the problems might be hardware related. Sometimes it's only a matter of a few (centi)meters or degree that can decide if I can connect to a network or not (although the connections is not very good anyways).

Same data regarding my setup:

Laptop: Lenovo IdeaPad N581

> lspci -v
Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)                                                                                                            
        Subsystem: Lenovo AR9485 Wireless Network Adapter                                                                                                                                        
        Flags: bus master, fast devsel, latency 0, IRQ 17                                                                                                                                        
        Memory at e0400000 (64-bit, non-prefetchable) [size=512K]
        Expansion ROM at e0480000 [disabled] [size=64K]
        Capabilities: [40] Power Management version 2
        Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
        Kernel driver in use: ath9k
> iwconfig
wlp2s0    IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
> ip link
4: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/ether 24:fd:52:60:02:ed brd ff:ff:ff:ff:ff:ff
> dmesg | grep ath
[   15.364606] ath: phy0: Set BT/WLAN RX diversity capability
[   15.372169] ath: phy0: ASPM enabled: 0x42
[   15.372170] ath: EEPROM regdomain: 0x65
[   15.372170] ath: EEPROM indicates we should expect a direct regpair map
[   15.372172] ath: Country alpha2 being used: 00
[   15.372172] ath: Regpair used: 0x65
[   20.715001] ath9k 0000:02:00.0 wlp2s0: renamed from wlan0
[   21.891006] usbcore: registered new interface driver ath3k
[ 1563.841669] ath: EEPROM regdomain: 0x8114
[ 1563.841671] ath: EEPROM indicates we should expect a country code
[ 1563.841672] ath: doing EEPROM country->regdmn map search
[ 1563.841673] ath: country maps to regdmn code: 0x37
[ 1563.841674] ath: Country alpha2 being used: DE
[ 1563.841674] ath: Regpair used: 0x37
[ 1563.841675] ath: regdomain 0x8114 dynamically updated by country I
> wpa_supplicant -i wlp2s0 -c /etc/wpa_supplicant/eduroam.conf -d 
wpa_supplicant v2.6                                                                                                                                                                     [176/1744]
Successfully initialized wpa_supplicant                                                     
Initializing interface 'wlp2s0' conf '/etc/wpa_supplicant/eduroam.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/eduroam.conf' -> '/etc/wpa_supplicant/eduroam.conf'
Reading configuration file '/etc/wpa_supplicant/eduroam.conf'                              
ctrl_interface='/run/wpa_supplicant'                             
ctrl_interface_group='wheel'                           
update_config=1                                 
ap_scan=1                                                     
Priority group 0                                                                                 
   id=0 ssid='eduroam'                                        
nl80211: TDLS supported                         
nl80211: TDLS external setup                                                                     
nl80211: Supported cipher 00-0f-ac:1                    
nl80211: Supported cipher 00-0f-ac:5            
nl80211: Supported cipher 00-0f-ac:2                                                                  
nl80211: Supported cipher 00-0f-ac:4                                                                  
nl80211: Supported cipher 00-0f-ac:10                                                                 
nl80211: Supported cipher 00-0f-ac:8                                                                  
nl80211: Supported cipher 00-0f-ac:9                                                                  
nl80211: Supported cipher 00-0f-ac:6                                                                  
nl80211: Supported cipher 00-0f-ac:13                                                            
nl80211: Supported cipher 00-0f-ac:11           
nl80211: Supported cipher 00-0f-ac:12                                                            
nl80211: Using driver-based off-channel TX      
nl80211: Driver-advertised extended capabilities (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: Driver-advertised extended capabilities mask (default) - hexdump(len=8): 00 00 00 00 00 00 00 40
nl80211: Use separate P2P group interface (driver advertised support)                            
nl80211: interface wlp2s0 in phy phy0                   
nl80211: Set mode ifindex 4 iftype 2 (STATION)         
nl80211: Subscribe to mgmt frames with non-AP handle 0x560c3e54fc30
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=0104
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=040a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=040b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=040c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=040d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=090a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=090b
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=090c
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=090d
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=0409506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=7f506f9a09
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=0801
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=040e
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=06
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=0a07
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=0a11
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=0a1a
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=1101
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=1102
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=0505
nl80211: Register frame type=0xd0 (WLAN_FC_STYPE_ACTION) nl_handle=0x560c3e54fc30 match=0500                                                                                            [125/1744]
rfkill: initial event: idx=2 type=1 op=0 soft=0 hard=0
netlink: Operstate: ifindex=4 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlp2s0 to a new radio phy0
nl80211: Regulatory information - country=DE (DFS-ETSI)
nl80211: 2400-2483 @ 40 MHz 20 mBm
nl80211: 5150-5250 @ 80 MHz 20 mBm (no outdoor)
nl80211: 5250-5350 @ 80 MHz 20 mBm (no outdoor) (DFS)
nl80211: 5470-5725 @ 160 MHz 26 mBm (DFS)
nl80211: 5725-5875 @ 80 MHz 13 mBm
nl80211: 57000-66000 @ 2160 MHz 40 mBm
nl80211: Added 802.11b mode based on 802.11g information
wlp2s0: Own MAC address: 24:fd:52:60:02:ed
wpa_driver_nl80211_set_key: ifindex=4 (wlp2s0) alg=0 addr=(nil) key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 (wlp2s0) alg=0 addr=(nil) key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 (wlp2s0) alg=0 addr=(nil) key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 (wlp2s0) alg=0 addr=(nil) key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 (wlp2s0) alg=0 addr=(nil) key_idx=4 set_tx=0 seq_len=0 key_len=0
wpa_driver_nl80211_set_key: ifindex=4 (wlp2s0) alg=0 addr=(nil) key_idx=5 set_tx=0 seq_len=0 key_len=0
wlp2s0: RSN: flushing PMKID list in the driver
nl80211: Flush PMKIDs
wlp2s0: Setting scan request: 0.100000 sec
TDLS: TDLS operation supported by driver
TDLS: Driver uses external link setup
TDLS: Driver does not support TDLS channel switching
wlp2s0: WPS: UUID based on MAC address: 28f1e9ea-dc0c-5e65-ac72-b9d74c3fa12e
ENGINE: Loading dynamic engine
ENGINE: Loading dynamic engine
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
nl80211: Skip set_supp_port(unauthorized) while not associated
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
ctrl_interface_group=10 (from group name 'wheel')
P2P: Add operating class 81
P2P: Channels - hexdump(len=11): 01 02 03 04 05 06 07 08 09 0a 0b
P2P: Own listen channel: 81:6
P2P: Random operating channel: 81:11
P2P: initialized
P2P: channels: 81:1,2,3,4,5,6,7,8,9,10,11
P2P: cli_channels:
wlp2s0: Added interface wlp2s0
wlp2s0: State: DISCONNECTED -> DISCONNECTED
nl80211: Set wlp2s0 operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=4 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
RTM_NEWLINK: ifi_index=4 ifname=wlp2s0 operstate=2 linkmode=0 ifi_family=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK: ifi_index=4 ifname=wlp2s0 operstate=2 linkmode=1 ifi_family=0 ifi_flags=0x1003 ([UP])
wlp2s0: State: DISCONNECTED -> SCANNING
wlp2s0: Determining shared radio frequencies (max len 1)
wlp2s0: Shared frequencies (len=0): completed iteration
P2P: Add operating class 81                                                                                                                                                              [74/1744]
P2P: Channels - hexdump(len=11): 01 02 03 04 05 06 07 08 09 0a 0b
P2P: Update channel list
P2P: channels: 81:1,2,3,4,5,6,7,8,9,10,11
P2P: cli_channels:
Scan SSID - hexdump_ascii(len=7):
     65 64 75 72 6f 61 6d                              eduroam
wlp2s0: Starting AP scan for wildcard SSID
WPS: Building WPS IE for Probe Request
WPS:  * Version (hardcoded 0x10)
WPS:  * Request Type
WPS:  * Config Methods (3148)
WPS:  * UUID-E
WPS:  * Primary Device Type
WPS:  * RF Bands (1)
WPS:  * Association State
WPS:  * Configuration Error (0)
WPS:  * Device Password ID (0)
WPS:  * Manufacturer
WPS:  * Model Name
WPS:  * Model Number
WPS:  * Device Name
WPS:  * Version2 (0x20)
P2P: * P2P IE header
P2P: * Capability dev=25 group=00
P2P: * Listen Channel: Regulatory Class 81 Channel 6
wlp2s0: Add radio work 'scan'@0x560c3e575fe0
wlp2s0: First radio work item in the queue - schedule start immediately
wlp2s0: Starting radio work 'scan'@0x560c3e575fe0 after 0.000020 second wait
wlp2s0: nl80211: scan request
Scan requested (ret=0) - scan timeout 10 seconds
nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlp2s0
wlp2s0: nl80211: Scan trigger
wlp2s0: Event SCAN_STARTED (47) received
wlp2s0: Own scan request started a scan in 0.000084 seconds
EAPOL: disable timer tick
RTM_NEWLINK: ifi_index=4 ifname=wlp2s0 wext ifi_family=0 ifi_flags=0x1003 ([UP])
nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlp2s0
wlp2s0: nl80211: New scan results available
nl80211: Scan probed for SSID 'eduroam'
nl80211: Scan probed for SSID ''
nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472
wlp2s0: Event SCAN_RESULTS (3) received
wlp2s0: Scan completed in 0.967140 seconds
nl80211: Received scan results (0 BSSes)
wlp2s0: BSS: Start scan result update 1
BSS: last_scan_res_used=0/0
wlp2s0: New scan results available (own=1 ext=0)
wlp2s0: Radio work 'scan'@0x560c3e575fe0 done in 0.980217 seconds
wlp2s0: radio_work_free('scan'@0x560c3e575fe0: num_active_works --> 0
wlp2s0: No suitable network found

[...]

Any suggestions?

[Edit]

Finally, I opened my laptop and apparently one of the wires connecting my wifi-module and the antenna was broken. After fixing it, everything seems to work smoothly again smile.

[/Edit]

Kind regards,

SchimpansenMann

Last edited by SchimpansenMann (2017-10-20 12:53:50)

Offline

Board footer

Powered by FluxBB