[Q] 7.2 RC0 can't see ad-hoc SSIDs - Nook Color Q&A, Help & Troubleshooting

I am running the 7.2-RC0 Mirage Kang build from 12/12 (the latest), but my nook can't see the SSID of ad-hoc network (set up using tethering on Droid 1).
When running the 7.1 CM build on the nook, I was able to see and successfully connect to an ad-hoc network. So I am wondering what changed in 7.2-RC0 ? coz I know for a fact that CM supports ad-hoc networks.
Was it the modularized kernel ?

gumnaam.sur said:
I am running the 7.2-RC0 Mirage Kang build from 12/12 (the latest), but my nook can't see the SSID of ad-hoc network (set up using tethering on Droid 1).
When running the 7.1 CM build on the nook, I was able to see and successfully connect to an ad-hoc network. So I am wondering what changed in 7.2-RC0 ? coz I know for a fact that CM supports ad-hoc networks.
Was it the modularized kernel ?
Click to expand...
Click to collapse
Not sure what the problem might be. Sounds like there may be something different in the wpa_supplicant file. You might want to extract that from the 7.1 build. It is located in system/bin. Rename the one in the 7.2 build wpa_supplicant.bak and place the extracted one in the same folder and reboot. If it doesn't help you can reverse the process. Be sure to change permissions to match the rest of the files.

Related

adhoc via wifi tether

I currently am using cm9 ics jackpotclavins latest build on my kindle fire. apparently this builds wpa_supplicant file does not support adhoc. I tried everything I could think of replacing wpa_supplicant from cm7 build to cm9 no go tried a few different modifications of wpa_supplicant online did not work, ics build uses wpa supplicant 0.6.10. I even tried a patch online. I love using my tablet at work using the wifi from my smartphone. I cannot do this one ice cream sandwich, but do not want to give that up just because of this feature. Is there a work around that anyone knows of to get adhoc on kindle fire ics?
What kind of phone are you using I have tethered mine with a LG, HTC, and a Samsung, With no problems.
What app are you using to tether with?
Had the same problem. Install "ZT-180 Adhoc Switcher", works OK for me!
I did install zt-180 adhoc switcher and it doesnt do jack just forces close. Im using his latest build with the video fix. I tether with a droidx with the latest 2nd init rom of miui. using wifi tether. My computer can connect to the adhoc network so i know the network is up and running. if you guys have no problems I dont know what else to do any suggestions?
just an update I read online of people having their droidx in infrastructure mode aka softap, not adhoc, I've tried also to get wireless tether in infrastructure but in any version i try it goes to adhoc is intrastructure mode possible with droidx?
you don't need any app for infrastructure mode - that's the mode wifi normally works on every access point
Try Wifi Tether and enable MSS clamping and Routing fix in the settings and see if that works.
Same Problem
I tried this with my ICS Kindle fire and it did not work i also tried ZT 180 Ad Hoc Tethering Switch and it just keeps force closing
so I found the culprit for infrastructure mode any gb based miui rom will not support infrastructure mode. you must use a cyanogen mod 7 or froyo miui, i can confirm a cyanogen mod 7 will enable infrastructure mode for the droidx. right now atm i still use atm as my daily drive and whenever i want to use my kindle fire away from the house and there is any unsecured wifi around I use boot manager to boot into cyanogenmod 7 to enable the infrastructure mode not adhoc
Maybe, i'm on rooted stock (6.2.1) and, as i told, zt-180 works ok for me

[Q] ADHOC + wireless Tether ??? Confused

OK.. my knowledge of Tablets and rooting are limited.
I have an ACER A500 and my current android system is 3.0.1. I am rooted with clockwork MOD... No Custom ROM as of yet.
I have a Samsung Galaxy SII (Epic Touch from sprint), which is also rooted... no custom ROM
All I want to do is have my Tablet connect to my phones hotspot... does my tablet need the ADHOC fix/patch to do this?
I downloaded the wifi tether app for my phone and the tablet was UNABLE to see it, however my tablet can see, connect and use my wifi network at home.
Not sure if this is a questions for the Samsung Forum or ACER. I did a few searches for "Adhoc" and "what is adhoc" to get a better understanding of what it is... So far i can only come up with that its one of two methods of wifi networking.
What is needed to allow my A500 to connect to my cell phones wifi tether ?? I wasnt sure if i needed to download a ROM that had ADHOC integrated in it or not.
First off: A WiFi Adhoc network is basically a normal WiFi network, only it doesn't use a dedicated AP (like those WiFi router & AP devices you'll normaly use to create a network), but the WiFi network adaptor of a computer (or tablet, or cellphone).
In your case, the AP is the cellphone, so it will need some kind of software to switch its WiFi adaptor into AP mode. Your tab can then connect normally to the AP, no patches needed. The reverse way (only interesting to A501 users, as we have 3g / 4g network) is best done with the patch you mentioned, as this gives us the settings Acer removed back (they left the entire WiFi stack untouched, but removed access to the tethering settings).
As for switching your Phone's WiFi to AP mode: It may be that Samsung left the neccessary parts in their Android distribution. In this case you can activate it under settings -> Wireless and Networks -> tethering & portable hotspot. If they didn't, you can use apps like barnacle WiFi tether to achive the same effect... though encryption might be a problem if wpa_supplicant (the linux way of managing secure WiFi connections, which runs as a part of the WiFi stack) is missing.
Here is the file you need flash with cwm or ra as normal or follow these instructions.
1. navigate to system/bin and copy wpa_supplicant
2. past this to your sd card as a backup
3. rename wpa_supplicant to wpa_supplicant.old
4. extract the file from the download and past it into the system/bin folder. (should be wpa_supplicant)
4. Long press on the file once copied
6. select Permissions and set to User: RWE, Group & Others:RE only
again a big big thank you to the original poster/fixer the original thread is
http://forum.xda-developers.com/showthread.php?t=1056188
erica_renee said:
Here is the file you need flash with cwm or ra as normal or follow these instructions.
1. navigate to system/bin and copy wpa_supplicant
2. past this to your sd card as a backup
3. rename wpa_supplicant to wpa_supplicant.old
4. extract the file from the download and past it into the system/bin folder. (should be wpa_supplicant)
4. Long press on the file once copied
6. select Permissions and set to User: RWE, Group & Others:RE only
again a big big thank you to the original poster/fixer the original thread is
http://forum.xda-developers.com/showthread.php?t=1056188
Click to expand...
Click to collapse
Thank you, i'm going to try this, but I wonder if its my phone rather, not my tablet. Because My laptop can't see my phones wifi tether either. They make a patch for my phone..so I may try that first.
Sent from my SPH-D710 using Tapatalk

Wi-Fi ad hoc enabler

Anyone used the above app and has no problem with kindle?
Sent from my Kindle Fire
zt-180 adhoc switcher works on the kf
https://play.google.com/store/search?q=zt-180+adhoc&c=apps
By using this apk, it allows kindle to connect to an ad hoc network? Sorry for asking noob question, cause I am trying to connect my phone that only support ad hoc mode.
Sent from my Kindle Fire
All of the cm7 ROMs and most of the cm9 ROMs(Jackpot/hashcode's ROM and also NRG's ROM) have ad hoc wifi enabled. C'mon...What are you guys scared of? Rooting is waaaay harder than flashing and that's not saying much. I promise the devs on here make good sh*t. You won't be disappointed.
ataraxist said:
By using this apk, it allows kindle to connect to an ad hoc network? Sorry for asking noob question, cause I am trying to connect my phone that only support ad hoc mode.
Sent from my Kindle Fire
Click to expand...
Click to collapse
that's exactly what this program is supposed to do
i use it to connect to my laptop
i'm on stock 6.2.2
b63 said:
that's exactly what this program is supposed to do
i use it to connect to my laptop
i'm on stock 6.2.2
Click to expand...
Click to collapse
hi, can you upload the .apk file here for me, I dont have wifi to download it in the market, and googling shown no result... Thanks with regard!
http://bit.ly/H1ZoOb
Radon_22 said:
Click to expand...
Click to collapse
Thanks although I've got it already. Don't blame me because I've googled it by an hour with no result before asked here.
Now I've problem with launching both ZT 180 and Adhoc enabler.
ZT 180 report "the file which should be modified by the app are not presented at its expected location"..
Ad hoc enabler report "unable to write file system under read/write mode"
I'm using Kindle Fire stock rom 6.2.1, rooted, Busy Box installed.
Any idea for my problem.
allthrough i used it with 6.2.1 i don't know why you don't update to 6.2.2
this should correct any misssing files also
would recommend to use the nfx update for this:
http://forum.xda-developers.com/showthread.php?t=1452082
btw. what do you mean with "zt180 and adhoc enabler" ? - you only need zt180 on the kf - it enables adhoc mode
b63 said:
allthrough i used it with 6.2.1 i don't know why you don't update to 6.2.2
this should correct any misssing files also
would recommend to use the nfx update for this:
http://forum.xda-developers.com/showthread.php?t=1452082
btw. what do you mean with "zt180 and adhoc enabler" ? - you only need zt180 on the kf - it enables adhoc mode
Click to expand...
Click to collapse
I mean I use both "ZT 180 ad hoc switcher" and "ad hoc anabler" apps on my kf. And no one has worked...
the 1st report can't find the file to replace
the 2nd report can't open in read/write mode...
Now i gonna update to 6.2.2. Hope this works.
Thanks for the support so far.
FascistKId said:
I mean I use both "ZT 180 ad hoc switcher" and "ad hoc anabler" apps on my kf. And no one has worked...
the 1st report can't find the file to replace
the 2nd report can't open in read/write mode...
Now i gonna update to 6.2.2. Hope this works.
Thanks for the support so far.
Click to expand...
Click to collapse
somebody help me
never had that error message with zt-180
allready on stock rom 6.2.2 ?
permanent rooted with su & superuser.apk installed ?
zt-180 ver.1.4c ?
CodenameDeadpool said:
All of the cm7 ROMs and most of the cm9 ROMs(Jackpot/hashcode's ROM and also NRG's ROM) have ad hoc wifi enabled. C'mon...What are you guys scared of? Rooting is waaaay harder than flashing and that's not saying much. I promise the devs on here make good sh*t. You won't be disappointed.
Click to expand...
Click to collapse
Hey,
I've been trying to get the wifi to work with my ad hoc network after installing the Energy CM9 rom
It's said in the thread that adhoc wifi is supported, but I can't see nor connect to my adhoc network.
I'll try a CM7 rom to test. Meanwhile, any help would be greatly appreciated
Thx
Sorry for the stupid question, but what is the practical use for Kindle with adhoc wi-fi enabled. Internet connection tethering to the other device that has problems connecting directly? I am new in all this and now I have Kindle with ICS CM9 flashed - rom that supports adhoc wi-fi. So now I am just curious, does it do any good and how can I use it.
Hey!
braintrap said:
Sorry for the stupid question, but what is the practical use for Kindle with adhoc wi-fi enabled. Internet connection tethering to the other device that has problems connecting directly? I am new in all this and now I have Kindle with ICS CM9 flashed - rom that supports adhoc wi-fi. So now I am just curious, does it do any good and how can I use it.
Click to expand...
Click to collapse
It's not a question of better or worse network. Wifi networks can typically be configured in either Infrastructure or Adhoc mode.
In infrastructure, the network is centralized around an access point, which is in most cases a router. All the devices connect to this particular access point and all the data exchanged between the devices on this network will go through the access point. For example, if pc A wants to send data to pc B, it's going to be:
pc A ----> Access Point ----> pc B.
In adhoc, there is no central point for the network. The devices communicate directly with each other. For the same example as before, it would be:
pc A ----> pc B
The thing is, I receive internet through a 4G usb adapter plugged into my PC, and I configured my pc to share the internet connection over the wifi. Windows allows to do that quite easily, but my network card (or its driver, or Windows 7... I'm not sure who's at fault here...) only allows me to create an Adhoc network. So here I am, with my 4G usb adapter shared through an adhoc wifi network. It works great: 2 PCs and 2 phones can connect to the Adhoc wifi and receive internet through it without any problem.
However, I can't get my kindle fire to connect to it. I've tried several solutions and adhoc enablers... without success.
@braintrap: Can you give me a link to the rom you used if it works to connect to an adhoc network ?
And to answer your question "does it do any good and how can I use it." No! There is no advantages of using an adhoc network if your current wifi network works well. Just enjoy
Has anyone succeeded to connect to an adhoc with a Kindle Fire ? If yes, what rom was running (stock, CM7, CM9....) ?
Thanks for any help.
Hi...
I've tried with Hashcode's, Energy and AOKP Rom's and none of the see my iPhone's Personal Hotspot.
I'm really looking forward to sharing the iphone's data plan with the Kindle in order to use it for RSS Reading and browsing anywhere!!
Thanks,
Carlos
I use energy cm9 rom from here: http://forum.xda-developers.com/showthread.php?t=1528024
No success with adhoc network created on my MacBook but connects easily to the network shared by the Wildfire S...
Energy ROM just updated and sports adhoc network support.
Sent from my Amazon Kindle Fire using XDA

[Q] defy tethering infrastructure app required

My Defy is running CM7, and the inbuilt gingerbread tethering works with infrastructure mode, but like others I have found using encryption with the gingerbread tethering crashes the connection.
So I've been trying the Wifi tether app, but can't get it to work in infrastructure mode. I know the app supports it, but has a problem with the Defy. Also the latest beta doesn't work on the Defy at all. I have tried copying the custom hostapd file to /system/bin, but no joy.
Does anyone know of a wifi tether app that works on the Defy and supports infrastructure mode? The defy obviously does support infrastructure mode as gingerbread does it.

[Q] Nexus 7 custom rom supporting ad hoc wifi

Greetings
I have a Nexus 7 (wifi only) with JB 4.2.1 and I'd like to know if there is any custom rom or kernel that supports ad hoc connections, I want to connect the N7 to joikuspot on my nokia 808.
BTW I already tried bluevpn and not all android apps supports it, and already got connectify-me on my desktop computer, I need to connect the N7 with my phone since I travel very often and not everywhere I can find wifi spots.
Thank you in advance
CARUPANBOW said:
Greetings
I have a Nexus 7 (wifi only) with JB 4.2.1 and I'd like to know if there is any custom rom or kernel that supports ad hoc connections, I want to connect the N7 to joikuspot on my nokia 808.
BTW I already tried bluevpn and not all android apps supports it, and already got connectify-me on my desktop computer, I need to connect the N7 with my phone since I travel very often and not everywhere I can find wifi spots.
Thank you in advance
Click to expand...
Click to collapse
Hello? anyone can help me out?
Ad Hoc for Nexus 7
First, being a noob I want to say thanks for all the great info provided on this forum. It's a big help to someone like me who's just learning.
CARUPANBOW,
I need this also. I’ve spent several hours searching for a solution and have found nothing. It’s already been discussed here http://forum.xda-developers.com/showthread.php?t=1787680&page=7 on XDA so maybe that why no one has responded. The links below are to other discussions about this, but so far I have not found a way to force my Nexus 7 to connect to an Ad Hoc network. I’m still hopeful.
http://www.thriveforums.org/forum/t...ment/15959-ad-hoc-patch-3-x-4-0-4-1-cm10.html
http://www.pcadvisor.co.uk/how-to/google-android/3372947/connect-android-phone-ad-hoc-network/
http://szym.net/2010/12/adhoc-wifi-in-android/
https://bugs.launchpad.net/ubuntu-nexus7/+bug/1077704
Maybe someone that’s really experienced can use the information in the links and find a solution.
Thanks,
Ken
Thank you
emgo said:
First, being a noob I want to say thanks for all the great info provided on this forum. It's a big help to someone like me who's just learning.
CARUPANBOW,
I need this also. I’ve spent several hours searching for a solution and have found nothing. It’s already been discussed here http://forum.xda-developers.com/showthread.php?t=1787680&page=7 on XDA so maybe that why no one has responded. The links below are to other discussions about this, but so far I have not found a way to force my Nexus 7 to connect to an Ad Hoc network. I’m still hopeful.
http://www.thriveforums.org/forum/t...ment/15959-ad-hoc-patch-3-x-4-0-4-1-cm10.html
http://www.pcadvisor.co.uk/how-to/google-android/3372947/connect-android-phone-ad-hoc-network/
http://szym.net/2010/12/adhoc-wifi-in-android/
https://bugs.launchpad.net/ubuntu-nexus7/+bug/1077704
Maybe someone that’s really experienced can use the information in the links and find a solution.
Thanks,
Ken
Click to expand...
Click to collapse
Thank you very much for answering my post, I'm a noob too and besides I felt ignored, I have to confess this is my first android device, and I have spent many hours too to figure out a solution.
I checked the post you mentioned, some of those websites too and also checked the android issues #82 and #35629 at code.google.com
So far i've been able to connect to my nokia 808 via joikuspot, but like in bluevpn some apps are not working, here is what I did:
1) I have the JB 4.2.1 rooted on my device
2) I downloaded this kernel and applied it https://github.com/monk-dot/SPAN/blob/master/kernels/ASUS%20Nexus%207/myupdate-nexus7.zip
3) Since the nexus stock rom doesn't include the wpa_cli command I found this one http://pic-e-bank.com/android/Droid/Kernels/Froyo/Slayher/slayher_wifi_fix.zip Extracted the file and copied it into the folder /system/bin (set permissions to 755).
4) Found this patched wpa_supplicant file from this post "[JB] wpa_supplicant for adhoc wifi networks" and copied it into the folder /system/bin (made a backup first of the original file and set the permissions of the new wpa_supplicant to 755).
5) With a terminal app (using adb also works) I followed this guide: http://www.olsr.org/?q=olsr_on_android to set up the ad hoc network to my nexus 7 manually.
And Eureka! I could connect my nexus to my nokia 808 hotspot, however I couldnt see any infrastructure networks anymore, the solution was to revert back to the original wpa_supplicant, so I'm thinking about making two command scripts to set up my ad hoc connection and revert it back whenever I need to connect to a different network (you can check this guide).
BTW, there are some custom roms that include the wpa_cli command, but I tried some of them and they didn't detect my hotspot until I replace the wpa_supplicant file with the patched one.
I'm no android expert but I think the problem with ad hoc connections is a kernel/wpa_supplicant issue, i guess at some point google decided to take out the support for IBSS networks, however the linux kernel still supports it, i really wish some expert could take a look into it.
I hope you find this info useful, but this is not a final solution and I'll still work into it whenever I can.
Ad Hoc for Nexus 7
CARUPANBOW said:
Thank you very much for answering my post, I'm a noob too and besides I felt ignored, I have to confess this is my first android device, and I have spent many hours too to figure out a solution.
I checked the post you mentioned, some of those websites too and also checked the android issues #82 and #35629 at code.google.com
So far i've been able to connect to my nokia 808 via joikuspot, but like in bluevpn some apps are not working, here is what I did:
1) I have the JB 4.2.1 rooted on my device
2) I downloaded this kernel and applied it https://github.com/monk-dot/SPAN/blob/master/kernels/ASUS%20Nexus%207/myupdate-nexus7.zip
3) Since the nexus stock rom doesn't include the wpa_cli command I found this one http://pic-e-bank.com/android/Droid/Kernels/Froyo/Slayher/slayher_wifi_fix.zip Extracted the file and copied it into the folder /system/bin (set permissions to 755).
4) Found this patched wpa_supplicant file from this post "[JB] wpa_supplicant for adhoc wifi networks" and copied it into the folder /system/bin (made a backup first of the original file and set the permissions of the new wpa_supplicant to 755).
5) With a terminal app (using adb also works) I followed this guide: http://www.olsr.org/?q=olsr_on_android to set up the ad hoc network to my nexus 7 manually.
And Eureka! I could connect my nexus to my nokia 808 hotspot, however I couldnt see any infrastructure networks anymore, the solution was to revert back to the original wpa_supplicant, so I'm thinking about making two command scripts to set up my ad hoc connection and revert it back whenever I need to connect to a different network (you can check this guide).
BTW, there are some custom roms that include the wpa_cli command, but I tried some of them and they didn't detect my hotspot until I replace the wpa_supplicant file with the patched one.
I'm no android expert but I think the problem with ad hoc connections is a kernel/wpa_supplicant issue, i guess at some point google decided to take out the support for IBSS networks, however the linux kernel still supports it, i really wish some expert could take a look into it.
I hope you find this info useful, but this is not a final solution and I'll still work into it whenever I can.
Click to expand...
Click to collapse
That’s great! At least you have provided something that works. It’ll take me some time to replicate what you did. I am going give it a try.
Thanks,
Ken
Thank you very much
Also I found out the networks settings are stored in /data/misc/wifi/wpa_supplicant.conf instead of /system/etc/wifi/wpa_supplicant.conf
reading this post Edit wpa_supplicant.conf instead of wpa_supplicant I managed to manually edit my ad hoc network settings, so the wpa_supplicant.conf would be like this
Code:
ap_scan = 2
network={
ssid="JOIKUSPOT"
scan_ssid=1
priority=10
mode=1
wep_key0="12345"
key_mgmt=NONE
}
And you have to give the ownership back to system.wifi using abd/terminal:
Code:
#chown system.wifi data/misc/wifi/wpa_supplicant.conf
For now im trying some customs roms to see if they can detect the ad hoc network out of the box, but so far I can only do it by replacing the wpa_supplicant and flashing the custom kernel from my previous post.
I'll keep posting my findings and try some other custom kernels as well.
So far this is what I got
Hi
So far this is my method to get (partial) ad hoc support for my N7 (wifi):
1) Start by rooting your device (you can use the Nexus 7 Root Toolkit).
2) Install CWM Recovery so you can install custom kernels.
3) Download and install this kernel https://github.com/monk-dot/SPAN/blob/master/kernels/ASUS%20Nexus%207/myupdate-nexus7.zip
4) Download and copy this wpa_supplicant file http://forum.xda-developers.com/showthread.php?t=1806937 into the /system/bin folder, be sure to set your wifi connection off, make a backup of the original file and after copying the file check the permissions to be 755
5) Create a text file with the following commands:
Code:
wpa_cli -p/var/run/wpa_supplicant scan
wpa_cli -p/var/run/wpa_supplicant scan_results
wpa_cli -p/var/run/wpa_supplicant remove_network 0
wpa_cli -p/var/run/wpa_supplicant ap_scan 2
wpa_cli -p/var/run/wpa_supplicant add_network
wpa_cli -p/var/run/wpa_supplicant set_network 0 ssid '"JOIKUSPOT"'
wpa_cli -p/var/run/wpa_supplicant set_network 0 scan_ssid 1
wpa_cli -p/var/run/wpa_supplicant set_network 0 frequency 2412
wpa_cli -p/var/run/wpa_supplicant set_network 0 mode 1
wpa_cli -p/var/run/wpa_supplicant set_network 0 group WEP40
wpa_cli -p/var/run/wpa_supplicant set_network 0 key_mgmt NONE
wpa_cli -p/var/run/wpa_supplicant set_network 0 wep_key0 '"12345"'
wpa_cli -p/var/run/wpa_supplicant set_network 0 wep_key1 12345
wpa_cli -p/var/run/wpa_supplicant set_network 0 wep_tx_keyidx 0
wpa_cli -p/var/run/wpa_supplicant save_config
wpa_cli -p/var/run/wpa_supplicant reconfigure
wpa_cli -p/var/run/wpa_supplicant enable_network 0
wpa_cli -p/var/run/wpa_supplicant select_network 0
Replace JOIKUSPOT with the ssid of your ad hoc network and set your password on the wep_key0 and wep_key1 variables, if you are using an open network just delete this lines:
Code:
wpa_cli -p/var/run/wpa_supplicant set_network 0 wep_key0 '"12345"'
wpa_cli -p/var/run/wpa_supplicant set_network 0 wep_key1 12345
wpa_cli -p/var/run/wpa_supplicant set_network 0 wep_tx_keyidx 0
6) Save the file "adhoc.sh" (be sure to save it in UNIX format, you can use notepad++ for this) and copy it into your device (I saved my script in /sdcard).
7) Turn the wifi connection back on and with a terminal emulator/ADB run the scrit
Code:
#cd /sdcard
#sh adhoc.sh
And now we're done!
You can see in your wifi settings your ad hoc network connected. But there are some issues, I cant see other networks on the list, even when I try to search for new networks, I can browse the web but cant connect to the play store, and with BlueVPN you could browse the store but couldn't download apps, the wifi icon in the notification bar is also gray color, after searching the forums this could mean I cannot connect to google services, but I still receive gmail notifications.
Well, I'll have to research more, but at least I think we're in the right way, to me this is a kernel/wpa_supplicant issue, I really wish some expert could help us out, or else I'll have to get into kernel compiling, I have a little linux experience and its been a while I dont get my hands into programming, but I'm not giving up just yet.
P.S: After checking with the terminal emulator, I started the command wpa_cli and this is the output I got:
Code:
[email protected]:/ # wpa_cli
wpa_cli
wpa_cli v2.0-devel-4.2.1
Copyright (c) 2004-2012, Jouni Malinen <[email protected]> and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
Using interface 'wlan0'
Interactive mode
<3>Trying to associate with SSID 'JOIKUSPOT'
<3>Association request to the driver failed
>
There seems to be a driver problem, I'll take a look into it too as soon as I can.
BTW I found this wpa_supplicat / wpa_cli files from this post http://forum.xda-developers.com/showthread.php?t=1980021 since the stock rom doesnt come with the wpa_cli command, these files seem to be for ICS but I tried them on JB and they work too.
Just a quick heads up
I've updated my n7 to rootbox v2.0 (comes with JB 4.2.2) and now I cannot connect it to my hotspot with my previous method, after checking my /data/misc/wifi/wpa_supplicant.conf file now shows this line:
network={
ssid="JOIKUSPOT"
.
.
disabled=1
}
What the heck does this mean? seems to be that the more I update my tablet the harder is getting to connect it to my ad hoc network, this makes me think maybe google wants to erradicate ad hoc wifi support from the OS, to me this is dumbest thing I ever heard since this tablet is WIFI only, isn't supposed to support ANY wifi network it finds in order to work properly? other OS like iOS or Symbian does still support it. Just the fact that i cannot use my tablet the way I want it to is very disappointing, and now I face two options: 1) Downgrade the tablet and never let it update again. 2) Install ubuntu and never again install android.
Im very sorry to say this but this is my first android device and my experience with it is very unsatisfactory, sometimes I wish I could get a refund and try the iPad mini or wait for any decent windows rt tablet.
For now I think i'm going for my option 2, tomorrow ubuntu will release the tablet version of their OS for the nexus 7, ill check it out and ill tell you my experience with it.
Please, if someone knows any of the senior contributors/developers of this community, please make them notice this issue, its almost unbelievable that ad hoc support haven't been fixed from android since issue #82, the original linux kernel supports it, and then google stripped it out and nobody got a response about this in the forums/groups, I know this is not an easy task, cause the android SDK doesnt support it either, also that you have to add the IBSS driver into the kernel and patch the wpa_supplicant file to stop filtering ad hoc networks, I still dont know if many people have requested this feature why even the modding community for android havent come with a concrete solution for this, there are a lot of kernel modders out there and I could find only one kernel that would work for me. I have to say that the most frustrating part of this situation is the lack of answers from the forums, I know this post already reached 1000 views, this means there's people still looking for an answer like me.
I have been trying lots of things on my new nexus 7 running 4.2.2 to try and get ad hoc networking working.
I have tried all the wpa_supplicant files I can find and even tried patching and compiling (using modified patches from h t t p://szym.net/2010/12/adhoc-wifi-in-android/) my own with no luck.
There are some musings at h t t p://szym.net/2010/12/prospects-of-ad-hoc-wifi-in-android/ saying we may never got it
I'll keep trying different things as this is something I really want
finally!
I found this custom rom (cm10 - 4.2.2 based) that has full IBSS support:
http://b-real.org/2013/ad-hoc-ibss-mode-support-for-android-4-2-2-with-cyanogenmod/
http://www.thinktube.com/android-tech/46-android-wifi-ibss
Here we provide information, patches and a few system images to support Ad-Hoc (IBSS) mode. We base our additions on CyanogenMod 10.1-M2 (Android 4.2.2 JDQ39).
Our goal is to bring the missing Ad-Hoc (IBSS) mode to Android, in a way that is completely integrated into the Android system API and user-interface. Users should be able to create and connect to Ad-Hoc networks from the standard user interface (Settings – WiFi) and Applications should have an API to configure their “own” Ad-Hoc network. We believe this will help people who need more capability than WiFi Direct and can extend diverse usages of Android mobile devices.
To achieve this, we have modified the WLAN driver “bcmdhd”, extended the Android framework, the public Android API and added the missing parts to the “Settings” application. At this moment only Nexus S, Galaxy Nexus and Nexus 7 devices are supported and tested, but the same kernel modifications can be made to a number of devices and the UI will automatically show Ad-Hoc mode options when the driver supports it.
We have submitted these changes to CyanogenMod and Google AOSP Gerrit and provide this page for further information.
Click to expand...
Click to collapse
I have tested it on my nexus 7 and it can detect my nokia hotspot (joikuspot) flawlessly
Downloaded and installed this last night and it works great. I can connect to my nokia 808 using ad-hoc wifi now from my nexus 7.
Today my Cyanogenmod made an automatic update to 10.1.0 RC1 and the ad hoc wifi works fine

Categories

Resources