T
T
TomasHuk2020-10-27 15:46:50
Python
TomasHuk, 2020-10-27 15:46:50

How to use raspberry pi to find devices connected to wifi?

There is a home network. A computer and a raspberry pi are connected to the
wifi router with a cable .
How to use python script running on paspberry pi to detect devices connected to wifi network?
Maybe there is a ready-made library?
If not, then where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Karpion, 2020-10-27
@TomasHuk

Complete information about connected devices is known by the devices themselves. But they will not tell about themselves without a special program.
The next level is the router itself. But he knows far from everything; and, worse, connected devices can lie to him about himself.
Which of this information the router is ready to tell depends on the firmware of the router.
And finally, you can try to scan the network yourself - collect IP addresses and MAC / ARP addresses; scan devices to determine information about them based on some features of network behavior. To do this, you need to pile up the operating system on the raspberry pi and run the scanner program there.
And for what purpose do you need it? And why exactly python?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question