View Single Post
  #26   Spotlight this post!  
Unread 26-01-2015, 00:44
virtuald's Avatar
virtuald virtuald is online now
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,114
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: Eclipse won't connect to roboRIO

Quote:
Originally Posted by Cryptogenic View Post
I spent a part of today investigating this, but I don't see where you saw the two mDNS services. If you could post a pic of where you found it, I would greatly appreciate it.
I don't have the roborio available, so no pictures. I did grab some logfiles, however. If you ssh into the roborio, check out /var/log/messages. You'll find messages like this:

Code:
Jan 25 16:55:38 roboRIO-1418 nimDNSResponder: Local Hostname roboRIO-1418.local already in use; will try roboRIO-1479.local instead
Jan 25 16:55:40 roboRIO-1418 nimDNSResponder: mDNSCoreReceiveResponse: Received from 10.14.18.20:5353   20 20.18.14.10.in-addr.arpa. PTR roboRIO-1418.local.
Jan 25 16:55:40 roboRIO-1418 nimDNSResponder: mDNSCoreReceiveResponse: Unexpected conflict discarding   20 20.18.14.10.in-addr.arpa. PTR roboRIO-1479.local.
Looking at the log closer, you'll see messages from avahi-daemon and nimdnsresponder, which have the same purpose. However, if you look at my other post, some further investigation today has shown that if I disable one or the other, then I end up with different effects. Apparently the driver station requires the avahi-daemon, but my OSX machines cannot resolve the hostname when it's enabled.

You can also use "ps -Af" to see avahi-daemon and nimdnsresponder both running.

You might check to see if you have iTunes/bonjour installed, as they provide a similar mDns service, and it might have the same problems that we have on OSX.

You can find rc.d symlinks to activate the services in /etc/rc5.d/...avahi-daemon and /etc/rc5.d/...nimdnsresponder
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff