Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 am using ubuntu 11.10 in my laptop. I want to make my laptop as hotspot for my android phone to access internet. Is it possible if yes What step need to follow. I already have tried creating the " use as hotspot" by any android phone is unable to view this AP for as wifi.

share|improve this question

migrated from Mar 24 '12 at 20:20

This question came from our site for professional and enthusiast programmers.

This is not a programming question. – Matt Ball Mar 24 '12 at 3:34

First, you have to know that Android does not "see" ad-hoc networks. You have to create a hotspot.

Second, you have to make sure you wlan card is hotspot-capable. This is called master mode. If it is, then you can use hostapd, quitesimple to start and configure given a config file. As example I use this:

$ cat ~/hostapd-minimal.conf
#change wlan0 to your wireless device
$ sudo hostapd ~/hostapd-minimal.conf

My machine runs on Linux Mint 12, which is based on Ubuntu-11.10. And I faced some issues because of IPv6. I got this error in syslog:

$ dmesg
[  453.348841] rtl8192c: Loading firmware file rtlwifi/rtl8192cfw.bin
[  464.654466] wlan0: no IPv6 routers present

This error is very common and is painful to work around with poor network manager... It has been reported on Ubuntu several times:

To fix it, you have to try proposed solutions, I haven't yet.

share|improve this answer
Actually, if you don't like the idea of writing a configuration file for hostapd, the popular NetworkManager tool also supports managing an AP now, but this is not available through its GUI tools; it requires a manual tweak in its configuration file for mode=ap. Reference in Russian:… – imz -- Ivan Zakharyaschev Dec 15 '13 at 21:31

take a look here and you'll be able to create the hotspot easily:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.