Cannot make Wi-Fi hotspot

24,850

Solution 1

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.

Solution 2

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

Solution 3

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

Share:
24,850
Junaid
Author by

Junaid

Updated on September 18, 2022

Comments

  • Junaid
    Junaid almost 2 years

    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

    • 2hamed
      2hamed over 12 years
      same problem here!
    • david6
      david6 over 12 years
      What is the output from iwconfig , before and after you try activate hotspot?
    • david6
      david6 over 12 years
      For Ubuntu (and certainly for 11.10), you will need to change any currently used WiFi connection to NOT 'Connect Automatically'; and then re-start the laptop.
  • Luis Alvarado
    Luis Alvarado over 12 years
    When he mentioned "Use as Hotspot" I think it was the hint that suggested he was using Gnome-Shell instead of Unity. Change the tags to reflect that since there is no Hotspot mentioned while sharing in Unity.
  • William
    William over 12 years
    Hmm.. try connecting to the network on another compter, it could be a problem on your phone. Even if it does't work, it's still good diagnostic information.
  • Simon
    Simon over 12 years
    Could you please include some explanation rather than just a link? This will make your answer more accessible and it will protect against the link dying.
  • david6
    david6 over 12 years
    This tutorial should strongly advise against using WEP as a security feasture. Only WPA2 (PSK or EAP) will provide ANY level of WiFi security.
  • mydoghasworms
    mydoghasworms over 12 years
    This works for me too, but I cannot see the network on my Android phone. What's up with that?
  • Junaid
    Junaid over 12 years
    I got this: Supported interface modes: * IBSS * managed * AP * AP/VLAN * monitor. So it is supported.
  • Junaid
    Junaid over 12 years
    Me too cannot see the network in my Android phone.
  • wishiwasabigdataguy
    wishiwasabigdataguy over 12 years
    I had the same issue with connecting my android phone, but I did not research it too much since the former has resolved most of my own problem. The closest you could get to solving this one could be this related question and its answer on access points: askubuntu.com/questions/68310/…
  • Samveen
    Samveen almost 5 years
    The documentation of Intel's linux kernel driver for Centrino Ultimate-N 6300 which is iwlwifi seems to imply that AP mode is only supported for 2.4Ghz devices.