Go to Post If only all this food for thought happening in this thread could somehow be funneled into solving world hunger... - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC 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 24-02-2015, 18:51
Dan5190 Dan5190 is offline
Registered User
FRC #5190
 
Join Date: Feb 2015
Location: Cary, NC
Posts: 5
Dan5190 is an unknown quantity at this point
mDNS and the Driver Station

We're trying to streamline our development and control process by being able to connect to the robot wirelessly and to the internet at the same time.

To accomplish this we have a wired ethernet switch with a wireless router connected to it with DD-WRT installed in client bridge mode. The router bridges to the robot's D-Link router wireless network. Our development laptops plug into the ethernet switch to connect to the robot and we can still use our wireless adapters on the laptops to connect to the internet.

The problem is that the DD-WRT router doesn't seem to be passing the mDNS packets through the bridge. If I turn off "use mDNS" for the Java Smartdashboard it is able to connect to the robot. If I add the line:

roboRIO-5190.local 10.51.90.22

to my laptop's hosts file then I can deploy code to the robot using Eclipse and I can get to the robot's web dashboard but putting "roboRIO-5190.local" in my browser. The Driver Station though still refuses to connect no matter what I do. Is there a way to turn off using mDNS with the Driver Station? Is there a better way for us to wirelessly connect to the robot and the internet at the same time?

Obviously the best thing would be to figure out how to get the mDNS packets to pass through the DD-WRT bridge but I've been unsuccessful with figuring that out so far.
Reply With Quote
  #2   Spotlight this post!  
Unread 24-02-2015, 19:11
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,695
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: mDNS and the Driver Station

How about reversing your connections.
Use the wireless router to connect to your Internet router and use the built-in wireless of the laptops to connect directly to the robot's DLink.

Does the router have any firewalls operating?
Are you using a TimeWarner DNS server?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 24-02-2015 at 19:35.
Reply With Quote
  #3   Spotlight this post!  
Unread 24-02-2015, 19:32
Dan5190 Dan5190 is offline
Registered User
FRC #5190
 
Join Date: Feb 2015
Location: Cary, NC
Posts: 5
Dan5190 is an unknown quantity at this point
Re: mDNS and the Driver Station

Quote:
Originally Posted by Mark McLeod View Post
How about reversing your connections.
Use the wireless router to connect to your Internet router and use the built-in wireless of the laptops to connect directly to the robot's DLink.

That's a pretty good idea. I would like to avoid doing that though if I can because we work out of 2 different locations with two different wifi networks so we would have to reconfigure the bridge everytime we move to the other location but if it comes down to it that's what we'll do.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-03-2015, 16:35
allen.mays's Avatar
allen.mays allen.mays is offline
Registered User
FRC #4364 (Metal Jackets)
Team Role: Coach
 
Join Date: Sep 2013
Rookie Year: 2013
Location: Stephenville, TX
Posts: 5
allen.mays is an unknown quantity at this point
Re: mDNS and the Driver Station

Are you trying to connect the development computer to both the roboRIO and internet simultaneously? If you are using a laptop, you can change the system settings that turn off the wireless when connected to a LAN. This is often in the system BIOS.
Reply With Quote
  #5   Spotlight this post!  
Unread 02-03-2015, 16:40
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,182
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: mDNS and the Driver Station

This is almost certainly because the OS is using your wifi adaptor as the primary interface and routing all unknown destination packets (like mdns requests) out of that. When you specify the IP manually the packets are routed out ethernet, since you have an IP address in that subnet.

In Mac OS, there is a way to set service order of interfaces, so you can pick a default interface. I don't know how this works in windows. Why don't you hook up an internet enabled ethernet cable to the WAN port of your router and just join the robot's wireless network?
Reply With Quote
  #6   Spotlight this post!  
Unread 02-03-2015, 16:45
Mr. Lim Mr. Lim is offline
Registered User
AKA: Mr. Lim
no team
Team Role: Leadership
 
Join Date: Jan 2004
Rookie Year: 1998
Location: Toronto, Ontario
Posts: 1,125
Mr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond reputeMr. Lim has a reputation beyond repute
Re: mDNS and the Driver Station

We do this slightly differently.

1) Switch the robot's DAP-1522 into bridge mode
2) Set up a different wireless router to create the 610 SSID, and act as a DHCP server and default gateway for the 10.6.10.xxx subnet - we usually put this on 10.6.10.4 for legacy reasons (the old control system used to have a seperate wireless router on this IP)
3) Connect the internet to this separate wireless router

This setup more closely resembles the FMS setup as well. We usually try and setup everything over the 5GHz to avoid congestion.

Programmers can check out and commit code, and Google solutions, all while communicating with the robot.

I highly recommend all teams run a setup that allows this.
__________________
In life, what you give, you keep. What you fail to give, you lose forever...
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 21:18.

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