Firstly install nmap, a common ubuntu tool:
sudo apt-get install nmap
Next, find your pc's ip with:
ifconfig
or
ip a
you should get some output relating to your network connection, if using wirless your ip will be labeled with wlan0 and eth0 for ethernet.
example coutput:
autonetix@pop-os:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: wlo1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether f0:d5:bf:4b:c9:4a brd ff:ff:ff:ff:ff:ff
altname wlp2s0
inet 192.168.1.146/24 brd 192.168.1.255 scope global dynamic noprefixroute wlo1
valid_lft 58302sec preferred_lft 58302sec
inet6 2405:6e00:28ed:2b50::16d/128 scope global dynamic noprefixroute
valid_lft 58304sec preferred_lft 58304sec
inet6 2405:6e00:28ed:2b50:71c1:ee80:2b07:777e/64 scope global temporary dynamic
valid_lft 86363sec preferred_lft 57913sec
inet6 2405:6e00:28ed:2b50:fad0:3666:a0ab:f4d9/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 86363sec preferred_lft 86363sec
inet6 fe80::6d1f:88ea:da5d:bfa5/64 scope link noprefixroute
valid_lft forever preferred_lft forever`
my local ip was 192.168.1.146
so now run the following command replacing this with your local ip:
sudo nmap -sn 192.168.1.146/24
and expect some output like this:
autonetix@pop-os:~$ sudo nmap -sn 192.168.1.146/24
Starting Nmap 7.80 ( https://nmap.org ) at 2023-10-27 16:19 AEDT
Nmap scan report for www.webgui.nokiawifi.com (192.168.1.1)
Host is up (0.0038s latency).
MAC Address: 28:74:F5:69:A4:A4 (Unknown)
Nmap scan report for NUCSERVER.lan (192.168.1.103)
Host is up (0.0023s latency).
MAC Address: 94:C6:91:16:F2:9C (EliteGroup Computer Systems)
Nmap scan report for 192.168.1.104
Host is up (0.055s latency).
MAC Address: B8:C6:AA:30:A8:7E (Earda Technologies)
Nmap scan report for Dragon.lan (192.168.1.108)
Host is up (0.0013s latency).
MAC Address: 10:E7:C6:33:16:90 (Hewlett Packard)
Nmap scan report for parrot.lan (192.168.1.115)
Host is up (0.011s latency).
MAC Address: 00:22:FB:A3:AB:66 (Intel Corporate)
And thats it, simpler the second time round!
© Autonetix.co - All rights reserved | 2022 - 2025