Go to Post Guys, Can we agree that "we used it in the past" is not a response. Thanks. - Al Skierkiewicz [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2010, 15:49
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Classmate networking issues

In the beginning of the season, we set up our Classmate to communicate wirelessly with the robot, and it worked fine. Last week, we put a password on the router, because it was broadcasting free internet, and it was unacceptable. The DS still worked fine. 2 Meetings ago, I finally updated the dashboard (reinstall). Near the end of the meeting, the crio would have to be re-booted twice to show DS comms, but Windriver could still connect and download. after a few reboots, the DS quit working, and we got a No Comm error. After a reboot of the whole system, It still did not work, so I fiddled around with the networking settings, and was forced to use wired because it was not doing anything. The robot worked with the normal reboot, and video feed was achieved (and other controls of the robot). last meeting, It quit ALL networking capabilities. after 1.5 hours of trying to fix the problem, I just use a different laptop as the DS (wireless too!)


Some facts:
when it first stopped working properly over wireless, I was debugging a remote dashboard connecting to port 1165 to get dashboard data (C#.net) (wireshark said that the packets were fine)
the dashboard was getting socket in use exceptions, Even after full system reboots (3 total)
dashboard problems not solved after wired

on the last meeting, I disable all interfaces, firewalls, AntiVirus, and extraneous task icons in Developer
all Interfaces were individually configured, and turned on and off
wireless appeared connected, but all pings of IP's failed.
when wired, ping of correctly configured IP addresses failed, even router, which it was DIRECTLY connected to.
rebooted 3 times
on DHCP, router table showed no IP belonging to it

Developer laptop (not classmate)
installed DS
ran it
entered team #
ran fine

other points:
got and plugged in new joystick on last meeting that was Identical to a joystick it had had before
all other computers on network connect fine
router is team default+DHCP starting at 10.4.51.6+Wireless on both bands+Wireless password

Is there anyone who has had this issue? this (at least the wired) definitely needs to be resolved before competitions
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
  #2   Spotlight this post!  
Unread 03-02-2010, 16:18
a kenny03 a kenny03 is offline
Robotics for life(stupid classmate)
AKA: PICKELL!!!
FRC #0219 (Team Impact)
Team Role: Leadership
 
Join Date: Oct 2009
Rookie Year: 2008
Location: New Jersey
Posts: 65
a kenny03 is an unknown quantity at this point
Send a message via AIM to a kenny03
Re: Classmate networking issues

why are you using internet on your router? there is no need for it
  #3   Spotlight this post!  
Unread 03-02-2010, 16:18
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: Classmate networking issues

Interresting...

The DHCP addresses should start at .10, anything under that is reserved (1 for bridge, 2 for cRio, 4 for router, 5 for DS, 6 for developer. That isn't important.

Turn off security. You have no reason to have your wifi connected to the internet at all. That seems to be tied to your problem..

We are using the Wireless-N band only to communicate with our cRio radio, then using a standard ethernet cable from the router to the Classmate. Works fine. We never put our DS somewhere our Router isnt so it isn't that big of a deal to us.

There are many things that should have been tried before assuming a problem with the Classmate.

*Check your subnet mask, it should be 255.0.0.0, we have had some problems related to that

*Check ping to other things, check ping on Ethernet port

*Don't kill extraneous tasks, most of them actually have a purpose. In fact, in the FIRST installation all of them except AVG have a purpose. AVG does too, but as long as you don't use it on the internet you don't need it.

*Tasks in Developer have no effect on tasks in Driver

*Try reinstalling DS after the mandatory updates. You MUST install the LabVIEW updates, btw. The DS is written in LabVIEW, so it needs the LabVIEW updates.

*Try setting a static IP on the Classmate. If you set a static IP, the DHCP server will not find you in its DHCP table because you never got an IP from it.
__________________
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
  #4   Spotlight this post!  
Unread 03-02-2010, 21:07
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Classmate networking issues

Quote:
Originally Posted by apalrd View Post
Interresting...

The DHCP addresses should start at .10, anything under that is reserved (1 for bridge, 2 for cRio, 4 for router, 5 for DS, 6 for developer. That isn't important.
we start at 6 so the Dev computer can be DHCP
Quote:
Originally Posted by apalrd View Post

Turn off security. You have no reason to have your wifi connected to the internet at all. That seems to be tied to your problem..
the Internet is there so we don't have to change from static to DHCP, and manually re-wire to look for an answer to a question
Quote:
Originally Posted by apalrd View Post


We are using the Wireless-N band only to communicate with our cRio radio, then using a standard ethernet cable from the router to the Classmate. Works fine. We never put our DS somewhere our Router isnt so it isn't that big of a deal to us.

There are many things that should have been tried before assuming a problem with the Classmate.

*Check your subnet mask, it should be 255.0.0.0, we have had some problems related to that
Tried 255.0.0.0 and 255.255.255.0. the Router is 255.255.255.0
Quote:
Originally Posted by apalrd View Post


*Check ping to other things, check ping on Ethernet port
how do you ping the eth port? (or am I misunderstanding this, and you mean ping through eth port? in that case, I tried)
Quote:
Originally Posted by apalrd View Post


*Don't kill extraneous tasks, most of them actually have a purpose. In fact, in the FIRST installation all of them except AVG have a purpose. AVG does too, but as long as you don't use it on the internet you don't need it.
I killed them after it was not working with the thought it was one of them messing with it.
Quote:
Originally Posted by apalrd View Post


*Tasks in Developer have no effect on tasks in Driver
I ran the DS from dev
Quote:
Originally Posted by apalrd View Post


*Try reinstalling DS after the mandatory updates. You MUST install the LabVIEW updates, btw. The DS is written in LabVIEW, so it needs the LabVIEW updates.
I installed Labview2, DS1, Re-DS1
Quote:
Originally Posted by apalrd View Post


*Try setting a static IP on the Classmate. If you set a static IP, the DHCP server will not find you in its DHCP table because you never got an IP from it.
I did, and that worked until last meeting
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
  #5   Spotlight this post!  
Unread 04-02-2010, 00:14
daltore's Avatar
daltore daltore is offline
Electronics/programming/design
AKA: Aaron Osmer
FRC #3529 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: San Antonio, TX
Posts: 272
daltore has a spectacular aura aboutdaltore has a spectacular aura aboutdaltore has a spectacular aura about
Send a message via AIM to daltore Send a message via MSN to daltore Send a message via Yahoo to daltore
Re: Classmate networking issues

Quote:
Originally Posted by byteit101 View Post
we start at 6 so the Dev computer can be DHCP the Internet is there so we don't have to change from static to DHCP, and manually re-wire to look for an answer to a question

...

I ran the DS from dev
When you have it start at .6 on DHCP, you usually end up getting people's iPhones connecting to the router. I would suggest keeping the DHCP IP field after .10. Also, I haven't looked, but there's probably a way to forwarding internet only through ethernet, keeping it out of wireless, so you can disable security. You could then switch between networks on the computer without rewiring anything. If it's just not practical to disable internet over wireless, instead of using security, you could use a VPN (Virtual Private Network) which has a password. This is all handled in software, and so will actually require less hardware dedication from the router and the computer an will pass more data through. It's also quite a bit more secure. Anyone can log into the network, but only people with the VPN password can get any usable data out of it.

DS should really only be run under the Driver account, not the Developer one. That keeps all of the drivers and background programs where they're supposed to be. FIRST has set up the Driver account very specially so that all of the necessary programs start and stop when you log in and out. I'm not sure if they're all enabled for the Developer account. Developer was mainly intended for people to write LabView code on.
  #6   Spotlight this post!  
Unread 05-02-2010, 06:30
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Classmate networking issues

I got it working again, but i'm not sure what I did. I reset and fiddled around with the connection properties, and also the router, and it works!
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Classmate network issues? aaronhammond11 FRC Control System 5 18-01-2010 01:56
Classmate Issues ROFLcopter NI LabVIEW 10 16-01-2010 21:56
Networking help! haroony341 Chit-Chat 8 06-05-2007 22:23
Networking Problems Mike Chit-Chat 0 26-01-2005 13:57
Networking Dial-up Ashley Weed Math and Science 13 05-09-2003 23:30


All times are GMT -5. The time now is 21:30.

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