TS-7670 telnet: Difference between revisions
(Created page with "If your system is configured with zeroconf support (Avahi, Bonjour, etc) you can simply connect with: <source lang=bash> telnet ts7670-<last 6 characters of the MAC address>.l...") |
No edit summary |
||
Line 7: | Line 7: | ||
</source> | </source> | ||
When the board first powers up it has two network interfaces. The first interface eth0 is configured to use IPv4LL, and eth0:0 is configured to use DHCP. The board broadcasts using multicast DNS advertising the _telnet._tcp service. You can use this to query all of the available TS- | When the board first powers up it has two network interfaces. The first interface eth0 is configured to use IPv4LL, and eth0:0 is configured to use DHCP. The board broadcasts using multicast DNS advertising the _telnet._tcp service. You can use this to query all of the available TS-7670s on the network. | ||
From Linux you can use the avahi commands to query for all telnet devices with: | From Linux you can use the avahi commands to query for all telnet devices with: |
Revision as of 14:54, 19 December 2013
If your system is configured with zeroconf support (Avahi, Bonjour, etc) you can simply connect with:
telnet ts7670-<last 6 characters of the MAC address>.local
# You will need to use your TS-7670 MAC address, but
# for example if you mac is 00:d0:69:01:02:03
telnet ts7670-010203.local
When the board first powers up it has two network interfaces. The first interface eth0 is configured to use IPv4LL, and eth0:0 is configured to use DHCP. The board broadcasts using multicast DNS advertising the _telnet._tcp service. You can use this to query all of the available TS-7670s on the network.
From Linux you can use the avahi commands to query for all telnet devices with:
avahi-browse _telnet._tcp
Which would return:
+ eth0 IPv4 TS-7670 console [4f47a5] Telnet Remote Terminal local + eth0 IPv4 TS-7670 console [4f471a] Telnet Remote Terminal local
This will show you the mac address you can use to resolve the board. In this case you can connect to either ts7670-4f47a5.local or ts7670-4f471a.local
From Windows you can use Bonjour Print Services to get the dns-sd command. OSX also comes preinstalled with the same command. Once this is installed you can run:
dns-sd -B _telnet._tcp
Which will return:
Browsing for _telnet._tcp Timestamp A/R Flags if Domain Service Type Instance Name 10:27:57.078 Add 3 2 local. _telnet._tcp. TS-7670 console [4f47a5] 10:27:57.423 Add 3 2 local. _telnet._tcp. TS-7670 console [4f471a]
This will show you the mac address you can use to resolve the board. In this case you can connect to either ts7670-4f47a5.local or ts7670-4f471a.local