How to create Wi-Fi Hotspot in elementary OS

Creating your own Wi-Fi Hotspot is extremely useful at times, especially for people who travel a lot. Ethernet (wired internet) source and a Wireless adapter connected computer can be converted to a Wi-Fi hotspot so that the mobile devices can access this hotspot, thus sharing the internet. This tutorial will guide you on how to create a wireless hotspot (also called as Wi-Fi tethering) without installing a third-party software. We shall use the elementary OS built in Network connections tool and configure its infrastructure to make Wireless tethering possible.

Create Wi-Fi Hotspot

Create a personal Wi-Fi Hotspot from Ethernet

STEP 1: Connect the Ethernet cable to you computer and make sure internet is working good.

STEP 2: Click on the network icon on the wingpanel and uncheck ‘Enable Wi-Fi’.

Disable Wi-Fi
Disable Wi-Fi

STEP 3: Click on the network icon again and click ‘Edit Connections…’.

STEP 4: Click ‘Add’ in the pop-up window.

Add Network Connection
Add Network Connection

STEP 5: Select ‘Wi-Fi’ from the drop-down list when it prompts to ‘Choose a Connection Type’ and then click  ‘Create’.

Connection Type Prompt
Connection Type Prompt

STEP 6: In the next window, you will have to enter the following information.

  • Type in a connection name. Make a note of the name, we need it later.
  • Type in a SSID. This is the name of the Wi-Fi Hotspot which will be shown in wireless devices when you scan.
  • Select mode: ‘Infrastructure’
  • Device MAC address: select your wireless card from drop-down menu.

Wi-Fi Settings
Wi-Fi Settings

STEP 7: Click ‘Wi-Fi Security’ tab and select security type as ‘WPA & WPA2 Personal’. You will also have to set a password. This is the password needed for connecting to the Wi-Fi Hotspot.

Wi-Fi Security Settings
Wi-Fi Security Settings

STEP 8: Click ‘IPv4 Settings’ tab and select the ‘Method’ as ‘Shared to other computers’ from the drop-down list.

IPv4 Settings
IPv4 Settings

STEP 9: Click ‘Save’.

STEP 10: The new Wi-Fi profile will get added in the network connections list.

Wireless Connections
Wireless Connections

STEP 11: Go to ‘Applications’ and launch ‘Terminal’.

STEP 12: Enter the following command. Important: Make sure to replace with the connection name ‘Personal_Wi-Fi_Hotspot‘ with that of what you typed in STEP 6.

gksu gedit /etc/NetworkManager/system-connections/Personal_Wi-Fi_Hotspot

Terminal Commandline
Terminal Commandline

STEP 13: In the gksu gedit window, look for mode=infrastructure and change it to mode=ap. Save the file and close the terminal.

Edit Wi-Fi Connection Infrastructure Paramater
Edit Wi-Fi Connection Infrastructure Paramater

STEP 14: Now click on network icon and ‘Enable Wi-Fi’. You should see the new Wi-Fi hotspot created in the Wi-Fi Networks section. Connect to it and your hotspot is ready!

Wi-Fi Hotspot
Wi-Fi Hotspot

You can now connect your smartphone and share the computer’s internet.

Kiran Kumar
Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

4 COMMENTS

  1. After step 12 I get errors saying “Gtk-WARNING **: Unable to locate theme engine in module_path: “pixmap” ” and “Gtk-Message: Failed to load module “canberra-gtk-module”
    “. PLEASE HELP

    • Seems like your PC has a problem independent of what you are doing. It has missing language pack I guess. I suggest you to go to System Settings. Then you should be seeing a warning with yellow background with text “Language support is not installed completely”. Click “Complete installation”. Try and let me know.

  2. Hi,
    I have tried the same in my EOS loki but it is not showing me the hotspot after 30-40 sec and after that i am not able to connect to any wifi signals until i restart my PC. Please suggest me some solution for this issue.
    Thanks

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

24,269FansLike
192FollowersFollow

LATEST ARTICLES

best linux distros for laptops
Whether buying a Linux pre-installed laptop or selecting a Linux distro for your existing laptop, there are many things to consider. Let's take you through some of the best Linux distros that are optimized for Laptops in this 2019 edition of the article. Read on.
terminate frozen app
For dealing with a frozen app or desktop, you can't use the CTRL+ALT+DEL in Linux system. Instead, there are powerful alternatives that come in handy in frustrating situations. We pick the best methods available for you.
essential linux commands
Last week, we shared with you several "cool and fun" commands to get comfortable and confident with the Linux command-line. In our quest to further aid Linux users with mastery of the command line, or CLI, we present you with a variety of command-line utilities essential for all Linux users, regardless of proficiency level.