[Olsr-users] OLSR in Android (Samsung Galaxy S)

FlaNKoUTt Soares (spam-protected)
Mon Sep 13 19:14:35 CEST 2010


Hei Charles,

I did what u suggested and next is the result...


(spam-protected):~/Downloads/android-sdk-linux_x86/tools$ ./adb shell
$ netcfg
lo       UP    127.0.0.1       255.0.0.0       0x00000049
usb0     DOWN  0.0.0.0         0.0.0.0         0x00001002
tunl0    DOWN  0.0.0.0         0.0.0.0         0x00000080
gre0     DOWN  0.0.0.0         0.0.0.0         0x00000080
eth0     UP    0.0.0.0         0.0.0.0         0x00001003
pdp0     UP    89.214.44.119   255.255.255.0   0x000010d1
$ su -c "/system/bin/wpa_cli -p /data/misc/wifi/"
wpa_cli v0.6.9
Copyright (c) 2004-2009, Jouni Malinen <(spam-protected)> and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.

Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.


Selected interface 'sockets'
Could not connect to wpa_supplicant - re-trying                                          <----shouldn't the interface be eth0 as showed in the olsrd HOW-TO ??
^C
$ wpi_cli
wpi_cli: not found
$ wpa_cli eth0
Using interface 'eth0'
Failed to connect to wpa_supplicant - wpa_ctrl_open: Permission denied
$ su wpa_cli eth0
Permission denied
$ su      
# wpa_cli
[18:10:20] jonnybegod diz:
eth0
Using interface 'eth0'
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
# wpa_cli
wpa_cli v0.6.9
Copyright (c) 2004-2009, Jouni Malinen <(spam-protected)> and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.

Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.


Using interface 'eth0'
Could not connect to wpa_supplicant - re-trying


The wpa_supplicant always stops on this "re-trying"..... I don't know what else to do... please help!

Regards,

Pedro

From: (spam-protected)
Date: Sun, 12 Sep 2010 19:18:23 -0400
Subject: Re: [Olsr-users] OLSR in Android (Samsung Galaxy S)
To: (spam-protected)
CC: (spam-protected)

Pedro,
Try using the "netcfg" command (instead of ifconfig) to list your interfaces.
You can use the wpa_cli "interface" command to list/change your interface(s). Just run wpa_cli with no arguments to enter the interactive mode.


- Charles


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20100913/8023ad7d/attachment.html>


More information about the Olsr-users mailing list