2

My task is to SSH into an embedded (linux) computer system from my PC. I have connected my PC directly to an embedded computer using LAN cable, both computers are configured to get IP address using DHCP.

Once the cable is plugged in, my PC gets a link-local IP address like: 169.254.11.114 . The embedded computer doesn't have any monitor, keyboard connected to it so I cant see its IP address.

I'm carious if there's any way that I can find the embedded computer's link-local IP address ?!

Of course I know that I can use a DHCP server and connect the computers to it so I can easily do this task, but my question is specially about finding link-local address of the other computer in a peer to peer connection.

7
  • use an ip scanner like nmap, it scans the /16 in less a minute Commented Apr 29, 2022 at 12:40
  • 1
    try arp -a command Commented Apr 29, 2022 at 15:50
  • @djdomi seems its taking much longer time for me, I'm using this command "nmap -sn -n -T5 169.254.0.0/16" but estimated time is around 53 minutes !!! Commented May 5, 2022 at 12:51
  • @4snok its only showing my local PC address ! Commented May 5, 2022 at 12:53
  • can we please know, what is the OS of the systems that are being used? Commented May 5, 2022 at 17:25

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.