forked from freifunk-gluon/gluon
-
Notifications
You must be signed in to change notification settings - Fork 0
First SSH connection
Paul edited this page Sep 21, 2016
·
2 revisions
To SSH into your router after initial setup you first have to determine the ip address of your router. To get the address you use ping6
on the broadcast address ff02::1
through link local.
In this example the connection is established via ethernet cable (eth0
), adjust according to your connection (wlan0
, etc.`):
ping6 ff02::1%eth0
From this you'll get something like the following output:
64 bytes from fe80::21f:16ff:fe0d:7677: icmp_seq=1 ttl=64 time=0.062 ms
64 bytes from fe80::aaaa:bbbb:cccc:fefe: icmp_seq=1 ttl=64 time=0.795 ms (DUP!)
64 bytes from fe80::baf6:b1ff:fe15:6db3: icmp_seq=1 ttl=64 time=374 ms (DUP!)
[...]
The 1st entry contains the ipv6 address of your machine. The 2nd entry is your router (that's what you're looking for). The rest are the other nodes connected to the same bridge.
So after you got the address you'll ssh into your router like this:
ssh -6 root@fe80::aaaa:bbbb:cccc:fefe%eth0
Info copied from FF-HH-Wiki - worked for me on gluon 0.4+0-exp20140617