Install software:

opkg update
opkg install nmap

Scan local network:

nmap -sP 192.168.0.0/24
Nmap scan report for 192.168.0.1
Host is up (0.011s latency).
MAC Address: 14:CF:E2:A2:42:A7 (Unknown)
...
Nmap scan report for 192.168.0.240
Host is up (0.00017s latency).
MAC Address: 00:19:B9:22:AE:4A (Dell)
Nmap done: 256 IP addresses (9 hosts up) scanned in 3.47 second

To scan for TCP connections:

nmap -sT 192.168.0.240
Starting Nmap 6.01 ( http://nmap.org ) at 2024-06-19 07:32 UTC
Nmap scan report for 192.168.0.240
Host is up (0.011s latency).
Not shown: 997 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
111/tcp  open  rpcbind
3306/tcp open  mysql
MAC Address: 00:19:B9:22:AE:4A (Dell)
Nmap done: 1 IP address (1 host up) scanned in 2.45 seconds

Comments powered by CComment