So I do not have an HDMI monitor or any monitors around but I do have a computer with an ethernet port and I know that I can SSH to my pi via putty but the problem is that I do not know how to get the IP address of my pi from another windows 7 computer. Any suggestions?
Asked
Active
Viewed 8,434 times
1 Answers
8
You don't mention which OS you are using, but there area couple of ways to do this:
- You can try
ssh pi@raspberrypiorssh raspberrypi.local(this will may need to be adjusted if not using Raspbian - the first part is the username (pi) the second is the host name). - You can login to your router and check the device list.
- You can ping the entire subnet using the following from the windows command prompt using
FOR /L %I in (1,1,255) DO PING 192.168.1.%I -n 1 -w 100 >> pung.txtThis will write the output to a file called pung.txt which contains the results of pinging each address in the subnet. depending on your PC's Ip address you may need to modify the subnet part of the above command (192.168.1) to match your local network. - You can search the arp cache; from the windows command prompt enter the following
arp -athis will give you the list of all resolved devices on the network, turning the Pi off and rerunning the test should show you which IP is associated with your Pi (though unlikely, this may not always work as the Pi's IP may not have been cached yet).
Steve Robillard
- 34,988
- 18
- 106
- 110