Ubuntu – 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
   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
   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= build 33692 latency=0 link=no multicast=yes wireless=IEEE 802.11abgn
   resources: irq:47 memory:d9200000-d9201fff
   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
   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= 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?


Best Answer

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.

Related Question