Timeline for Find Raspberry PI address on local network
Current License: CC BY-SA 4.0
21 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 4, 2024 at 13:24 | comment | added | Nikola | I'll just add, for my "family" network, enough was nmap -sP 192.168.1.0/24 as there were few devices only | |
| Apr 17, 2023 at 18:26 | comment | added | Giszmo | And ChatGPT just helped me to make it greppable: nmap -p 22 --script=banner -sV -oG 192.168.0.0/24 | awk '/Rasp/ {print $2}'. | |
| Apr 17, 2023 at 16:58 | comment | added | Giszmo | For me, only @RossRogers command worked. The accepted answer did not find my RPi that I had freshly installed and activated ssh. | |
| Dec 12, 2021 at 4:40 | comment | added | Steve | Some RPi4 start with E4:5F:01 as well: udger.com/resources/… | |
| S Aug 27, 2020 at 8:26 | history | suggested | enedil | CC BY-SA 4.0 | Using nmap does not require superuser privileges |
| Aug 26, 2020 at 17:06 | comment | added | Greenonline♦ | Addendum: For RPi4 B they start with dc:a6:32 | |
| Aug 26, 2020 at 14:36 | review | Suggested edits | |||
| S Aug 27, 2020 at 8:26 | |||||
| Jun 9, 2020 at 19:00 | comment | added | Mauker | Tried it but it couldn't find my rasp 4 | |
| Aug 10, 2017 at 17:00 | comment | added | gregmac | An improvement to automatically grab default IP and subnet mask, and also display hostname and MAC in addition to IP: sudo nmap -sP `ip -o -f inet addr show | grep \`ip route get 1 | awk '{print $NF;exit}'\` | awk '{print $4}'` | awk '/^Nmap/{ip=gensub(/[^0-9\.]/,"","g", $NF);host=$(NF-1)}/B8:27:EB/{printf "%s\t%s\t%s\n", ip, $3, host}' | |
| Aug 16, 2016 at 18:13 | comment | added | linuxgnuru | also on mac os x, you can install nmap using fink | |
| S Jul 8, 2016 at 1:27 | history | suggested | Thomas Weller | CC BY-SA 3.0 | Add Windows solution using Wireshark |
| Jul 7, 2016 at 10:56 | review | Suggested edits | |||
| S Jul 8, 2016 at 1:27 | |||||
| Dec 14, 2015 at 10:54 | comment | added | Marian Paździoch | isn't "sudo nmap -sP 192.168.1.0/24" enough (it wored for me)? | |
| Jul 8, 2015 at 17:06 | comment | added | Ross Rogers | This answer didn't work for me since nmap wasn't spitting out the hostnames for me. However, it did inspire me to search for open ssh ports with nmap and that did enable me to find the pi: sudo nmap -p 22 --open -sV 192.168.0.0/24 per this guy's post. | |
| Apr 17, 2014 at 11:53 | comment | added | Ransom | You would not appreciate the importance of this answer until you have tried to headlessly locate your raspberrypi in an office setting where IP's are dished out using DHCP. Cheers for this @ripat | |
| Feb 26, 2014 at 15:14 | vote | accept | J. Costa | ||
| Feb 26, 2014 at 15:13 | comment | added | J. Costa | Thanks @ripat, that is a lot more concise - updated! One little detail, you need to run as administrator or the nmap will not display the MAC address. | |
| Feb 26, 2014 at 15:12 | history | edited | J. Costa | CC BY-SA 3.0 | Updated with @ripat suggestion |
| Feb 26, 2014 at 12:08 | comment | added | ripat | Or with less pipes: nmap -sP 192.168.1.0/24 | awk '/^Nmap/{ip=$NF}/B8:27:EB/{print ip}' | |
| Feb 24, 2014 at 13:48 | review | First posts | |||
| Feb 24, 2014 at 16:25 | |||||
| Feb 24, 2014 at 13:29 | history | answered | J. Costa | CC BY-SA 3.0 |