Go to Post so this is going to sound really dumb but remember that i am a mechanical guy. - Greg Needel [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 13-01-2015, 06:36
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,766
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: Trouble resolving mDNS via Wi-fi on Windows 7 VM

Please verify the Setup tab has your team number entered and describe what the Diagnostics tab looks like.

It would also be interesting to know what a command line "ping roboRIO-xxyy.local" does. You may also want to restart the computer, the roboRIO and/or the DS at this point.

Greg McKaskle
  #17   Spotlight this post!  
Unread 13-01-2015, 12:05
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,604
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: Trouble resolving mDNS via Wi-fi on Windows 7 VM

Quote:
Originally Posted by koluke View Post
This fixed the problem with resolving the mDNS address, but now we have a different one. I am able to properly resolve the mDNS name over wi-fi and connect to it via web console, but the 2015 DS software is unable to ping it or otherwise establish robot communication.
I would not expect the DS to work behind NAT by default (although I haven't tried it). You may be able to set up port forwarding.
  #18   Spotlight this post!  
Unread 13-01-2015, 12:26
jtrv's Avatar
jtrv jtrv is offline
github.com/jhtervay
AKA: Justin
FRC #2791 (Shaker Robotics)
Team Role: College Student
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Latham, NY
Posts: 148
jtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to all
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

We spent multiple hours trying to get ours to work. Here's what we did:

Plug in router via ethernet, make sure RIO is unplugged.
Make sure your computer IP is set to auto-resolve IPs.
Launch config tool, use it.
Go to your router settings. Ours is 10.27.91.1, for example (team 2791).
Enable DHCP settings. I'm not 100% sure where it is. But you will find a non-marked checkbox with fields under it.
Make default IP range 10.TE.AM.20 to 10.TE.AM.199, subnet 255.255.255.0, default gateway 10.TE.AM.1.
Save changes.
Plug in roboRIO to router via ethernet. Unplug ethernet from computer.
Check to see if you can reach roboRIO-TEAM.local on browser (make sure you have Microsoft Silverlight installed). If not, try to configure via USB.
Find the IP under network settings. It should be 172.x.x.x or 10.TE.AM.x.
If it is 10.TE.AM.X, restart computer and robot. Comms should work.
If it is 172.x.x.x, then go to your router settings and check if the router detects the RIO. Ours was found on DHCP at 10.27.91.100, our computer 10.27.91.20.
If its not found, start over until it works and make sure to hold the reset button on the router.

It's a major pain because not many of us know much about networking, but we got it working.

If you can ping the RIO and it is 10.TE.AM.X, but driver station says no comms, restart computer and robot. It then worked for us.
__________________
2791 (2012-2017)
  #19   Spotlight this post!  
Unread 15-01-2015, 12:47
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: Trouble resolving mDNS via Wi-fi on Windows 7 VM

Quote:
Originally Posted by Joe Ross View Post
I would not expect the DS to work behind NAT by default (although I haven't tried it). You may be able to set up port forwarding.
I agree with Joe on this. You generally do NOT want NAT. mDNS works using a broadcast and by default, without special configuration, broadcasts only work on a local subnet (e.g. 10.te.am.xx) and will not be forwarded across to another network, which is what NAT creates.
  #20   Spotlight this post!  
Unread 15-01-2015, 23:07
msonnier msonnier is offline
Engineering Mentor
FRC #2992 (SS Prometheus)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: United States
Posts: 10
msonnier is an unknown quantity at this point
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

Finally a question on here in something in my professional field :-)

We at Team 2992 were having the same problem and it was definitely related to IPv6 config on the DLink router. However, switching the config to Autoconfig SLAAC/DHCPv6 did seem to help but still had occasional failures on mDNS. Seems to be some race condition w/ the RoboRIO or W7 or radio on boot as to whether it works or not.

Doing a "ping roborio-xxxx.local" command from command prompt on W7 was producing a ping return showing IPv6 addresses instead of the expected IPv4 10.x.x.x. When this occurred neither Eclipse nor DS would connect.

After some playing around w/ radio config for a while -- we found that disabling IPv6 in Control Panel -> Network & Internet -> Change Adapter Settings -> Wireless Network Connection -> Properties seems to work reliably.

I haven't tested this on a Mac but I would image hard disabling IPv6 on the Mac or Mac VM would work.

When I have more time I will crank up Wireshark and do packet captures on what is happening.

Presumably one could also go into network config on the RoboRIO and turn off IPv6 in the linux config.

Regards
Mike

Mentor Team 2992

CCIE #4885
Cisco Systems, Inc.
  #21   Spotlight this post!  
Unread 15-01-2015, 23:08
msonnier msonnier is offline
Engineering Mentor
FRC #2992 (SS Prometheus)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: United States
Posts: 10
msonnier is an unknown quantity at this point
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

Quote:
Originally Posted by robert1356 View Post
I agree with Joe on this. You generally do NOT want NAT. mDNS works using a broadcast and by default, without special configuration, broadcasts only work on a local subnet (e.g. 10.te.am.xx) and will not be forwarded across to another network, which is what NAT creates.
I concur -- adding a NAT will assuredly only make this harder to get working.

Regards
Mike
  #22   Spotlight this post!  
Unread 25-01-2015, 15:04
mkcmobile mkcmobile is offline
Registered User
FRC #3140
 
Join Date: Jan 2015
Location: Knoxville, TN
Posts: 3
mkcmobile is an unknown quantity at this point
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

We had a similar problem. I found this thread searching for a solution while we were troubleshooting. We had a prototype robot running fine wirelessly, but something happened when we tried the same laptop on our build robot and then came back to the prototype. We could connect wirelessly to the prototype's router again, but couldn't communicate to its roborio. The situation was finally resolved when we re-ran the Bridge Configuration Utility via ethernet to the prototype's router. I'm still not sure what happened to cause the problem, but once we did that we could communicate to the roborio again.

Mark
Mentor-Team 3140
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 00:17.

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