/data/data/org.span/bin/iwconfig tells me:
wlan0 IEEE 802.11bgn ESSID:"AndroidAdhoc"
Mode:Ad-Hoc Frequency:2.412 GHz Cell: DE:90:D9:01:6F:E4
Tx-Power=1496 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
(and of course I have wlan0 selected as the interface in Manet Manager settings).
Any suggestions?
Thanks,
David
--
You received this message because you are subscribed to the Google Groups "Smart Phone Ad-Hoc Networks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spandev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I have tried 'ifconfig wlan0 up', but nothing seems to happen:
root@grouper:/ # /data/data/org.span/bin/ifconfig wlan0 up
root@grouper:/ #
After doing that, wlan0 is still DOWN in the Manet Manager Routing Info.
David
Android 4.3. It is not CyanogenMod, it is the stock Android with the Nexus 7 modified kernel.
> Although I haven't experienced your problem, the solution to these kinds of issues is usually to tinker with the iwconfig, ifconfig, load_wifi(), etc., operations for your device in the following file:
https://github.com/ProjectSPAN/android-manet-manager/blob/master
I notice when I'm looking around in the settings menu in LogCat it says:
/AndroidManetManager/res/raw/adhoc_edify
System.out(20987): wlan0 UP 192.168.1.100/24
which seems promising (although then immediately checking the Routing Info it still says DOWN). Then I disabled and reenabled ad-hoc mode, and in the LogCat I see:
wpa_supplicant(514): wlan0: No network configuration found for the current AP
wpa_supplicant(514): wlan0: CTRL-EVENT-DISCONNECTED bssid=46:5a:8a:52:5a:d8 reason=3 locally_generated=1
Does that mean anything to you guys?
Thanks,
David
I tried it with Android 4.2.2 and it seems to work (better). The wlan0 is now UP, but I have 4 devices and none of them can see each other (the Routing Info shows no routes on all of them, and they all have the same SSID).
> The wpa_supplicant process seems to be trying to take over control of the Wi-Fi. Try doing a "kill -9" on it and then starting ad-hoc mode.
Before I tried 4.2.2 as mentioned above, I tried this and it did not work (wlan0 was still DOWN). If you need a guinea pig for any other thoughts you have on 4.3 in the future, please let me know and we can try it for you.
--
You received this message because you are subscribed to the Google Groups "Smart Phone Ad-Hoc Networks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spandev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I disabled the Scanning Always Available, still wlan0 is down. When I am installing the app form the play store adhoc mode is running and its working fine. When I run the source code in eclipse and execute on the Nexus 7 by connecting the same device using USB, adhoc mode is not running. When I debugged the issue, I can see that the wlan0 is down.
Please let me know your suggestion, if any.
Thanks.
MC
--
You received this message because you are subscribed to a topic in the Google Groups "Smart Phone Ad-Hoc Networks" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spandev/FdHDoz45bu4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to spandev+u...@googlegroups.com.