Stephan Moczygemba
2012-08-06 16:30:56 UTC
Hi guys,
I try to setup OLSR on Android. However, I'm struggling with getting
into ad-hoc mode on Android while following your HOWTO
(http://www.olsr.org/?q=olsr_on_android). I've a Galaxy Nexus GT-I9250
with rooted Jelly Bean 4.1.1.
First, there was no wpa_cli interface on my phone. I found a compiled
version (0.6.10) and pushed it on my device. Then I ran into the already
known "Selected interface 'sockets'. Could not connect to wpa_supplicant
- re-trying"-problem. However, using wpa-cli without any parameters puts
me into Interactive mode. Next, I follow steps 3 to 8, each command
returning an "OK" message, but in the end I am stuck with "Association
request to the driver failed". Now I kind of run out of ideas, so I
would really appreciate any hint that could help me to proceed.
<3>CTRL-EVENT-STATE-CHANGE id=0 state=0 BSSID=00:00:00:00:00:00 SSID=test
<3>CTRL-EVENT-STATE-CHANGE id=1 state=3 BSSID=00:00:00:00:00:00 SSID=abcdef
<3>CTRL-EVENT-BSS-ADDED 30 00:18:39:d3:d3:23
<3>CTRL-EVENT-BSS-ADDED 31 00:22:b0:97:dd:0f
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>Trying to associate with SSID 'abcdef'
<3>CTRL-EVENT-STATE-CHANGE id=1 state=5 BSSID=00:00:00:00:00:00 SSID=abcdef
<3>Association request to the driver failed
<3>CTRL-EVENT-BSS-ADDED 32 f0:7d:68:88:d4:d8
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>Trying to associate with SSID 'abcdef'
<3>Association request to the driver failed
<3>CTRL-EVENT-BSS-ADDED 33 7c:4f:b5:dd:a5:05
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>Trying to associate with SSID 'abcdef'
<3>Association request to the driver failed
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>Trying to associate with SSID 'abcdef'
<3>Association request to the driver failed
[...]
What do I have to choose for the BSSID, just any random number? I put
the mac address of the interface in use (wlan0).
Thanks,
Stephan
I try to setup OLSR on Android. However, I'm struggling with getting
into ad-hoc mode on Android while following your HOWTO
(http://www.olsr.org/?q=olsr_on_android). I've a Galaxy Nexus GT-I9250
with rooted Jelly Bean 4.1.1.
First, there was no wpa_cli interface on my phone. I found a compiled
version (0.6.10) and pushed it on my device. Then I ran into the already
known "Selected interface 'sockets'. Could not connect to wpa_supplicant
- re-trying"-problem. However, using wpa-cli without any parameters puts
me into Interactive mode. Next, I follow steps 3 to 8, each command
returning an "OK" message, but in the end I am stuck with "Association
request to the driver failed". Now I kind of run out of ideas, so I
would really appreciate any hint that could help me to proceed.
add_network
1set_network 1 mode 1
OKset_network 1 ssid "abcdef"
OKset_network 1 bssid a0:0b:ba:2e:2a:7d
OKset_network 1 frequency 2457
OKset_network 1 key_mgmt NONE
OKenable_network 1
OKap_scan 1
OKselect_network 1
OK<3>CTRL-EVENT-STATE-CHANGE id=0 state=0 BSSID=00:00:00:00:00:00 SSID=test
<3>CTRL-EVENT-STATE-CHANGE id=1 state=3 BSSID=00:00:00:00:00:00 SSID=abcdef
<3>CTRL-EVENT-BSS-ADDED 30 00:18:39:d3:d3:23
<3>CTRL-EVENT-BSS-ADDED 31 00:22:b0:97:dd:0f
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>Trying to associate with SSID 'abcdef'
<3>CTRL-EVENT-STATE-CHANGE id=1 state=5 BSSID=00:00:00:00:00:00 SSID=abcdef
<3>Association request to the driver failed
<3>CTRL-EVENT-BSS-ADDED 32 f0:7d:68:88:d4:d8
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>Trying to associate with SSID 'abcdef'
<3>Association request to the driver failed
<3>CTRL-EVENT-BSS-ADDED 33 7c:4f:b5:dd:a5:05
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>Trying to associate with SSID 'abcdef'
<3>Association request to the driver failed
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>Trying to associate with SSID 'abcdef'
<3>Association request to the driver failed
[...]
What do I have to choose for the BSSID, just any random number? I put
the mac address of the interface in use (wlan0).
Thanks,
Stephan
--
Olsr-users mailing list
Olsr-***@lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-users
Olsr-users mailing list
Olsr-***@lists.olsr.org
https://lists.olsr.org/mailman/listinfo/olsr-users