Hello Friends, Today i am going to show you a little hack of ubuntu to create own WIFI HOTSPOT without using any third party software.
Follow my step by step guide to create wifi hotspot in ubuntu.
Tested on ubuntu 14.04
Step-1: Go to Network Icon on top panel and click on Edit Connections.
Step-2: Then click the Add button in the pop-up window.
Step-3: Choose Wi-Fi from the drop-down menu as your connection type.
Step-4: In new window:
a). Type in a connection name anything you want
b). Type in a SSID
c). Select mode: Infrastructure
d). Device MAC address: select your wireless card from drop-down menu.
Step-5: Click on Wi-Fi Security tab, select security type “WEP 40/128-bit Key(Hex or ASCII)” and set a password.
Step-6: Click on IPv4 Settings tab, In Method drop-down box select “Shared to other computers” option to share networks with other devices.
When all done click save button.
Step-7: After above steps done 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.
(You can use any editor to edit the file like gedit, nano etc. Here i am using vim editor a very powerful command line editor).
sudo vim /etc/NetworkManager/system-connections/iamhotspot
sudo gedit /etc/NetworkManager/system-connections/iamhotspot
sudo nano /etc/NetworkManager/system-connections/iamhotspot
Step-8: When the file opened, find out the line “mode=infrastructure” and change it to “mode=ap”.
Finally save the file.
Step-9: When everything done perfectly, enable WIFI from Network Manager icon on the panel. It should automatically connect to the hotspot you created. But if not, select “Connect to Hidden Wi-Fi Network” and select it from the drop-down box now click on connect.
Congrats You have done all the steps successfully. Now you can search and connect newly created wifi-hotspot zone on your mobile phone. 🙂