Guide Wifi Ad Hoc Working Samsung 10.1v

drnackers

Member
Mar 1, 2008
5
7
0
Hi Guys,

I have just gotten Wifi Ad Hoc connection working in the Samsung 10.1v (don't see why it won't work on the 10.1 either)

You need to have adb installed and your Tablet needs to be rooted.

I used 2 threads as reference for making this work:
http://forum.xda-developers.com/showthread.php?t=1069569

and
http://forum.xda-developers.com/showthread.php?t=1033314

As a newbie to this i will show you what i did, maybe someone can clean up the process with a simple approach:

You need to turn on Airplane mode to disable wifi, or you will get an error when trying to copy the wpa_supplicant file later on in the instructions...

I had trouble with the adb push command (shown in the above threads) so I did this instead.
Unzip and copy wpa_supplicant file (attached) to Tablet (I used downloads directory)

Get ES File Explorer from Market
Open ES File Explorer and in settings menu select Root options.
Set Root Explorer and use HiAPK
Then Tick Mount File System, then exit menu and navigate to /system/bin and copy wpa_supplicant to somewhere safe (I made backup directory in storage/ sd memory)
Now copy new wpa_supplicant file from where you saved it (downloads directory) to /system/bin

Now in windows command box type:
adb shell
# su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 755 /system/bin/wpa_supplicant
# chown system.wifi /data/misc/wifi/wpa_supplicant.conf
# exit

Now reboot and turn off airplane mode and enjoy.

Usual conditions if you follow this and something bad happens please don't blame me i used the above method (with trial and error) which worked for me (but maybe i just got lucky)
Also I want to acknowledge the hard working devs that pioneered the process and created the file - great work!!

Good luck...
 

Attachments

laoya

Member
Mar 12, 2011
39
0
0
Sydney
Hi Guys,

I have just gotten Wifi Ad Hoc connection working in the Samsung 10.1v (don't see why it won't work on the 10.1 either)

You need to have adb installed and your Tablet needs to be rooted.

I used 2 threads as reference for making this work:
http://forum.xda-developers.com/showthread.php?t=1069569

and
http://forum.xda-developers.com/showthread.php?t=1033314

As a newbie to this i will show you what i did, maybe someone can clean up the process with a simple approach:

You need to turn on Airplane mode to disable wifi, or you will get an error when trying to copy the wpa_supplicant file later on in the instructions...

I had trouble with the adb push command (shown in the above threads) so I did this instead.
Unzip and copy wpa_supplicant file (attached) to Tablet (I used downloads directory)

Get ES File Explorer from Market
Open ES File Explorer and in settings menu select Root options.
Set Root Explorer and use HiAPK
Then Tick Mount File System, then exit menu and navigate to /system/bin and copy wpa_supplicant to somewhere safe (I made backup directory in storage/ sd memory)
Now copy new wpa_supplicant file from where you saved it (downloads directory) to /system/bin

Now in windows command box type:
adb shell
# su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 755 /system/bin/wpa_supplicant
# chown system.wifi /data/misc/wifi/wpa_supplicant.conf
# exit

Now reboot and turn off airplane mode and enjoy.

Usual conditions if you follow this and something bad happens please don't blame me i used the above method (with trial and error) which worked for me (but maybe i just got lucky)
Also I want to acknowledge the hard working devs that pioneered the process and created the file - great work!!

Good luck...
what about the usage of battery after install that wpa_supplicant.conf

Because i used to transfer a similar file like wpa_supplicant.conf to help my samsung Galaxy S i9000 to connect the adhoc WIFI. The usage of battery is horrible, I charged my phone whole night and there is no more battery remaining next morning:eek:
 

drnackers

Member
Mar 1, 2008
5
7
0
I will keep you posted, but been using it on ad hoc for a couple of hours now and nothing out of the usual. Battery seems just same as on wifi.

I will leave it on overnight and report back tomorrow



Sent from my GT-P7100 using XDA App
 

drnackers

Member
Mar 1, 2008
5
7
0
OK well it has been connected all night to Xperia x10 running barnacle no issues downloading through swarm bittorrent client.

Battery was 78% now at 58% so I would see this as acceptable.

Only 1 issue I have noticed, every time you connect to ad hoc it asks for password and adds it as new connection, so you end up with a few in the list but hold on old connections and 'forget' works fine

Sent from my GT-P7100 using XDA App
 

laoya

Member
Mar 12, 2011
39
0
0
Sydney
OK well it has been connected all night to Xperia x10 running barnacle no issues downloading through swarm bittorrent client.

Battery was 78% now at 58% so I would see this as acceptable.

Only 1 issue I have noticed, every time you connect to ad hoc it asks for password and adds it as new connection, so you end up with a few in the list but hold on old connections and 'forget' works fine

Sent from my GT-P7100 using XDA App
woooo! Wonderful!:eek:

I had used the ad hoc wifi and knew that issue already. Anyway, thank you for remining!!
:cool:
Maybe something should do with the usage of battery, because there is 20% drop during the whole night.........

well, in that case, my cellphone cannot tolerate it:D
 

chesterchen

Senior Member
Feb 22, 2005
121
11
0
chesterchen.com
just installed the JuiceDefender app on my 10.1v.

before that, the wifi/3G standby overnight will consume about 10% of battery.

after installing it, and the night more, it went down by 4%.

2nd day of using it and battery life SEEMS better.
 

baggenismo

Member
Feb 26, 2011
20
0
0
I cant seem to get it working right...
After following these steps my wifi drops every 10 seconds... It will see the adhoc though ;-D
I have to disable wifi and re-enable then it will auto join a network for another 10sec before it drops. any advice?
 

nick7920

Member
Dec 28, 2007
28
3
0
I used adb and it worked "MAKE SURE THAT YOU LOCK THE PERMISSION with CHMOD 755 or it will not work"

put the tablet in airplane mode
I download the file put into C:\ of desk top
I had backup my original by using adb pull /system/bin/wpa_supplicant
these are commands and responses

>adb shell
[email protected]:/ # su
su
[email protected]:/ # mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
[email protected]:/ # chmod 777 /system
chmod 777 /system
[email protected]:/ # chmod 777 /system/bin
chmod 777 /system/bin
[email protected]:/ # chmod 777 /system/bin/wpa_supplicant
chmod 777 /system/bin/wpa_supplicant
[email protected]:/ # exit
exit
[email protected]:/ # exit
exit

>adb push c:\wpa_supplicant /system/bin/wpa_supplicant
1267 KB/s (295964 bytes in 0.228s)

>adb shell
[email protected]:/ # su
su
[email protected]:/ # mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
[email protected]:/ # chmod 755 /system/bin/wpa_supplicant
chmod 755 /system/bin/wpa_supplicant
[email protected]:/ # chmod 755 /system/bin
chmod 755 /system/bin
[email protected]roid:/ # chmod 755 /system
chmod 755 /system
[email protected]:/ # exit
exit
[email protected]:/ # exit
exit
 
Last edited:

makbil

Senior Member
Sep 4, 2008
6,246
1,498
0
Bodrum
Tried the flashable zip using cwm 4.0.0.4 but I keep getting installation not successful message. The installation starts, file is opened but the result is unsuccessful. Any suggestions?
10.1v /unlocked / rooted / cwm 4.0.0.4

Edit: Just saw the manual push method above. It will just be so much easier if the flashable version would work.
 
Last edited:

blicht10069

Member
Jun 18, 2010
6
1
0
I cant seem to get it working right...
After following these steps my wifi drops every 10 seconds... It will see the adhoc though ;-D
I have to disable wifi and re-enable then it will auto join a network for another 10sec before it drops. any advice?
I have exactly the same issue. I did this same procedure on my galaxy tab (the original 7" one) and it worked great. Replacing the wpa_supplicant file on my galaxy tab 10.1 has the connections work for 10 seconds and then drop. Incidently, I find this is true for all connections (ad-hoc and regular). Switching back to the original file fixes this. I've played around with the config file in /data/mis/wifi/wpa_supplicant.conf and added ap_scan=1, but I've had no luck. I have the 16 GB retail version. My version also had a locked bootloader. Any suggestions would be most appreciated.

Thanks,

Ben
 

makbil

Senior Member
Sep 4, 2008
6,246
1,498
0
Bodrum
I don't seem to have this problem of wi-fi disconnecting on my 10.1v. So far working perfectly with Connectify, even when the device has screen off, connection seems to persist - I did select never switch to mobile data from settings. I don't know how long it will stay connected though, haven't done a time test yet.
 

blicht10069

Member
Jun 18, 2010
6
1
0
I don't seem to have this problem of wi-fi disconnecting on my 10.1v. So far working perfectly with Connectify, even when the device has screen off, connection seems to persist - I did select never switch to mobile data from settings. I don't know how long it will stay connected though, haven't done a time test yet.
My tablet is wifi only. Perhaps this is the issue. Has anyone gotten this to work who has a wifi only tablet (retail edition)?
 

makbil

Senior Member
Sep 4, 2008
6,246
1,498
0
Bodrum
Left the tablet aside for an hour. I unlocked the screen, and instantly opened the web browser. The connection was working. So maybe it does have something to do with 3G connection even though it is turned off. I am using Connectify (free version) on my notebook.
 

mattXdezzi

Member
Jan 31, 2011
14
0
21
Just thought of something. I have juicedefender set to turn off 3g when my phones screen turns off. This could cut connectivity without dropping wifi signal. Will test theory tomorrow...

Sent from my Galaxy Tab 10.1 using Tapatalk.