[Olsr-users] Getting ad-hoc mode on Android 4.1 Jelly Bean

Stephan Moczygemba (spam-protected)
Mon Aug 6 18:30:56 CEST 2012


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.

Here is my log:

 > add_network
1
 > set_network 1 mode 1
OK
 > set_network 1 ssid "abcdef"
OK
 > set_network 1 bssid a0:0b:ba:2e:2a:7d
OK
 > set_network 1 frequency 2457
OK
 > set_network 1 key_mgmt NONE
OK
 > enable_network 1
OK
 > ap_scan 1
OK
 > select_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





More information about the Olsr-users mailing list