How many people are in our wifi network?

How many people are in our wifi network?

There are more and more news in telecommunications but each time the speed of our connection is slower.unsolved mystery? No, it is a spy or a mole who has connected to our network and as there are more computers, resources are divided and therefore the connection usually slows down.

In general, identifying who is or is not connected to our Wi-Fi network is difficult and many choose to turn off the Wi-Fi connection or the router. But If we have Ubuntu, the process to identify the users of our Wi-Fi network is very easy and it is enough to install two programs through the terminal.

Installation of Nast and Nmap for our wifi network

The programs we use to identify the users of our Wi-Fi network are called nast and nmap. These will allow us to scan our network and return MAC addresses of the network. This is useful to us because in addition to knowing if there is someone else on our Wi-Fi network, it will allow us to take serious and harsh measures against usurpers of our network. By the way, the use of the resources of a Wi-Fi network without our consent is a crime in some countries.

Nast and nmap are in the official Ubuntu repositories, so just open the terminal and type the following:

sudo apt-get install nast nmap

Now we only need paper and pencil to take note of the addresses or the MAC address that is usurping our Wi-Fi network. To list the users that are present in our Wi-Fi network we will only have to write the following in the terminal:

sudo nast -m -i wlan0

This will show us all the computers connected to our Wi-Fi network, whether or not they are active. Now to know the assets we write the following:

sudo nast -g -i wlan0

If the MAC address appears the words "Yep!" the equipment is active and using our wifi network. If, on the contrary, the word "Bad!" Appears, the equipment is not in use or connected.

Conclusion

As you can see, the operation of these programs is simple and can help us to check in a short time whether or not we have intruders on our Wi-Fi network. In a future post we will show you solutions to get those annoying tenants out of our network. And all with Ubuntu.


Leave a Comment

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

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Belial said

    I install it but it puts the following in the terminal ...

    Nast V.0.2.0

    Error: can't initialize libnet engine: libnet_check_iface () ioctl: No such device
    Have you activate a non-loopback iface? (manifconfig)
    Maybe autodetection is failing, try with "-i interface"
    belial @ belial-H81M-S1: ~ $ sudo nast -g -i wlan0

    Nast V.0.2.0

    Error: can't initialize libnet engine: libnet_check_iface () ioctl: No such device
    Have you activate a non-loopback iface? (manifconfig)
    Maybe autodetection is failing, try with "-i interface"
    belial @ belial-H81M-S1: ~ $

    What am I doing wrong?

  2.   I hate signing up said

    The same mistake

  3.   x mint said

    uhm ... type the command iwconfig ... there you will see where you are connected to the device wlan0, wlan1, lo, eth0, check which device is connected and change it to wlan0.

    example:

    sudo nast -g -i wlan1

  4.   John Smith said

    The same mistake

  5.   John Smith said

    Correcting with iwcofing the connection protocol if it works, but when doing the check with a pc connected by cable to the router, it does not search for wireless connections connected to the same router.

    What a pity.

    1.    Chelo said

      I have the pc connected to the router by cable and if it works. At first it gave me the same error but it was because I had not activated the wireless network from Xubuntu. I activated it and solved the problem. All perfect.

  6.   Chelo said

    Curious: I have my tablet connected to the Wi-Fi network and I put it to update. Nast detects it but says "Bad". Shouldn't I say "Yep"?

  7.   x mint said

    Personally I think this is not going very fine ... greetings!

  8.   Belial said

    It doesn't work for me, I see this as complicated and difficult for the average user who has no idea (in that group I find myself XDD) ... let's see if they make it easier.

  9.   People said

    Change the password to access your wifi for a more complex one and if there was an intruder, it is already out: p

  10.   hator said

    I recommend softperf wifi guard this one if it works

  11.   Jamin Fernandez (@JaminSamuel) said

    This is stupid ...

    It is enough to only enter the configurations of our router and in the same API we can see who is or is not connected to our network

    It is information that modern routers already offer us

  12.   Sergio Quiles Perez said

    It does not detect my mobile phones that I have connected. With the router connection viewer I do see them.

    Either I do something wrong or this tool does not work for this purpose.

  13.   MOLDS said

    First of all greetings to all the members and visitors of this forum and in particular to its administrator.
    Indeed, with the commands specified by X-mint you can see the MAC addresses of those connected to our network, but ... how do you know who they are to be able to call them to order?
    The MAC addresses correspond to a router or a client station. The Router may have a network name, for example, WLAN_49, but in itself it does not say anything. And as for the workstation, that is, the client computer, which connects to our network, apart from its IP idem of the same.

  14.   miguelon66 said

    very interesting and easy, thanks

  15.   patrician said

    HELLO IT'S PRACTICAL ,, BUT YOU CANNOT SEE THE CELL PHONES WHICH ARE CONNECTED TO YOUR WIFI ++++

  16.   Gabriel said

    Finding suitable hosts (excluding localhost) ->
    tell me that

    1.    grovia said

      PATRICK:
      This may depend mainly on whether your router has enabled network equipment access, that is, only computers that you have previously allowed in the router's access control can access by writing their name and MAC address.

  17.   host said

    I did everything as is, at first it only showed me my ip and there are several connected to my network, with the second command if it showed me my phone number and 2 other computers but it did not show all of which is due to that error.