[SOLVED] WiFi Ad Hoc Problem , grrr - HD2 Android Q&A, Help & Troubleshooting and Genera

Hello all,
I'm trouble, I can't connect my phone to via Wifi to my laptop
Phone HD2 - Android - Rom NDT MIUI 2.3.7 STABLE V6.0
PC laptop with Xp sp3 with connectify
the problem = the wifi is show but not accept. It's write " (ad-hoc)
I have test Wifi Ad-hoc enabler , but don't work for me .
Have you a way of solution or other thing. I'm beginner , don't be to hard with me.
Thks a lot, great regards

Resolve , thks
thks , in finally I think I find the solution.
Thks for all and Particulary this post by CHRIS1989
CHRIS1989 said:
I found a way to solve this problem
1) ADD your ad-hoc connection (it will appear at the end of the list)
2) go to data/misc/wifi and edit the wpa_supplicant.conf file like this
ctrl_interface=eth0
update_config=1
ap_scan=2
network={
ssid="Ad Hoc name"
mode=1
scan_ssid=1
key_mgmt=your_password
priority=41
}
3) turn on your wifi
sorry for my bad English
Click to expand...
Click to collapse
i used ES File explorer.
Thks for All developper, you are absolutly GREAT
Without you I be lost !
See you soon

Related

[help]how to edit tiwlan.ini

I want my tattoo to connect to ad-hoc network,
Edit /system/etc/wifi/tiwlan.ini seems to be a good way ,by default tattoo can only connect to an AP
gaolizhou said:
I want my tattoo to connect to ad-hoc network,
Edit /system/etc/wifi/tiwlan.ini seems to be a good way ,by default tattoo can only connect to an AP
Click to expand...
Click to collapse
did you find any solution? btw when i was using WildPuzzel v 8 (Froyo) ROM on my Wildfire, It perfectly connects to BSSI on my laptop.
I have seen that some people thinks that Android do not support it, if its true how come it worked with wilpuzzel
and just now, writing this post, I flashed Kernel HCDR.Kernel_v4.2mc1_Flashable.zip from http://forum.xda-developers.com/showthread.php?t=995301 and now connected Wildfire CM7 with my adhoc network on laptop and its working perfectly...
gaolizhou said:
I want my tattoo to connect to ad-hoc network,
Edit /system/etc/wifi/tiwlan.ini seems to be a good way ,by default tattoo can only connect to an AP
Click to expand...
Click to collapse
Use root explorer. Go to /system. Mount it as RW. Then go to etc/wifi. You will find tiwlan.ini there. Open it with a text editor. Scroll down to the line that shows WifiAdhoc=0 and change it to WifiAdhoc=1. Save the file and restart WiFi. Everything working.
Btw, the CM7 rom for Tattoo connects to adhoc directly. No need to edit if u use that.
Bro can I get twilan.ini
I don't have it
Pls

help connecting tatto to ad-hoc network

hi guys, i somehow tried a guide to connect tattoo to ad-hoc network... but i am struck at vi editor.... i want to edit .ini file using vi editor....
it says permission denied....
can anyone help me regarding this please.... i am using windows 7 32bit ultimate.....
guide would be appreciable...
Maybe a stupid question, but are your Tattoo rooted?
kaleun said:
Maybe a stupid question, but are your Tattoo rooted?
Click to expand...
Click to collapse
stupid question ???
Click to expand...
Click to collapse
i dont know why u r saying that.... but let me tell u first, my tattoo is rooted & i installed 5faif's 1.5 cooked ROM & its running fine here....
does this rooting solves wifi connection problem which was there before ???
i also have one question for you, now tattoo is rooted, can i transfer files & receive files through bluetooth ???? if yes which is the best software to do so ???
Bluetooth OBEX
Bluetooth OBEX probably doesn't work on 1.6 as there are dependencies issue.
i have made roms with adhoc before...
i put thise 2 files into /system/etc/wifi/
overwrite the 2 others
REBOOT and then it will connect to a PC adhoc ...but only if its a shared pc adhoc
THX
Marsdroid
marsdroid said:
i have made roms with adhoc before...
i put thise 2 files into /system/etc/wifi/
overwrite the 2 others
REBOOT and then it will connect to a PC adhoc ...but only if its a shared pc adhoc
THX
Marsdroid
Click to expand...
Click to collapse
ok i will do that... thanks marsdroid.
marsdroid said:
i have made roms with adhoc before...
i put thise 2 files into /system/etc/wifi/
overwrite the 2 others
REBOOT and then it will connect to a PC adhoc ...but only if its a shared pc adhoc
THX
Marsdroid
Click to expand...
Click to collapse
What did you exactly do?
In tiwlan.ini did you change 0 to 1 for WiFiAdhoc?
In wpa_supplicant.conf you wrote
Code:
network={
ssid="Adhoc"
scan_ssid=1
key_mgmt=NONE
mode=1
}
Is it enough?
5[Strogino] said:
What did you exactly do?
In tiwlan.ini did you change 0 to 1 for WiFiAdhoc?
In wpa_supplicant.conf you wrote
Code:
network={
ssid="Adhoc"
scan_ssid=1
key_mgmt=NONE
mode=1
}
Is it enough?
Click to expand...
Click to collapse
yes, its enough.
How to configure HTC and PC to use Adhoc wireless connection
Hi to everybody,
i'm trying to use the two files Marsdroid uploaded on the forum, i was able to upload them on the system/etc/wifi folder in my HTC Tattoo, but i can't anyway configure the Adhoc connection between PC and HTC.
Do i have to manually set up an open SSID named Adhoc with no security, both on the HTC and on the Windows XP PC?
Are there some configuration to be made to configure correctly the ad hoc connection? IP address etc...?
Thanks in advance for your help,
Andrea
hi..
i have try to copied the downloaded file, but the tattoo says that there's not enough space to paste the file.. fyi, i'm also have rooting the tattoo
any suggestions?
andreabianchi1984 said:
Hi to everybody,
i'm trying to use the two files Marsdroid uploaded on the forum, i was able to upload them on the system/etc/wifi folder in my HTC Tattoo, but i can't anyway configure the Adhoc connection between PC and HTC.
Do i have to manually set up an open SSID named Adhoc with no security, both on the HTC and on the Windows XP PC?
Are there some configuration to be made to configure correctly the ad hoc connection? IP address etc...?
Thanks in advance for your help,
Andrea
Click to expand...
Click to collapse
u have to manually create the PC "Adhoc" shared on xp first...
then if your system is mounted RW u can paste and overwrite the 2 others..
then after 1 reboot.. try turn wifi off/on 2-3 times.. then it connect without any modifications on HTC
THX
hi there..
bcoz i'm a new member, moderator couldn't let me show what have been happen with my tattoo...
i still can't paste a file in /system/etc/wifi although it has been mount R/W. before i'm trying to paste the file, the system shows it still has 9.59MB free, but after paste-ing the file, and error message showing that it has no enough space, and then it shows that the system had no space, a.k.a 0K free space..
can anybody help me?
thanks
kongkows said:
hi there..
bcoz i'm a new member, moderator couldn't let me show what have been happen with my tattoo...
i still can't paste a file in /system/etc/wifi although it has been mount R/W. before i'm trying to paste the file, the system shows it still has 9.59MB free, but after paste-ing the file, and error message showing that it has no enough space, and then it shows that the system had no space, a.k.a 0K free space..
can anybody help me?
thanks
Click to expand...
Click to collapse
U need to chmod something ..and use a boot.img that workd better or just a new Rom.. i use fyodor 0.5 and root explorer , amon ra recovery... start there
...it migth be u need the tattoohack.so module to RW system
Thx
Marsdroid
marsdroid said:
u have to manually create the PC "Adhoc" shared on xp first...
then if your system is mounted RW u can paste and overwrite the 2 others..
then after 1 reboot.. try turn wifi off/on 2-3 times.. then it connect without any modifications on HTC
THX
Click to expand...
Click to collapse
Done all that but:
On phone wifi manager app keeps asking me for password after i choose connect.
It also displays: Channel:1, Security: [IBSS], BSS: ba:88:7d:ed:52:47
It tries to connect for few secs and that goes to Disconnecting... state
On XP connection for
Network Authentication I tried with both Shared and Open and for
Data Encryption tried with both Disabled and WEP.
I even tried
network={
key_mgmt=NONE
}
I rooted phone by using 27-may-r3-modaco-custom-rom-for-tattoo-with-online-kitchen
I know that post is a bit old story but this thing ruined my Saturday. Please help me save what is possible
lol u guys r going threw alot for adhoc why not install connectify and create a wifi hotspot instead?(note connectify only works with windows 7)
SAuRoN92 said:
lol u guys r going threw alot for adhoc why not install connectify and create a wifi hotspot instead?(note connectify only works with windows 7)
Click to expand...
Click to collapse
Im still on XP (because half of my good equipment wont work on win7 (marketing thing)).
I used Conectify on other machine up until I updated conectify to latest version few days ago after which it just wont connect.
I will go and by access point hardware (which wont work on win8

[Q] wifi?

when i use my wifi it says that it is conected but it doens not work does anyone knows a fix
If you are using (wifi-adhoc network) then Tattoo 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 tattoo and be comfortable using the command line. We will be editing tiwlan.ini and wpa_supplicant.conf. I will be showing you 3 ways to edit the files. Using vi and adb and root explorer.
root explorer is the simple and best way.....
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)
}
it works for me.....
im sorry but i haven't said somethings here they come
i am uising the latste release of the cm7 rom so maybe the problem lies here?
are you using adhoc wifi connection(connection through pc) or normal wifi??
i am using a normal wifi and when i am connected to the internet i can only use it for 5 minuts and than i must shut down the screen and unlock it afther that i can use it for 5 minuts etc.
I had the same problem while I was using stock (htc 1.6 rom).
My recommendation is that you update tattoo to Kalim's ROM.
ok but where excacly is the fault becasue i am on a 1.6 rom now and i don't have that porblem now
guuso50 said:
ok but where excacly is the fault becasue i am on a 1.6 rom now and i don't have that porblem now
Click to expand...
Click to collapse
I figure out with WEP security no problem, but with WPA2 the connection is working but internet is not open...I am on 1.6 original Htc. I don't have any idea why.

100% working wpa_supplicant for galaxy s2 ad hoc mod for gingerbread 2.3.3 and 2.3.4

hello friends
today i m showing you a 100 percent working wpa_supplicant for galaxy s2 gingerbread rom for ad hoc network. yes it is test by me and also this is modified by me too. no one is responcible and cant take credit for developing it. currently i m using and testing on litening rom 6.1 and it works flawlessly. so no more wait for new wpa supplicant. becoz wait is over now. use it and reply me about ny bugs. i will try to revamp it. bye
download attachment and use it
if u like my work then plz donate me on my paypal account
[email protected]
and plz reply thanks
This is great!!! Tested on my galaxy SGS1 and works perfectly!
Thanks!!!
Edit: i can connect only if i set my ad-hoc network unproteced. If i add wpa2 or even wep security the phone gets stuck on "Obtaining IP address...", but it could be my ubuntu notebook.
Awsome sauce!!! Been waiting for this. Downloading and testing it now on my SG1.
Thanks
edit: just realised it is not a CWM flashable zip. Where do I put this?
edit2: figured out where to put it so dont worry. Cannot obtain IP address though on an unsecured ADHOC network.
what is this ?
It alows your phone to use your laptop/desktops internet connection. Create an ad-hoc wireless network on your laptop/desktop and then search for that network on your phone connect and voila your phone should now use the interent through your laptop/desktop.
I like it cos it means I can use my internet connection at work instead of 3g.
SGS2 on lite'ning v4.2 (2.3.4)
Open: 'obtaining IP' loop
WEP: 'obtaining IP' loop
WPA: [no connection]
it is not cwm file. first u have to unzip it then copy and paste this on system/bin folder on ur rooted gs1 and gs2.but this will work perfectly on gingerbread 2.3.4
hi haymzee
you should use litening rom ver 6.1 not 4.2 otherwise it will not work correctly.so first update ur rom in 6.1 and then use this wpa file ok
OH YES! will test and report; long awaited!
I can connect in the morning but after turn airplane mode on-off, then I can't connect till now.
It shows obtaining IP address, even I try to re-boot both phone. T_T
Hello everyone,
I finally managed to solve the problem of connections
thanks
hi to everybody,
thank you for your work!!!!!!! is perfect!!!!
hi,
i'm running LeoMar75 Revolution 2.6, and this wpa_ did not pass obtainig ip loop.
neither wit unprotected or wep protected adhoc network
guidox79 said:
Hello everyone,
I finally managed to solve the problem of connections
thanks
Click to expand...
Click to collapse
Hello, how did you manage to solve the looping 'Obtaining IP address.." problem ?
Also got the same problem of Obtaining IP address. I tried many configurations of changing the ip address manually with static ip address settings
Its working perfectly on our rom.
10 char will b built in in the next release
For all noobs:
Use root explorer
Unzip and put the file in system/bin
Reboot
Done.
Now test
Sent from my GT-I9100 using XDA App
I use LogMeIn.apk
any solution for GB 2.3.5 ???
I've tried ad hoc on 4 different laptops and it only worked on the newer ones
I can confirm this works 100%. I tethered the internet connection on my Macbook Air with the phone using AdHoc Wifi successfully.

[SOLVED] Share AD-HOC notebook (or netbook) with Xperia X10

I'll post the setting that should be done in the Xperia X10, so that it Internet share of the notebook (or netbook) through an AD-HOC network. I spent several hours trying, but I did what many say is impossible!
1. The android X10 must be root;
2. Have installed a program that allows editing of files (here I am using the Root Explorer);
3. Create an AD-HOC network in notebok and allow sharing the internet with other devices;
4. Enable Wi-Fi X10;
5. Add Wi-Fi network, the SSID setting the exact name of the AD-HOC network notebook and also the type of security (Open, WEP, WPA/WPA2 PSK, EAP or 802.1x);
6. Disable Wi-Fi X10;
7. Go to the folder "data / misc / wifi", it contains the wpa_supplicant.conf file that should open with text editor (click it and hold, then open up a menu where you have the option to open the file with text editor);
8. Edit and save the file so that it is as follows:
ctrl_interface=DIR=/data/system/
wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="put the name of your AD-HOC network"
scan_ssid=1
key_mgmt=NONE
mode=1
auth_alg=SHARED
wep_key0=PUT YOUR KEY TO SAFETY
frequency=2412
}
9. Go to the folder "system / etc / wifi" (click on "Mount R/W," is at the top right of screen). This folder contains the wpa_supplicant.conf file that should open with text editor (click it and hold, then open up a menu where you have the option to open the file with text editor);
10. Edit and save the file so that it is as follows:
ctrl_interface=wlan0/
wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="put the name of your AD-HOC network"
scan_ssid=1
key_mgmt=NONE
mode=1
auth_alg=SHARED
wep_key0=PUT YOUR KEY TO SAFETY
frequency=2412
}
11.After saving changes, click the file "wpa_supplicant.conf" and hold until the menu of options. Click "Permissions" and leave only the option marked "READ" in Owner, Group and Others, then click OK.
This last step is not executed lose all changes made since the system returns the initial values.
Note: When editing the files "NOT" leave spaces between the function and value. EX: mode=1 (correct), mode = 1 (wrong).
In step 10 in "ctrl_interface=wlan0/" DO NOT confuse "ZERO" with the letter "o". Read "wlan(ZERO)/"
12. Restart X10.
Once restarted just turn on AD-HOC network and turn on the notebook's Wi-Fi X10 that it undertakes to find the ip to connect.
Im gonna test tomorrow, thanks
For those who can't edit the wpa_supplicant.conf file like me, simply copy it to the sdcard and edit it there. then simply copy to the desire locations and then set permissons there.
OBS: don't forget to set root explorer to Remount as R/W!!!
Working 100% for me now. Thanks
someone2kill said:
For those who can't edit the wpa_supplicant.conf file like me, simply copy it to the sdcard and edit it there. then simply copy to the desire locations and then set permissons there.
OBS: don't forget to set root explorer to Remount as R/W!!!
Working 100% for me now. Thanks
Click to expand...
Click to collapse
I have 2.3.3 stock and Vista, it doesnt work, I tried 20 times
Attached files for editing.
Notice how the data should be.
good job!
Cristiano123.
Cristiano123 said:
Attached files for editing.
Notice how the data should be.
good job!
Cristiano123.
Click to expand...
Click to collapse
it doesnt work for me, when wifi is activating, it doesnt see my network...I will buy a cheap wifi router.
Hello "chriscx", you set up your ad hoc network to share the signal with other devices?
Which version of its Windows Vista?
Cristiano123 said:
Hello "chriscx", you set up your ad hoc network to share the signal with other devices?
Which version of its Windows Vista?
Click to expand...
Click to collapse
It's Vista home premium. Wifi Analyzer app sees the network as ad-hoc (for that it's better than gingerbread wifi scanner) but it cannot connect because of android.
I dont know which permissions on data/misc/wifi ?
And also when I edit, it says OPEN SHARED, I deleted OPEN to keep SHARED
Today I tried again, but I overwrite on files, I renamed bak to conf but it didn't work, so I had to restore my system on x10, then I restored my data apps and I've lost superuser rights, it was the mess, man. now my phone is ok.
chriscx said:
I have 2.3.3 stock and Vista, it doesnt work, I tried 20 times
Click to expand...
Click to collapse
For me it's working fine... Just sometimes it show as it can't find the network, but i just have to disable wifi on my xperia x10 and turn it on again, and if i don't have the ad-hoc network created, it tries to connect to it anyway and says "obtaining IP adress from "asdasd"... I use stock android 2.3.3 with Win7 and the android stock wifi software...
I created a ad-hoc network on my notebook with the name "asdasd" and password with WEP security as "1234567890". That's how i have my both files equal. I only see now that they shouldn't be exactly the same as Cristiano123 show in his post. I have both files in system and data like this, try it so maybe it should work. For me it works fine Don't forget to save the stock files!!! Try this for both files:
ctrl_interface=DIR=/data/system/
wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="asdasd"
scan_ssid=1
key_mgmt=NONE
mode=1
auth_alg=SHARED
wep_key0=1234567890
frequency=2412
}
with win 7, you can use connectify or virtual router, some people said it works.
for Vista: I read this:
/system/etc/wifi/tiwlan.ini
WiFiAdhoc = 1
dot11DesiredSSID = MonSSID
dot11DesiredBSSType = 0
http://forum.frandroid.com/topic/14502-tuto-root-connecter-son-android-en-wifi-a-son-pc-en-ad-hoc/
I dont have time to check today
This tutorial from the link (forum.frandroid.com/topic/14502-tuto-root-connecter-son-android-en-wifi-a-son-pc-en-ad-hoc) is for a Motorola Milestone, the tutorial I posted is for the SONY ERICSSON XPERIA X10 !!!!!
It is not necessary to use any third party program to connect to the AD-HOC network, use only the settings of the post.
Are you following the steps correctly?
Cristiano123 said:
This tutorial from the link (forum.frandroid.com/topic/14502-tuto-root-connecter-son-android-en-wifi-a-son-pc-en-ad-hoc) is for a Motorola Milestone, the tutorial I posted is for the SONY ERICSSON XPERIA X10 !!!!!
It is not necessary to use any third party program to connect to the AD-HOC network, use only the settings of the post.
Are you following the steps correctly?
Click to expand...
Click to collapse
yes I did, but I give up
I thought of something:
on GB 2.3.4 ad-hoc connection is included, and we have a dump system for x10, it should be possible to port it.
chriscx said:
I thought of something:
on GB 2.3.4 ad-hoc connection is included, and we have a dump system for x10, it should be possible to port it.
Click to expand...
Click to collapse
Hello!
My GB is 2.3.3, and connects without problems.
Try the 2.3.4, then let it succeed.
Cristiano123 said:
Hello!
My GB is 2.3.3, and connects without problems.
Try the 2.3.4, then let it succeed.
Click to expand...
Click to collapse
im not able to port it, my mom cant stop saying im dumb, anyway, devs are trying to port ICS now...
I dont work xperia arc
I cant adhoc wifi xperia arc :S.and 2.3.4
Good day . thx friend.
sErDArcAAn said:
I dont work xperia arc
I cant adhoc wifi xperia arc :S.and 2.3.4
Good day . thx friend.
Click to expand...
Click to collapse
Good day!
Go until folder "system / etc / wifi" and copy file "wpa_supplicant.conf", place same here as attachment.
Also verify folder "date / misc / wifi" exists file "wpa_supplicant.conf" if yes copy it and place here as attachment with following name "wpa_supplicant.conf2".
I will check the contents of these files and tell you how you will connect to ad-hoc network.
thx for the info...
i will try this later in my xperia x10 froyo..
hi TS..
it always says that obtaining ip address and nothing happen.. i will be disconnected and if turn on again the wifi. it will scan and it will turn into obtain and it will be disconnected. can you help me with this one?
i edited everything as shown on the first post. im using windows7 and oodie's miui rom. It wont connect. Says obtaining ip address that disconects that again obtaining ip addres

Categories

Resources