View Single Post
  #9   Spotlight this post!  
Unread 01-03-2015, 15:16
virtuald's Avatar
virtuald virtuald is offline
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,086
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: Not able to connect to roborio mDNS name on OSX

Quote:
Originally Posted by jhersh View Post
It is actually not an oversight as it turns out. I was as surprised as you at first. I dug into the reason and found out that the system configuration people have settled on avahi as the mDNS software for the platform. Unfortunately for the vision group, avahi does not have an API to return all of the IP address records returned by the queried device. The way Axis implemented mDNS on their cameras is incompatible with this since it returns a link-local address (If link-local could work consistently when you have more than one network interface it wouldn't matter.) even when the camera has a DHCP or static configured address, and in an unreliable order. The maintainer of avahi, Lennart Poettering, has made it clear that he doesn't want to support returning more than one IP address. This limitation does not exist with mdns-responder, so the vision team opted to run that as well!

I'm not sure there is a way to stop running both and still support Axis cameras, but hopefully there is a way to make avahi responses make it back to the mac. Do you have pcap files showing the working vs. non-working traffic?
I don't have any at the moment, and won't have access to our unbagged roboRIO until Thursday. I might be able to collect some pcap files then.
__________________
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