Jump to content

Connect to ad hoc network with Acer Liquid (root required)


Guest blc

Recommended Posts

By default you can't connect to ad hoc networks with Liquid. If you have root though, there is a way to fix this with these steps:

1. Go to your phone's "Wi-Fi settings" and press "Add Wi-Fi network"

2. Add the ad hoc network just like any other wireless network and save it

3. Now you should have an updated "wpa.conf" under /data/misc/wifi/

4. Pull that conf using: adb pull /data/misc/wifi/wpa.conf ./wpa.conf

5. Edit the wpa.conf (with proper text editor that understands UNIX type encodings) and look for the lines where it describes your recently added soon-to-be ad hoc network, example:


network={
 ssid="adhoc"
 scan_ssid=1
 key_mgmt=NONE
 priority=2
}[/codebox]

6. Add row "mode=1" (=ad hoc) in that network entry. End result should look something like this:

[codebox]
network={
 ssid="adhoc"
 scan_ssid=1
 key_mgmt=NONE
 mode=1
 priority=2
}

7. I also added "ap_scan=2" on the first line of the file just to be sure that networks are seeked, even if hidden (this is probably not necessary)

8. Save wpa.conf and push it back to device: adb push wpa.conf /data/misc/wifi/wpa.conf

8.1. You need to modify file rights back to correct (root:wifi), so enter: adb shell chown root.wifi /data/misc/wifi/wpa.conf (UPDATE: 2009-12-28)

9. Reboot the device and connect to your ad hoc network  :)

Edited by blc
Link to comment
Share on other sites

  • 4 weeks later...
I have done as what you said,but I still can not connect to my laptop by adhoc :)

1. Is the wpa.conf like you edited after reboot? Make sure "mode=1" is there.

2. Check that file rights are correct, you can see it with "adb shell ls -l /data/misc/wifi"

I have only tested this method 1.004 ROM, so it might not work on newer ones B)

Link to comment
Share on other sites

1. Is the wpa.conf like you edited after reboot? Make sure "mode=1" is there.

2. Check that file rights are correct, you can see it with "adb shell ls -l /data/misc/wifi"

I have only tested this method 1.004 ROM, so it might not work on newer ones :)

My ROM is 2.0000.03. I have done what you said ,still not work B)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.