Go to Post "So [you're] like battlebots" Standard answer: No -- it's better! - Roger [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 13-01-2016, 18:21
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Router Resolving mDNS with nonsensical addressses

Hello! So I've been unpacking our teams KoP and setting up a freshly updated board and playing with the router. In some tests, I've noticed something peculiar about the router and how it resolves mDNS. The first time you request an address from it, it will return an IPv6 address that doesn't exist. The second time and subsequent times within an instanenous time frame will return an ipv4 address that is valid. For a visualization, see the command log

Code:
C:\Users\illid_000>ping roborio-1684-frc.local

Pinging roborio-1684-frc.local [fe80::280:2fff:fe17:6109%11] with 32 bytes of data:
Destination host unreachable.
Destination host unreachable.
Destination host unreachable.
Destination host unreachable.

Ping statistics for fe80::280:2fff:fe17:6109%11:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

C:\Users\illid_000>ping roborio-1684-frc.local

Pinging roborio-1684-frc.local [10.16.84.59] with 32 bytes of data:
Reply from 10.16.84.59: bytes=32 time=1ms TTL=63
Reply from 10.16.84.59: bytes=32 time=1ms TTL=63
Reply from 10.16.84.59: bytes=32 time<1ms TTL=63
Reply from 10.16.84.59: bytes=32 time=1ms TTL=63

Ping statistics for 10.16.84.59:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 1ms, Average = 0ms

C:\Users\illid_000>
I don't believe this to be computer side because I've tested with two different computers, NI MDNS on both and Bonjour on one and recieved the same results on every test.

Is anyone else experiencing this issue?
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
  #2   Spotlight this post!  
Unread 13-01-2016, 18:28
rzoeller rzoeller is offline
MN GOFIRST Recruitment Officer
AKA: Ryan Zoeller
FRC #2169 (RI3D 'Snow Problem; KING TeC)
Team Role: Alumni
 
Join Date: Nov 2009
Rookie Year: 2007
Location: Savage, MN
Posts: 111
rzoeller is a jewel in the roughrzoeller is a jewel in the roughrzoeller is a jewel in the rough
Re: Router Resolving mDNS with nonsensical addressses

While I can't attest to this specifically, we had an overall very... weird experience using the new router for RI3D. So this would not surprise me, and validates the issues we had.
__________________
Ri3D - 'Snow Problem Programmer
MN GOFIRST Recruitment Officer
FRC 2169 Alumni
  #3   Spotlight this post!  
Unread 13-01-2016, 18:30
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Router Resolving mDNS with nonsensical addressses

Quote:
Originally Posted by rzoeller View Post
While I can't attest to this specifically, we had an overall very... weird experience using the new router for RI3D. So this would not surprise me, and validates the issues we had.
Okay, I've also had other rather quirky issues with the new router. For one, whenever I tried to deploy the team number to the router, the router would turn off whenever it was pinged. That problem was fixed after I switched ethernet ports. Not sure what happened there.

I started investigating this issue after python deploy times went from 2s to ~30s with a huge hang on "finding robot". At this point I'd just go back to my 2015 mindset of "You get a static IP! You get a static IP! Everyone gets a static IP!!!"
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
  #4   Spotlight this post!  
Unread 13-01-2016, 18:33
rzoeller rzoeller is offline
MN GOFIRST Recruitment Officer
AKA: Ryan Zoeller
FRC #2169 (RI3D 'Snow Problem; KING TeC)
Team Role: Alumni
 
Join Date: Nov 2009
Rookie Year: 2007
Location: Savage, MN
Posts: 111
rzoeller is a jewel in the roughrzoeller is a jewel in the roughrzoeller is a jewel in the rough
Re: Router Resolving mDNS with nonsensical addressses

We experienced issues where a computer would disconnect, and refuse to re-establish robot communication upon reconnection unless the wireless card was taken down entirely (e.g. not just turning off wireless, the adapter had to be disabled and re-enabled or rebooted). This issue persisted across both tested computers (different wireless cards), although both were running Windows 10, so it is possible that the issue does not lie entirely with the router.
__________________
Ri3D - 'Snow Problem Programmer
MN GOFIRST Recruitment Officer
FRC 2169 Alumni
  #5   Spotlight this post!  
Unread 13-01-2016, 18:35
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Router Resolving mDNS with nonsensical addressses

Quote:
Originally Posted by rzoeller View Post
We experienced issues where a computer would disconnect, and refuse to re-establish robot communication upon reconnection unless the wireless card was taken down entirely (e.g. not just turning off wireless, the adapter had to be disabled and re-enabled or rebooted). This issue persisted across both tested computers (different wireless cards), although both were running Windows 10, so it is possible that the issue does not lie entirely with the router.
Hm, that is strange, this laptop is running windows 10 and I haven't encountered any issues like that.
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
  #6   Spotlight this post!  
Unread 13-01-2016, 18:38
rzoeller rzoeller is offline
MN GOFIRST Recruitment Officer
AKA: Ryan Zoeller
FRC #2169 (RI3D 'Snow Problem; KING TeC)
Team Role: Alumni
 
Join Date: Nov 2009
Rookie Year: 2007
Location: Savage, MN
Posts: 111
rzoeller is a jewel in the roughrzoeller is a jewel in the roughrzoeller is a jewel in the rough
Re: Router Resolving mDNS with nonsensical addressses

Quote:
Originally Posted by Arhowk View Post
Hm, that is strange, this laptop is running windows 10 and I haven't encountered any issues like that.
I want to note that we had to manually flash the firmware, as RI3D teams don't get an official KOP. It's possible that the firmware posted is slightly different than what shipped on the KOP router.
__________________
Ri3D - 'Snow Problem Programmer
MN GOFIRST Recruitment Officer
FRC 2169 Alumni
  #7   Spotlight this post!  
Unread 13-01-2016, 18:46
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Router Resolving mDNS with nonsensical addressses

It's a possibility... we're testing right now but I'll reflash the router when we get back to building and see if that resolves anything
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
  #8   Spotlight this post!  
Unread 13-01-2016, 18:50
rzoeller rzoeller is offline
MN GOFIRST Recruitment Officer
AKA: Ryan Zoeller
FRC #2169 (RI3D 'Snow Problem; KING TeC)
Team Role: Alumni
 
Join Date: Nov 2009
Rookie Year: 2007
Location: Savage, MN
Posts: 111
rzoeller is a jewel in the roughrzoeller is a jewel in the roughrzoeller is a jewel in the rough
Re: Router Resolving mDNS with nonsensical addressses

Quote:
Originally Posted by Arhowk View Post
It's a possibility... we're testing right now but I'll reflash the router when we get back to building and see if that resolves anything
The utility installed with the FRC update kit only works with router's that come preinstalled with the KOP system I believe. We followed the directions that came on the box for our router, see here.
__________________
Ri3D - 'Snow Problem Programmer
MN GOFIRST Recruitment Officer
FRC 2169 Alumni
  #9   Spotlight this post!  
Unread 14-01-2016, 01:41
Scott L.'s Avatar
Scott L. Scott L. is offline
Registered User
FRC #0222 (Tigertrons)
Team Role: Engineer
 
Join Date: Sep 2003
Rookie Year: 1998
Location: Tunkhannock PA
Posts: 290
Scott L. is just really niceScott L. is just really niceScott L. is just really niceScott L. is just really niceScott L. is just really nice
Send a message via AIM to Scott L.
Lightbulb Re: Router Resolving mDNS with nonsensical addressses

IPv6 fe80::/64 are link local addresses.
In IPv4 169.254.0.0/16 are the link local addresses
__________________
You can do anything, if you put your mind to it!!!
http://asp.shinraikon.com
  #10   Spotlight this post!  
Unread 14-01-2016, 06:41
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,116
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Router Resolving mDNS with nonsensical addressses

Quote:
Originally Posted by Arhowk View Post
I started investigating this issue after python deploy times went from 2s to ~30s with a huge hang on "finding robot". At this point I'd just go back to my 2015 mindset of "You get a static IP! You get a static IP! Everyone gets a static IP!!!"
I remember in a prior year the Subnet mask causing delays. For competition, you need 255.0.0.0, which means the deploy program will search all possible team numbers. However, if you limit it to 255.255.255.0, then it will only search your team number for the robo rio.
  #11   Spotlight this post!  
Unread 16-01-2016, 17:14
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Router Resolving mDNS with nonsensical addressses

Reflashing the firmware on the radio did resolve the problems we were having. The IPv6 address that it pings to the first time around is actually valid and points to the RIO.
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
  #12   Spotlight this post!  
Unread 16-01-2016, 20:59
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,032
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: Router Resolving mDNS with nonsensical addressses

Quote:
Originally Posted by Arhowk View Post
Reflashing the firmware on the radio did resolve the problems we were having. The IPv6 address that it pings to the first time around is actually valid and points to the RIO.
Does that mean you're no longer having deploy issues?
__________________
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
  #13   Spotlight this post!  
Unread 18-01-2016, 12:22
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Router Resolving mDNS with nonsensical addressses

Quote:
Originally Posted by virtuald View Post
Does that mean you're no longer having deploy issues?
Yep. Deploy times are back down to 4-5seconds
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
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 21:28.

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