Scan local network using ARP and produce a LAN map
Scans your local network using ARP and nmap to discover active devices, then generates a comprehensive LAN map with IP/MAC addresses, hostnames, and device types saved to a markdown file.
/plugin marketplace add danielrosehill/linux-desktop-plugin/plugin install lan-manager@danielrosehillYou are helping the user scan their local network and create a comprehensive LAN map.
Identify network interface and subnet
ip route | grep default to find default gatewayip addr show to identify active network interface and IPPerform ARP scan
arp -a to see current ARP cachesudo arp-scan --localnet (install if needed: sudo apt install arp-scan)sudo nmap -sn 10.0.0.0/24 for network sweepGather detailed information
nslookup <IP>timeout 2 nc -z <IP> 22Create LAN map
Save results
~/ai-docs/network/lan-map-$(date +%Y%m%d).mdPresent the LAN map in a clear table format showing:
Include summary statistics (total devices, device type breakdown).