Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,597 Members 52,045 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] Making infrastructure wifi hotspot on ubuntu 12.04/12.10

Tip us?
amonfog's Avatar
Thanks Meter 14
Posts: 81
Join Date: Sep 2009
Location: De Tike
Info 2 Nice all in one app

An all in one app was launched that does all of this (with the use of embedded packages) with a nice command-line helper:
check for the tutorial!
Device: Galaxy Nexus
ROM: Paranoid Android 3+
Protection: unlocked

Device: Acer Iconia A500
ROM: CM10.1
Protection: unlocked
neo1691's Avatar
Recognized Contributor
Thanks Meter 226
Posts: 1,243
Join Date: Dec 2010
Location: Pune
I was also getting the "obtaining the IP address" error. Two hours of tweaking and I find out that dnsmasq, the service responsible for providing IP address to other devices, was not getting started.

So I tweaked the /etc/dnsmasq.conf and stopped bind9 and dnsmasq and then first I started dnsmasq and then bind9 and now everything works like a charm!
"No one is born knowing everything.
We Go On Learning"

If you find any post useful, hit the thanks button and keep us motivated to keep helping you!!
Bargain some more battery with these tricks
want to read books on our android?? here
want to add SPORTS schedules right in your calendar?? here
Know about the ultimate app for android!! here

Junior Member
Thanks Meter 0
Posts: 2
Join Date: Jun 2013
Default Program to start infrastructure wifi on ubuntu 12.04

I've developed a python GUI program to seamlessly create a wifi infrastructure hotspot on ubuntu 12.04 and later by a single click.

Please note that hostapd package must be installed on your ubuntu machine prior to running the program:

sudo apt-get install hostapd
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Feb 2014
Default help in deciding

description: PCI bridge
product: 5 Series/3400 Series Chipset PCI Express Root Port 4
vendor: Intel Corporation
physical id: 1c.3
bus info: pci@0000:00:1c.3
version: 06
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:42 memory:d0700000-d07fffff
description: Wireless interface
product: Centrino Advanced-N 6200
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:43:00.0
logical name: wlan0
version: 35
serial: 00:27:10:14:e9:20
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=3.13.0-11-generic firmware= build 25532 ip= latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
resources: irq:47 memory:d0700000-d0701fff
++++++++++++++++++++++++++++++++++++++++++++++++++ +

does my network card support AP i couldn't figure out whether it is ath5k or ath9k
Junior Member
Thanks Meter 0
Posts: 9
Join Date: Jan 2009
Default thanxxxxxx

It's working with me...

my lab is DellInspiron 5521
Stanislav GE
Junior Member
Thanks Meter 0
Posts: 1
Join Date: May 2014
Originally Posted by ogyct View Post
I am not sure who is the author of this guide, I only translated it to english. But anyway if this helped, hit the thanks button. Good day

I'm the author of the original script (here is the original link and today I have updated it.
Initially it was created with "easy to read" in mind however multiple sudo is not good, so I decided to make some cleanup work. It was necessary to make some changes regarding dnsmasq as it is often used by "Network Manager" in modern Linux distributions. Also I put everything in one script, so no need to create conf-files separately. And finally you can mention WIFI and LAN interfaces easily from command line.

Any feedback is welcome.

Best regards,
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Jul 2014
Originally Posted by hunters100 View Post
You wireless card doesn't support the AP operation mode. You can look up on the hostapd support website and there is a list of suppored devices. The BCM 4313 is part of brcmsmac which is in the NO section for AP. You would need to get a new card or purchase an external wifi card. Hope this helps.
My wifi device is BCM4313. The brcmsmac driver has been updated as of now. It supports AP mode also. This thing actually works!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Android App Review: Control Your Phone with Quick Control Panel – XDA Developer TV

Your Android smart device has many features that you … more

Play Music on Android Wear with Stellio Music Player

Android Wear smartwatchesare growing inpopularity every day. Some devices have already … more

Schedule is up for xda:devcon ’14

With xda:devcon ’14 just around the corner, and the venue close to selling out, there is a lot … more

aLogcat Returns Thanks to XDA Love

The developers of Android, that is Google, gave users several great debugging tools that can be used in … more