Go to Post If the left side of your brain controls the right side of your body then left handers are the only ones in "their right mind". - Al Skierkiewicz [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-02-2016, 13:47
tuskiomi tuskiomi is offline
Registered User
None #2531
 
Join Date: Feb 2016
Location: Earth
Posts: 8
tuskiomi is an unknown quantity at this point
mdns won't work with new radio

SOLVED. Solution below

My team has been having this problem for the past few weeks now, and I cannot seem to find a solution.
We can control the robot and have code, but there is no support for mDNS.
Normally this wouldn't be an issue, but our Smart Dashboard is not behaving properly because of this. We just re-flashed the router yesterday, and there is no luck. We also cannot connect to 172.22.11.2

ping result:


SOLUTION: turn off IPV6 adresses

Last edited by tuskiomi : 08-02-2016 at 21:11.
  #2   Spotlight this post!  
Unread 08-02-2016, 13:56
Bkeeneykid's Avatar
Bkeeneykid Bkeeneykid is offline
#wheatcoastneatcoast
AKA: Devin Keeney
FRC #1982 (Cougar Robotics); Season Long Fantasy FIRST (F3)
Team Role: Student
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Lenexa, Kansas
Posts: 338
Bkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud of
Re: mdns won't work with new radio

Make sure whatever firewall you have on your laptop is disabled.
  #3   Spotlight this post!  
Unread 08-02-2016, 14:10
tuskiomi tuskiomi is offline
Registered User
None #2531
 
Join Date: Feb 2016
Location: Earth
Posts: 8
tuskiomi is an unknown quantity at this point
Re: mdns won't work with new radio

disabled firewall, re-installed firmware & configuration. no luck.
  #4   Spotlight this post!  
Unread 08-02-2016, 14:15
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,931
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: mdns won't work with new radio

Make sure you are using the correct Mdns name for the roborio in the smart dashboard.. It should be roborio-TEAM-frc.
__________________
If you don't know what you should hook up then you should read a data sheet
  #5   Spotlight this post!  
Unread 08-02-2016, 14:26
tuskiomi tuskiomi is offline
Registered User
None #2531
 
Join Date: Feb 2016
Location: Earth
Posts: 8
tuskiomi is an unknown quantity at this point
Re: mdns won't work with new radio

Quote:
Originally Posted by FrankJ View Post
Make sure you are using the correct Mdns name for the roborio in the smart dashboard.. It should be roborio-TEAM-frc.
should '.local' be added to the end?
  #6   Spotlight this post!  
Unread 08-02-2016, 14:38
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,067
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: mdns won't work with new radio

Quote:
Originally Posted by tuskiomi View Post
should '.local' be added to the end?
Yes, "roborio-XXX-frc.local". I've found that "roborio-XXX-frc.lan" works a bit more reliably for me.
__________________
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
  #7   Spotlight this post!  
Unread 08-02-2016, 14:46
tuskiomi tuskiomi is offline
Registered User
None #2531
 
Join Date: Feb 2016
Location: Earth
Posts: 8
tuskiomi is an unknown quantity at this point
Re: mdns won't work with new radio

That's how the Driver's station is setup. Do I have to set the IP for the Smart Dashboard separately?
  #8   Spotlight this post!  
Unread 08-02-2016, 15:07
krieck's Avatar
krieck krieck is offline
Registered User
AKA: Keith
FRC #2846 (Firebears)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Minnesota
Posts: 49
krieck is an unknown quantity at this point
Re: mdns won't work with new radio

Microsoft Windows doesn't support mDNS by default. The National Instruments installer will add mDNS support. If you are running SmartDashboard on a PC that hasn't had the driver station installed, then this might be the problem.

The test for this problem is with the "ping" program run from your command line. If you can ping to the IP address but not to the mDNS address, then you're missing the mDNS software.

The solution is to install Bonjour Print Services from Apple. Really. Some of our students are incredulous that they need Apple software to talk to the robot, but yeah, they do.
  #9   Spotlight this post!  
Unread 08-02-2016, 15:10
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: mdns won't work with new radio

The nimdnsResponder is based on the Apple Bonjour implementation, by the way. So either installation will work.

Greg McKaskle
  #10   Spotlight this post!  
Unread 08-02-2016, 15:26
tuskiomi tuskiomi is offline
Registered User
None #2531
 
Join Date: Feb 2016
Location: Earth
Posts: 8
tuskiomi is an unknown quantity at this point
Re: mdns won't work with new radio

alright. I'll try installing when I get the PC again. The FIRST documentation says that and mDNS service is installed with the update suite. any insight on that?
  #11   Spotlight this post!  
Unread 08-02-2016, 15:37
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,931
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: mdns won't work with new radio

Quote:
Originally Posted by tuskiomi View Post
should '.local' be added to the end?
The Mdns name is roborio-TEAM-frc. You can confirm that by looking at the roborio name in its dashboard. The .local tells the web browser that is a local address. The .lan is appended unto the name by the radio. Sometime one works better than the other. I am not expert enough on what is really going on to have a good explanation why.

The smartdashboard target is set in the smartdashboard. I think under the files menu? I think it generally gets set automatically. Also network table was redone this year. I don't know if last years will work with the 2016 version. So if didn't completely uninstall last years stuff, that might be a problem as well.

If the driver station is finding the roborio, does that prove the Mdsn is working?
__________________
If you don't know what you should hook up then you should read a data sheet
  #12   Spotlight this post!  
Unread 08-02-2016, 15:43
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 358
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: mdns won't work with new radio

The name of the service installed with the update suite is called "NI mDNS Responder Service". You can check if its in the services list and if its running. Its installed to "C:\Program Files (x86)\National Instruments\Shared\mDNS Responder\nimdnsResponder.exe"

We switched our roboRIO to a static IP and put the address we set it to into the hosts file to avoid mDNS issues.
__________________
Brian K
Team 1225 Robotics Mentor
  #13   Spotlight this post!  
Unread 08-02-2016, 15:44
tuskiomi tuskiomi is offline
Registered User
None #2531
 
Join Date: Feb 2016
Location: Earth
Posts: 8
tuskiomi is an unknown quantity at this point
Re: mdns won't work with new radio

does the Smart Dashboard still work with static IP?
  #14   Spotlight this post!  
Unread 08-02-2016, 18:25
tuskiomi tuskiomi is offline
Registered User
None #2531
 
Join Date: Feb 2016
Location: Earth
Posts: 8
tuskiomi is an unknown quantity at this point
Re: mdns won't work with new radio

posted ping results
  #15   Spotlight this post!  
Unread 10-02-2016, 11:48
wesleyac's Avatar
wesleyac wesleyac is offline
Registered User
AKA: Wesley Aptekar-Cassels
FRC #1678
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Davis, CA
Posts: 52
wesleyac is a splendid one to beholdwesleyac is a splendid one to beholdwesleyac is a splendid one to beholdwesleyac is a splendid one to beholdwesleyac is a splendid one to beholdwesleyac is a splendid one to beholdwesleyac is a splendid one to beholdwesleyac is a splendid one to behold
Re: mdns won't work with new radio

When you disabled IPv6, was that on the radio, or on the rio?

We've had issues with mDNS in the past, so it would be nice to know if there's a simple solution.
__________________
Quote:
Originally Posted by The programming team
Define "works."
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:55.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi