Skip to content

Instantly share code, notes, and snippets.

@awesomebytes
Created November 10, 2022 03:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save awesomebytes/add70a0fac46994e79f4904d6cddc2d0 to your computer and use it in GitHub Desktop.
Save awesomebytes/add70a0fac46994e79f4904d6cddc2d0 to your computer and use it in GitHub Desktop.
Connect to an unconfigured board via ethernet without DHCP or link local using ipv6

SSH into directly connected ethernet board

From: https://unix.stackexchange.com/a/624347

# Find the ipv6 address connected to the interface (-I YOUR_INTERFACE)
ping6 -L -I enx8cae4cdd3a4d ff02::1
# PING ff02::1(ff02::1) from fe80::15c5:f43f:2c00:fefd%enx8cae4cdd3a4d enx8cae4cdd3a4d: 56 data bytes
# 64 bytes from fe80::f00b:9167:92a:a182%enx8cae4cdd3a4d: icmp_seq=44 ttl=64 time=3.78 ms
# Now ssh into the discovered address+interface:
ssh root@fe80::f00b:9167:92a:a182%enx8cae4cdd3a4d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment