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?
Related
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
Hi
i have the "Higgsy_Modded_3.4.2_GB_Froyo_RC2" rom on my defy, everything works perfect....with one exception.....wifi
------------------------------
***ive copied this text form "reinsen" because he had the some problem***
Got some serious wifi issues...
When i switch on wifi and start something traffic-heavy like dl or youtube vid,i dont lose connection to my router but to the internet.cant open a site via browser or anything else. Switchin wifi off and then on again gets me back online only until i start streamin or dling again...with one exception
Most prolly the wifi drivers aren't included in the rom...although there are loads of other roms, you can try those
I know this is stupid but did you reboot your device?
Because thats what happened to me with another rom a reboot is essential.
-Jabar
Did you full wipe as well?
yes, i wiped all and complet
reboot done, without any effects
hmmm, i think i go to try the S.Froyo...
i´ve found the problem.
the defy CAN´T handle router with WMM + 802.11n standart.
Log in to your router an turn off WMM or switch the wifi from 802.11n to 802.11g
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.
All credits go to bruceleedragon1 for this.
He did a patched version of wpa_supplicant (similar to others i tested without success) and it works correctly on my JVR (i'm using SpeedMod kernel T10 but it should work with any gingerbread kernel).
The only problem for me is connecting to a WEP or WPA2 connection. It tryes to connect but gets stuck on "Obtaining IP Address...". But maybe it's a problem with my notebook, i'm on Ubuntu 11.04.
Please test and report on the main thread:
http://forum.xda-developers.com/showthread.php?t=1252619
Bye
Bit
if you want connect to wpa or wep you must turn on wifi connection , connect to wifi, turn off wifi and turn it on
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!