Go to Post Why drink Pepsi when you can drink Pepsi and program? - [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 22-07-2013, 15:45
bumblebee3339's Avatar
bumblebee3339 bumblebee3339 is offline
Team's main account
FRC #3339 (BumbleBee)
 
Join Date: Feb 2013
Rookie Year: 2009
Location: Israel
Posts: 34
bumblebee3339 is an unknown quantity at this point
Connecting to the robot with 2 routers

I was browsing the forums and I got into a thread about 2 routers connection to the robot,
one router for the laptop and one for the robot.
It seems that it might have better communication that way and I'd like to try it.
How can I do it?

I have one D-Link router and a linksys router.
  #2   Spotlight this post!  
Unread 22-07-2013, 16:20
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Connecting to the robot with 2 routers

The original 2009 KOP router was a bridge only ("Gaming Adapter"), and the KOP came with a Linksys router (I want to say WRT610N or 160N but I could be wrong). The robot 'gaming adapter' acted as a Bridge (as it does in competition now), and the other router hosted the network. The laptop could either join the network as well or connect to the router via Ethernet.

We still use that Linksys router with an ethernet cable to the laptop to avoid any confusion about which laptop should be connected to the robot, since we frequently have several laptops capable of running Driver Station open, and any number of them could have left it open. The laptops are not configured to look for the wireless '33'. It's also possible to place the router somewhere where the signal is better, but this is likely marginal.

We also have a D-link rev A (no longer legal) which we keep configured for this network setup, so we don't have to change it every time we go to competition and setup WPA.

Configuration:
-Setup the D-link robot side router to be in 'bridge' mode (move the switch to 'Bridge'), and set the SSID to your team number. We set security to none, it's easier this way. The IP of the router should already be 10.te.am.01
-Setup the router (it can be another D-link robot router or a different one) to 'AP' or 'Access Point' mode, if it supports multiple modes. Set the SSID to your team number, no security. Set the IP address to 10.te.am.04 (this was the number recommended in 09, it really dosn't matter), if you want you can set DHCP to 10.te.am.xx block starting at 100 or something.
-DON't setup your laptops to connect to the wifi network. This is kinda important.
-Use a physical ethernet cable to connect the laptop to the router.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #3   Spotlight this post!  
Unread 22-07-2013, 16:40
bumblebee3339's Avatar
bumblebee3339 bumblebee3339 is offline
Team's main account
FRC #3339 (BumbleBee)
 
Join Date: Feb 2013
Rookie Year: 2009
Location: Israel
Posts: 34
bumblebee3339 is an unknown quantity at this point
Re: Connecting to the robot with 2 routers

Quote:
Originally Posted by apalrd View Post
The original 2009 KOP router was a bridge only ("Gaming Adapter"), and the KOP came with a Linksys router (I want to say WRT610N or 160N but I could be wrong). The robot 'gaming adapter' acted as a Bridge (as it does in competition now), and the other router hosted the network. The laptop could either join the network as well or connect to the router via Ethernet.

We still use that Linksys router with an ethernet cable to the laptop to avoid any confusion about which laptop should be connected to the robot, since we frequently have several laptops capable of running Driver Station open, and any number of them could have left it open. The laptops are not configured to look for the wireless '33'. It's also possible to place the router somewhere where the signal is better, but this is likely marginal.

We also have a D-link rev A (no longer legal) which we keep configured for this network setup, so we don't have to change it every time we go to competition and setup WPA.

Configuration:
-Setup the D-link robot side router to be in 'bridge' mode (move the switch to 'Bridge'), and set the SSID to your team number. We set security to none, it's easier this way. The IP of the router should already be 10.te.am.01
-Setup the router (it can be another D-link robot router or a different one) to 'AP' or 'Access Point' mode, if it supports multiple modes. Set the SSID to your team number, no security. Set the IP address to 10.te.am.04 (this was the number recommended in 09, it really dosn't matter), if you want you can set DHCP to 10.te.am.xx block starting at 100 or something.
-DON't setup your laptops to connect to the wifi network. This is kinda important.
-Use a physical ethernet cable to connect the laptop to the router.
Thx for the quick answer!
About the configuration of the Linksys, I get to the configuration page which looks like this:


Which IP should I change to 10.te.am.04? the red or the green?
Should it be static IP or DHCP?
(don't pay attention to the IPs there)
  #4   Spotlight this post!  
Unread 22-07-2013, 17:18
Garrett.d.w's Avatar
Garrett.d.w Garrett.d.w is offline
Build Lead
FRC #2733 (The Pigmice)
Team Role: Alumni
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Portland
Posts: 318
Garrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to beholdGarrett.d.w is a splendid one to behold
Re: Connecting to the robot with 2 routers

If I recall correctly, the IP address in the red box defines the IP for your internet modem. The green box defines the address for the router. I say green (hey... its a 50/50 shot!).
__________________
"A mind once stretched by a thought will never regain it's original dimensions."

Optimists think the glass is half full.
Pessimists think the glass is half empty.
Engineers realize it's twice as big as it needs to be.
  #5   Spotlight this post!  
Unread 22-07-2013, 22:52
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Connecting to the robot with 2 routers

Green.

The Red box is settings for the WAN port ("Wide Area Network", where the router tries to get to the internet) and don't matter at all. They can be whatever if you don't care about The Internet (you don't in this case).

The green box and below is the LAN port (both the physical LAN ports and the wireless 'LAN' port) and should be 10.33.39.4 Subnet mask should be 255.0.0.0 if possible (I don't know if it gives you that option, if it dosnt then it's fine as is).
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
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 09:11.

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