5

I would like to create a hidden hotspot from my Ubuntu for my phone, is there any way to do this? I want that only people who know the SSID can connect to the WiFi.

s3lph
  • 14,118
  • 11
  • 57
  • 82
RedNiRav
  • 53
  • 1
  • 1
  • 3

3 Answers3

3

Yes, you can do this with this script https://github.com/Daniyal-Javani/AP-Hotspot

You can run this with downloading ap-hotspot file and do chmod 777 ap-hotspot or install with sudo apt-get install ap-hotspot Then change codes in /usr/bin/ap-hotspot with my script!

Daniyal Javani
  • 1,588
  • 4
  • 20
  • 38
1

I needed exactly this, and didn't find a solution else where. Posting for when my future self inevitably forgets it.

NetworkManager now allows hidden SSID in AP mode.

After creating the hotspot, edit the generated connection file /etc/NetworkManager/system-connections/Hotspot.nmconnection and add hidden=true under [wifi], it should look something like

[wifi]
hidden=true
mac-address-blacklist=
mode=ap

Then reload and restart the connection:

sudo nmcli connection reload Hotspot
nmcli connection up Hotspot
Evan Jo
  • 11
  • 1
-1

There is no way known to create the access Point hotspot with hidden SSID. However to do Wifi hotspot without hidden SSID:

http://www.howtogeek.com/116409/how-to-turn-your-ubuntu-laptop-into-a-wireless-access-point/

With screenshots.

LostLife
  • 315
  • 1
  • 10