I am trying to SSH into my Raspberry Pi 3 Model B V1.2 from my laptop running CentOS7. I have connected them together via Ethernet cable but the laptop is unable to identify Raspi. So i tried running the following command provided by a user in a similar question on StackExchange:
$cat /proc/net/arp IP address HW type Flags HW address Mask Device
Also i tried scanning using nmap using this command found while searching StackExchange:
$nmap 192.168.1.1-20 Starting Nmap 7.70 ( https://nmap.org ) at XXXX-XX-XX XX:XX XXX mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers Nmap done: 20 IP addresses (0 hosts up) scanned in 0.04 seconds
- I don't have an external display with HDMI input port.
- I don't have a router.
Edit: So far i have tried two things.
I tried assigning IP address to my Raspi as well to my Ethernet port manually as told by a user in one of the answers.
ssh: connect to host 192.168.1.10 port 22: Connection refused
I tried installing dhcp server on my laptop as told by another user in the answers.
systemctl start dhcpd
Job for dhcpd.service failed because the control process exited with error code. See "systemctl status dhcpd.service" and "journalctl -xe" for details.