Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com 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

1 Answer 1

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:

https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/857294 https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/830178

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: altlinux.org/… –  imz -- Ivan Zakharyaschev Dec 15 '13 at 21:31

Your Answer


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