For those of you who want to connect/tether your Android tablet to your Adhoc Wifi such as your smartphone, you can do it by enabling Adhoc on your tablet device.
In this example, I will use my Galaxy Tab 10.1 but should work on any Android tablet device.
Step 1. Download adhoctablets.zip and unzip to the root folder of your hard disk such as c:\adhoctablets.
Download adhoctablets.zip
Step 2. Put your Android tablet into USB Debugging Mode by going to Settings->Applications->Development.
Step 3. Open up a command prompt by typing “cmd” under Start->Search for Windows or open up a shell in Linux or Mac.
Step 4. Browse to the directory you unzipped adhoctablets.zip. For Windows, type:
cd \adhoctablets
Then type this to enter shell:
adb shell
For Linux:
adb-linux shell
For Mac:
adb-mac shell
Then type:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /system/bin/wpa_supplicant /sdcard/wpa_supplicant.original
cp /sdcard/wpa_supplicant /system/bin/.
chmod 755 /system/bin/wpa_supplicant
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
exit
Reboot your tablet and you should now be able to connect to Adhoc wireless devices.
If something goes wrong, you can get back into adb shell and type the following to revert:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/wpa_supplicant.original /system/bin/.
chmod 755 /system/bin/wpa_supplicant
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
exit
Hey.
I can’t get beyond the first cp – I get a line saying “sh: cp: not found”.
I tried with, and without the “sdcard” part in case it was a root dir thing.
You need a rooted device and busybox installed, did you root your device?
Yup, it’s rooted, but no busybox.
That’s not mentioned here as far as I can see. I’ll try that later.
I only got that it needs to be rooted from watching the video…
I’m new to Android, BTW. The GTab 10.1 is my first.
Welcome to Android! Busybox is easy to get if you are rooted, just do a market search for Busybox. All the graphical Android apps you see there are automated installers for your convenience
Hi have rooted GT wifi 10.1 with HC 2.3 and tether Atrix 4g. My computer recognized tethering without any problem. I tried to use the instructions, it couldn’t find the wpa_supplicant in system/bin/. please help.
how can I rooted my device
how can I rooted my device
If have a problem with SU not found.
Hi !
Something goes wrong:
::: mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Mount: Read-only file system
::: cp /sdcard/wpa_supplicant.original /system/bin/.
cp: /system/bin/ ./wpa_supplicant.original: Read-only file system
::: chmod 755 /system/bin/wpa_supplicant
Unable to chmod /system/bin/wpa_supplicant: Read-only file system
Busybox is installed: can you help me? Thanks
hello….
will this work on a GALAXY TAB 2 10.1?
please let me know …
thank you….
bob.s
I did everything you said and it all went threw no problem. I still don’t see adhoc networks . I am trying to detect my brookstone rover on my Samsung Galaxy tab s2 sm-t817t even after following directions with no errors I still can’t see it. Can you please tell me if there is another method for my model tablet? Thank you.
Yeah, that worked. Thanks.
I am having trouble getting past the first cp command. it reads cp: can’t stat ‘/sdcard/wpa_supplicant.original’: No such file of directory. Please help, i am pulling my hair out. Also, when I shell it only shows a # symbol, i noticed on the video is shows root@android #, is this a problem?
You need busybox installed!
how can i find busybox?
I am using cayanogemod 9 HP Touchpad
my device is rooted and i have busybox installed
when i come to type (adb shell) in cmd and press enter it say device not found ?????????? while my device is connected vai a USB …
Please try to Help;
My tablet doesn’t have an “sdcard” directory. When I entered those commands, I edited out “/sdcard” and it worked perfectly.
for the problem can’t stat ‘/sdcard/wpa_supplicant.original’,you need to turn off USB storage and try to run the command again,it should work
I am sorry, but after doing all these, will i be able to connect my sgt 7″ to my laptop? Basically my laptop is connected to internet using broadband and i would like to connect my samsung galaxy tab to the laptop so that i could surf the internet in my tab… any ideas? thank you in advance
Jerome, you can if you have a Macbook….. probably can with a PC, i just don’t know how but it’s doable most likely.
On Macbook you go into System Preferences and Sharing, then Internet Sharing.
Here comes the tricky part, you need to be getting Internet connection on Bluetooth (like from program called Tether, $50 program on Android phone or Blackberry), so your laptop gets internet through Bluetooth, then through Wifi (or Airport which you select from the list), you will create a network that the Tablet can join. This is not of Ad-hoc style so you don’t even need to enable your Tablet for that….. just install the sharing as I listed.
Hi! I’m tring to change the “wpa_supplicant” file, but something is wrong. The adb shell, when started (in different computers), shows the folling message, and the commends don’t work:
* daemon not running. starting it now *
* daemon started successfully *
$
when I write any command (like su for instance), it doesn’t work:
$ su
su
su: permission denied
$
I tried to use the RootExplorer, copy and paste the file or even delete the file “wpa_supplicant”, but it’s read-only and the change or delete is forbidden.
What should I do? I’m using a Samsung Galaxy Tablet, with Android 2.2.
Thanks for your help!
Your device isn’t rooted, please root your Android first!
I get the same message stating i do not have permissions but it is rooted. I have ROM Manager installed and able to get SU permissions to install apk files all the time. I can mount and modify files as SU with ES file manager.
One thing to note though, is that adb devices shows my device.
Su brings back
Permission Denied
255|shell@android:/$
I also tried re-rooting the tablet with your instructions and running the same commands and still receive the permission denied. This is with the Starburst ROM as well.
I tried to install Busy box as you stated above and I just get a message “please wait while we locate busybox and gather system data..” and it just sits there hanging. Part of the install states to make sure you use a ROM that supports Busybox and my question is which one does? I was Starburst currently installed.
When i go in to ADB SHELL, I am getting the $ which is not SU permissions. I am unsure how or what to get # for SU permissions. Any ideas?
If you have rooted your device, keep an eye on the Tab when you enter the ‘su’ command. A pop-up will show on the tab, asking for permission. If it times out, you will receive the ‘permission denied’ error…
So, let’s see if I understood… I must install busybox (www.busybox.net), and run it before starting all these proceedings, right?
And, just a question (to complete the tutorial for the “dummies” in Android), how can we root an android tablet (in a simple way)?
Thanks!!!
Thanks for advising! I rooted the tab as you teached in other post (w/ SuperOneClick), installed Busybox, but the new fila doesn’t work. I used the adb shell, I copied with RootExplorer, but only the original wpa_supplicant works. With the “non-original” file, the wifi doesn’t even start… snif.
Any idea? Thanks for helping!
Thanks for all the info but I’m having trouble with the WPA supplicant file.
My device is a Samsung Galaxy tab 2 7.0 running Android 4.1.1. It’s rooted and confirmed rooted by RootChecker. I’ve installed BusyBox, copied the WPA supplicant to the tablet and successfully worked through the shell commands as posted in the article.
Everything worked but now my WiFi doesn’t start at all. Presumably there is something wrong with the supplicant file, as I’ve read it may or may not do the trick on some devices (?)
Will revert to the original supplicant file for now but please can you advise? Is there a more up-to-date supplicant that works? Is there anything I can do to make this one work? The file I’m using is dated as last modified on 12 April 2011, though I can find no information in regards to a version number, etc.
Many thanks
I am using cayanogemod 9 HP Touchpad
my device is rooted and i have busybox installed
when i come to type (adb shell) in cmd and press enter it say device not found ?????????? while my device is connected vai a USB …
Please try to Help;
i have the same problem….
Your drivers hasn’t been fully installed or updated, remove your old drivers and reinstall. I had the exact problem, that procedure fixed it!
I am happy to report i know have access with my tablet 10.1 to my android phone… I’m just cheesing over here. After you get Busybox Pro version installed (download the apk from 4shared.. Its free) and reboot. When you use the adb tools, and you run the command adb shell (go back to your tablet and click the allow for SU permissions). I missed that or didn’t know i was getting prompted. I was too busy watching my other monitor. As always the Admin for this site is awesome!!!
I can see the ad hoc networks and when i tap on the ad hoc network to connect, it just sits on obtaining ip address and never actually connects to it…any idea what the problem is?
I have the same issue…
I had this common problem and almost give up for some time.
In my experience, it is with my Windows 7 adhoc connection having some issues.
There are also some times that I get connected and disconnected again repeatedly.
The issue turns out to be that my phone is trying to connect to an adhoc network that have Internet connection and will not connect if there’s no Internet connection to the adhoc. I just reset my network configuration to of my adhoc, and I’m able to connect to it. Making sure that my Wireless Connection(adhoc) is showing ‘Internet Access’
What I do is to refresh my Windows 7 connection:
1. Control Panel -> Network and Internet -> Network and Sharing Center -> Change adapter settings
2. Right click Local Area Connection(One that is connected to the Internet) -> Properties -> Sharing (tab) -> Uncheck ‘Allow other network users to connect through this computer’s Internet connection’ -> Click OK
3. Do number 2, this time at the last parts check the ‘Allow other network users to connect through this computer’s Internet connection’ -> Select ‘Your_Wireless_Connection’ in drop down -> then click OK
The steps above eventually refreshes my connection and I have ‘Internet access’ in my Wireless Connection(adhoc)
stuck at the last command.
Unable to chmod /data/misc/wifi/wpa_supplicant.conf: No such file or directory
tks
but if i reboot i still can see the adhoc network but it would be permananantly “obtaining IP address”
Hi, I have a Hipad m701 and it is rooted and has the debugger as well.
but when I Dl’d the sdk and java stuff, I still can not get the shell command to work. it keeps saying
device not found.
This works!!! and on the August release of TouchWiz ROM too.
The process listed is great or for those used to using Root Manager, etc on Tablet itself, once you get the wpa_supplicant file just overwrite the existing one in /system/bin and as long as Wifi is stopped it’s good to go.
Reboot required most likely.
On the other hand if you use the wrong (old) wpa_supplicant, you can mess up the Wifi altogether like I did, so I just re-installed the ROM and it’s all good.
There is a nice tool called QuickBoot, free in Android store, it allows for Reboot-Shutdown-Recovery-Bootloader booting, you just click it and next thing you know [very fast] you’re in the Recovery mode for example.
It would be great if admin can update the page to mention BusyBox installation as a pre-requisite.
Many a time BusyBox gets installed along with custom ROMs but if somone is using stock firmware and just rooted then BusyBox installation is a separate step, I suppose.
I’ve rooted and installed busybox…I have the drivers installed on my windows machine and the tablet is visable in the device manager, but when I run adb shell from the cmd window I get “error: Device not found.”
I had to modify the instructions slightly. On my Samsung Galaxy Tab 10.1 (bought from Telus, up here in Canada), I noticed that my /system was mounted on /dev/block/mmcblkp04 and was ext4.
I had my tab rooted already, so I just used the Terminal Emulator right on the tablet, rather than bothering with adb. So I wound up using:
mount -o rw,remount /system
which then doesn’t care which partition or type its mounted from. For me, the ownership of my original wpa_supplicant was root.shell, not system.wifi.
Otherwise, I was able to replace the wpa_supplicant, and I can now connect to ad-hoc networks.
Thanks for the great tip.
Hi Dave ,
Thanks for your tip. Had problems mounting /system .
Following your tip , it went excatly has planned.
Thanks a lot..
Cheers!
Anuj
Please a try but have this message. What i need to do?
C:\adhoctablets>adb shell
shell@android:/ $ cp /system/bin/wpa_supplicant /sdcard/wpa_supplicant.original
/sdcard/wpa_supplicant.original <
shell@android:/ $ cp /sdcard/wpa_supplicant /system/bin/.
cp /sdcard/wpa_supplicant /system/bin/.
cp: can't create '/system/bin/./wpa_supplicant': File exists
1|shell@android:/ $
Someone please answer this.
Hi there, I am unable to detect wifi signals from my iphone when using my android tablet. Is it that Apple prevents its products from being used together with Android as they are competitors? Is there any way that I can surf internet on my android tablet using the wifi signals from iphone as I can do it with android phone.
I have a 3G ipad (jailbroken running MiWi) and my wife has a non-3G ipad. When I first got my galaxy tab 10.1 (which is a 3G version), my non-3G ipad could connect to the tab no problem. I made a trip to the US and put an AT&T sim into my 3G ipad and that’s when I discovered that my tab couldn’t connect (until I did the wpa_supplicant thing described in this thread). My tab is currently network locked to telus, which is why I was trying to tether from my ipad.
Anyways, I’ve successfully used my galaxy tab as both a tether host and as a tether client to an iPad, so I wouldn’t image that there should be any issues with an iPhone.
Hi
First thanks for the instructions. Tethering works great now.
Same as Dave above, my 10.1 had an ext4 system partition. For everyone else too: If you want to check what’s the correct device on your tab/system, write mount in the shell prompt. That’ll list all the partitions. We are here interested in the row with system/ on it.
Also, I’d modify the instructions a bit:
I’d add the (video only) bit about copying the new wpa_supplicant on to the devices sdcard, and I’d remove “-t yaffs2″ from the mount command as it’s not necessary when remounting (like Dave mentioned), I’d also drop the last command as superfluous as we haven’t even touched the wpa_supplicant.conf.
i have a dell streak 7 i followed the post, but i got stock at the replace file wpa_supplicant it says file already exist, i tried to open the folder on the tablet itself but i says that i don’t have permission to over write, pls help
Can you point me in the direction of a working BusyBox install tutorial? I’m not at all good with Linux, and I noticed the busybox install video (provided by galaxytabhacks) from youtube is not working anymore (some screen problems, it appears) so i don’t really want to screw my tablet up yet (since it’s new) but i need ad-hoc wifi connection. Please help
Hello
Thanks for all your posts. I am stuck with enabling ad hoc wifi, because: I do have a rooter galaxy tab, which y rooted with your instructions. The superuser app shows superuser permissions for wifi tether and busybox.
I downloaded the adhoctablets.zip, and unzipepd it to C.
I connected my tab in usb debuggin mode, to my computer running xp. I run a cmd, and type adb shell, and enter into android shell. All fine until here
But when I run su… i get an error:
C:\adhoctablets>adb shell
shell@android:/ $ su
su
Permission denied
255|shell@android:/ $
I don’t know what else to do, please help me. I could send you printscreens of my tablet, showing my superuser app listing busybox with superuser permissions.
There is something I am missing?
I really need this and I think you are the best explaining all these things, so you are my best chance to solve this.
Thanks a lot
Hello again
SUCESS!!!
It was just matter of rebooting! :\
I hadn’t rebooted my tablet after installing busybox, so I did it and started all over again.
When I run su command, everything went fine, I have now a nice rooted Galaxy tab with Ad Hoc Wifi enabled. I tried connecting to my office wifi which is WPA2 and worked. With my home wifi which is WEP, and worked. And from my Iphone4 using MyWi Wifi HotSpot…. instanly connected.
Trying to help, here are some tips:
1) Disable Wifi connections and set Airplane mode before you start the process.
2) Have BusyBox installed:
I just downloaded a BusyBox Installer from the market, it was “BusyBox Stephen (Stericson)”. I installed it from the appmarket, and then rebooted my tab. After reboot I run the installer and the superuser asked for superuser permissions for busyBox. The installer asked for some directories, and when it asked for system/binx or system/bin, I selected system/bin.
After that I rebooted again. (this is what I was not doing yet when I posted the previous error).
Then I followed the steps in this post, carefully.
I don’t know your name but Thank You!! You’re great
Hey!
I have put my PC into WIFI ad hoc with a usb stick and I would like to connect my mobile phone Galaxy S Plus to it.
Does anyone know if what is presented here would work for me?
Thanks to let me know!
Tom
How to enable adhoc wifi on Archos 70 IT
I set up a local ad hox with my win7 pc, but i was unable to connect to it. the network show sup as very weak signal and it says “obtaining ip address” and doesn’t get past that step. Before selecting it to connect, the network is listed as full bars. I also used DHCP to get an ip address. My ipod touch can connect fine to this network, so i know it works fine and gives out ip addresses fine. Why would this be?
[For people having problems accessing su, make sure your tablet is rooted and you accept the super user request that should pop up (if this is your firts time using adb and typing su that is))
for people who have problems copying wpa_suppliment, copy it first to your /SDCARD folder on your tablet. It is the root folder when you plug the tablet into your computer with usb debugging off. Then the command will work.
hello,
do you have root on your archos 70it? i ask, because i also had the same pad and i didn’t find a way to root this pad. so i gave it to my girlfriend and bought an acer a500
I have bought a Samsung Galaxy Tablet 10.1 and I am a Android newbie. I have managed to root the device and I installed the busybox. I followed your instructions re enabling adhoc WiFi step by step. When I entered “cp /sdcard/wpa_supplicant /system/bin/.” I got the message “can’t stat “/sdcard/wpa_supplicant” no such file or directory”. I continued entering the following lines – everithing went ok. After rebooting I tried to get WiFi connection between the Tab and my HTC HD2. The Smartphone was recognized by the Tablet but when I tred to connect I got the message “”adhoc is not supported by Android platform yet” I can see with the file explorer that all wpa_supploicant files have the same size. Therefore I am assuming that the “cp /sdcard/wpa_supplicant /system/bin/.” command did not wirk. Any idea what I can do to get it done ?
Type su before those commands. Wait for superuser to see u want root access and click allow. There should be a # sign in the terminal, if u dont have root it is $. The last character where u type commands that is. Make sure to also copy the file wpa_supplicant to ur sd card location that tbe command expects. There is a dif between “sd card” and “sd card/external sd”. The 2nd one is ur actual sd card location. Its odd but thats where it is.
Also note any spaces in the commands. Try a copy and paste on the tablet to avoid that. (bring up his page on tablet anf copy command from this page)
Also after copying reboot.
Ps: the superuser prompt is a biggie. No allowed super user access no modifying this file.
Hope this helps!
Thank you 1.337GameDev for your reply. I tried the same procedure again. I always had the # sign, I checked also with the root checker – the root access is ok., the Busy Box (Ver 1.19.3) is also ok. Nevertheless I alway get the error message “can’t stat “/sdcard/wpa_supplicant” no such file or directory” after command “cp /sdcard/wpa_supplicant /system/bin/.”. All wpa_supplicant files which I can find on the tablet have still exactly the same size – so I can assume that the copy / paste of the new wpa_supplicant file did not take place. I entered all command with copy/paste from the original post – so I can exclude any typing error. Any idea where the problem is ?
The problem is that the /sdcard/wpa_supplicant is missing.
I also think that there is a step missing in the instructions. Which is to copy the wpa_supplicant file to your tablet. I didn’t use adb, but I think that something like (replacing adb with the linux/mac variant as appropriate)
adb push wpa_supplicant /sdcard/wpa_supplicant
should work. You would do this before doing the adb shell command. You could also use one of the Wifi transfer tools, or plug your tablet into your computer as a hard drive (I think that USB debugging needs to be off for that – not sure). Anyways, you need to get the wpa_supplicant file that’s in the adhoctablets.zip copied onto your tablet.
That’s it… it works! Thanks Dave.
didnt work on my rooted x8 having eclair stock 2.1 and busy box
I rooted my tab and followed all the instructions, it all seemed to go fine but I still can’t see any adhoc connections. How can I verify that it’s actually installed or how can I troubleshoot. Thank you
Thanks for this great tutorial.
This is for samsung galaxy y : (phone), the thing is only the wpa_supplicant needed to be downloaded from here: http://www.megaupload.com/?d=ETTRIAVS
and it worked yesterday
But from today, it gives connecting and scanning loop, while it shows the ad hoc network in list.
—————-
Log is below:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\addhoc->cd downloads
C:\Users\addhoc-\Downloads>adb shell
‘adb’ is not recognized as an internal or external command,
operable program or batch file.
C:\Users\addhoc-\Downloads>cd adhoctablets
C:\Users\addhoc-\Downloads\adhoctablets>adb shell
* daemon not running. starting it now *
* daemon started successfully *
$ cd /data/misc
cd /data/misc
$ cd dhcp
cd dhcp
$ ls
ls
dhcpcd.exit-hook
$ ls -al
ls -al
-al: No such file or directory
$ cd /data
cd /data
$ cd /etc/wifi
cd /etc/wifi
$ ls
ls
bcm4330_sta.bin
iperf
nvram.txt
RC_248_WPA.bin
bcm4330_mfg.bin
nvram_mfg.txt
wpa_supplicant.conf
bcm4330_aps.bin
$ cat wpa_supplicant.conf
cat wpa_supplicant.conf
##### wpa_supplicant configuration file template #####
update_config=1
eapol_version=1
ap_scan=1
fast_reauth=1
ctrl_interface=/data/misc/wifi/sockets
ctrl_interface_group=wifi$ cd /data/misc/wifi
cd /data/misc/wifi
cd: can’t cd to /data/misc/wifi
$ cd /data/misc
cd /data/misc
$ ls
ls
opendir failed, Permission denied
$ su
su
# ls
ls
bluetoothd
bluetooth
keystore
vpn
systemkeys
wifi
radionv
radio
sensors
brcm_at_uril
utils
dhcp
# cd dhcp
cd dhcp
# ls
ls
dhcpcd.exit-hook
# exit
exit
$ exit
exit
C:\Users\addhoc-\Downloads\adhoctablets>adb push wpa_supplicant.conf /pushpull/wp
a_supplicant.conf
failed to copy ‘wpa_supplicant.conf’ to ‘/pushpull/wpa_supplicant.conf’: No such
file or directory
C:\Users\addhoc-\Downloads\adhoctablets>adb mount -o rw,remount -t yaffs2 /dev/bl
ock/mtdblock3 /system
Android Debug Bridge version 1.0.26
-d – directs command to the only connected USB devic
e
returns an error if more than one USB device is
present.
-e – directs command to the only running emulator.
returns an error if more than one emulator is r
unning.
-s – directs command to the USB device or emulator w
ith
the given serial number. Overrides ANDROID_SERI
AL
environment variable.
-p – simple product name like ‘sooner’, or
a relative/absolute path to a product
out directory like ‘out/target/product/sooner’.
If -p is not specified, the ANDROID_PRODUCT_OUT
environment variable is used, which must
be an absolute path.
devices – list all connected devices
connect : – connect to a device via TCP/IP
disconnect : – disconnect from a TCP/IP device
device commands:
adb push – copy file/dir to device
adb pull [] – copy file/dir from device
adb sync [ ] – copy host->device only if changed
(see ‘adb help all’)
adb shell – run remote shell interactively
adb shell – run remote shell command
adb emu – run emulator console command
adb logcat [ ] – View device log
adb forward – forward socket connections
forward specs are one of:
tcp:
localabstract:
localreserved:
localfilesystem:
dev:
jdwp: (remote only)
adb jdwp – list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] – push this package file to the device and i
nstall it
(‘-l’ means forward-lock the app)
(‘-r’ means reinstall the app, keeping its data
)
(‘-s’ means install on SD card instead of inter
nal storage)
adb uninstall [-k] – remove this app package from the device
(‘-k’ means keep the data and cache directories
)
adb bugreport – return all information from the device
that should be included in a bug report.
adb help – show this help message
adb version – show version num
DATAOPTS:
(no option) – don’t touch the data partition
-w – wipe the data partition
-d – flash the data partition
scripting:
adb wait-for-device – block until device is online
adb start-server – ensure that there is a server running
adb kill-server – kill the server if it is running
adb get-state – prints: offline | bootloader | device
adb get-serialno – prints:
adb status-window – continuously print device status for a specifie
d device
adb remount – remounts the /system partition on the device re
ad-write
adb reboot [bootloader|recovery] – reboots the device, optionally into the boo
tloader or recovery program
adb reboot-bootloader – reboots the device into the bootloader
adb root – restarts the adbd daemon with root permissions
adb usb – restarts the adbd daemon listening on USB
adb tcpip – restarts the adbd daemon listening on TCP on th
e specified port
networking:
adb ppp [parameters] – Run PPP over USB.
Note: you should not automatically start a PPP connection.
refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
[parameters] – Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [ ]
can be interpreted in several ways:
– If is not specified, both /system and /data partitions will be u
pdated.
– If it is “system” or “data”, only the corresponding partition
is updated.
C:\Users\addhoc-\Downloads\adhoctablets>adb shell mount -o rw,remount -t yaffs2 /
dev/block/mtdblock3 /system
mount: Operation not permitted
C:\Users\addhoc-\Downloads\adhoctablets>adb shell
$ su
su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# exit
exit
$ exit
exit
C:\Users\addhoc-\Downloads\adhoctablets>adb push wpa_supplicant.conf /pushpull/wp
a_supplicant.conf
failed to copy ‘wpa_supplicant.conf’ to ‘/pushpull/wpa_supplicant.conf’: No such
file or directory
C:\Users\addhoc-\Downloads\adhoctablets>adb shell
$ cd pushpull
cd pushpull
cd: can’t cd to pushpull
$ cd /data/pushpull
cd /data/pushpull
$ dir
dir
dir: permission denied
$ ls
ls
wpa_supplicant_adhoc
abc
dhcpcd.exit-hook
$ exit
exit
C:\Users\addhoc-\Downloads\adhoctablets>adb push wpa_supplicant.conf /data/pushpu
ll/wpa_supplicant.conf
28 KB/s (147 bytes in 0.005s)
C:\Users\addhoc-\Downloads\adhoctablets>adb shell
$ su
su
# cd /data/misc/wifi/
cd /data/misc/wifi/
# ls
ls
sockets
wpa_supplicant.conf
softap.conf
wpa_supplicant.original
wpa_supplicant.conf.nov19Orig
# cat wpa_supplicant.conf
cat wpa_supplicant.conf
ctrl_interface=/data/misc/wifi/sockets
ctrl_interface_group=wifi
update_config=1
network={
ssid=”addhoc-”
key_mgmt=NONE
priority=3
mode=1
disabled=1
}
network={
ssid=”addhoc-pan”
key_mgmt=NONE
priority=8
mode=1
}
# cat wpa_supplicant.conf
cat wpa_supplicant.conf
ctrl_interface=/data/misc/wifi/sockets
ctrl_interface_group=wifi
update_config=1
network={
ssid=”addhoc-pan”
key_mgmt=NONE
priority=8
mode=1
}
#
————————————————————————————-
Hi rapa,
many many thanks for the wpa file for galaxy y.
u are awesome man the file works perfectly.
i had the foresight to d/l the file last week b4 megaupload was banned
eventhough i just purchased the galaxy y yesterday
thanks a lottt!!!
Hi Brijesh
Do you still have that wpa_supplicant file? I’d like to use it on my Galaxy Y. Could you upload it somewhere?
Thanks,
Richard
I use a windows smartphone with WMIwifiRouter. I just purchased a Samsung Galaxy Tab 10.1 and would like to use the Ad Hoc wifi network. I tried what was suggested here with no luck. I copied the necessary files and placed them in a folder on my desktop, made the mods to point to that folder on my desktop and copy/modify in text file/past to look at the folder on my desktop. I then rebooted my tab after using the modified su command. No results I still can not see the Ad Hoc network.
Can you please help me with this.
Thank you in advance
Tony I
Has anyone tried this with the kindle fire yet???
I encountered that error and looked up the code documentation for that command, and it showed that the file probably did not exist at the location i tried copying form. Just disable usb debugging on your tablet (under settings-applications-development-checkbox for usb debugging must be unchecked) and then plug your tablet into your computer and wait for it to mount as an external drive tablet must be on and unlocked otherwise mtp app wont allow windows to see it) then goto the folder called “sdcard” and put “wpa_supllicant” in there from the zip file in the article above. Then retry that command, ensuring you have root access, and it should work fine.
Personally i cannot connect to adhoc, as i initiated one with my win7 pc, but it can atleast see them and attempt to connect to them now.
1337GameDev
Thank you for your help. I did as you proposed (I moved the wpa_supplicant file onto the tablet, then into the right folder (sdcard) and I repeated all commands as indicated above and …. it worked. I am not familiar with the command language above but I think there is something missing or wrong in this code.
Thank you again for all your replies !
I downloaded the file to my tab unzipped using android zip. I copy the file and used root explorer to go into sytem bin, then mount rw and then paste. It overwrite the old file, BUt the wifi doesnt turn on it comes up with an error. I re-installed old wp file and wifi works. How can i get the new wp to work
Hello can you help me. I downloaded the zip file to my tab and unzip using android zip. I then open rootexplorer to access the files. My wifi was turned off. I copy over the new wp file from the zip. i mount rw and paste the new wp file. Then came up do u want to replace the file that is there. I hit yes. It pasted, but when i turned on the wifi it comes up with error. So i repasted the orginial wp file back and the wifi now works again. I tried replacing the new wp file for adhov three times and i always get error. Can you please help me to get the adhoc to work.
Max,
I went through the process you laid out and still I am unable to see the AdHoc wifi. I must be doing something wrong. Very frustrated and Yes of course Samsung says that the device can not be connected to AdHoc…lol
Can you please assist me with this?
Max,
Another piece of information. I use to be able to view the wireless network from my Windows Touch Pro 2 utilizing WMWifiRouter on my tab (just could not connect). Last night there was a firmware update which I installed and now……Can not see it.
Max,
This is what I typed into the dos window. I have the files saved on my desktop in a folder called Galaxy Tab
C:\Users\Tony>cd desktop \galaxy tab
C:\Users\Tony\Desktop\Galaxy Tab>adb shell
shell@android:/ $ su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /system/bin/wpa_supplicant /wpa_supplicant.original
cp /wpa_supplicant /system/bin/.
chmod 755 /system/bin/wpa_supplicant
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
s exitu
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /system/bin/wpa_supplicant /wpa_supplicant.original
cp /wpa_supplicant /system/bin/.
chmod 755 /system/bin/wpa_supplicant
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
shell@android:/ # mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
shell@android:/ # cp /system/bin/wpa_supplicant /wpa_supplicant.original
sh: cp: not found
127|shell@android:/ # cp /wpa_supplicant /system/bin/.
sh: cp: not found
127|shell@android:/ # chmod 755 /system/bin/wpa_supplicant
shell@android:/ # chown system.wifi /data/misc/wifi/wpa_supplicant.conf
shell@android:/ # su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /system/bin/wpa_supplicant /wpa_supplicant
cp /wpa_supplicant /system/bin/.
chmod 755 /system/bin/wpa_supplicant
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
exitexitsu
sh: exitsu: not found
s2 /dev/block/mtdblock3 /system <
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
shell@android:/ # cp /system/bin/wpa_supplicant /wpa_supplicant
sh: cp: not found
127|shell@android:/ # cp /wpa_supplicant /system/bin/.
sh: cp: not found
127|shell@android:/ # chmod 755 /system/bin/wpa_supplicant
shell@android:/ # chown system.wifi /data/misc/wifi/wpa_supplicant.conf
shell@android:/ #
If you can assist me with this it would greatly be appreciated.
did you ever get an answer or figure out this problem? i am having the same problem.
I have a rooted Vizio VPAD1008 and everything goes smoothly until:
C:\>cd ad-hoc
C:\ad-hoc>adb shell
$ su
su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cp /system/bin/wpa_supplicant /sdcard/wpa_supplicant.original
cp /system/bin/wpa_supplicant /sdcard/wpa_supplicant.original
# cp /sdcard/wpa_supplicant /system/bin/.
cp /sdcard/wpa_supplicant /system/bin/.
cp: can’t stat ‘/sdcard/wpa_supplicant’: No such file or directory
#
What am I missing here?
Thanks!
The same thing happened to me….for some reason it does not want to copy over the new wpa_supplicant file. I had to move the file by using root explorer (download from the droid market). Once I did that, I proceeded with the rest of the commands (chmod and chown) and I was good to go.
chmod 755 /system/bin/wpa_supplicant
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
exit
It works !
Good tutorial. Thanks.
followed all the steps everything seemed to go well . got no errors. reboted my samsung galaxy tab 7.0 plus and now i have no wife. indicates wifi turning on but then it times out with error
followed all the steps everything seemed to go well . got no errors. rebooted my samsung galaxy tab 7.0 plus and now i have no wifi. indicates wifi turning on but then it times out with error
Me too. Wifi crashed. It turns on and looks a little while for connections then suddenly ti turns off again. Need help.
Me too, and now I can’t revert to working infrastructure wifi! With terminal emulator and su, I am able to restore /system/bin/wpa_supplicant (actually I didn’t need to, because the file was never changed by ZT-180). I found the original copy of /data/misc/wifi/wpa_supplicant.conf and restored it, also “chown system.wifi wpa_supplicant.conf”. But now wifi will not work – it spends time “Turning on”, then eventually gives up with error.
Yikes, this is horrible, I don’t know what else to look for. What could be preventing me from getting back to the original working config?
I don’t think I ever posted my resolution. I did a factory reset and then all was OK – my wifi worked again.
Does anyone know WHY this is a problem? Why the tablet has to be rooted to do an adhoc connection to a notebook wifi network? It seems like such a normal thing to do I can’t figure out why Android or Samsung has not made it really simple to do.
Thank you!~ You are now one of my best friends. : ) This worked perfectly on my galaxy phone to tether with my other phone. I had to do it because in this area there is not 4glte yet, and my phone has no 3g, so I tethered it to the one that does get 3g, cause the one that gets 3g has no flash update for videos yet. I used ESfileexplorer to move the files. For some reason my busybox wasnt working. Also I was stuck acquiring ip for awhile, on Barnacle wifi I just clicked associate and BAM! Thanks again!
I followed all the steps as mentioned, it all went well but after reboot wifi keeps turning on and off itself…:(
Man you are the best!!!! thannks a lot, working perfect, Nokia N8 tethering to Galaxy Tab P7510.
Hey, advanced iPhone user here new to Android, I got the Coby Kyros 7024 for free a couple days ago, Managed to successfuly root it and have Busy Box going, I seem to also have installed the drivers on my pc but yet cannot access anything in CMD following all instructions, as if my device is not connected though it is and should be recognized as it was by Superoneclick which is what Rooted it, I also do not have an SD card and was wondering if in the end that will screw me during the process…what do I need to do to finish this process or is there another way… Id really like to get this thing tethered to my iphone adhoc connection and off my GF’s Win 7 PC running Virtual Router….PLEASE HELP!
why do i keep getting error device not found when i enter adb shell?? pls help meee
Thanks for this, it works. One problem though, it no longer connects to my home wifi which is non-broadcasting WPA2. It worked fine before the mod.
I am stuck @adb shell. when I type adb shell, I only get $ and when I tried to proceed in typing su i only get ->permission denied. I have rooted my Samsung Galaxy Tab p1000 and installed busybox pro. I do not know what else to do. I am desperate to be connected with my ad hoc. Please. I am a super noob in android, this is my first android device.
I found an easier way for the galaxy tab to connect to your phone without changing the wpa_supplicant file. Go to google and type android wifi tether. You will find the android tether apk. Download the latest verison. After installing the apk, open and then go to menu then to settings. In setting click on change device profile and chose your phone. THe go to change set-up method and click on netd(master). Then exit out of menu and click to start the tether. It will come up with a mobile access point that can be seen by the tab because it is not an adhoc network. Enjoy and have fun
What if i have an iphone? What if i want to connect to my pc? Ad hoc is easily deployed, having to work around with an app is not a good work around. Modifying ONE file ONCE is an easy workaround. I dont know why android deliberately cut this feature. Confuses me why they try to make themselves better than iOS but then cut / omit features on purpose. I dont understand.
You only need to change the setting once and they will be save. After that is just starting the wifi tether and you tablet will connect right away.
But it doesnt solve the problem with the adhoc problem. Yet it works for android phones but this is not meant to be an advertising place for an app. It is meant to enable features for the galaxy tab that were not there before. If the app was installed on the tab and allowed adhoc connections then i would not be bias against it. But its just a workaround for one situation. Finding a workaround formever situation is a lot of work, trust me, but doing one workaround for all is more practical.
I understand what you are saying, but I think the main point is to get your tab connected to internet through your phone. Since you have to download apk for the tether on your phone anyway, this is just giving you another option.
I’ve done everything you said in here and now I am able to see ad hoc networks =) I try it as you did with my android phone and got internet with no problems.
At my office I use a windows xp laptop and I also created an ad hoc network but in this case my galaxy tab 10.1 stays in a loop at “obtaining IP address”. I read about similar problems with android tablets and even people talking about modifying the supplicant file… do you know why does this happens so I can find a solution?
Thank you!
i have this problem with windows 7 laptop. It sees it fine, but never actually connects. Maybe something with how windows networking api handles infrastructure mode vs ad hoc mode? Idk.
Almoste there… But in the last line I get problems as below. Any idea? Please help
(Unable to chmod /data/misc/wifi/wpa_supplicant.conf: No such file or directory)
$ su
su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cp /system/bin/wpa_supplicant /sdcard/wpa_supplicant.original
cp /system/bin/wpa_supplicant /sdcard/wpa_supplicant.original
# cp /sdcard/wpa_supplicant /system/bin/.
cp /sdcard/wpa_supplicant /system/bin/.
# chmod 755 /system/bin/wpa_supplicant
chmod 755 /system/bin/wpa_supplicant
# chown system.wifi /data/misc/wifi/wpa_supplicant.conf
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
Unable to chmod /data/misc/wifi/wpa_supplicant.conf: No such file or directory
# exit
exit
$
hello
i have been trying to get ad hoc to work on my HP touchpad that is running Android 2.3.5,
i have followed all the steps, my tablet is rooted, i CAN see my ad hoc network (from my phone using barnacle) but i cant connect to it, it says “remembered” but when i click connect on my tablet it doesnt do anything.
i managed to connect once but then got disconnected straight away, any solutions?
WORKED! – Samsung Infuse 4G
Thanks for this, exactly what I needed.
I would agree about the edits to mention:
– Copying the wpa_supplicant file to the SDcard FIRST
– Removing the last line about wpa_supplicant.conf which is unnecessary and causes an error
Thanks for the time putting this together!
Jay.
Hi,
I did everything as written above, with no errors. I rebooted at the end of the process and since have no WIFI.
I tried to remount the .original file but that didnt work. when i trying to start busybox, i get a message that the device is not rooted. ( it is) i got to superuser app and “forget” busybox. i now cant install busy box again as i dont have wifi.
any ideas?
thanks
irontman
Ok, i remounted form the system/bin folder the original file and got wifi working again.
now i need to figure out how to enable Ad Hoc support.
God guide works fine, but didn´t see that busybox was needed at first.
/Jon
I ensured my tab is rooted. I copy/paste the commands you posted making a change or two. I don’t have an sdcard so I had to save to my desktop. Entered utilizing cmd window on pc the following:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Tony>cd desktop/galaxy tab
C:\Users\Tony\Desktop\Galaxy Tab>adb shell
shell@android:/ $ su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /system/bin/wpa_supplicant /desktop/wpa_supplicant
cp /wpa_supplicant /system/bin/.
chmod 755 /system/bin/wpa_supplicant
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
exitsu
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
Permission denied
s2 /dev/block/mtdblock3 /system <
mount: Operation not permitted
255|shell@android:/ $ cp /system/bin/wpa_supplicant /desktop/wpa_supplicant
cp: can't create '/desktop/wpa_supplicant': No such file or directory
1|shell@android:/ $ cp /wpa_supplicant /system/bin/.
cp: can't stat '/wpa_supplicant': No such file or directory
1|shell@android:/ $ chmod 755 /system/bin/wpa_supplicant
Unable to chmod /system/bin/wpa_supplicant: Read-only file system
10|shell@android:/ $ chown system.wifi /data/misc/wifi/wpa_supplicant.conf
Unable to chmod /data/misc/wifi/wpa_supplicant.conf: Operation not permitted
10|shell@android:/ $
The above is what I rcvd.
Can someone please assist me with this. The Tab was purchased as a wifi only and has no association with any cell phone providors.
Thanks
Can’t download adhoctablets.zip – whenever I try for the past couple weeks I get an error page saying:
hi, try it with windows xp and my tablet android. Well as far as income “adb shell”, recognizes the device but to enter “su” replies “su not found”. What happens? Thank you very much!
Hi,
I tried your method on my Coby Kyros 1126 tablet and altough it seemed to work my wifi connection is now turning on and off by itself every couple of seconds and I cant get a connection. I can see my ad hoc network from my phone on my tablet, but the wifi wont stay on? I did run the second set of commands you listed for problems which made no change, I tried reset on the tablet and I did a full factory reset but I am still having the wifi problem.
Do you have any suggestions?
Thanks!
dear dave,
me too in the same situation. please share if u have found a way out
thanks
I tried this and my wifi doesn’t work anymore. Anyone can help me ?
hi! i did follow yr wt u said
n i did install busy box n rooted my tab tooo
but in the command prompt,
C:\Users\User1>cd desktop
C:\Users\User1\Desktop>cd ad hoc
C:\Users\User1\Desktop\ad hoc>adb shell
shell@android:/ $
i just want to know what should i put ???
i did put su
n it didnt work
plzzzz can you tell me wht to do plzzzzz
hey max! its me again! im getting better this time,,, but still not sure wt to do
here is wt i got,,,,,
C:\Users\User1>cd desktop\ad hoc
C:\Users\User1\Desktop\ad hoc>adb shell
adb server is out of date. killing…
* daemon started successfully *
shell@android:/ $
I use LG-P990 and cant do
cp /system/bin/wpa_supplicant /desktop/wpa_supplicant
cp /wpa_supplicant /system/bin/.
always not found , so what’s should i do? Please help….
I used above mentioned method and followed above mentioned steps on dell xcd35 with android 2.2 however now the wifi keeps turning itself on and off randomly.
I tried to undo the operation with the given command and also did a hard and soft reset but the wifi is still acting the same way.
Please help me and guide me what to do
me too in the same situation. please share if u have found a way out
hey just wondering why it says device cant be found when i do the cmd line adb shell its irritating
is it necessary to copy wpa_supplicant file to sdcard of tablet???
why is it not mentioned in instructions???
but it is in the video….
Yes it is needed. Probably was a typo. You copy it there to run the commands on the tablet rather than adb on a computer to transfer the file.
I have created a tool to enable Ad Hoc wifi on at least the Samsung Galaxy Tab 10.1 GT-P7510. I am working to add more devices but need help with people testing this out.
The app currently does all the steps in this tutorial. It will also check if you have rooted your tab and have busybox installed before doing anything. You can disable the compatibility check if you do not have the GT-P7510.
The market link: https://market.android.com/details?id=nl.arendmedia.wifiadhocenabler
If you want to help out please add details in the comments on: http://www.arenddeboer.com/wifi-ad-hoc-enabler-for-android/
Just for your information, it worked fine with Samsung Galaxy Note wich is more a Mobile Phone than a tablett, but nevertheless. I had to adjust a couple of paths, for example the config File is located under system/etc/wifi instead of data/misc/wifi. The best thing for me was to check out the different paths and after that everything was fine.
Thxs a lot and cheers from Switzerland, Manuel
Didn’t work on my Galaxy Note.
After changing the file the phone was keeping saying “Turning WiFi on..” without doing anything.
I did the revert procedure and then it worked fine again without the ad-hoc networks as usual.
Please correct the post, the exact revert command it should be
cp /sdcard/wpa_supplicant.original /system/bin/wpa_supplicant
Thanks anyway.
In the description how to revert the change there is a little mistake:
Instead of:
cp /sdcard/wpa_supplicant.original /system/bin/.
it should read:
cp /sdcard/wpa_supplicant.original /system/bin/wpa_supplicant
Otherwise the “wpa_supplicant.original” is just laying around in “/system/bin”.
Thank you so much. This fixed the wifi back to its original state after it was stuck in searching mode. But I still can’t fix the ad hoc ughhh, really need wifi on the go.
Just use a root file explorer and move the file. Then set permissions to 755 which I believe is all users (3 dif kinds should be listed) and enable all permission for each. Then reboot.
This update does not work on ICS I am looking for a wga_ Supplicant that does if anyone can assist it would be much help. I have a wifi Xoom running ICS 4.0.3 And it turns off wifi all together when i do this. It worked when it ran Honeycomb but no longer on ICS. Thanks.
Once again. WORKS ON HONEYCOMB. Not ICS. Two dif os’s. It’s like trying to run a program for win7 on a win98 computer. Similar os, but very dif. This patch WILL NOT work on ICS. Google for an appropriate fix for ICS adhoc usability.
when i write ( adb shell ) in cmd i got ( shell@android ) not ( root@android ) although i have rooted my tablet…
why???
and what can i do
i’m from Egypt so does it will work in Egypt or not
and Thx alot
Pls read above posts. As discussed before it works with all honeycomb devices and you should type the command SU to get super user root access. Allow any super user popup requests.
Pingback: Connect to Ad Hoc - Android Forums
I rooted my new 10.1 tab with instructions (and rom) from http://galaxytabhacks.com/galaxy-tab-10-1-hacks/how-to-root-galaxy-tab-10-1-the-easy-way/ but now when i do “su” after “adb shell” I get “permission denied” which probably means that my rooting didn’t work properly – how can I verify this? I tried it twice already.
Thanks for help!
Ron
1. can we do this without inserting memory card,
2. instead of “sdcard” can we use any Usb stroage device,
3. Is it possible to do this with the help of “super one click” app,
Any help for a dumb mistake? I used Droid explorer to move the wpa_supplicant file off of my device (Nook Touch) since Nook touch doesn’t have the cp command. I used the chmod 755 command and the chown. Then after rebooting my wifi doesn’t connect — the mac address is missing. I used Droid explorer to put the original file back, and did the chmod and chown as above.
The problem is, now the Nook Touch, when I turn on wireless, a message flashes two time (Unable to scan for networks) and wifi turns off. The MAC address is gone, and I guess that’s the cause. Any idea how to get it back?
I’m sure I did something dumb, but hopefully someone can help me out. Thanks in advance.
Jon
I alos have this problem. Any help? Jon, did you ever get this resolved?
does this support xoom running on ICS
Everyone is telling me that it won’t and when I tried it cut my wifi off completely. I hope they get one soon. I’m in the same boat I have a rooted xoom running ICS.
This work with Symbian Phone using JoikuSpot?
Anyone has try?
Sorry for my bad english. .
For me (Samsung Galaxy Tab WiFi only aka GT-P1010 and mobile phone Nokia E70) the method
described in the posting didn’t work but the ZT-180 ad hoc switcher (in the
market) in combination with Joiku Spot on the E70 did.
I’m running the Overcome rom on Galaxy Tab 10.1 wi-fi and trying to do the adhoc hack keep getting error /system.bin:No such file or directory.
Any clues???
Hi Clifford,
So what command were you trying to enter which gave you the error?
I don’t see any commands which mention using /system.bin
I do see commands which mention /system/bin/.
which is a totally different path.
cp /sdcard/wpa_supplicant /system/bin/.
Hi Clifford,
I don’t see how you can get an error which mentions /system.bin while doing the command:
cp /sdcard/wpa_supplicant /system/bin/.
Did you mistype the error message?
No such file or directory
Hi Clifford.
If I had to guess, I would say that the /sdcard/wpa_supplicant file is missing. Did you copy it there?
IIRC it comes from the adhoctablets.zip file and if you’re following the instructions verbatum you need to copy the wpa_supplicant file into the /sdcard directory in order the commands to work exactly as posted.
im having issues getting past “adb shell” it says “error: device not found” my device is factory rooted and i have busy box from the android market. i have also tried the Ad hoc enabler app and that doesnt work either. what could be the problem in my case?
i am having issues getting past “adb shell” it says “error: device not found” my tablet is factory rooted and has busy box installed from android market. i have also tried the “Ad hoc enabler” app and it doesnt work either. what could be the problem in my case
p.s. my tablet is running android gingerbread 2.3.1
Gingerbread is unsupported on this tablet. This is a discussion about the 10.1 honeycomb (or ics) tablet. Not the 7in. For honeycomb users I would suggest going to xda and finding a custom rom for this tablet. I am on galaxy task 650′s rom for the wifi version of the galaxy tab 10.1 and it comes with USB charging and other goodies. It greatly improves tablet performance. You have to flash pershoots kernel in another thread above it using clockwork mod recovery to get overclocking, uwb charging, and ad hoc to be enabled.
Can you please guide me in the right direction? I’m totally new to the whole tablet world. I’m only familiar with windows terminology. Im not sure how to find a custom rom or configure kernels or anything of such. I have a Yuandao n80a 8inch tab. I sought advice from their website but it’s all in Chinese. Am I SOL or is there someday around this?
Hi All,
Nice guide! Nice zip setup at the begining as It would have saved me from downloading the entire Adroid dev program to get adb had I seen it first.Been trying every wpa_supplicant on the net to get my Galaxy Tab 7+ to work with adhoc networks. This one comes close as I can see the ad hock network with wifinder but it does not seem to connect. It just keeps trying. Oddley enough the built in wifi program on my Tab shows the adhoc as not in range so I had to use WiFinder so it would ask for the password. The only issue I had was permissions 777 would not run without an error but I set all permissions with with Root Explorer. At least this wpa_supplicant did not break my wifi as others have but I stll cannot connect to ad hoc. Any suggestions? I’d really like my tab to connect to ad hoc networks. It’s ashame Samsung crippled it this way…
Worked great for me the second time , the first time it didnt because I put yaffs not yaffs2 and it made the difference works great connecting , not too sure about getting to the internet as it says no internet access on my laptop, haven’t tried it on my Acer A200 tab and LG Optimus Phone for internet but it also connects with no problem.
Thanks Great Job
Unable to get this working on Samsung GT-P6810 7.7, brings up wireless error, restored backup version of wpa supplicant which made wireless work again. Is there a version of wpa supplicant for this tablet to enable ad hoc?
I am having the same problem
I am using cayanogemod 9 HP Touchpad
my device is rooted and i have busybox installed,
when i come to type (adb shell) in cmd and press enter it say device not found ?????????? while my device is connected vai a USB cable …
Please try to Help;
Followed to the letter and WiFi will not work…status shows turning on or error…what to do now. Tried to revert back but no luck. I have a rooted xyboard 10.1 just need my original WiFi back at this point. Factory reset did not work either and I can not find a way to unroot the device. PLEASE HELP OUT!!
The instructions for reverting contain an error. I already made a comment about this but the article wasn’t changed. If you already followed the instructions for reverting then enter the following after logging into the shell with adb (it should help, but no guarantee!):
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
rm /system/bin/wpa_supplicant
mv /system/bin/wpa_supplicant.original /system/bin/wpa_supplicant
chmod 755 /system/bin/wpa_supplicant
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
exit
Oh, and of course restart the device after that.
Thanks a bunch…it worked…has anyone been able to successfully enable adhoc on the xyboard?
thank you very much. it worked well.now wifi is working.
Pingback: Post Changes You've Noticed with 9.4.2.21 - Page 9
after doing this it works great. only problem is now my device has no sound. and i tried reverting but it wont.
A few comments above I have given a solution for an error in reverting instructions.
ad hoc for android 3.2, pleeeeeeeeease! :((
Worked fine.
After that, I’ve just set a static IP adress and provided the same DNS which was on the computer (server).
Thank you.
I have a Vizio tablet, and I get this when trying to start the shell:
C:\ad-hoc>adb shell
* daemon not running. starting it now *
* daemon started successfully *
error: device not found
Any hints or tips as to why the shell won’t start???
Can you see your device listed on Windows Explorer next to your hard drives?
If you cant, you probably dont have the drivers installed. And you need this to adb works properly.
i’m stuck at step 4..when i write the directory where i unzipped adhoctablets.zip,it says that the system cannot find the path specified…what should i do???
Pingback: Time to change « Totallity – a blog about being connected
Pingback: Time to change « Totality – a blog about being connected
Hi, do you have a wpa_supplicant file to fix this on Galaxy S2?
I found that it has the same directory structure that a Galaxy Tab, but when i swap the original wpa_supplicant with yours, the wifi stop working and i cant get it on.
I knew the wpa_supplicant files would be different from Galaxy Tab to Galaxy S2, but i had to try.
I got the wifi on again by copying back the original file.
I even tried to open both files, my original and yours, to check if i could edit the original with the changes that are in your file with an hex editor, but i found it too complex to perform.
So, im here asking for a wpa_supplicant that could fix the same problem on my Samsgung Galaxy S2. It has ICS 4.0.3 Samsung Official.
Thanx in advance!
How do you even root it? What is rooting? :/
Please see this video, “why root my android smartphone?” http://www.youtube.com/watch?v=DVXMjVpMX2k
ad hoc for android 3.2, pleeeeeeeeease!
You should head over to xda forums. This site isn’t updated anymore. Try the galaxy tab 10.1 (not the 10.1v unless u have the European model) galaxy task 14 rom. It includes lots of tweaks (including this and USB charging) if u flash a pershoots kernel (also in forums in another thread). This Rom is for wifi version tho. There r tutorials too on how to flash and etc. flashing a new rom is way quicker than manually editing android yourself with these tweaks one by one.
The version is my android 3.2. I wanted help fromsomeone who understands more development, becausethe file is changed, wpa_supplicant, all of which areavailable on the Internet, have been tested by me. Thank you for your help.
Hello,
Is there a solution for the TF700T tablet Jellybean 4.1.1?
I’ve tried several files wpa_supplicant none worked.
thank you
Yea, I could not get the posted version or any other to date to work on my Galaxy Tab + either.
good can connect but to much try to connect before get wifi
How to enable adhoc wifi on A*Note CPAD 701 ?
How to root on A*Note CPAD 701 ?
Got the hack to work fine on my Galaxy 10.1v. Work all the time for adhoc wifi from my N8. My device did an OS update recently to 3.2.1 and hey presto my device doesn’t see adhoc networks anymore. Any ideas or have Samsung cotton on so we have to use 3g sim card to keep the telcos happy?
please, I need Help!
I made this tutorial correctly, and so the wifi says “error” and I can’t turn it on anymore
could you please tell what happened and show me the solution to this problem?
Just replace the wpa_supplicant you changed with the original one. You did save a copy right? You should have wifi off when you replace it and you may need to reboot after changing if you still get an error.
John thanks for replying, but I didn’t save the original file wpa_supplicant before doing this procedure, you could send me your please? my email is thiago.ipda @ hotmail.com
I am from Brazil and thank you so much for your help
hey John thank you! I’ve already solved my problem, praised be God for this!
I have a galaxy +7 and have tested all the files available on site development. Could you help me? I’m also from Brazil. My email is cardomecanica @ hotmail.com
Hi Thiago, how did you solve the problem? I have the same problem and I did not save my wpa_supplicant file. Please help
hello Richmon, please give me your mail and i’ll send you the original wpa_supplicant file
Can you send me also a copy of original file? Even I deleted the original wpa_supplicant. Thanks email me at rossi_raze @ yahoo.com
Great Thiago, now if we could just get ad hoc to work on the Galaxy tab + 7……..
I have a galaxy +7 and I’m having the same problem. Could you help me? My email is cardomecanica @ hotmail.com
It seems hard to believe they made it so difficult to access ad hoc networks. There has got to be some smart individual out there that has found a fix for this conspiracy on the galaxy 7+.
Great work!
I have connected my 962i (Mediacom) Ic 4.03 without root and busybox whit my y X10 mini pro (sony ericcson)
But i have a little problem: the wify indicator now is off!
It’s ever ‘gray’ e don’t show the white bar of signal. Only in setup menu i can see the very level of signal. Can you help me?
Sorry for my english ( i’m Italian)
Thank’s!
all right! I tried it on my htc desire (rooted phone). at this line:
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
I got the error: chown: unknown user/group system:wifi
I’ve tried with system:wifi, wifi.system, wifi:system, all unknown…
So I decided to exit adb and reboot. Luckily everything works fine!
Thanx
i need to find the password of wifi network used in my android tablet .when i try to open /etc/wifi/wpa_supplicant.conf it will display a blank screen.can any1 help me.
I want to use a android base phone to connect to a WiFi enabled device that is running in Ad Hoc mode. Will your work-around above allow the phone to see the WiFi node running in Ad Hoc?
I have Android Tablet name “Ainol Novo 7 Aurora”,
Plz tell me the steps from first,
I mean How to ROOT this device & How to install BUSYBOX???
VJ, I also have an Ainol Tornado, and I believe that the Ainol devices are already rooted. Do you have ES Task Manager installed on the device?. If so you have an option to get an additional program called ES File Explorer. Using that you can enable root access in the options and that program also enables mounting System as read-write. Personally the solution listed for ad-hoc network does not work for me since I have a peculiar setup. I connect to a normal Wifi router (linksys) at home and that requires Infrastructure Wifi. So the default WPA Supplicant only works there. And if i am not at home then I need to connect to my Nokia E5 running Joiku hotspot for which I need to enable Ad-hoc Wifi mode by replacing WPA Supplicant provided in the androidtablets.zip file. So that kind of switching between both the WPA supplicant is not practical. Hope that helps.
Urk, my Galaxy Tab 7.0 Plus (SGT-p6210) no longer has working wifi. I rooted, installed SuperUser and BusyBox apps, then installed Terminal Emulator. I am doing everything from TerminalEmulator as su (root), I don’t know why so many people seem to use adb from a Windows shell. I want my normal wifi back. I’ll give up on adhoc for now.
To restore I basically did these steps:
chmod 755 /system/bin/wpa_supplicant
cp /data/misc/wifi/wpa_supplicant.conf.original /data/misc/wifi/wpa_supplicant.conf
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
I see in this thread that it is recommended to first:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
But why? I am running a shell on my Android and I already see the /system directory.
In detail here’s what has happened:
1. I first made a copy of /system/bin/wpa_supplicant
2. Installed and ran ZT-180 for ad-hoc.
3. ZT-180 failed to work and my wifi is no longer working.
4. From terminal I then find that wpa_supplicant was not even changed!
5. Now I find that /data/misc/wifi/wpa_supplicant.conf was changed and a copy of previous version was made for me. I view previous version and it is definitely my old conf.
6. Restore conf file: “cp wpa_supplicant.*.original wpa_supplicant.conf”
7. reboot. Now I get WiFi Error all the time.
8. Oops, need to change ownership: “chown system.wifi wpa_supplicant.conf”
9. reboot. Now I get “Wifi Starting” all the time – it cannot successfully start.
10. reboot is no help.
What am I missing? Are there other files to change? Can someone please help?
Thanks so much.
— Glenn in Santa Cruz, CA
Same problem here, Wifi don’t start anymore…
Just replace the wpa_supplicant with the original one you saved and reboot and it should work. I haveyet to find a modded one that will work properly on a Galaxy tab 7+ and allow adhoc.
IF you read the steps that I listed, you will see that my wpa_supplicant file was unchanged.
Finally i decided to try factory reset. This restored wifi to working. Strangely the wpa binary and conf files are unchanged. So I really have no idea what went wrong and what got fixed.
hi… then i tipe adb shell, it appears “shell@android:/ $”. is it normal?
and then, whem i tipe “su” it says “not found”..
how do i solve this problem?
thanks (and sorry the mistakes)
Has anyone successfully done this for the Samsung Galaxy Tab 2 10.1 (P5113)? When I use this wpa_supplicant file, my wi-fi just hangs when I try to enable it (“Turning wifi on…”). Has anyone tailored a WPA file yet for the Tab 2?
ANYONE HAS FOUND A SIMILAR SOLUTION TO ENABLE THE AD-HOC CONNECTIONS ON ICS?
I’VE UPGRADED TO SAMSUNG ICS TODAY, AND THIS METHOD DOESN’T WORK ANYMORE …..
PLEASE HELP ME!
Works perfectly on galaxy tab p1000 gingerbread.
I used a slightly different method here and i report here just to let everyone know.
I used “terminal emulator” (an app available from the play store) and i was able to do everything through the shell directly on the device (Root and busybox installed here on firmware 2.3.3, kernel version 2.6.35.7, build
GINGERBREAD.XWJP9).
-i first downldoaded the wpa_supplicant directly from the internet (tanks for the links!) in the tablet and then -extracted using an app.
-copied the wpa_supplicant file in /sdcard/adhocenabler/
-disabled the WIFI in the device directly from the notification bar
-enabled USB debug mode (just to be sure, but i think it shouldn’t be required)
-started “terminal emulator” and typed ( forget the hashes, of course):
####################################################
su -
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /system/bin/wpa_supplicant /sdcard/wpa_supplicant.original
cp /sdcard/wpa_supplicant /system/bin/.
chmod 755 /system/bin/wpa_supplicant
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
exit
###################################################
-then i tried to enable the wifi antenna directly (without rebooting) and it immediately started to detect ad-hoc networks, but it fails to connect.
-so i disabled wifi antenna and then rebooted.
-after the boot was completed, i enabled the wifi antenna and started to enjoy browsing the internet through my NOKIA 5800 with Joikuspot regularly buyed app (that is a great app, that was embedded in the system since nokia belle).
Hi, is there any way you can provide me with the right wpa_supplicant for the GTP1000 ?
Thanks a lot
Sorry, I tried them in my Motorola Xoom with Android 4.0.3 but it failed.
Do we have another solutions? Thanks so much
Got it working on Acer Iconia A500.
The original post and comments from Dave Hylands and others in combination helped me.
Here is a few tips for those of you who still needs a little push.
For adb problems, like device not found etc. Make sure you have latest USB drivers installed on your PC for you tab. That helped me in the first step.
When the permission problems with mounting began (returned “mount: permission denied (are you root?)”) i fiddled with it back and forth a bit. I decided to do it from the Tab itself, using Terminal emulator (Thank you Dave Hyland for that suggestion and command). Installed Terminal Emulator from Store and then typed “su” and then “mount -o rw,remount /system” (Ty Dave). And finaly it worked.
Next step was to make a copy of the original “wpa_supplicant”. And then replace it with the one included in the download provided in the original post.
This is how i did it.
Connect the Tab in “USB mass storage” mode to PC. copy the “wpa_supplicant” from PC to Tab, does not matter where you put it. But you need to remember where tho.
On your Tab open Terminal emulator. type:
su (Accept permission for the application to get Root privs. (Not always needed.))
mount -o rw,remount /system
cp /system/bin/wpa_supplicant /sdcard/wpa_supplicant.original
cp /sdcard/tmp/wpa_supplicant /system/bin/. (/”sdcard/tmp/”wpa_supplicant text within quotes here should be replaced with the location you put the wpa_supplicant when you moved it from you PC to the Tab.)
chmod 755 /system/bin/wpa_supplicant
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
Restart your Tab.
If you still have problems, try to realize exactly what the different commands are doing. If you understand that you can most likley think of 10+ different ways to work around whatever problem you are having.
Some of my writing is most likley confusing or could have been done better. The purpose of this comment was simply this. If someone had wrote what i just did i could have saved myself some trail and error. The second purpose was to thank the original poster and Dave.
Forgot to mention that my A500 tab is running ICS Version 4.0.3 .
Was the size of the new wpa_supplicant file comparable to the size of the original on your A500?
Hey Dan, My original wpa_supplicant file was ~ 470K and the replacement was around ~289K .
I should also say that when i leave my tab and it goes to sleep i need to turn wifi Off and then On again to be able to connect to any network, And the icon in the notification area does not always show the signal strenght. But it does still show the 2 arrows indicating download or upload, this is true for any wifi connection and not just adhoc.
Hope you get it to work.
//John
i did but now my wifi desn work !!!
please help me
Hello,
I tried this and it changed the supplicant file. But now there is no WiFi – the slider is grayed out. At first it says turning Wifi on …. then disappears – Wifi list shows nothing. Bluetooth is fine.
I am using a GT P7510 but upgraded it to ICS via Kies.
Could that be the reason?
Hoping it reverts…
Thanks,
V
Oh no…
after reverting the file – WIFI is still dead!!!!
Help me Obi Wan Kenobi…you are my only hope…
V
Vivek, just a shot in the dark here. but did you get these to commands working as they should?
chmod 755 /system/bin/wpa_supplicant
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
Hi Zapp,
Thanks for the feedback – yup chmod’d and chown’d correctly!
Fortunately I had a back up of the old file – WiFi is back – but no adhoc networks.
Is it safe to assume that with every upgrade of OS – wpa_supplicant is new and overwritten?
Thanks,
V
.
I don’t know. But you could check “last modified date” i guess. That would give some idea. Tho the file might be subject to”auto replace” during an update. That is to say that some system files are scanned before an update and replaced with original should they not matc