Categories
Software

The Simplest WiFi Hotspot using Ubuntu

Creating the Simplest WiFi Hotspot using Ubuntu

WiFi hotspots using Ubuntu are incredibly useful as the Internet connection of your Ubuntu system can be shared with any other device. You can share with other computers, mobiles, tablets and so on. While there are methods to do this with apps that you can install, configure and use, here’s one trick that will allow you to share and create the WiFi hotspot using Ubuntu’s own bundled network manager and nothing else.

Step 1: Connect your Ubuntu system to a wired LAN and switch off the wireless connections for the time being.

Step 2: Traverse to the Network Icon on top panel > Edit Connections …, and then click the Add button in the pop-up window.

add new connection in Ubuntu
Click on Add to create a new connection

Step 3: From the options chose ‘Wi-Fi

Step 4: Enter the connection name and the SSID.

Step 5: Go to Wi-Fi Security tab and set the type as WPA and WPA 2 Personal. You should also set a password for the same.

Create Connection Details Alt
Enter name and other details as shown above to create the WiFi hotspot using Ubuntu

Step 6: In IPv4 Settings set the Method to ‘Shared to other computers‘. Click on Save and close the window.

Step 7: Now fire up the Terminal using Ctrl + T and type in the following command –

gksu gedit /etc/NetworkManager/system-connections/Einsatz

Step 8: As the configuration file is opened in the text editor (it will prompt for the admin password here), replace the mode=infrastructure with mode=ap. Then save and close the file.

Step 9: Once you are done with all the steps above, enable the Wireless switch/connections. If you don’t find the newly created connection check for the ‘Connect to Hidden Wi-Fi Network‘ option under the Network applet menu and chose the connection from the list.

Now you can connect any device to this WiFi hotspot using Ubuntu. There are no restrictions whatsoever and it will function just like any other generic router.

 

 


By Sarthak Ganguly

A programming aficionado, Sarthak spends most of his time programming or computing. He has been programming since his sixth grade. Now he has two websites in his name and is busy writing two books. Apart from programming, he likes reading books, hanging out with friends, watching movies and planning wartime strategies.

Leave a Reply

Your email address will not be published. Required fields are marked *