

The -A (aggressive scan) option forces nmap to use operating system detection, version detection, script scanning, and traceroute detection. We can use nmap more aggressively to try to winkle more information out of the device. Next, set the new MAC using command: sudo ip link set dev enp0s31f6 address XX:XX:XX:XX:XX:XX. First, turn off the network card using command: sudo ip link set dev enp0s31f6 down. The device with IP Address 192.168.4.11 had an unknown manufacturer and a lot of ports open. I would recommend using Macchanger but if you don’t want to use it, there is another way to change the MAC address in Linux. RELATED: How to Turn a Raspberry Pi into a Low-Power Network Storage Device Unknown Device With Many Open Ports It uses Samba so that I can connect to it from any computer on my network. If your network is 10.0.1.x, use that number to ping. Start by pinging the device you want the MAC to address for. This makes sense I use that particular Pi as a sort of mini-Network Attached Storage device (NAS). Here is one example of how to find a MAC address using an IP address.

SMB is a means of sharing folders and files across a network. In addition to the virtual IP address, each interface is also associated with a hardware MAC address that it can be necessary to know.

Samba is a free software implementation of Microsoft’s Server Message Block protocol (SMB). Finding the MAC Address of the Linux Box. We’ve Lined Up The Suspects Let’s Make Them Talkĭevice 192.168.4.10 is a Raspberry Pi that has port 445 open, which is described as “microsoft-ds.” A quick bit of Internet searching reveals that port 445 is usually associated with Samba. As the root user (or user with appropriate permissions) Type ifconfig -a From the displayed information, find eth0 (this is the default first Ethernet.
