Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I'm looking for a way to connect my Galaxy Nexus (Android 4.0.x) to my laptop via adhoc wifi. (The laptop will act as my wireless NAS.)

The WiFi Ad Hoc enabler for Android does not work on the Galaxy Nexus. (The statistics at at that link show 0 successes and 13 failures for GNex owners who tried it. However, it works for many other devices.)

I also see this advice: You need a modified wpa_supplicant file in /system/bin.

What modifications are needed to the wpa_supplicant file in /system/bin?

I see a couple proposed solutions for other devices, but nothing for the Galaxy Nexus.

http://android.stackexchange.com/a/19133/12444
http://android.stackexchange.com/a/4147/12444
http://www.slatedroid.com/topic/2973-ad-hoc-network/

However, I see this response: "patching the wpa_suplicant isn't generic and frankly I'd call that method useless."

What is the best solution? Can anyone shed more light on the problem here?

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

If you can tether mobile data of your Galaxy Nexus over Wi-Fi, you have full-featured ad-hoc network. If you are not sure, install Wireless Tether (root access is required).
After connecting Laptop to this MobileAP, look for IPs of client and Default Gateway (ipconfig /all cmd command works fine with Windows; Fing can also be used). IP of Default Gateway is IP of your Android device. You can use these IPs in any networking service you want. It works.

Another Approach
In ad-hoc networking, it doesn't matter which point is broadcasting SSID. So, you can make your laptop virtual router too. Connect your Galaxy Nexus to it & do whatever you want.
To make your laptop virtual router with NAS support, I'd recommend you to install Connectify Pro (not free). There's a nice free alternative too: mHotspot. After connecting your Galaxy Nexus to virtual hotspot created by it, you can use any networking service over it.

share|improve this answer
    
My laptop is running Ubuntu, so neither Connectify or mHotpost will work for me. I don't want to tether the mobile data connection. I want to use my laptop as a wireless NAS (to stream or download files from my laptop to my phone). I don't think you have given me any solution (unless I misunderstand). –  MountainX Apr 27 '12 at 6:56
    
@MountainX You do have the solution. Wireless Tether app provides access control to block internet sharing with clients. So, your mobile data usage will not be affected. –  Sachin Shekhar Apr 27 '12 at 11:20
add comment

protected by Community Mar 12 '13 at 10:20

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.