Create WiFi hotspot on ubuntu

Anuj TBE

Although many questions have already been asked regarding WiFi hotspot, I didn't get any of the solutions working for me.

I connect to the Internet using a 3G Dongle of Huawei 3772 (Vodafone). The connection type is Mobile Broadband connection. I have to share this Internet connection with my other devices like mobile phones and laptops.

How can I create a WiFi hotspot connection for this connection.

I am using Ubuntu 12.04 LTS.

I would like to note that I have already tried some help links from Ubuntu but, they are so confusing that I could not understand them.

Anuj TBE

Creating wifi-hotspot using Unity's default network manager without downloading any tool/software.

The method described in this answer only works if your wireless device supports master mode. To check whether it does, open a console and type

sudo iwconfig wlan0 mode master

Replace wlan0 with whatever Ubuntu calls your wireless device.

If you get an error, your device does not support master mode and this solution unfortunately does not work. Source: Community Help Wiki, this comment.

  1. Disable WIFI and plug in an internet cable or mobile-broadband modem to your Ubuntu so that your Ubuntu is connected to wired or broadband connection and wireless is disabled.

  2. Go to Network Icon on the top panel → Edit Connections, then click the Add button in the pop up windows.

    Edit connection

  3. Choose Wi-Fi from the drop-down menu when you're asked to choose a connection type:

    Choose wifi connection type to wifi

  4. In the next window, do:

    • Type in a connection name. The name will be used later.
    • Type in a SSID
    • Select mode: Infrastructure
    • Device MAC address: select your wireless card from drop-down menu.

    Create wifi hotspot

  5. Go to Wi-Fi Security tab,select security type WPA & WPA2 Personal and set a password.

  6. Go to IPv4 Settings tab, from Method drop-down box select Shared to other computers.

    Wifi IPv4 shared to other computer

When done, click the save button.

After above steps, a configuration file created under /etc/NetworkManager/system-connections directory. File name is same to the connection name you typed in step 4.

Now press Ctrl+Alt+T on keyboard to open terminal. When it opens, paste the commands below and hit Enter to edit the configuration file.

gksudo gedit /etc/NetworkManager/system-connections/wifi-hotspot

Replace wifi-hotspot with the connection name you types in step 4.

When the file opens, search for the line mode=infrastructure and change it to mode=ap.

Finally save the file.

Change mode to ap

When everything's done, enable WIFI from Network Manager icon on the panel. It should automatically connect to the hotspot you created. If not, select "Connect to Hidden Wi-Fi Network" and select it from the drop-down box.

Wifi Hotspot

Now you can search and connect the access point from your Android mobile ..... enyou <^_^>

Credit: UbuntuHandBook

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Create WiFi hotspot on ubuntu

From Dev

How to create wifi hotspot in Ubuntu 17.10

From Dev

How to create wifi hotspot in Ubuntu 15.04?

From Dev

How to create wifi hotspot on Ubuntu 14.04 that is visible to every device?

From Dev

Ubuntu freezes when connecting to Wifi hotspot

From Dev

Is it possible to set up wifi hotspot on an ubuntu machine?

From Dev

Ubuntu 20.04 lts wifi-hotspot not working

From Dev

Trouble generating wifi hotspot in ubuntu 18.04

From Dev

Create a wifi hotspot on Gnome 3 / Arch Linux

From Dev

Create a wifi hotspot on Gnome 3 / Arch Linux

From Dev

Can't create wifi hotspot with Windows 10

From Dev

How to create wifi hotspot from ethernet network?

From Dev

Create WiFi hotspot without internet from laptop

From Dev

How to create a hotspot in Ubuntu to connect an Android phone?

From Dev

Create hotspot using CLI only - ubuntu 14.04

From Dev

Can't connect to own Ubuntu-created WiFi hotspot

From Dev

WiFi hotspot option disabled after upgrade to Ubuntu 20.04

From Dev

How to create the wifi tethering without sharing the internet connection(Hotspot) in android?

From Dev

Can I create Wifi hotspot from within virtual box?

From Dev

How can I create a wifi hotspot and share my localhost across

From Dev

Create wifi tethering Hotspot in Android Marshmallow, without intervention?

From Dev

wifi hotspot start up

From Dev

Wifi hotspot switching on/off

From Dev

Connecting to WiFi Hotspot on 17.04

From Dev

WiFi hotspot in 17.10

From Dev

Encrypting a Wifi Hotspot

From Dev

Wifi hotspot automatically activating

From Dev

How to create Wi-Fi hotspot in Ubuntu 12.04?

From Dev

How to convert Ubuntu 16.04 LTS (i386) laptop into wifi hotspot?

Related Related

HotTag

Archive