使用sudo apt-get install arp-scan 安装(确保网络链接正常)
利用ifconfig 或ip addr 查看本机的ip地址,一般有线在interface en0/eth0, 无线在wlan0上.
ifconfig
然后就可以查看同一局域网的其他设备
sudo arp-scan -I eth0 --localnet
使用sudo apt-get install arp-scan 安装(确保网络链接正常)
利用ifconfig 或ip addr 查看本机的ip地址,一般有线在interface en0/eth0, 无线在wlan0上.
ifconfig
然后就可以查看同一局域网的其他设备
sudo arp-scan -I eth0 --localnet