Connecting to Ad-Hoc Networks with Atrix - Atrix 4G Q&A, Help & Troubleshooting

Ok so i'm trying to tether my Atrix to my iPhone 4, reason being my Atrix is unlocked working with an International Sim while my iPhone is my doemestic US sim...when trying to connect to adhoc wifi networks on the Atrix having some problems. I can connect to an adhoc network fine and obtain an IP the very first time the network is accessed. However if you disconnect from that same ad-hoc network and try to reconnect the atrix is unable to obtain an IP. So i tried to forget that network and retry with no luck. I'm running on OLYFR_U4_1.5.2, i've tried replacing the wpa_supplicant file with various other versions that enable ad hoc functionality on other phones, and it works in letting me reconnect to that same network however if i try to connect to a new adhoc network that fails and i cannot reconnect to the previous one as well.. the only way i've found to fix this is to replace the wpa_supplicant with the default atrix one and then replace it again with the modded wpa_supplicant from another phone. If anyone could mod the default Atrix one to work with Ad-Hoc that be awesome. There is also a tiwlan.ini that can be edited as well i've heard but i havent messed around with that. Thanks for any help given and sorry if this is posted in the wrong section.

Moved as not android development

Related

[Q] Barnacle WiFi tether from phone to A70

just received my A70, installed GApps and a few programs through the file viewer after transferring via USB.
Then, I wanted to download a few apps from the market...
I got Barnacle setup on my X10, and my laptops can both see the new WiFi network created by it, but the Archos can't
Has anyone tethered using this method before?
If so, I think I am using the wrong channel to connect, but can anyone advise which WiFi channel the A70 would require??
I can pick up other WiFi networks, but can't actually connect to them due to restrictions on the routers (I'm at work, they require MAC addresses and for some reason wont let me add this to the network )
Try any channel below 11. It's a known kernel issue.
if it creates an AD-HOC connection, then that's the issue.
Aha, yes it does. Damn
I'll have to try the proper tethering method then using the cell phone tether option (which I briefly tried but failed to connect through bluetooth)
Try "Wireless Tether for root users" with it's bluetooth option. Works for me Have the tether activated on the phone while pairing it with the Archos though.

[Q] Adhoc Wifi Network

Hi Guys,
I am Steve's 1.9.0 and was facing problems connecting to internet using my laptop internet connection. The adhoc network was not displayed in the wifi networks list. I guess by default the stock wifi stack doesnt list adhoc networks.
I flashed the updated WPA supplicant available here.
http://forum.xda-developers.com/showthread.php?t=755254
Now the adhoc network is listed but when i try to connect it gets stuck on "Obtaining IP Address" and disconnects.
I have DHCP enabled on my laptop and know it is working fine as my HTC Hero is able to connect just fine.
Any ideas why this is not working for me? Is this working for anyone else?
Posting the wpa supplicant zip, just incase some one want to give it a shot and report back with their results.

[Q]WiFi Problem

Hi guys, do you having a problem with wifi connection?
I just discover the problem yesterday. 1st I found that my phone could not connect with router which setup to 13 channel. Since I cannot do anything with this router, nevermind it's ok.
Then I setup ad-hoc wifi at my lappy so that I can connect through lappy which is wired to internet. What the heck, my phone also cannot detect the wifi signal.
I have another phone, LG Optimus One which can connect successfully to the ad-hoc wireless.
So I've installed WiFinder app. That app can detect the ad-hoc wireless but cannot connect.
While this app is trying to connect, I went to wifi setting but it did not detect the signal.
After that I've created wifi hotspot at my LG and the Neo can detect and connect.
What has happened to this phone/firmware/kernel?
I also browsed other forum and somebody also got this problem.
Android doesn't support ad-hoc.
Try resetting your router, in my experience, the problem is caused by the router most of the time.
Is it true Android doesn't support ad-hoc wireless? But why my LG optimus one can detect and use the ad-hoc wireless?
BTW, It's a shared network and I don't have a privileged to reset/modify the router.
My Neo can't connect to an ad-hoc network, just tried it.
Maybe this works? I didn't try it yet.
http://www.emoiz.com/how-to-connect-your-android-phone-to-ad-hoc-wifi-network
Yes, I've gone through the net and stock android doesn't support ad-hoc.
From the reading, what I've got is inside wpa_supplicant there is ap_scan setting.
Suppose stock condition is 'ap_scan=0' but if change it to 'ap_scan=1' or 'ap_scan=2' will make the phone see ad-hoc wireless. Will try it later either it will connect with connection or not.
me2kimi said:
Yes, I've gone through the net and stock android doesn't support ad-hoc.
From the reading, what I've got is inside wpa_supplicant there is ap_scan setting.
Suppose stock condition is 'ap_scan=0' but if change it to 'ap_scan=1' or 'ap_scan=2' will make the phone see ad-hoc wireless. Will try it later either it will connect with connection or not.
Click to expand...
Click to collapse
So your Optimus One wasn't on stock ROM?
Nop, my optimus one is running on CM7.
But I've found a solution to this problem. By using a repetear bridge(dd-wrt) and access point, I repeat the wifi and bridge it with AP.
Create another wifi at the AP and Neo can connect it successfully.
Sent from my LG-P500 using XDA App
this device never should have been made
8
Which device are you referring to? Neo? Optimus One?

[Q] Adhoc on YP-G70 using a custom ROM with 2.3.6

I have a YP-G70 (galaxy player 5.0), international version. It came with gingerbread 2.3.5, and it was unable to find the adhoc network I've set up in my laptop.
Then I flashed it with rumirand's custom kernel r13 and Meticulus's Foreigner ROM R5.1 (GB 2.3.6), and the problem was still there.
Then I replaced the wpa_supplicant file with the one mentioned in these posts:
http://forum.xda-developers.com/showpost.php?p=22268045&postcount=60
http://forum.xda-developers.com/showthread.php?t=1438334
http://forum.xda-developers.com/showthread.php?t=1377321
(the file that is mentioned is always the same)
Now it detects the adhoc network, but when I connect to it, the wifi status starts looping: connecting -> disconnected -> scanning -> connecting -> disconnected -> ...
Did I miss anything?
Has anyone managed to get adhoc to work on YP-G70 using one of the custom ROMs based on 2.3.6?
Or do I really need to go back to 2.3.5 and use the wpa_supplicant file mentioned above?
Thank you
I have played with some of these wpa_supplicant files recently. The result seems to be hit and miss.
So far I tried connecting to 2 different usb wifi dongo using ad hoc mode. The only successful one is the ad hoc connection to a tp-link wifi dongo using wep mode. This dongo doesn't support wpa.
The other one that failed is a linksys dual band dongo, I can't get a connection with either wep or wpa. The observation is very similar to yours.
Need to try a few other device to see what's wrong or whether it is due to incompatibilities.
By the way, I also tried all the possible security options (open, wep, wpa). Same behavior for all of them, except that the "connecting" step took much longer when using wpa.
Interesting note on incompatibilities. My laptop's wi-fi card is an Intel PRO/Wireless 3945ABG.
I found out that it ends up connecting successfully if I just leave it looping for a while... sometimes it will succeed on the first few attempts, sometimes it takes several minutes.
So far, it only worked in open or WEP. Never got it to work in WPA.
DHCP
Have you tried to use a fixed ip instead of dhcp ?
Yes, that's how I've always had it set up. I don't think there is a way to use dhcp in ad hoc.
Today, I've switched to the Chip v1.5 custom firmware and I just can't get ad-hoc to work at all. No ad-hoc networks are displayed in the wifi settings.
I've tried replacing the wpa_supplicant file with different versions of that file, but it just rendered the wifi completely unfunctional: I turn it on, it goes "scanning...", then it turns itself off automatically after a few seconds. I had to reinstall the firmware in order to get the wifi to work again.
I would really appreciate some help, as I completely rely on an ad-hoc connection to obtain internet access on my SGP when I'm at home. I don't feel like going back to the firmware I was using before, having seen how great this one is.
So you have used static ip? And set it up correctly? Because the wifi connect and disconnect problem is frequent with belkin routers, and is fixed by using static ip usually.
Sent from my YP-G1 using xda app-developers app
Yeah, the IP settings are correct, and I'm using a static IP. I eventually got used to the looping that I mentioned in a post above, and I've lived with that for the past 8 months.
However, as I said in my previous post, I've installed the Chip v1.5 firmware, and now my problem is somewhat different.
Wiz7 said:
I've tried replacing the wpa_supplicant file with different versions of that file, but it just rendered the wifi completely unfunctional: I turn it on, it goes "scanning...", then it turns itself off automatically after a few seconds. I had to reinstall the firmware in order to get the wifi to work again.
Click to expand...
Click to collapse
if you had this happening, it meant the wpa_supplicant you'd tried wasn't compatible with your device. Always backup wpa_supplicant before replacing in in case the new one doesn't work.
Try this wpa_supplicant, it works with my 5.0.
I had the same problem with Ad-hoc networks using windows7 (ie obtaining ip address loop) - I gave up in the end, but found this : Windows 7 as a WAP. It does the same thing, only it's not an ad-hoc network - you can also share wifi internet through the same wifi adapter...it works great for me!
baladev said:
if you had this happening, it meant the wpa_supplicant you'd tried wasn't compatible with your device. Always backup wpa_supplicant before replacing in in case the new one doesn't work.
Click to expand...
Click to collapse
I did backup. But, even after putting the original wpa_supplicant back in, wi-fi was still broken. So, the only way for me to fix it was to reinstall the firmware.
Try this wpa_supplicant, it works with my 5.0.
Click to expand...
Click to collapse
Thanks. I've been playing with that wpa_supplicant for a while now. However, it did not solve the problem.
It detects the ad-hoc network that I set up on my laptop, but I'm having a hard time trying to connect to it. So far, I've only been able to connect twice. What I need to do in order to connect successfully is to keep enabling and disabling wi-fi. Each time I enable it, it will automatically attempt to connect to the ad-hoc network (because it remembers the info). Most of the time, it will say "Connected", but it actually isn't connected. It only succeeds like once every 50 attempts. And even if it succeeds, it will disconnect automatically after like 10 seconds. At least it gave me enough time to test the internet connectivity, which worked fine during those few seconds. Changing the encryption type from WEP to WPA only made things worse.
Mmmm-) said:
I had the same problem with Ad-hoc networks using windows7 (ie obtaining ip address loop) - I gave up in the end, but found this : Windows 7 as a WAP. It does the same thing, only it's not an ad-hoc network - you can also share wifi internet through the same wifi adapter...it works great for me!
Click to expand...
Click to collapse
That seems like a great idea. However, my laptop's wireless adapter (Intel PRO/Wireless 3945ABG) does not support that functionality. An adapter with Windows 7 certified drivers is required. I also tried to use Connectify, but it also does not support this adapter.
Wiz7 said:
..
It detects the ad-hoc network that I set up on my laptop, but I'm having a hard time trying to connect to it. So far, I've only been able to connect twice. What I need to do in order to connect successfully is to keep enabling and disabling wi-fi. Each time I enable it, it will automatically attempt to connect to the ad-hoc network (because it remembers the info). Most of the time, it will say "Connected", but it actually isn't connected. It only succeeds like once every 50 attempts. And even if it succeeds, it will disconnect automatically after like 10 seconds. At least it gave me enough time to test the internet connectivity, which worked fine during those few seconds. Changing the encryption type from WEP to WPA only made things worse.
..
Click to expand...
Click to collapse
that's very strange. This wpa_supplicant works on my GP 5.0 very well. It detects my WEP ad-hoc network and connects to it just fine and keeps connection until i disconnect. Sometimes it won't connect right away, in which case i just turn wi-fi off and then on again and then it finds the connection, connects and then everything's fine.
Wiz7 said:
That seems like a great idea. However, my laptop's wireless adapter (Intel PRO/Wireless 3945ABG) does not support that functionality. An adapter with Windows 7 certified drivers is required. I also tried to use Connectify, but it also does not support this adapter.
Click to expand...
Click to collapse
Agghh that's a shame.... you could try buying a wifi dongle.. they're not all that expensive...
After playing a bit with the network adapter settings on the laptop, I am now able to connect successfully to the ad-hoc network as soon as I enable wi-fi. What I did was changing the property "Ad Hoc Channel 802.11b/g" to 1 (it was 11 before). Setting this property to anything other than 1 makes it not be able to connect.
There is still the issue of automatically disconnecting after a while (which can vary from seconds to minutes), but it doesn't happen very often, and I'm usually able to stay connected for a long time. Playing with the network adapter properties didn't seem to help in this regard. Anyway, I guess that the problem is solved.
It should be noted that I've never had to change the network adapter settings for any anything else before. I've always been able to connect to other computers via an ad-hoc network. I also used to be able to connect with my SGP 5.0 when I had a different ROM installed. The looping problem that I had before (see my early posts in this thread) could probably be solved also by changing that property in the adapter.
Wiz7 said:
After playing a bit with the network adapter settings on the laptop, I am now able to connect successfully to the ad-hoc network as soon as I enable wi-fi. What I did was changing the property "Ad Hoc Channel 802.11b/g" to 1 (it was 11 before). Setting this property to anything other than 1 makes it not be able to connect.
Click to expand...
Click to collapse
How did you get to that property? I can't find anything similar on mine...
Control Panel -> Network and Sharing Center -> Change adapter settings -> Right-click on the wireless adapter -> Properties -> Configure... -> Advanced.
The properties for the network adapter are listed there, and you should be able to change them.
Wiz7 said:
Control Panel -> Network and Sharing Center -> Change adapter settings -> Right-click on the wireless adapter -> Properties -> Configure... -> Advanced.
The properties for the network adapter are listed there, and you should be able to change them.
Click to expand...
Click to collapse
Hmmm yes, I looked there but unfortunately there is no option to change or configure the channel at all!
I suppose it's driver dependent.

[Q] phone not connecting to laptops hotspot

hi fellows
i just installed a 4g device in my laptop for internet access. It working fine. Next i made the laptop a hotspot via adhoc connection and after that though internet is fine but i am unable to connect my samsung sii via wifi with it. Even though a friends iphone connected to my lappys hotspot but my phone doesn't and neither does it show that a hotspot/ wifi connections exists.
help
Ad Hoc was designed only for local connections, not Internet.
Use Connectify to make hotspot.
ars12654 said:
hi fellows
i just installed a 4g device in my laptop for internet access. It working fine. Next i made the laptop a hotspot via adhoc connection and after that though internet is fine but i am unable to connect my samsung sii via wifi with it. Even though a friends iphone connected to my lappys hotspot but my phone doesn't and neither does it show that a hotspot/ wifi connections exists.
help
Click to expand...
Click to collapse
You need to setup a virtual router or if your laptop has a router you can share net via that, originally custom roms does not support ad hoc, but certain roms are modified to enable it.
Using GT - I9100
I thank those who give helpful comments
I expect the same from others.
Router has wlan infrastructure mode, not adhoc. It doesn't matter if the ROM supports it or not.

Categories

Resources