I have recently installed Ubuntu 12.04 and would like to make a virtual router for my Android Device which only connects to infrastructure networks and not adhoc networks anyone who has any tips please help.
Run this in a terminal:
Then, open a text editor program, for example gedit. Copy the following into it.
Don't forget to fill in the name of your network after
After all these, save the file as
Now, in your terminal:
Turn the Wi-Fi connection on in your devices and enjoy the fast network share!
you might also want to add dhcpd to assign address to your Android device. Alternatively you can configure iptables to use NAT
protected by Community♦ Aug 9 at 4:03
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.