[Q] wifi adhoc "obtaining ip address" - Desire HD Q&A, Help & Troubleshooting

Hi friends
Searched the forum and tried the proposed solutions but nothing helped.
I'm trying connect to addhoc wifi on my desire HD os=2.2
I replaced the wpa_supplicant file with one of those that exists on the forum and
indeed now i see adhoc networks but the connection is not stable - it goes like connecting -> obtaining ip address -> connected -> disconnected
and so on in loop ... i verified that the ip is static and i even put gateway+mask+dns.
when trying to ping the target it even sometimes succeeds!
Tried with several different adhoc targets and tried both wpa_supplicant for ver 0.5 & ver 0.6
Please does someone can help ?
thanks

ezchip said:
Hi friends
Searched the forum and tried the proposed solutions but nothing helped.
I'm trying connect to addhoc wifi on my desire HD os=2.2
I replaced the wpa_supplicant file with one of those that exists on the forum and
indeed now i see adhoc networks but the connection is not stable - it goes like connecting -> obtaining ip address -> connected -> disconnected
and so on in loop ... i verified that the ip is static and i even put gateway+mask+dns.
when trying to ping the target it even sometimes succeeds!
Tried with several different adhoc targets and tried both wpa_supplicant for ver 0.5 & ver 0.6
Please does someone can help ?
thanks
Click to expand...
Click to collapse
My phone is samsung galaxy GT - I 5503. I do too and obtainging IP address...
This question not yet solved

I have the same issue with my sgs2. I get no connection ever, only a constant "Obtaining IP address.."
I'd suggest resetting your router and forgetting the network and trying to reconnect. Also a static IP might work but as for finding any of your provider's info, that's up to you. Unfortunately, XDA doesn't even recognize my network (Sasktel) so I am having a very tough time with this!

most probably firewall problem , i had same problem with hotspot doing exactly as you discribe.
it can also happen by some custom Roms and don't happen with others ( firewall disabled ) .
Also lot of sense Roms have an issue with that exact wifi problem , not like AOSP Roms ,i don't know why

I only had this problem with a network called; 'eduroam', my schools' network. I solved it by recotting & changing the network security TLS/TTLS/EAP or somethinf like that.

Related

2 problems in my new htc desire

I live in India and desire has not been launched officially yet. but i bought it from the grey market. here are a couple issues i am having:-
1. wifi connection in office connects smoothly. but at home it just shows "obtaining ip " and then after a long time it says that it was connected unsuccessfully.I searched and found a "static-ip"soln. i tried to get the details of ip etc. from my laptop my wifi is the "obtain ip address automatically" one. so i went to "details" and copied everything from there to my desire.now it shows that its connected but i cant browse the web still.any help here?
2.Should i update to Froyo 2.2"
these are my phone details:-
Firmware Version -2.1 update1
Baseband Version - 32. 30. 00. 28U_4. 05. 00. 11
Kernel Version- 2. 6. 29-97da29ed
htc-kernel @ and18-2#1
Build No. - 1. 15. 405. 4 CL155070 release-keys
Software No.- 1. 15. 405. 4
Browser Version- Webkit 3.1
can somebody pls help me!!!! or at least tell me which region/country rom i have?
Sounds like your router is not set up properly to allocate an IP to the phone. What security are you using? WEP? WPA? Also make sure your DHCP Server is set up correctly to accept the Desire and allocate the IP address.
No idea which rom you have but personally I'd root it and install a custom 2.2 rom like Neophyte which is very stable, fast and includes fixes for Froyo.
darklord981 said:
wifi connection in office connects smoothly. but at home it just shows "obtaining ip " and then after a long time it says that it was connected unsuccessfully.I searched and found a "static-ip"soln. i tried to get the details of ip etc. from my laptop my wifi is the "obtain ip address automatically" one. so i went to "details" and copied everything from there to my desire.now it shows that its connected but i cant browse the web still.any help here?
Click to expand...
Click to collapse
could you check if you're using MAC filtering and/or hidden SSID on your wifi router at home?

Defy & Ad-Hoc wifi network

I cant connect to ad-hoc wifi network, it is well known software android problem at all devices but i tried like this links:
exop.pro/blog/2010/08/15/ad-hoc-support-for-android
szym.net/2010/12/adhoc-wifi-in-android/
when i replace wpa_supplicant, wifi seems doesnt work, i cant find any wifi network (ap or ad-hoc)
please help
I tried creating ad hoc wifi network in my laptop for my defy but failed. The phone did not detect the network. Then I installed connectify instead and it works faultlessly.
Is there any adhoc patch for defy?
*wrong post deleted*
I can connect defy with my laptop without installing any other software. But I'm not sure if it is a ad-hoc network. My laptop wifi driver provide a special ap mode and it can be used to share network.
netten123321 said:
I cant connect to ad-hoc wifi network, it is well known software android problem at all devices but i tried like this links:
exop.pro/blog/2010/08/15/ad-hoc-support-for-android
szym.net/2010/12/adhoc-wifi-in-android/
when i replace wpa_supplicant, wifi seems doesnt work, i cant find any wifi network (ap or ad-hoc)
Click to expand...
Click to collapse
Same here. I tried all the patches of wpa_supplicant given in this thread as well: http://forum.xda-developers.com/showthread.php?t=755254 but the wifi just can't search for any network and it turns off itself.
Another member "webvan" tried the above steps on his Milestone and failed(from the above thread).
Seems like Moto has a different hardware config.
FYI, I'm running 2.2.2 custom rom (http://forum.xda-developers.com/showthread.php?t=1037076)
What a tragedy.
It seems there's no such patch for Defy.
for me it worked with 3.4.2_177-005_NORDIC rom which i used for a very long time.
the problem is, you must manually connect to an ad-hoc network.
if you don't want to do that each time, you can install cyanogenmod by quarx and it will automatically connect to your saved ad-hoc network
Maybe you should try update to 2.2/2.3 based rom.
Fyi, i'm now at MIUI rom & got no problems with ad-hoc wifi network.
Dont forget to activate Internet Connection Sharing (for windows user), just to assure your device got IP Address automatically.
P.S Sorry for my bad english

AdHoc Support & Internet Pass Through

Ok, I know someone will tell me this thread doesn't belong to the dev section, but it does.
THIS IS NOT ABOUT WIFI TETHERING - READ CAREFULLY!!!
There has been adhoc support in CM 7 for the G1 (Htc Dream) I used to own and it worked just fine with my laptop AdHoc connection.
There seems to be a problem with most AOSP and GB STOCK(ish) roms - including Darky and CM 7.1 Stable. They seem to detect the adhoc network when a modded wpa_supplicant is installed (in Darky it's installable by the Darky App and in CM it is included in the stock rom). When trying to connect there are two scenarios :
1. I don't specify IP address and Gateway and rely on the windows DHCP to assign an address.
What happens in most roms is the phone hangs on waiting for IP address and never connects. In MIUI roms the phone connects instantly, so I guess the issue is rom related.
2. I specify IP address (the laptop is 192.168.231.1, so I choose 192.168.231.2 for the phone, and the laptop IP for DNS and Gateway)
What happens in most roms is the phone just disconnects instantly giving no reason and continues scanning. I've actually managed to connect in some roms (CM 7.1 and Darky) but it happens to be very unstable - the wifi keeps on scanning for new networks and even if the phone is connected, there is no actual internet coming through. [EDIT] I flashed the latest CM Nightly and the connection worked flawlessly.
I have ran some logcats but they don't show significant information on what's actually happening.
My idea is to put some of the MIUI binaries into use, but I don't know which ones, except the wpa_supplicant are responsible for WIFI. Can some of you developers help me and possibly make an All-Types-Of-Roms solution.
[EDIT] The Adhoc Connection seems to beworking in latest CM Nightlies. There seems to be something different in AOSP roms like CM, that makes Adhoc connection work flawlessly. Any idea what is it?

[Q] Android 4.0.1 Alpha 02 WIFI Problem

I just flash the alpha ROM on my arc.
I have used wifi for 2 times. But after that, I can open wifi but cannot connect.It showed Connecting --> obtaining IP address, then back to Connecting--> obtaining IP address. It can't connect to the network.
Can anyone help me?? What can I do ?? Install another zip??
wifi
look here http://forum.xda-developers.com/showthread.php?t=1404407.

[Q] I9195 - Unable to connect to WIFI network (Authentication error occurred);

So, here it goes.
My goal is to connect to a network using certain MAC address. Wanted network is marked with "open" and I know that it allows access only to certain devices (according to MAC) on which the administrator have gave a permission to. Once your MAC passes the verification, device gets connected to the network and then I'm asked to enter username and password through WEB browser (well known for me, because it is a procedure that I do on my other device, as well as all my colleagues do).
For example, I was allowed to provide one personal MAC address to administrator to connect to this network. I would like to set the MAC address of my other personal device and set it on my I9195 so that I can access the same network.
So, what have I done so far: I9195 is rooted, it has Android 4.2.2 on it and Busybox installed. I have changed MAC on it using following apps: MacChanger (blue WIFI logo), MAC Address Ghost (green ghost logo), using Android Terminal Emulator commands and via MAC Spoofer (black circle with green text logo). What can I conclude: As soon as superuser has granted the access to these apps, all of them manage to change the MAC. I've done the verification using Terminal Emulator. I also have to add that the MAC remains original if viewed from WIFI advanced menu BUT this shouldn't be an issue because:
1.) Colleague of mine is using his S4 (rooted etc.), while using MAC Address Ghost that does not change the original address (viewed from WIFI advanced menu) but he manages to make a spoof (verified from the Android Terminal Emulator, as all of this apps actually do) and he manages to connect without any problems in the same way as I connect with another device that I have!
2.) I had time to make a small test at home which put a light on the idea that the problem should be focused on the Samsung (and not on the router, especially because I am unable to modify anything on the router on this facility, not even restarting it). My home network works in a similar way as the network that we are discussing about. My S4 Mini has been included in it with his original MAC and it connects to the network without any problems. My other device is also included to the network using its MAC (the one that I am using for spoofing). My other device is turned OFF, router has been reset and I am normally accessing the network with S4 Mini. Then I run the MAC Address Ghost to spoof the MAC on my S4 Mini. In that moment, I have lost the connection that I had which means that the MAC spoofer actually did something. I tried to reconnect to the network but then I am asked to enter the password for my network. I have checked and re-checked it many times, tried to forget the network and doing it all over again but it does not accept the CORRECT password. Changing my MAC back to the original one connects S4 Mini back to the network, while accepting the password immediately.
Problem is represented in a way that it either says “saved” and does not connect to the network or every few times displays a message “Authentication error occurred”.
I have tried I would say every possibility that I’ve seen over the internet. That includes:
1.) Installing WiFi Connection Manager (it provided some info regarding the network that I wish to connect to: IEEE 802.11g standard, 54 Mb link and CH:11). I’ve used its function to fix the WIFI (advanced fix (root required)) but it didn’t help.
2.) All sorts of staying close to the rooter, while enabling and disabling the Power save mode (accessed via *#0011# command) or while having GSM signal.
3.) Browsing through system, data etc. folders to try to find the file that contains the MAC address information (like it did on older android versions in the nvram file). I’ve been unable to find this file or any sort of file that displays my MAC for the purpose to modify it.
I have a plan to upgrade Android to version 4.4.2 later today and make a test.
Please, feel free to suggest anything else! If I do not succeed, I will have to replace my S4 Mini with something else.
Kind regards,
QUICK REPLY: After installing CyanoGEN MOD 4.4.2, the problem remains!
I think there could be a shorter solution! On Sony Xperia Acro S with 4.1.2 Android it was just a matter of changing the MAC address within the file data/etc/wifi/fw! One minute modification...
So, please, if somebody knows the path to the file that contains MAC on CyanoGEN MOD 4.4.2 or on Android 4.2.2, PLEASE HELP!
Kind regards!

Categories

Resources