How do I find the private IP address of a raspberry pie without an external output device such as a monitor or TV?

Asked 2 years ago, Updated 2 years ago, 78 views

If I bought a raspberry pie, but I didn't have a TV or monitor at home, can I connect to SSH even if I have a router?

if you connect the raspberry pie to the router and connect it to the same network. Wouldn't it be possible to connect SSH ports by identifying private IP addresses through port scanning?

The Raspberry Pie OS has raspbian installed. Assume that the username is pi, the password is raspberry, that is, the default setting is
I want to see if there are computers in the same network with the default 22 port (SSH) open (raspbian is open by default when installed).

nmap-p 22 192.168.*.*

I actually pushed my friend home and used this nmap command to find a computer with a 22 port on the same network, but I couldn't determine the private IP address of the raspberry pie (and it takes a lot of time...)

Can a port scan determine the private IP address of a raspberry pie in the same network?

linux raspberry-pi raspbian

2022-09-30 21:13

2 Answers

If you have a home router, log in to it and see the DHCP payout log.
DHCPIf you register the Raspberry Pi MAC address in the Fixed Address Payment setting,
It will be easy without having to investigate every time (that's what we do in Oiran)


2022-09-30 21:13

Using the tool arp-scan, you can determine the manufacturer of IP addresses, MAC addresses, and equipment in your LAN.


2022-09-30 21:13

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.