Go to Post It is not brains but desire that matters. - Lancer Robotics [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
  #1   Spotlight this post!  
Unread 10-01-2015, 19:26
koluke's Avatar
koluke koluke is offline
Alumni
AKA: Korry Luke
FRC #2438 ('Iobotics)
Team Role: Programmer
 
Join Date: May 2014
Rookie Year: 2009
Location: Honolulu, HI
Posts: 8
koluke is an unknown quantity at this point
Trouble resolving mDNS via Wi-fi on Windows 7 VM

I'm having trouble getting the mDNS for the roboRIO to resolve on our team's DS over wireless. I've installed the NI FRC 2015 update, configured our bridge using the 2015 Bridge Configuration Utility, flashed the roboRIO and installed Java 8, and successfully deployed code and enabled the robot over a wired connection. Our DS is a Windows 7 VM running on VMware Fusion bridging the wifi connection.

Our D-LINk is in 5 GHz AP mode, and I can lookup the mDNS on the Mac, but the lookup fails on the Windows 7 side on wi-fi (but not a wired connection). However, I am able to ping the corresponding IP and connect to the web dashboard for the roboRIO. I have checked that the NI mDNS responder is installed and has properly enabled firewall exceptions, so I'm not too sure what the problem is.

Anyone have any suggestions?
  #2   Spotlight this post!  
Unread 11-01-2015, 06:58
TechWarlock TechWarlock is offline
Programming Dude
AKA: Jacob
FRC #1396 (Pyrobots)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2011
Location: New York
Posts: 24
TechWarlock is an unknown quantity at this point
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

When you configured the dLink did you do so for 2.4 ghz mode or 5
  #3   Spotlight this post!  
Unread 11-01-2015, 08:12
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,756
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

Are you able to ping the "roboRIO-team.local" address from the windows command line, or just the resolved IP address?

Both should work, the first does the lookup similar to the DS and the second verifies that the device responds independent of mDNS.

Greg McKaskle
  #4   Spotlight this post!  
Unread 11-01-2015, 11:57
weaversam8 weaversam8 is offline
Team Captain
AKA: Sam Weaver
FRC #4534 (Wired Wizards)
Team Role: Leadership
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Wilmington, North Carolina
Posts: 137
weaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to beholdweaversam8 is a splendid one to behold
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

We were having issues with this. These are the troubleshooting steps we went through.
  • Ensure that you imaged the roboRIO for your team number.
  • Allow UDP port 5353 through the firewall on both inbound and outbound connections.
  • Make sure your computer is set to receive its IP via DNS, which is different from last year, when our team used a script to set static IP.
  • Try logging into the D-Link web interface at 10.TE.AM.1, with username 'Admin' and a blank password. Click Advanced, then on the left, DHCP. Scroll down to see the list of DHCP clients, and see if the roboRIO is assigned an address.

See if any of these resolve your issue.

EDIT: Additionally, your DLink should be in 2.5Ghz AP mode, not 5Ghz.
__________________
ORB Haow!

  #5   Spotlight this post!  
Unread 11-01-2015, 21:20
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,756
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

Your AP can be at 5GHz as long as your laptop and other clients support 5GHz. And if they do, it would be better to use than 2.4GHz.

Greg McKaskle
  #6   Spotlight this post!  
Unread 12-01-2015, 16:28
koluke's Avatar
koluke koluke is offline
Alumni
AKA: Korry Luke
FRC #2438 ('Iobotics)
Team Role: Programmer
 
Join Date: May 2014
Rookie Year: 2009
Location: Honolulu, HI
Posts: 8
koluke is an unknown quantity at this point
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

We have everything running on 5 GHz. We used the same setup hardware-wise last year and didn't have any problems.
I've been able to ping the roboRIO IP on the Windows side, but I am unable to perform the mDNS lookup.

I'll try to reconfigure our DLink on 2.4 GHz, but we've traditionally used 5 GHz because our campus wifi and apartments next door tend to generate quite a bit of wireless interference.

Thanks for the help guys. I'll let you know if it works.
__________________
--
Korry Luke
'Iobotics Team 2438
github | web
  #7   Spotlight this post!  
Unread 12-01-2015, 17: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,756
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

Based on other threads, I'd first verify that the firewall is off and isn't interfering. I don't see how 2.4 and 5 has anything to do with mDNS.

If you have an Axis M1013 camera, you may also check to see if axis-camera.local works to access it. Or you could test with any other device that supports Bonjour or mDNS. Since this is a VM, can you see if there is a later version, or configuration that has disabled it?

Greg McKaskle
  #8   Spotlight this post!  
Unread 12-01-2015, 17:21
koluke's Avatar
koluke koluke is offline
Alumni
AKA: Korry Luke
FRC #2438 ('Iobotics)
Team Role: Programmer
 
Join Date: May 2014
Rookie Year: 2009
Location: Honolulu, HI
Posts: 8
koluke is an unknown quantity at this point
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

I don't think switching to 2.4 GHz will change anything either, but stranger things have happened. Never hurts to try.

I've triple-checked the Windows Firewall and made sure that both the driver station and the mDNS resolver have permission to access the network.
__________________
--
Korry Luke
'Iobotics Team 2438
github | web
  #9   Spotlight this post!  
Unread 12-01-2015, 17:24
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

Try switching the VM network setting to NAT instead of bridged.
  #10   Spotlight this post!  
Unread 12-01-2015, 17:26
koluke's Avatar
koluke koluke is offline
Alumni
AKA: Korry Luke
FRC #2438 ('Iobotics)
Team Role: Programmer
 
Join Date: May 2014
Rookie Year: 2009
Location: Honolulu, HI
Posts: 8
koluke is an unknown quantity at this point
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

The VM is already running in bridged mode. Thanks for the suggestion, though.
__________________
--
Korry Luke
'Iobotics Team 2438
github | web
  #11   Spotlight this post!  
Unread 12-01-2015, 17:26
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

If you have an antivirus program installed, it might have its own firewall. Check that too.
  #12   Spotlight this post!  
Unread 12-01-2015, 17:50
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

Quote:
Originally Posted by koluke View Post
The VM is already running in bridged mode. Thanks for the suggestion, though.
Try NAT instead.
  #13   Spotlight this post!  
Unread 12-01-2015, 19:24
cal3d cal3d is offline
Registered User
FRC #0467 (Shrewsbury Colonials)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Shrewsbury, MA
Posts: 8
cal3d is an unknown quantity at this point
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

This looks like the same issue we had as discussed in this thread:

http://www.chiefdelphi.com/forums/sh...d.php?t=132607

On the router in Setup->LAN Settings page, set the IPV6 connection type to "Autoconfiguration(SLAAC/DHCPv6)
  #14   Spotlight this post!  
Unread 13-01-2015, 01:52
koluke's Avatar
koluke koluke is offline
Alumni
AKA: Korry Luke
FRC #2438 ('Iobotics)
Team Role: Programmer
 
Join Date: May 2014
Rookie Year: 2009
Location: Honolulu, HI
Posts: 8
koluke is an unknown quantity at this point
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

Quote:
Originally Posted by cal3d View Post
This looks like the same issue we had as discussed in this thread:

http://www.chiefdelphi.com/forums/sh...d.php?t=132607

On the router in Setup->LAN Settings page, set the IPV6 connection type to "Autoconfiguration(SLAAC/DHCPv6)
Our problem is the reverse of this problem; the OS X side can resolve it while the Windows VM can not. I tried it though, and it didn't seem to help the problem. I'll keep this in mind if future problems arise, though. Tweaking IPv6 settings never occurred to me. Thanks!
__________________
--
Korry Luke
'Iobotics Team 2438
github | web
  #15   Spotlight this post!  
Unread 13-01-2015, 01:55
koluke's Avatar
koluke koluke is offline
Alumni
AKA: Korry Luke
FRC #2438 ('Iobotics)
Team Role: Programmer
 
Join Date: May 2014
Rookie Year: 2009
Location: Honolulu, HI
Posts: 8
koluke is an unknown quantity at this point
Re: Trouble resolving mDNS via Wi-fi on Windows 7 VM

Quote:
Originally Posted by Jared View Post
Try NAT instead.
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.
__________________
--
Korry Luke
'Iobotics Team 2438
github | web
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 03:01.

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