Well Everybody answered the Question for Windows Platform only. So, I thought It would be useful to answer for Linux Platform too. On Linux you can do the following: Getting MAC Address of Devices connected in your network You can Use a number of tools for thus task such as Netdiscover, arp-scan, nmap and even WireShark. These tools are basically used in Penetration Testing of Wireless Networks and can be used to get to know who is in the Network by knowing their IP Address and MAC Address. ARP (Address Resolution Protocol) is used to map MAC addresses to IP addresses on an internal network. ![]() If you want to know all the devices in your network you need to get an app to do that. I use the free app FING on my Android mobile to map my network. This gives me a complete view of all devices on my network. Once it scans my network it keeps a table of the IP addresses for every device. The router and switches send out broadcast ARP requests to all the MAC addresses on the network asking them to respond with their IP addresses. Each system will then respond with their IP address and the switch or other device will then create a small database that maps the MAC to the IP address, so that it it knows 'who is who'. Both the tools Uses ARP Packets to get this information. • Using Netdiscover Netdiscover is used for the active or passive scanning of those wireless networks without the DHCP server. It can also be used for scanning hub/switched networks. Netdiscover -i eth0 -r 192.168.2.0/24 where -i denotes the interface (Here eth0) & -r denotes the `IP Range to be tested. • Using arp-scan arp-scan (also called ARP Sweep or MAC Scanner) is a very fast ARP packet scanner that shows every active IPv4 device in the network. My passport for mac how do i install it in a lenovo screen. Since ARP is non-routable, it only works in local LAN (local subnet or network segment). It shows all active devices even if they have firewalls. Arp-scan --interface=wlan0 [ --localnet ] 192.168.0.1/24 & Getting MAC Address of Devices NOT connected in your network Well this part is an exact answer to your Question about both MAC Address and Signal of nearby devices. For this we can use Airmon-ng tool to setup a Wireless Monitor and then use Airodump-ng to dump the wireless signals from Monitor to Sreen. Both tools are part of Aircrack-ng, again a set of tools used for Penetration Testing of Wireless Networks. This is a prefect tool for what you want. Using Aircrack-ng Suite is not quite easy but It's worth the time and effort. Writing all commands in the answer will make it quite boring, So A short steps of commands goes like this • Check Interface Status: airmon-ng • Check any Processes that can be troublesome to Airmon-ng & killing them: airmon-ng check kill • Enable monitor mode (start) on the given wireless interface (wlan0) airmon-ng start wlan0 where wlan0 is the name of wireless interface. Type iwconfig at terminal to get the wireless interface name of wireless device on your machine. • Start Airodump-ng to dump the packets from Wireless Monitor airodump-ng mon0 where mon0 is the monitor initiated on the interface wlan0. Now You will clearly also.
0 Comments
Leave a Reply. |