How to block PCs/Phones connected to my Wi-Fi Hotspot?

15,298

Solution 1

network manager -> Edit connection -> select wifi -> Edit -> Wifi-security -> change Key

or

change SSID or password key from config file

 sudo gedit /etc/NetworkManager/system-connections/wifi-name

Solution 2

You can see the connected devices using nmap:

nmap -O hotspotIP

-O detects the OS of the device.

Why not set up a password for your wifi hotspot, tell those that you allow to connect the password, and that's it.

Otherwise, you can set it up a MAC address filter, placing the MAC addresses of those that you allow to connect in the whitelist. Anyone not in the list is prevented from connecting...

Share:
15,298

Related videos on Youtube

0x6773
Author by

0x6773

Just <3 Code

Updated on September 18, 2022

Comments

  • 0x6773
    0x6773 over 1 year

    I create Wi-Fi Hotspot using Network-Manager. Now since everyone knows the my password, whenever I create Wi-Fi for my use(on phone), everyone connects to it which reduces the speed on my PC as well on my phone. Now is there any way to

    1. Change ssid/password of my Wi-Fi Hotspot?

      or

    2. Block some-one from connecting to my Wi-Fi hotspot?

    I know the IP and MAC-Address using arp command.

    I haven't tried hostapd yet. I will prefer to use Network-Manager to create Wi-Fi Hotspot. I am using Ubuntu 15.10(development branch)

  • 0x6773
    0x6773 almost 9 years
    How to setup MAC address filter?
  • 0x6773
    0x6773 almost 9 years
    Now I am the only one who is using my net :) .
  • TellMeWhy
    TellMeWhy almost 9 years
    @mnciitbhu This site provides some useful information: cyberciti.biz/tips/iptables-mac-address-filtering.html
  • pl_rock
    pl_rock almost 9 years
    thanks for accepting answer . still if you face any problem share with us .