[Q] Galaxy Tab does not connect with HD2 Wifi - Galaxy Tab Q&A, Help & Troubleshooting

My point is that. I am using Tmobile 3G network on my HD2 as Wifi Hotspot for the (Unlock P1000 Galaxy Tab). My laptop easily discover and connect with the network easily but My Galaxy Tab discover the network only when I downloaded WiFinder. It wont connect.
The Galaxy Tab discovered it as [WEP][IBSS] through WiFinder. It tried to connect but never happened.
I downloaded EM IP Utility to obtained my HD2 Cellular Line details as follows:
IP: 26.162.246.133
Mask: 255.0.0.0
DG: 26.162.246.133
DNS: 10.177.0.34
10.164.103.44
DHCP: False
I entered the information above to my Galaxy Tab Static IP. It wont still connect. Please help me.

On hd2 are u using android or windows mobile? Does your pc recognize the hd2 as a Ad-hoc network? If you are using android use the attached app for wifi tether and try again.
If hd2 uses a ad hoc network try this (u can use Root Explorer to replace the wpa_supplicant)
http://forum.xda-developers.com/showthread.php?t=854913&highlight=adhoc

lucian777 said:
On hd2 are u using android or windows mobile? Does your pc recognize the hd2 as a Ad-hoc network? If you are using android use the attached app for wifi tether and try again.
If hd2 uses a ad hoc network try this (u can use Root Explorer to replace the wpa_supplicant)
http://forum.xda-developers.com/showthread.php?t=854913&highlight=adhoc
Click to expand...
Click to collapse
I am using Windows Mobile 6 on my HD2. As per the following instructions:
"I purchased a Samsung Galaxy tablet this weekend with out a 3G data plan as my idea was to just tether it to my cell phone where I have an unlimited data plan. There are several apps that will turn your phone into a wifi hot spot but all of them create an AD-HOC wifi network. Much to my surprise, by default, the Samsung Galaxy Tab will not see or allow you to connect to AD-HOC wifi networks. I took me some time to figure out how to get around this. I figured if I posted the information it might same someone else the same problems I had:
1. ROOT TABLET (This is a MUST)
2. MOUNT /system as RW - #mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
3. MAKE A BACKUP OF /system/bin/wpa_supplicant
4. REPLACE wpa_supplicant WITH VERSION I HAVE ATTACHED TO POST
5. MOUNT /system as RO - #mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
6. TURN wifi OFF and BACK ON.
Once you complete step 6 if there is a AD-HOC network in range it will show up as ssid(adhoc) in the available network list. Once you see the AD-HOC network you will be able to configure it and connect to it like you would any other wireless network."
How can I get to the next step below:
"MOUNT /system as RW - #mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system"?
Please Help me

1. Root your Tab.
2. Download "root explorer" from Android Market (paid app)
3.Open root explorer and copy the wpa_supplicant file from the link that ive sent you.
4. Press mount RW on root explorer then navigate to /system/bin and replace wpa_supplicant (make sure to backup the file first)
Sent from my GT-P1000 using XDA App

lucian777 said:
1. Root your Tab.
2. Download "root explorer" from Android Market (paid app)
3.Open root explorer and copy the wpa_supplicant file from the link that ive sent you.
4. Press mount RW on root explorer then navigate to /system/bin and replace wpa_supplicant (make sure to backup the file first)
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
When I followed your instructions, they work like charm. Thank you very much.

lucian777 said:
1. Root your Tab.
2. Download "root explorer" from Android Market (paid app)
3.Open root explorer and copy the wpa_supplicant file from the link that ive sent you.
4. Press mount RW on root explorer then navigate to /system/bin and replace wpa_supplicant (make sure to backup the file first)
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
Hi Lucian,
can you send me the link to wpa_supplicant as well. I tried with other versions but none work. I am using HD2 as well. Thanks.
Regards

Sorry Lucian, please ignore this message. I missed the attachement on top.
However, strangely i am unable to replace the WPA file even after following the above mentioned steps. It just could not be replaced.
Regards

can not replace the file
Please help!
I rooted Galaxy Tab using z4root and couldn't replace the wpa_supplicant file.
Funny thing is if I choose Temporary Root in z4root then I could replace the file without error, but the file restore as default after I reboot my Galaxy Tab.
would anyone share how and which file you were used to root your Galaxy Tab.
thank you very much.

Related

can't connect to an wi-fi ad hoc connection

Trying to connect to the internet through the Wi-Fi router (tethering) provided by an HTC HD2. Nor my XT720 and a Nexus One where able to find the signal in the air. However I'm navigating on my laptop and other HD2 using the same connection. On Windows Mobile we need to select all available networks instead of only access points to find and connect. how to do with android?
find in another Fórum the same question:
my buddy at work has a tethered g1 (tmobile) phone. i am trying to use his connection to go online with my backflip (who wants data charges when you can avoid them?). my laptop connects to that network fine, but my backflip will not detect the network. does anyone know why this happens? and what can be done to make the phone recognize it? thanks. my bf detects other wifi with no problems, btw
No reasonable answer yet.
same here.
Seems like Hero guys have already fixed this:
http://forum.xda-developers.com/showthread.php?t=754961
maybe someone can port it to milestone?
Hi
I have found the solution. I am using Ubuntu 10.04 and Using superfroyo2.2 on my HTC dream. I can connect to wifi adhoc network of my PC and enjoying internet on it.
I have attached the zip file. Please extract the file to get tiwlan.ini and wpa_supplicant.conf file. Replace your mobile's file with these ones and enjoy ad-hoc wifi.
You can use below commands, with mobile connected to PC via usb to replace the files:
adb shell
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# exit
> adb push tiwlan.ini /system/etc/wifi/tiwlan.ini
> adb push wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf
> adb shell
# mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
# exit
I was using ubuntu bash and I placed both files in the tools folder of SDK. and then I ran the commands from that directory so that no path issues arise.
One more thing, You should create adhoc wireless with SSID iBM and leave it open without security key.

Wifi not working after Wpa_supplicant patch

Hello all,
I have a problem. I looked all over and everybody is excited to get their Tab to hook up to Ad Hoc connection. But rarely anybody addresses the issue that follows... It kills regular Wifi!
I cannot connect to any regular wifi now, just my ad hoc connection via my Sprint CDMA Rhodium (touch pro2). I use wifi all the time and running wifi router on my phone all day is not a sensible thing to do.
I tried to put the original wpa file that I had backed up, but still the galaxy cannot connect to regular wifi.
All it says is "connecting" and then "disconnected" and keeps trying to connect to it but never to a point that it says "obtaining ip address"
Please help
Sent from my SPH-P100 using XDA App
try chmod new wpa_supplicant file to 777 had the same issue and solved it with this.
kromosto said:
try chmod new wpa_supplicant file to 777 had the same issue and solved it with this.
Click to expand...
Click to collapse
may sound like a stupid question... but what is chmod?
sorry im pretty good with winmo, but a total noob on android development.
Ok so I downloaded this app called chmod from the market. It's giving me a settings screen with an ability to change numbers and options like read, write, exec...
I feel like this is for the whole system... Not an individual file.
Please help. I really appreciate it! ! !
Thank you
Sent from my SPH-P100 using XDA App
i dont know the app but you can get and terminal app from the market go to the directory you copied the wpa file and write chmod 777 wpa_supplicant and it should be fine you may need su command to get super user access before this command
Did that.
#Su
#Chmod 777 system/bin/wpa_supplicant
Then the terminal registers and goes to next line.
I did reset term, app exited. Wifi doesn't work, ad hoc works
second time I backed out of the app. Still wifi- no, ad hoc-yes
Any clue?
Should I hard Reset?
Sent from my SPH-P100 using XDA App
so you problem is not same as mine. i can tell you what i did exactly maybe it helps.
i didnt use mount commands that wpa-supplicant thread i used androotfile program from the slideme market (normal android market doesnt have this or i couldnt find it) to backup the old one and use it to copy the new one. then got the same problem as you had so go back to old wpa file with again androotfile but still have the same problem. then tried chmod command with the old file and yes it worked (cant remember if i restarted the device) so again copy the new one and chmod it and all started to work.
Actually I just observed that my laptop didn't connect to the internet. So I reset the router and voila! The wifi on my pad works! ! !
All I needed to di was rest the router... stupid me! Didn't think to cover the basics...
And to think, I was soo close to painting a hard reset.. Haha
Thank you so much! ! ! I really appreciate it! !
You are the man!
Sent from my SPH-P100 using XDA App
Hy,
i did everything exactly as described here.
copied new wpa_supplicant to system/bin and thereafter
chmod 777
when i check the permissions with ls -l i can see
wpa_supplicant has following permissions: -rwxrwxrx root root
i can see AD-HOC and "normal" WIFI, but when i want to connect to adhoc, it says: receiving IP Adress, and thats it.
any thoughts?
(i try to connect to my HTC Touch diamond Wm 6.5)
Regards
R
Works like a charm
This fixed my problem getting disconnected from my AP all the time.
Thanks
@kromosto - dude.. THANK YOU! I created an acct on here just to say that. I thought I was in **** water cause my new wpa_supplicant would not work for the life of me, spend hours, and thought the tab was paper weight. Found your post, changed permissions to execute, and I no longer that that 'error' under the Wifi turn-on.
YOU ARE A LIFE SAVER..
armageddon!
Dear All,
I am in the same situation with wpa_supplicant on my brand new Samsung Galaxy S Wifi 5.0, running Froyo, firware: 2.2.2.
I did the following:
1. Download this file: wpa_supplicant
2. Start -> Accessories -> Command Prompt Run as Administrator
3. cd the directory
4. Connect your phone via USB to your computer, then execute the following command:
5. adb shell
6. su
7. mount -o remount,rw -t yaffs2 /dev/block/stl9 /system
8. cp /system/bin/wpa_supplicant /sdcard/wpa_supplicant_ORIGINAL
"/system" is now "rw" mode, original wpa_supplicant is saved.
9. Open another command prompt ( repeat step 2. and 3. ) Then execute the following commands:
10. adb push wpa_supplicant /sdcard/wpa_supplicant
( adb push localfile /remotedir/remotefile )
11. Get back to your other command prompt, and execute the following commands:
12. cp /sdcard/wpa_supplicant /system/bin/wpa_supplicant
13. sync
14. chown root.shell /system/bin/wpa_supplicant
15. chmod 755 /system/bin/wpa_supplicant
16. sync
17. exit
18. exit
So at the moment wifi does not work (ad hoc also, but i do not care) I have the original wpa_supplicant file, but I am too noob to restore it. If someone who already managed to get back wifi working could explain what to do it would be highly appreciated.
Thanks!!!!!!!
cusin
help
nubie said:
Did that.
#Su
#Chmod 777 system/bin/wpa_supplicant
Then the terminal registers and goes to next line.
I did reset term, app exited. Wifi doesn't work, ad hoc works
second time I backed out of the app. Still wifi- no, ad hoc-yes
Any clue?
Should I hard Reset?
Sent from my SPH-P100 using XDA App
Click to expand...
Click to collapse
Hello,
It's fantastic.. it's long time I'm looking for a way to connect via adhoc and now I see that you have already done and trying to get back to original.
Please let me know how you were able to activate this feature(adhoc) on android.
I'm really stopped!!
Still stuck
I actually didn´t backup my old wpa_supplicant :\\\
Still struggling with this!! Any help?
I´m on a galaxy tab 2 GT-P3110 on android 4.0.4.
Thanks!

[Q] Wifi ad hoc

Hi everybody
I have a little question. I want to connect to a wifi ad hoc network. With my PC everything is ok, but (obviously) my Tattoo can't find the net. I read about modifying two files (tiwlan.ini and another one). But.. How can I do?
I have the original ROM (1.6) rooted and with amon ra recovery.
Thank you
Regards
not development related thread CLOSED ask in the Q & A thread or general section
Have you try to upgrade to Froyo or GingerB ?
mensesneg said:
Have you try to upgrade to Froyo or GingerB ?
Click to expand...
Click to collapse
I'll surely try GingerB as soon as the devs will finish their work on the camera.. what i'd like to know is how can i get and put the files in this location and how should i modify them.
BTW, every Froyo and GingerB ROM can connect to ad hoc wireless networks and send files over bluetooth?
Thank you
solution
The G1 does not connect to ad hoc networks through the wifi manager but we can hack it to allow scanning and connecting to ad hocs. I’ve been trying to figure this out for the longest time. Before you begin, you need to root your G1 and be comfortable using the command line. We will be editing tiwlan.ini and wpa_supplicant.conf. I will be showing you 2 ways to edit the files. Using vi and adb.
Settings
edit tiwlan.ini to read:
WiFiAdHoc = 1
dot11DesiredSSID = HydtechAdhoc (or whatever name u want)
dot11DesiredBSSType = 0
edit wpa_supplicant.conf to read:
ctrl_interface=tiwlan0
update_config=1
eapol_version=1
ap_scan=2 (tells wpa_supplicant to scan hidden networks)
network={
ssid=”HydtechAdhoc”
scan_ssid=1 (for APs with multiple SSIDS)
mode=1
key_mgmt=NONE
group=WEP104
auth_alg=SHARED
wep_key0=”MyWepKey” (replace MyWepKey with your key)
}
feversanj said:
I will be showing you 2 ways to edit the files. Using vi and adb.
Click to expand...
Click to collapse
what adb commands should i use? I think that i have to
1) get the files (adb pull /directory_on_phone/tiwlan.ini tiwlan.ini)
2) modify it with notepad
3) set the system dir rw (
Code:
adb shell
$ su
# insmod tattoo-hack.ko
# mount -o rw,remount /dev/block/mtdblock3 /system
4) push the files on the phone.. but how? with adb push tiwlan.ini /directory_on_phone/tiwlan.ini ? Is this correct or when i type "exit" to come back to dos prompt the phone unmounts the partition?
feversanj said:
network={
ssid=”HydtechAdhoc”
scan_ssid=1 (for APs with multiple SSIDS)
mode=1
key_mgmt=NONE
group=WEP104
auth_alg=SHARED
wep_key0=”MyWepKey” (replace MyWepKey with your key)
}
Click to expand...
Click to collapse
Is this for every ad hoc connection or i have to modify tiwlan.ini and wpa_supplicant.conf every time i change SSID or WEP KEY? what if i want to keep more than one ad hoc network in memory?
Thank you a lot

Getting Ad-Hoc Mode on a SG Tab

I finally got it working, **It sees them, but disconnects right after I try to connect, at least its a good start**
I followed http://forum.xda-developers.com/showthread.php?t=854913 however, his instructions were not clear. I did post my answer in that thread, but, who is going to check page 9. I will just re-cap it Here.
Download wpa_suppliment from the post mentioned above, or here http://www.gasjen.com/?p=888 (I used this one, but they could be the same) I posted the one from Gasjen
Make sure your tab is rooted
For Froyo, go here
http://forum.xda-developers.com/showthread.php?t=812367
Gingerbread go here (This is what I am using)
http://forum.xda-developers.com/showthread.php?t=1115318
But I followed the directions and downloads Here
http://www.addictivetips.com/mobile/how-to-root-samsung-galaxy-tab-on-android-2-3-3-gingerbread/
(Its also good I went there, since I didn't know there was a download mode when you press volume down and power. I had no idea why I couldn't till I realized this )
Download the ADB shell
from here http://developer.android.com/sdk/index.html
1) Put the adb shell in the PATH
Right click my computer > Properties > Advanced System Settings > Advanced > Environment Variables > System Variables > Locate Path in the window. Mine is C:\Program Files\Android\android-sdk\platform-tools
2) Pull up cmd and type "ADB" (without quotes, nor this text too ), you should be able to see the help stuff if it worked correctly.
Turn on Tab
Make sure the tab is on
Make sure Wifi is off
Connect your tab to the computer
Upload wpa_supplicant to the Tab
In cmd, type this. ### is a comment
Code:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 777 /system/bin ###This code was not in the XDA explanation, but a different source
cp "/system/bin/wpa_supplicant" "/system/bin/wpa_supplicant2" ###Copy the file just encase you mess up
exit ###Exits out of su
exit ###Exits out of the ADB shell
adb push "D:\wpa_supplicant" "/system/bin" ###First param is the location of the wpa_supplicant file, second is where you put it, instead of D:\wpa_supplicant, change it to where you put it
adb shell
su
chmod 777 "/system/bin/wpa_supplicant" ###I didn't do this the first time, nor was it shown in the previous thread. This is why it didn't work for me, and most likely, if you followed the previous thread and didn't do this, this will probably help :)
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system ###Changes it to read only
exit ###Exits out of su
exit ###Exits out of ADB shell
Turn Wifi on, and you should be able to see adhoc networks with (adhoc) attached to them.
____________________
Now, the only problem is that when I connect, I disconnect right away. I am searching for a solution to this, I think it may be in the /etc/wifi/wpa_supplicant.conf file. I am going to take a look and I will get back when I find it out. Or if you know what to do, tell me I will update the post when I find a solution.
I hope this helps!
~404
In case I need a second post!
I used root explorer to replace wpa_supplicant in/systems/bin/ . I did not experience any problems connecting tab to my nokia phone that has joiku hotspot as adhoc.
I looked at the properties of the wpa file seems the same. I also did not do any changes to the file whatsoever.
Sent from my GT-P1000 using Tapatalk
For root explorer, do you have to pay for that?
Whereis404 said:
For root explorer, do you have to pay for that?
Click to expand...
Click to collapse
yes but it is very cheap....

[Q] Issues with WIFI on Galaxy Note with ICS

Hi
I have got the stock ICS Galaxy DDLP4 (baseband version) for India installed. I had rooted the phone and then installed the Franco kernel v5.
The issue is that my WIFI does not work on the phone.
I have tried Wizdom13 kernel also but still the problem persist. Also I have updated the Franco kernel to v6 but it does not work.
Could somebody advise me on a Kernel which I could install to get the WIFI working.
Regards,
Rex
Requirements to Enable Ad-hoc on Samsung Galaxy Note:-
1. You Devices is already rooted .
2. Need Root Explorer, Purchased it from android market .
3. Download wpa_supplicant+Root Explorer from here and extract both files on a folder.
How to Enable Ad-hoc for Wireless Networks on Samsung Galaxy Note:-
The whole process is to replace the existing wpa_supplicant file to the downloaded file from steps 3. Now check in brief,
Step 1:- Send Both files (wpa_supplicant+Root Explorer) on your Device either bluetooth or USB cable. Step 2:- Now install Root Explorer.apk files and open it. Step 3:- Now Go to this path /system/bin/ and click on Mount R/O Button to change from Read Only Mode to Read Write Mode. Step 4:- Rename the wpa_supplicant to any new name and then move the new wpa_supplicant to same path(/system/bin/). Step 5:- Now adjust file permissions of new file to same Step 6:- Change the /System/bin/ mode to read only mode. Step 7:- Now Enable WiFi and connect your ad-hoc network like a normal wifi network. Re ad here: http://www.hackillusion.com/how-to-enable-ad-hoc-wireless-networks-on-samsung-galaxy-note/
Wifi working now
Thanks for your help. I tried installing the other available kernel like abyss, wizdom13, lp6 and each time deleted the dalvik cache and now I have installed franco ver 6 and the wifi works as of now.
Can't get Ad Hoc connection to work on AT&T Galaxy Note
devid801 said:
Requirements to Enable Ad-hoc on Samsung Galaxy Note:-
1. You Devices is already rooted .
2. Need Root Explorer, Purchased it from android market .
3. Download wpa_supplicant+Root Explorer from here and extract both files on a folder.
How to Enable Ad-hoc for Wireless Networks on Samsung Galaxy Note:-
The whole process is to replace the existing wpa_supplicant file to the downloaded file from steps 3. Now check in brief,
Step 1:- Send Both files (wpa_supplicant+Root Explorer) on your Device either bluetooth or USB cable. Step 2:- Now install Root Explorer.apk files and open it. Step 3:- Now Go to this path /system/bin/ and click on Mount R/O Button to change from Read Only Mode to Read Write Mode. Step 4:- Rename the wpa_supplicant to any new name and then move the new wpa_supplicant to same path(/system/bin/). Step 5:- Now adjust file permissions of new file to same Step 6:- Change the /System/bin/ mode to read only mode. Step 7:- Now Enable WiFi and connect your ad-hoc network like a normal wifi network. Re ad here: http://www.hackillusion.com/how-to-enable-ad-hoc-wireless-networks-on-samsung-galaxy-note/
Click to expand...
Click to collapse
I am running the AT&T Galaxy Note with to official ICS update, rooted with BusyBox installed and I have tried the above method three times with no success; once the wpa_supplicant file is replaced, the wifi will not turn on (no error shown). Reverting back to the original file restores normal wifi operation.
I have hunted high and low for solutions to allow connections to Ad Hoc networks but have yet to find a solution. Even hunted down a copy of the "WiFi Ad Hoc Enabler" that was pulled from the Market (Developer is short on time these days I am guessing), and it does not work either, same results only easier to reverse.
I know the official AT&T/Samsung ICS update has only been out two days but I am still hoping someone finds the tweak/patch soon to allow connectitons to Ad Hoc networks.
Thanks for any help.
User firesg seems to have gotten ad hoc connections to work on his device (not a Note), by using the command wpa_cli. But as gnocchi_ny points out in the same thread: this command seems to be not available in the ICS update that Samsung sent out:
http://forum.xda-developers.com/showthread.php?t=1427207
so... if anyone can tell me if (and how) I can get the wpa cli on my Note, I'd like to give it a shot....

Categories

Resources