2 Replies Latest reply on Feb 5, 2015 9:13 AM by David_J_Hunt

    ping edison.local

    David_J_Hunt

      Hi all,

       

      If you have an edison on the local network using dhcp, you might like this (apt-get on ubilinux (Debian), but you could probably get the relevant packages for Yocto as well). It's handy in the cases where you're not always sure of the IP address of your Edison.

       

      apt-get install avahi-daemon netatalk


      Edit your hostname file to make the hostname unique:

       

      vi /etc/hostname


      I chose "edison" in this case.


      Reboot your Edison so the hostname becomes active.


      Once the Edison comes up and it connects to the local network, I can then do the following from any machine on the local network.

       

      MacBook-Pro:~ dave$ ping edison.local

      PING edison.local (192.168.1.243): 56 data bytes

      64 bytes from 192.168.1.243: icmp_seq=0 ttl=64 time=81.505 ms

      64 bytes from 192.168.1.243: icmp_seq=1 ttl=64 time=108.598 ms

      64 bytes from 192.168.1.243: icmp_seq=2 ttl=64 time=97.779 ms

      64 bytes from 192.168.1.243: icmp_seq=3 ttl=64 time=113.261 ms

      ^C

      Enjoy!

      Dave.