Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   mdns won't work with new radio (http://www.chiefdelphi.com/forums/showthread.php?t=143443)

tuskiomi 02-08-2016 01:47 PM

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

Bkeeneykid 02-08-2016 01:56 PM

Re: mdns won't work with new radio
 
Make sure whatever firewall you have on your laptop is disabled.

tuskiomi 02-08-2016 02:10 PM

Re: mdns won't work with new radio
 
disabled firewall, re-installed firmware & configuration. no luck.

FrankJ 02-08-2016 02:15 PM

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.

tuskiomi 02-08-2016 02:26 PM

Re: mdns won't work with new radio
 
Quote:

Originally Posted by FrankJ (Post 1537018)
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?

virtuald 02-08-2016 02:38 PM

Re: mdns won't work with new radio
 
Quote:

Originally Posted by tuskiomi (Post 1537026)
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.

tuskiomi 02-08-2016 02:46 PM

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?

krieck 02-08-2016 03:07 PM

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.

Greg McKaskle 02-08-2016 03:10 PM

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

tuskiomi 02-08-2016 03:26 PM

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?

FrankJ 02-08-2016 03:37 PM

Re: mdns won't work with new radio
 
Quote:

Originally Posted by tuskiomi (Post 1537026)
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?

SuperBK 02-08-2016 03:43 PM

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.

tuskiomi 02-08-2016 03:44 PM

Re: mdns won't work with new radio
 
does the Smart Dashboard still work with static IP?

tuskiomi 02-08-2016 06:25 PM

Re: mdns won't work with new radio
 
posted ping results

wesleyac 02-10-2016 11:48 AM

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.


All times are GMT -5. The time now is 11:30 AM.

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