Go to Post Gee, I wonder if AndyMark has a wedding gift registry? - KathieK [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 20-01-2011, 15:26
2611.Sparky 2611.Sparky is offline
Registered User
FRC #2611
 
Join Date: Dec 2010
Location: Jackson
Posts: 7
2611.Sparky is an unknown quantity at this point
Wireless Networking Problems

We're having problems with our wireless networking. The classmate looses communication with the robot after aproximently 25 seconds. We have double checked all the settings. The bridge ip:10.26.11.1, the router ip:10.26.11.4, the classmate ip:10.26.11.5, the robot ip is automatically set by the crio imager to 10.26.11.2, and the security is set to wpa-personal, Cypher type is AES, and the passphrase is 2611WPAKEY for both the router and the wireless bridge. For troubleshooting purposes, I hooked up one laptop(10.26.11.6) to our router, and another laptop(10.26.11.7) to the bridge. I then started two command prompts on both computers and started an auto ping(ping /t 10.26.11.X) to both the router and bridge. When the laptop connected to the bridge pinged the bridge, there was 0% packet loss with an average time of 1ms. When the laptop connected to the router pinged the router, it produced the same effect. However, when the laptop connected to the router pinged the bridge, or the laptop connected to the bridge pinged the router, results were intermintant. Here are some of the results(not necessarily in order, this has been going on for several days):
1: Both laptops pinging the opposite device(router's laptop pinging bridge)(robot and classmate disconnected). There would be successful returns 37 times with an average of 2ms, then 7 timeout's. It would then start over.
2: The laptop connected to the router pinging the bridge(robot and classmate disconnected) returned 100% packet loss while the laptop connected to the bridge pinging the router returned 0% packet loss.
3: Both laptops pinging the opposite device both returned 0% packet loss. When robot connected to bridge w/o classmate attached, nothing changed. When classmate connected to router w/o robot connected, nothing changed. When both were attached, it started returning 100% packet loss.
Reply With Quote
  #2   Spotlight this post!  
Unread 26-01-2011, 17:55
2611.Shooter 2611.Shooter is offline
Programmer
AKA: Andrew Lavery
FRC #2611 (Vectors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2008
Location: jackson, MI
Posts: 43
2611.Shooter is infamous around these parts2611.Shooter is infamous around these parts
Re: Wireless Networking Problems

It would be really great if we could get a response on this! thanks!
Reply With Quote
  #3   Spotlight this post!  
Unread 26-01-2011, 20:25
Garten Haeska's Avatar
Garten Haeska Garten Haeska is offline
Registered User
AKA: Garty
FRC #2861 (Infinity's End)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Lake City, MN
Posts: 219
Garten Haeska has a spectacular aura aboutGarten Haeska has a spectacular aura about
Re: Wireless Networking Problems

You have a major problem being that you only use the d link router with your classmate in "AP" mode. This year they are getting rid of the linkseys bridge and router.
Reply With Quote
  #4   Spotlight this post!  
Unread 27-01-2011, 10:24
2611.Sparky 2611.Sparky is offline
Registered User
FRC #2611
 
Join Date: Dec 2010
Location: Jackson
Posts: 7
2611.Sparky is an unknown quantity at this point
Re: Wireless Networking Problems

I'm not following you.
We had the d-link in bridge mode the whole time.
Reply With Quote
  #5   Spotlight this post!  
Unread 27-01-2011, 10:35
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,112
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: Wireless Networking Problems

Quote:
Originally Posted by 2611.Sparky View Post
I'm not following you.
We had the d-link in bridge mode the whole time.
As Garten said, that is your problem.

Do you have the How to Configure… documents? There should be no bridge in the system anywhere if you set things up as instructed. The D-Link DAP-1522 will be your wireless access point, and your Driver Station computer will connect to it wirelessly.

Don't use last year's router. Don't use last year's bridge. Use only this year's access point, installed on the robot.
Reply With Quote
  #6   Spotlight this post!  
Unread 27-01-2011, 13:41
pilum40 pilum40 is offline
Steve Miller-Coach-Team 3355
AKA: Steve Miller
FRC #3355 (Bigg Redd)
Team Role: Coach
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Arlington, Texas
Posts: 139
pilum40 has much to be proud ofpilum40 has much to be proud ofpilum40 has much to be proud ofpilum40 has much to be proud ofpilum40 has much to be proud ofpilum40 has much to be proud ofpilum40 has much to be proud ofpilum40 has much to be proud ofpilum40 has much to be proud of
Re: Wireless Networking Problems-Now where we get another DAP

My team apparently "fried" our D-Link DAP-1522. Will we get dinged (bumped out during inspection) by having to purchase another not on the original KOP?
Reply With Quote
  #7   Spotlight this post!  
Unread 27-01-2011, 13:44
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,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: Wireless Networking Problems

You can buy replacements and spares of everything in the KOP.
The D-Link just has to be the same model.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #8   Spotlight this post!  
Unread 27-01-2011, 17:53
2611.Sparky 2611.Sparky is offline
Registered User
FRC #2611
 
Join Date: Dec 2010
Location: Jackson
Posts: 7
2611.Sparky is an unknown quantity at this point
Re: Wireless Networking Problems

Thanks, that worked. It works without the router until we hook the camera up to the c-rio. When the camera is connected, the connection only lasts about 7 seconds. We've tried both straight through cables and cross-over cables. Both returned the same result.
Reply With Quote
  #9   Spotlight this post!  
Unread 27-01-2011, 19:09
CeeCee McShane's Avatar
CeeCee McShane CeeCee McShane is offline
Registered User
FRC #3585 (Rogue Robots of 4-H)
Team Role: Coach
 
Join Date: Nov 2010
Rookie Year: 2011
Location: New Hampshire
Posts: 10
CeeCee McShane is an unknown quantity at this point
Re: Wireless Networking Problems

okay, so our d-link will not stay connected to let us load the program to the crio. it connects for approximately 20-25 seconds then we lose connection. any suggestions. we have followed all instructions.
__________________
Carol
FIRST Team 3585 - The Rogue Robots of 4-H
“Faith is taking the first step even when you can't see the whole staircase.” ― Martin Luther King Jr.
Reply With Quote
  #10   Spotlight this post!  
Unread 28-01-2011, 13:16
jtechau jtechau is offline
Registered User
AKA: Jeff Techau
FRC #1388 (Eagle Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2006
Location: Arroyo Grande, CA
Posts: 21
jtechau is just really nicejtechau is just really nicejtechau is just really nicejtechau is just really nice
Re: Wireless Networking Problems

We tried wireless communication with the robot as per the FRC instructions last night for the first time. It worked for a short while, then stopped working. We eventually concluded that the apparent cause of problems was that the laptop's ethernet and wireless adapters were both set to the required 10.xx.xx.5 IP address - and even when one of the adapters (LAN or wireless) was disabled, this was apparently causing problems.

What eventually worked for us was to set the wireless adapter back to DHCP, and use the LAN adapter connected to the Linksys router, with the robot's DAP-1522 set to bridge mode. (Falling back to last year's known-good configuration.)

I disagree with those who claim that a router is the cause of problems. It should work that way - in fact, it has to work that way in the competition setup. It should work either way - connecting the DS through the router with the DAP-1522 set as bridge, or directly to the DAP-1522 set as AP.

We still want to use the recommended setup - DAP-1522 as the AP/router, with the laptop directly connecting to the robot. I'm still uncertain how the DS software manages network connections, though. It cannot set both/all network adapters to the same IP address. So how does it choose between the LAN adapter and the wireless adapter? Or do we have to manually set up the network configuration?

I've heard that the DS software has been improved this year in regards to IP configuration, specifically for Win7. We're still using XP on our development platform (with this year's DS, etc). Can anyone enlighten us as to how the DS manages IP configurations this year?
Reply With Quote
  #11   Spotlight this post!  
Unread 28-01-2011, 13:38
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,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: Wireless Networking Problems

Quote:
Originally Posted by jtechau View Post
So how does it choose between the LAN adapter and the wireless adapter? Or do we have to manually set up the network configuration?
This year's Driver Station allows you to manually select the NIC used.
It's on the Setup tab.

Outside that, the DS will continue to reset the last NIC specified, so if you went and did another one by hand, then when you restarted the DS application you could end up with two set to the same IP address.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #12   Spotlight this post!  
Unread 28-01-2011, 14:01
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,112
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: Wireless Networking Problems

Quote:
Originally Posted by jtechau View Post
I disagree with those who claim that a router is the cause of problems.
It's not the router per se that is giving you grief. It's the fact that you disregarded the explicit setup instructions and ended up with a configuration that isn't anything like what teams are expected to be using for development. All that manual fiddling about without a script makes it easy to get something a little bit off.

If you want to use DHCP in order to avoid IP conflicts, you can tell the D-Link DAP to do that for you. It's just one checkbox. Once our networking came up and functioned properly (which it did immediately with no fuss when we followed the directions), we turned on DHCP and made a couple of tweaks to the configuration. Specifically, we made it so our programming laptop would always receive 10.0.45.6 as its address and we would be able to forward Dashboard information to it easily.

Quote:
Can anyone enlighten us as to how the DS manages IP configurations this year?
It manages them quite well.
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:59.

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