Cannot make Wi-Fi hotspot

I want to make my laptop as wi-fi hotspot. To do so, I pressed button Settings->Network->Wireless->Use as Hotspot..

Then it creates a wireless network connection 'Hostspot' and connects. But it gets disconnected just after making connection.

Here is my network hardware info:

sudo lshw -C network
  *-network               
   description: Wireless interface
   product: WiFi Link 5100
   vendor: Intel Corporation
   physical id: 0
   bus info: pci@0000:04:00.0
   logical name: wlan0
   version: 00
   serial: 
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
   configuration: broadcast=yes driver=iwlagn driverversion=3.0.0-12-generic firmware=8.83.5.1 build 33692 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
   resources: irq:47 memory:d9200000-d9201fff
  *-network
   description: Ethernet interface
   product: RTL8111/8168B PCI Express Gigabit Ethernet controller
   vendor: Realtek Semiconductor Co., Ltd.
   physical id: 0
   bus info: pci@0000:05:00.0
   logical name: eth0
   version: 02
   serial: 
   size: 100Mbit/s
   capacity: 1Gbit/s
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=N/A ip=192.168.1.4 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
   resources: irq:45 ioport:2000(size=256) memory:d5010000-d5010fff memory:d5000000-d500ffff memory:d5020000-d502ffff

My machine is running on Ubuntu 11.10

Can anybody help in it?

Thanks


I had the same issue. I have found a report that has already been registered. There is a suggested workaround that works for me:

  1. go to System settings > Network > Wireless > Use as hotspot > Configure (or 'Edit connections' under your connections > Edit the hotspot connection)
  2. Switch to IPv6 Settings tab > Set Method to 'Ignore' and confirm/save
  3. in terminal (Ctrl + Alt + T) run the following command to kill all dnsmasq processes: sudo killall dnsmasq

  4. go to System settings > Network > Wireless > Use as hotspot

Should work, and I have set my hotspot up as it is in the Mosture's post

Link to bug report: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/857294

Edit: I needed to set up android accessible hotspot recently, and I was successful in creating such through ap-hotspot.


I have run into the same issue. The solution was that my Centrino Ultimate-N 6300 network adapter simply did not support AP mode.

Quote from the MasterMode documentation.

"'iw list' shows all supported features of all installed wireless card supporting the new nl80211 interface.

iw list

If there is 'AP' in the list of "Supported interface modes" your device will support the Access Point mode with hostapd."

In my case that support was missing. :-(

Supported interface modes:
     * IBSS
     * managed
     * monitor

This tutorial might help you try this http://freshtutorial.com/create-your-own-wifi-hotspot-in-ubuntu-11-10/