Go to Post Don't test your autonomous on the comp field. There's a practice field for a reason. - DampRobot [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-01-2015, 14:21
Crossle86's Avatar
Crossle86 Crossle86 is offline
Software Engineer
AKA: Richard Corn
FRC #4450 (Olympia Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Olympia, WA.
Posts: 92
Crossle86 is an unknown quantity at this point
roboRIO mDNS Problem

Installed all software, firmware, imaged, JVM etc. accessing roboRIO internal web server via USB via browser no problems (team 4450). However, using wireless connection, PC browser would not connect using the roboRIO-4450.local mDNS address. Going back to USB I looked at the roboRIO home page and observed that the HostName is roboRIO-4450 as expected but the dns name shown on the home page is roboRIO-4451.local. Now if I switch back to wireless and use roboRIO-4451.local in the browser, it works.

I have no idea how this happened and have not seen any way to change the dns name on the roboRIO web interface to the correct value.

As an addtional issue, I have not been able to get the FRC dashboard app on the driver station to connect, even using 4451 as the team number. Don't know if this is somehow related to the incorrect roboRIO dns name or if this is a different issue. I can browse to the RIO from driverstation PC using roboRIO-4451.local so I would have thought the DS would work setting team to 4451.

Please note I have checked the firewall etc et.
Reply With Quote
  #2   Spotlight this post!  
Unread 09-01-2015, 14:34
nickmcski nickmcski is offline
Registered User
AKA: Nicholas McCurry
FRC #1482 (Grandin Ghosts)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Canada
Posts: 112
nickmcski has a spectacular aura aboutnickmcski has a spectacular aura aboutnickmcski has a spectacular aura about
Re: roboRIO mDNS Problem

Did you configure your Dlink router properly, its different than previous years since its useing a DHCP server instead of static ips.
If your router is configured properly then what OS and browser are you using, I know a few people that had a few problems with the mDns on Linux. Also if you go in command line and run the following command
Code:
ping roboRIO-4450.local
it will be able to tell you if its able to get a reply from your roborio.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-01-2015, 14:47
Crossle86's Avatar
Crossle86 Crossle86 is offline
Software Engineer
AKA: Richard Corn
FRC #4450 (Olympia Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Olympia, WA.
Posts: 92
Crossle86 is an unknown quantity at this point
Re: roboRIO mDNS Problem

The PC OS is Windows and the problem is the same no matter what browser you use or if you use ping. The RIO does not responed to the expected mDNS name of roboRIO-4450.local and it appears that is because the RIO thinks it's dns name is roboRIO-4451.local.
Reply With Quote
  #4   Spotlight this post!  
Unread 09-01-2015, 15:14
acf's Avatar
acf acf is offline
Registered User
FRC #3512
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Orcutt, CA
Posts: 1
acf is an unknown quantity at this point
Re: roboRIO mDNS Problem

The mDNS address of our roboRIO is definitely correct. I think the provided LabVIEW package comes with an application called "NI MAX" (Measurement & Automation Explorer), which you can use to configure RIO controllers. It might be possible to change the host name of your controller there, or at least determine what the controller thinks its name is.

Also, have you tried imaging your controller a second time? Perhaps something very strange happened during the imaging process.
Reply With Quote
  #5   Spotlight this post!  
Unread 09-01-2015, 15:38
Crossle86's Avatar
Crossle86 Crossle86 is offline
Software Engineer
AKA: Richard Corn
FRC #4450 (Olympia Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Olympia, WA.
Posts: 92
Crossle86 is an unknown quantity at this point
Re: roboRIO mDNS Problem

What do you mean the mDNS address is correct? Its wrong, it shows a team number component of 4451 when it should be 4450. Further, the RIO Host Name is in fact correct, showing 4450. On the RIO home page, the Host Name and dns name are shown in two fields. You would expect them to be similar, using the same team number.

Reimaging is probably what I will do, but I prefer things to work and since I entered the team number correctly during imaging, it should have done it right. I am hoping someone at First or NI will see this and provide something more than reimage and see what happens...

I am going to get a picture of the RIO home page and post here on Saturday.
Reply With Quote
  #6   Spotlight this post!  
Unread 09-01-2015, 17:22
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,572
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: roboRIO mDNS Problem

A few beta teams saw this, and I don't think root cause was determined. You can reimage to a different number and then reimage back to your team number and it should fix the mismatch.
Reply With Quote
  #7   Spotlight this post!  
Unread 09-01-2015, 19:43
CatalystV7 CatalystV7 is offline
Registered User
FRC #2531
 
Join Date: Oct 2013
Location: Minnesota
Posts: 2
CatalystV7 is an unknown quantity at this point
Re: roboRIO mDNS Problem

What problems were there on Linux? We're running Ubuntu and having great difficulty connecting to our roboRIO.
Reply With Quote
  #8   Spotlight this post!  
Unread 10-01-2015, 00:57
nickmcski nickmcski is offline
Registered User
AKA: Nicholas McCurry
FRC #1482 (Grandin Ghosts)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Canada
Posts: 112
nickmcski has a spectacular aura aboutnickmcski has a spectacular aura aboutnickmcski has a spectacular aura about
Re: roboRIO mDNS Problem

Quote:
Originally Posted by CatalystV7 View Post
What problems were there on Linux? We're running Ubuntu and having great difficulty connecting to our roboRIO.
A team at my local kickoff event was useing ubuntu and they had a problem with there computer not being able to connect to any hosts or any mdns records (ex they couldnt connect to http://dlinkap/ to setup their router)
Reply With Quote
  #9   Spotlight this post!  
Unread 10-01-2015, 17:51
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 333
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: roboRIO mDNS Problem

Quote:
Originally Posted by nickmcski View Post
A team at my local kickoff event was useing ubuntu and they had a problem with there computer not being able to connect to any hosts or any mdns records (ex they couldnt connect to http://dlinkap/ to setup their router)
In order for Linux to connect with the RoboRIO via the mdns address, you'll need to have the Avahi service running. That's Linux's mdns resolver.

HTH,

Mike
Reply With Quote
  #10   Spotlight this post!  
Unread 11-01-2015, 13:03
robert1356 robert1356 is offline
Registered User
AKA: Robert Palmer
FRC #3824 (RoHAWKtics)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Knoxville, TN
Posts: 48
robert1356 is an unknown quantity at this point
Re: roboRIO mDNS Problem

We were one of the beta teams that experienced this same issue. It is not very repeatable. In our case, the first time, we re-flashed the firmware (roboRIO imaging tool) to get it working correctly again. I don't recall what we did the second time. We have not seen the problem since, just twice.
Reply With Quote
  #11   Spotlight this post!  
Unread 12-01-2015, 11:37
Crossle86's Avatar
Crossle86 Crossle86 is offline
Software Engineer
AKA: Richard Corn
FRC #4450 (Olympia Robotics Federation)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Olympia, WA.
Posts: 92
Crossle86 is an unknown quantity at this point
Re: roboRIO mDNS Problem

Update on this problem. During the imaging and testing, the roboRIO was restarted either by the software doing the update or by pressing the reset button on the roboRIO. At the end of the day, the power was turned off. On Friday when the bot was turned back on, the roboRIO had the correct dns name and all is working correctly. Seems to be a transient problem after imaging and power cycle is needed to correct it. Sorry for the false alarm
Reply With Quote
  #12   Spotlight this post!  
Unread 21-01-2015, 17:26
loafdog loafdog is offline
Registered User
AKA: Maciej
FRC #2876 (DevilBotz)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Burlington, MA
Posts: 35
loafdog is an unknown quantity at this point
Re: roboRIO mDNS Problem

Quote:
Originally Posted by taichichuan View Post
In order for Linux to connect with the RoboRIO via the mdns address, you'll need to have the Avahi service running. That's Linux's mdns resolver.

HTH,

Mike
For linux users who have problems using mdns and resolving roboRIOxxyy-local.. make sure your /etc/nsswitch.conf file contains a line:

Code:
hosts:          files dns mdns
I guess some distros don't enable mdns lookup by default. I am using linux mint 17 and it was not enabled by default.

-Maciej
Reply With Quote
Reply


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 05:08.

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