Closed
Bug 956689
Opened 11 years ago
Closed 11 years ago
Wireless driver crash on Keon
Categories
(Firefox OS Graveyard :: General, defect)
Firefox OS Graveyard
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: madrid.crespo, Unassigned)
Details
Attachments
(1 file)
4.88 KB,
application/vnd.tcpdump.pcap
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/31.0.1650.63 Chrome/31.0.1650.63 Safari/537.36
Steps to reproduce:
I have added my WiFi network using wpa_cli. These are the steps:
add_network
set_network 0 ssid "MySSID"
set_network 0 psk "MyPSK"
enable_network 0
save_config
reconnect
Sometimes I do "set_network 0 bssid AA:AA:AA:AA:AA:AA" too.
Actual results:
The device cannot connect to the AP. I get this messages:
<3>Trying to associate with SSID 'MYSTERY'
<3>CTRL-EVENT-STATE-CHANGE id=-1 state=5 BSSID=00:00:00:00:00:00
<3>Authentication with 00:00:00:00:00:00 timed out.
<3>CTRL-EVENT-STATE-CHANGE id=0 state=0 BSSID=00:00:00:00:00:00
<3>CTRL-EVENT-ASSOC-REJECT status_code=1
<3>CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:00:00:00:00:00
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>Trying to associate with SSID 'MYSTERY'
<3>CTRL-EVENT-STATE-CHANGE id=-1 state=5 BSSID=00:00:00:00:00:00
<3>Authentication with 00:00:00:00:00:00 timed out.
<3>CTRL-EVENT-STATE-CHANGE id=0 state=0 BSSID=00:00:00:00:00:00
<3>CTRL-EVENT-ASSOC-REJECT status_code=1
<3>CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:00:00:00:00:00
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
Expected results:
I expected to connect the device.
Sometimes It gets fixed by powering off and removing the battery.
Maybe is this bug related?
https://code.google.com/p/android/issues/detail?id=61945
Reporter | ||
Comment 1•11 years ago
|
||
(In reply to CodingFree from comment #0)
> Sometimes I do "set_network 0 bssid AA:AA:AA:AA:AA:AA" too.
Where the MAC address is my AP bssid, of course.
Reporter | ||
Comment 2•11 years ago
|
||
Removed the battery, power on the phone and this time...
<3>Trying to associate with SSID 'MySSID'
<3>CTRL-EVENT-STATE-CHANGE id=-1 state=5 BSSID=00:00:00:00:00:00
<3>CTRL-EVENT-STATE-CHANGE id=0 state=6 BSSID=00:00:00:00:00:00
<3>Associated with 00:1a:2b:8f:c1:ff
<3>CTRL-EVENT-STATE-CHANGE id=0 state=7 BSSID=00:00:00:00:00:00
<3>CTRL-EVENT-STATE-CHANGE id=0 state=8 BSSID=00:00:00:00:00:00
<3>WPA: Key negotiation completed with 00:1a:2b:8f:c1:ff [PTK=CCMP GTK=CCMP]
<3>CTRL-EVENT-CONNECTED - Connection to 00:1a:2b:AA:AA:AA completed (auth) [id=0 id_str=]
Reporter | ||
Comment 3•11 years ago
|
||
And after some time, it become stop to working: It still was connected, but the connectivity didn't work.
My AP it's okay, I'm using it in some other 6 devices. I have tried to set a fixed DHCP, but It doesn't work neither.
Reporter | ||
Comment 4•11 years ago
|
||
This is a tcpdump log when trying to connect to my AP. I am able to connect, but the connectivity is not working anyways.
Could you also do an :
adb shell netcfg
please?
Flags: needinfo?(madrid.crespo)
Also does the connection point require a web portal to log into before using the wifi? You may have to open the web browser and try to go to a page to get to the portal connection before wifi use...
Reporter | ||
Comment 7•11 years ago
|
||
Netcfg file when it works: http://paste.ubuntu.com/6705388/
Now If I turn off the wifi and enable it again: http://paste.ubuntu.com/6705414/
By the way, the AP doesn't have a webpage, It's a basic home router.
Flags: needinfo?(madrid.crespo)
Thanks. It could be related. Which device are you on?
Can you also try:
adb shell
# rm -r /data/misc/wifi/
# reboot
Comment 9•11 years ago
|
||
Can you extend the psk length to at least 8 characters ?
# psk: WPA preshared key; 256-bit pre-shared key
# The key used in WPA-PSK mode can be entered either as 64 hex-digits, i.e.,
# 32 bytes or as an ASCII passphrase (in which case, the real PSK will be
# generated using the passphrase and SSID). ASCII passphrase must be between
# 8 and 63 characters (inclusive)
Can you reproduce this by using settings app?
Using wpa_cli is not an expected way to config wifi, it might make wifi worker get into wrong state and cause unexpected behavior.
Reporter | ||
Comment 11•11 years ago
|
||
(In reply to Naoki Hirata :nhirata (please use needinfo instead of cc) from comment #8)
> Thanks. It could be related. Which device are you on?
>
> Can you also try:
> adb shell
> # rm -r /data/misc/wifi/
> # reboot
Done, Naoki. When I did that, my WiFi settings seemed erased. I'm using a Geeksphone Keon.
(In reply to Chuck Lee [:chucklee] from comment #10)
> Can you reproduce this by using settings app?
> Using wpa_cli is not an expected way to config wifi, it might make wifi
> worker get into wrong state and cause unexpected behavior.
(In reply to Vincent Chang[:vchang] from comment #9)
> Can you extend the psk length to at least 8 characters ?
>
@Vincent, @Chuck, my key is a 64 hex-digits, that's why I am using wpa_cli. I don't like to write it everytime I flash my mobile device, and since there is no copy/paste, it is boring to type it a lot of times.
The error "<3>Authentication with 00:00:00:00:00:00 timed out." in comment 1 is controlled by wpa_supplicant, we can't tell what happened during the 4-way handshake, and I can't reproduce this on my device(Unagi).
Also, we don't have control on wpa_supplicant and wifi driver on keon, I suggest to report this issue to geeksphone.
Reporter | ||
Comment 13•11 years ago
|
||
Thanks!
Reporter | ||
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•