Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless connection is sporadically disconnected
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
samo
Guru
Guru


Joined: 13 Mar 2004
Posts: 436

PostPosted: Sat Aug 18, 2012 7:20 pm    Post subject: Reply with quote

I've replaced '-Dwext' by '-Dnl80211'. The connection is still disconnected:
Code:
RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING           
RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING           
nl80211: Event message available
nl80211: MLME event 39
nl80211: MLME event frame - hexdump(len=26): c0 00 00 00 00 1c 4a 4f 9e f9 00 1c 4a fa 00 d5 00 1c 4a 4f 9e f9 00 00 03 00
Deauthentication notification
Setting scan request: 0 sec 100000 usec
Added BSSID 00:1c:4a:4f:9e:f9 into blacklist
CTRL-EVENT-DISCONNECTED bssid=00:1c:4a:4f:9e:f9 reason=3
CTRL_IFACE monitor send - hexdump(len=21): 2f 74 6d 70 2f 77 70 61 5f 63 74 72 6c 5f 35 37 33 37 2d 31 00
Disconnect event - remove keys
wpa_driver_nl80211_set_key: ifindex=0 alg=0 addr=0x80a8485 key_idx=0 set_tx=0 seq_len=0 key_len=0
nl80211: set_key failed; err=-19 No such device)
wpa_driver_nl80211_set_key: ifindex=0 alg=0 addr=0x80a8485 key_idx=1 set_tx=0 seq_len=0 key_len=0
nl80211: set_key failed; err=-19 No such device)
wpa_driver_nl80211_set_key: ifindex=0 alg=0 addr=0x80a8485 key_idx=2 set_tx=0 seq_len=0 key_len=0
nl80211: set_key failed; err=-19 No such device)
wpa_driver_nl80211_set_key: ifindex=0 alg=0 addr=0x80a8485 key_idx=3 set_tx=0 seq_len=0 key_len=0
nl80211: set_key failed; err=-19 No such device)
wpa_driver_nl80211_set_key: ifindex=0 alg=0 addr=0x981f744 key_idx=0 set_tx=0 seq_len=0 key_len=0
   addr=00:1c:4a:4f:9e:f9
nl80211: set_key failed; err=-19 No such device)
State: COMPLETED -> DISCONNECTED
wpa_driver_nl80211_set_operstate: operstate 1->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_DELLINK, IFLA_IFNAME: Interface 'wlan0' removed
Configured interface was removed.
State: DISCONNECTED -> DISCONNECTED
wpa_driver_nl80211_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x1043 ([UP][RUNNING])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Configured interface was added.
Failed to initialize the driver after interface was added.
nl80211: Event message available
nl80211: Ignore disconnect event when using userspace SME
nl80211: Event message available
nl80211: Ignored unknown event (cmd=20)
State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=6):
     67 65 6e 74 6f 6f                                 gentoo         
Starting AP scan for wildcard SSID
nl80211: Scan SSID - hexdump_ascii(len=6):
     67 65 6e 74 6f 6f                                 gentoo         
nl80211: Scan SSID - hexdump_ascii(len=0): [NULL]
nl80211: Scan trigger failed: ret=-19 (No such device)
Failed to initiate AP scan.
State: SCANNING -> DISCONNECTED
wpa_driver_nl80211_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
Setting scan request: 1 sec 0 usec
nl80211: Ignore event for foreign ifindex 5
State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=6):
     67 65 6e 74 6f 6f                                 gentoo         
Starting AP scan for wildcard SSID
nl80211: Scan SSID - hexdump_ascii(len=6):
     67 65 6e 74 6f 6f                                 gentoo         
nl80211: Scan SSID - hexdump_ascii(len=0): [NULL]
nl80211: Scan trigger failed: ret=-19 (No such device)
Failed to initiate AP scan.
State: SCANNING -> DISCONNECTED
wpa_driver_nl80211_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
Setting scan request: 1 sec 0 usec
State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=6):
     67 65 6e 74 6f 6f                                 gentoo         
Starting AP scan for wildcard SSID
nl80211: Scan SSID - hexdump_ascii(len=6):
     67 65 6e 74 6f 6f                                 gentoo         
nl80211: Scan SSID - hexdump_ascii(len=0): [NULL]
nl80211: Scan trigger failed: ret=-19 (No such device)
Failed to initiate AP scan.
State: SCANNING -> DISCONNECTED
wpa_driver_nl80211_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
Setting scan request: 1 sec 0 usec
State: DISCONNECTED -> SCANNING

Next I modify my /etc/conf.d/net at suggested.
Back to top
View user's profile Send private message
samo
Guru
Guru


Joined: 13 Mar 2004
Posts: 436

PostPosted: Sat Aug 18, 2012 7:33 pm    Post subject: Reply with quote

Adding 'rate_wlan0="5.5M auto"' to /etc/conf.d/net doesn't help.
Back to top
View user's profile Send private message
khayyam
Veteran
Veteran


Joined: 07 Jun 2012
Posts: 1307

PostPosted: Sat Aug 18, 2012 9:23 pm    Post subject: Reply with quote

samo wrote:
I've replaced '-Dwext' by '-Dnl80211'. The connection is still disconnected:

samo ... the question was "[d]oes the log still show 'Driver did not support SIOCSIWENCODEEXT'" ... searching a little shows that some configurations are using nl80211 with carl9170 (though not necessarily your specific card), and we know that WEXT shows some errors, and now that nl80211 doesn't even find the device.

best ... khay
Back to top
View user's profile Send private message
khayyam
Veteran
Veteran


Joined: 07 Jun 2012
Posts: 1307

PostPosted: Sat Aug 18, 2012 9:27 pm    Post subject: Reply with quote

samo wrote:
Adding 'rate_wlan0="5.5M auto"' to /etc/conf.d/net doesn't help.

samo ... yes, we know that as we've already tried lowering manually this via iwconfig, as I said "I thought it worth mentioning" for completeness sake.

best ... khay
Back to top
View user's profile Send private message
samo
Guru
Guru


Joined: 13 Mar 2004
Posts: 436

PostPosted: Sat Aug 18, 2012 9:32 pm    Post subject: Reply with quote

The log file doesn't show the message 'Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE' any more.
Back to top
View user's profile Send private message
grumblebear
n00b
n00b


Joined: 26 Feb 2008
Posts: 27

PostPosted: Wed Aug 22, 2012 8:27 pm    Post subject: Reply with quote

From your .config:
Code:
CONFIG_CFG80211_DEFAULT_PS=y

I would try and disable powersave. Just a slight chance, but...
Back to top
View user's profile Send private message
samo
Guru
Guru


Joined: 13 Mar 2004
Posts: 436

PostPosted: Thu Aug 23, 2012 7:48 pm    Post subject: Reply with quote

Deactivating CONFIG_CFG80211_DEFAULT_PS doesn't help. I get same debug output.

Next I will try same kernel config with '-Dwext'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum