Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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
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. – Evil Angel Apr 27 '12 at 11:20

protected by Community Mar 12 '13 at 10:20

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

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.