New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
bhaveshdj
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 17
Join Date: Jan 2010
Thumbs up [How To] Config ad-hoc wifi with hd2

I am using ad-hoc wifi on my hd2 since a week.
I am using ad-hoc wifi with almost any rooted build.
I first go to wifi n settings and add and set up my ad-hoc connection.
It will show my connection not in range.
Then I use root-explorer and edit /data/misc/wpa_supplicant.conf
I add line ap_scan = 2 in the top
and add at the bottom of network section of my ad-hoc network
mode=1
priority=1

then I go to settings and switch on my wifi.

If then also net is problematic, I give static Id.
My gateway is 192.168.0.1
I give static ip 192.168.0.133 (13/3 is my birthday )
netmask 255.255.255.0

Hope this helps!
 
adrian.mkl.86
Old
#2  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: Feb 2010
the instructions above do not work for me..I have edited wpa_supplicant.conf and now it shows this

ctrl_interface=eth0
update_config=1
ap_scan = 2

network={
ssid="Abitza"
scan_ssid=1
key_mgmt=NONE
auth_alg=OPEN SHARED
wep_key0=0238521368
mode=1
priority=1
}

the problem is that after I rebooted into android my wifi doesn't work anymore..it tries to turn on and after that it says ERROR... any solution?
 
tuppaacc
Old
#3  
Account currently disabled
Thanks Meter 3
Posts: 288
Join Date: Mar 2008
I too would like to properly tether.

Can any one post more specific I instructions on how to do this?

Thanks!
 
geokyr
Old
#4  
Member
Thanks Meter 3
Posts: 38
Join Date: Apr 2009
since this a wifi problem topic.... pls pls pls help me in something... whatever android build i used i cannot have a proper wifi connection !!! the phone connects to wifi with no trouble , BUT there is no data comming in ... so no webpage is loading , no weather , facebook or email.... the radio is 2.12.50.2_2 and rom is latest stock (1.66 greek) ... is there maybe a mod or something for this problem???? has anyone experienced the same? i got no other problems(robo voice , or lagy screen responce!) PLEASE suggestions !! i tried everything !!!
 
lucian777
Old
#5  
Senior Member
Thanks Meter 119
Posts: 434
Join Date: Jan 2007
Location: Bucharest

 
DONATE TO ME
Quote:
Originally Posted by geokyr View Post
since this a wifi problem topic.... pls pls pls help me in something... whatever android build i used i cannot have a proper wifi connection !!! the phone connects to wifi with no trouble , BUT there is no data comming in ... so no webpage is loading , no weather , facebook or email.... the radio is 2.12.50.2_2 and rom is latest stock (1.66 greek) ... is there maybe a mod or something for this problem???? has anyone experienced the same? i got no other problems(robo voice , or lagy screen responce!) PLEASE suggestions !! i tried everything !!!
Did you set up the APN of your carrier, do you have a data plan activated?
 
sopL87
Old
#6  
Senior Member
Thanks Meter 647
Posts: 316
Join Date: Apr 2009
I also, about 2 weeks ago, tried to connect my HD2 to my laptop ad-hoc wifi network, but unfortunately in the end I had the same result as adrian.mkl.86, broken wifi. I tried several instuctions from here and there but noting worked. Now I'm affraid to change anything in wpa_supplicant.conf, because wifi again will be down
 
beckvn
Old
#7  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Feb 2008
i have same wifi problem. Turn out the device doesn't have the mac address at all. Does anyone know how to change the mac address in here? I try couple way but it doesn't work, like using fastboot
 
geokyr
Old
#8  
Member
Thanks Meter 3
Posts: 38
Join Date: Apr 2009
i try to use wifi for internet connection,using my wireless router, not internet from the 3g phone company(vodafone) . The phone finds wireless netework, gets an ip and establishes a connection BUT there is no data comming in... nothing loads... i have set APN but i think that hasnt anything to do with my wireless network... by the way the network is open so no wep/wpa key is needed, and never had issues with connections whatsoever.... Is there a way to see if packets are comming in to the phone?
 
bhaveshdj
Old
#9  
Junior Member - OP
Thanks Meter 0
Posts: 17
Join Date: Jan 2010
Quote:
Originally Posted by geokyr View Post
since this a wifi problem topic.... pls pls pls help me in something... whatever android build i used i cannot have a proper wifi connection !!! the phone connects to wifi with no trouble , BUT there is no data comming in ... so no webpage is loading , no weather , facebook or email.... the radio is 2.12.50.2_2 and rom is latest stock (1.66 greek) ... is there maybe a mod or something for this problem???? has anyone experienced the same? i got no other problems(robo voice , or lagy screen responce!) PLEASE suggestions !! i tried everything !!!
This is a DNS problem. Try to manually enter a working DNS address.

Sent from my Nexus One using Tapatalk
 
Abid148
Old
#10  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: May 2011
Quote:
Originally Posted by adrian.mkl.86 View Post
the instructions above do not work for me..I have edited wpa_supplicant.conf and now it shows this

ctrl_interface=eth0
update_config=1
ap_scan = 2

network={
ssid="Abitza"
scan_ssid=1
key_mgmt=NONE
auth_alg=OPEN SHARED
wep_key0=0238521368
mode=1
priority=1
}

the problem is that after I rebooted into android my wifi doesn't work anymore..it tries to turn on and after that it says ERROR... any solution?
same problem here any help appriciated


XDA PORTAL POSTS

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more