Skip to content

Instantly share code, notes, and snippets.

@towfiqpiash
Last active July 25, 2018 08:47
Show Gist options
  • Save towfiqpiash/1d3c22a7ebe41881ef1d84fa70cfefc1 to your computer and use it in GitHub Desktop.
Save towfiqpiash/1d3c22a7ebe41881ef1d84fa70cfefc1 to your computer and use it in GitHub Desktop.
Create WiFi hotspot on Ubuntu
  1. Disable Wifi (Uncheck Enable Wi-Fi)
  2. Go to network connection (Edit Connections...)
  3. Click "Add"
  4. Choose "Wi-Fi" and click "Create"
  5. Type in Connection name like "wifi-hotspot"
  6. Type in SSID as you wish
  7. Choose Device MAC Address from the dropdown (wlan0)
  8. Wifi Security select "WPA & WPA2 Personal" and set a password.
  9. Go to IPv4 Settings tab, from Method drop-down box select Shared to other computers.
  10. Then save and close.
  11. After following the guide and before enabling WiFi, restart the Network Manager with:
sudo service network-manager restart
  1. Now enable Wi-Fi
  2. Check the network section where wi-fi will be connected to the created hotspot automatically. If you can not find it, go to Connect to Hidden Network... Find the connection and connect to it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment