Go to Post Show me the mentor who has never built a bad robot and I'll show you either a new mentor, a liar, or Andy Baker. - Andrew Schreiber [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 24-01-2011, 12:03
TomCerul TomCerul is offline
Registered User
FRC #1493
 
Join Date: Jan 2011
Location: Albany, NY
Posts: 2
TomCerul is an unknown quantity at this point
wifi radio theory

We're having some issues getting the wifi radios to talk to each other. What's the general configuration theory? Are both routers supposed to be bridges? Just one? Why would we run one as an access point at practice but as a bridge during competition? That violates my "Practice like you want to perform" rule.

The classmate can connect directly to the white DLink (ping) through the internal wifi card. I'm having a hard time understanding what the blue/black linksys is supposed to be doing at a high level though. I know it's supposed to provide better power for the classmate but is it acting as a bridge or what?

Thanks for you time!
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2011, 13:33
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,830
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: wifi radio theory

The 2011 wifi "standard" configuration uses just
  • the Classmate wireless
  • the white KOP D-Link on the robot (in AP mode)
Other configuration options exist depending on what you want to get out of life, but that's the basic setup.

At Competition we get the addition of the FMS Field AP, so we turn all our individual team APs into bridges instead.

If you want to "Practice like you want to perform," then you can add your old Linksys router to pretend to be the Field Router. It won't be the same of course, because the field setup uses different equipment and virtual private networks for each team, network switches between the Classmate and the Field Router, 60' of Ethernet cable, network monitoring software, and a Big Brother FMS, etc.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 25-01-2011 at 09:57.
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2011, 15:04
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: wifi radio theory

Quote:
Originally Posted by TomCerul View Post
We're having some issues getting the wifi radios to talk to each other. What's the general configuration theory? Are both routers supposed to be bridges? Just one?
You should be using only the D-Link DAP-1522. Nothing more. If all your computers are capable of Wi-Fi, there should be no bridges. If you want to connect a wired-Ethernet-only computer, you can plug it into the DAP. If you want to add a bridge of your own, okay, but you're on your own for configuring it.

Quote:
Why would we run one as an access point at practice but as a bridge during competition? That violates my "Practice like you want to perform" rule.
During competition, the access point is provided by the Field Management System. During development, there is no FMS, and the DAP must be in Access Point mode in order to connect the Driver Station to the robot.

Quote:
The classmate can connect directly to the white DLink (ping) through the internal wifi card.
Sure it can. If yours does not, there is likely a misconfiguration somewhere. Your D-Link DAP should be set in Access Point mode, with its SSID set to your team number, and wireless security disabled. The Driver Station software configures the Classmate networking appropriately, based on the team number you provide to it.

Quote:
I'm having a hard time understanding what the blue/black linksys is supposed to be doing at a high level though. I know it's supposed to provide better power for the classmate but is it acting as a bridge or what?
Last year's Linksys router is not used this year.




If you want to play around with alternate (and unsupported) network configurations, it should be possible to use the old blue Linksys as a fixed access point with your team number as its SSID on the 2.4 GHz band, configure the D-Link as a bridge to the wireless network thus created, and make sure everything is set to the appropriate IP addresses (similar to last year's setup). But you should first configure things as directed in the "How to" documents and get them to work the way they are supposed to, before starting any hacking.

Last edited by Alan Anderson : 24-01-2011 at 15:08. Reason: I wrote this post an hour and a half ago. It wasn't until just now that "networking problems" went away and let me post it.
Reply With Quote
  #4   Spotlight this post!  
Unread 24-01-2011, 15:50
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: wifi radio theory

Quote:
Originally Posted by Alan Anderson View Post
... Your D-Link DAP should be set in Access Point mode, with its SSID set to your team number, and wireless security disabled...
Alan,

While I am sure that what you say will work, it is not what the teams were directed to do.

As per this document, they were instructed to enable WPA-AES security and enter a passphrase (see the attached picture). We used 3518WPAKEY as per the example. I told the students that we would be getting a different, random and unique passphrase at the competition.

If there contradicting instructions in a different document, I would appreciate it if you could post a link.

Thanks,

Mike
Attached Thumbnails
Click image for larger version

Name:	radio security.JPG
Views:	26
Size:	88.5 KB
ID:	9811  
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
Reply With Quote
  #5   Spotlight this post!  
Unread 24-01-2011, 16:14
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: wifi radio theory

Quote:
Originally Posted by Mike Betts View Post
As per this document, they were instructed to enable WPA-AES security and enter a passphrase (see the attached picture). We used 3518WPAKEY as per the example. I told the students that we would be getting a different, random and unique passphrase at the competition.

If there contradicting instructions in a different document, I would appreciate it if you could post a link.
That's only the first half of the instructions. It's specifically the "Configuring a radio for Competition" part. I don't know why it's in there, because it isn't how anyone is expected to use the system during development, and I think the settings should all be overwritten anyway when the kiosk does its stuff at competition.

The rest of the instructions, under the heading "Configuring a Radio for Access Point Use", tell you only to set the SSID and frequency band. The security remains disabled under AP mode.
Reply With Quote
  #6   Spotlight this post!  
Unread 24-01-2011, 16:59
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: wifi radio theory

Quote:
Originally Posted by Alan Anderson View Post
That's only the first half of the instructions. It's specifically the "Configuring a radio for Competition" part. I don't know why it's in there, because it isn't how anyone is expected to use the system during development, and I think the settings should all be overwritten anyway when the kiosk does its stuff at competition.

The rest of the instructions, under the heading "Configuring a Radio for Access Point Use", tell you only to set the SSID and frequency band. The security remains disabled under AP mode.
Alan,

Because of your competence in such matters, I hate to disagree. But... It works just fine in AP mode when the WPA-AES is left on. You only have to enter your passphrase into the driver's station (and development station, if separate) and it works like a charm. This is our development configuration at Lecanto HS.

Nowhere did I see where WPA-AES was optional. The section it was in is titled "Configuring a radio for Competition:".

Regards,

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
Reply With Quote
  #7   Spotlight this post!  
Unread 24-01-2011, 18:41
Clayton Yocom's Avatar
Clayton Yocom Clayton Yocom is offline
Programming Mentor
FRC #0027 (RUSH)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Clarkston, MI
Posts: 87
Clayton Yocom will become famous soon enoughClayton Yocom will become famous soon enough
Send a message via AIM to Clayton Yocom Send a message via MSN to Clayton Yocom Send a message via Yahoo to Clayton Yocom
Re: wifi radio theory

To sound less blunt, the access point can be used with security, but any problems with it are less of a problem than to use without security. What is someone gonna do, access your cRIO? lol.
Reply With Quote
  #8   Spotlight this post!  
Unread 24-01-2011, 22:53
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: wifi radio theory

Quote:
Originally Posted by Mike Betts View Post
Because of your competence in such matters, I hate to disagree. But... It works just fine in AP mode when the WPA-AES is left on. You only have to enter your passphrase into the driver's station (and development station, if separate) and it works like a charm. This is our development configuration at Lecanto HS.
Having security on the D-Link in Access Point mode works fine, certainly. It's just not how the instructions tell you to set it up. I've not seen anything in the documentation that mentions having to enter a passphrase on the Driver Station computer.

Quote:
Nowhere did I see where WPA-AES was optional. The section it was in is titled "Configuring a radio for Competition:".
Yes, the instructions call for WPA security when using the D-Link in Bridge mode. If you follow the instructions, however, you'll be using it that way only at a competition event.
Reply With Quote
  #9   Spotlight this post!  
Unread 25-01-2011, 09:53
TomCerul TomCerul is offline
Registered User
FRC #1493
 
Join Date: Jan 2011
Location: Albany, NY
Posts: 2
TomCerul is an unknown quantity at this point
Re: wifi radio theory

Very good, it sounds like we're all set already then. The classmate was talking to the DLink just fine. The students were under the impression that the classmate wouldn't have the range that we'd need for competition. As the the normal configuration is relying on the classmate, I'll defer to you guys and stop fighting with the linksys.

And thanks for the explaination about the competition AP. That makes a lot of sense.

Thank you!
Reply With Quote
  #10   Spotlight this post!  
Unread 25-01-2011, 10:12
rsisk's Avatar
rsisk rsisk is offline
The GURU Channel
AKA: Richard Sisk
FRC #2493 (Robokong)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Riverside, CA
Posts: 2,749
rsisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond reputersisk has a reputation beyond repute
Send a message via MSN to rsisk
Re: wifi radio theory

Quote:
The students were under the impression that the classmate wouldn't have the range that we'd need for competition.
When you are at the competition, you are connected directly to the Field Management System by a network cable. You will not be using your Classmate's wireless network during the competition.
__________________
Quote:
The views expressed are mine and should not be construed to represent the views of anyone else.
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 06:13.

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