Go to Post The low bar will make your electronics team cry. - Joe G. [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications
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 21-01-2009, 08:16
Chath Maral's Avatar
Chath Maral Chath Maral is offline
User
AKA: Chathus Marlaclusos Majere
FRC #1785 (Robocats)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Missouri
Posts: 49
Chath Maral is an unknown quantity at this point
Question Help!!! Wi-Fi issues...

Okay, so i was trying to validate all the programs we got from FIRST and the Wi-Fi at my house decided not to work. I manually put in the IP adress, as that's what the programming laptop saiid was the error, but it did not work.
I even plugged the ethernet cord directly into the back, to no avail.
*sigh* I spent three hour puzling this out and I need to figure this out.
__________________
Two things:
Cake==lie;
IF(char pit=="mosh","fun","work");


GO TEAM Robocats!!!
  #2   Spotlight this post!  
Unread 21-01-2009, 08:45
Cjmovie's Avatar
Cjmovie Cjmovie is offline
1293 Resident Hacker
AKA: Christopher Corsi
FRC #1293 (D5 Robotics)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: SC
Posts: 73
Cjmovie is a name known to allCjmovie is a name known to allCjmovie is a name known to allCjmovie is a name known to allCjmovie is a name known to allCjmovie is a name known to all
Re: Help!!! Wi-Fi issues...

You said you are attempting to use the system on your home WiFi system. This will not work.

Most home routers are set up to hand out addresses in subnet 192.168.1.x or 192.168.0.x (a 255.255.255.0 mask). To use the cRio in the way intended for programming, etc, it will need to have an IP address of 10.xx.yy.2, where xx and yy are your team number - quite different from the subnet of your home router. When your laptop tries to send packets to the 10.xx.yy.2 address of the cRio, there will be no path to it in the local network - the router only "sees" addresses inside its own subnet as local, and will fail routing it (it's also possible it will just discard it, depending on configuration, and it's also possible the packets from your laptop won't get anywhere to start with, without a properly assigned gateway in a network configured like this. I'm not a IP expert.)

Namely, the only way to use it in an environment like this would be to directly connect your laptop and cRio (that is, without cutting your internet connection at home, or vastly reconfiguring your router - if it can be, to start with. It sounded like you've done something with an ethernet cable, but I'm not sure what) via an ethernet cable (crossover or not, it should work either way if you have a sufficiently modern laptop). Set your laptop to have the wireless off, and your ethernet adapter with the static IP of 10.xx.yy.6 (as dictated in the guides as normal), subnet mask of 255.0.0.0.

Hope this helps.
__________________
D5 Robotics, Team 1293: Programmer, CAD'er, Mechanical, Electrical... I've made my rounds.
Events: 2006-2009 Palmetto Regional
Website: http://d5robotics.org/
  #3   Spotlight this post!  
Unread 21-01-2009, 12:43
EHaskins EHaskins is offline
Needs to change his user title.
AKA: Eric Haskins
no team (CARD #6 (SCOE))
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Elkhorn, WI USA
Posts: 998
EHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond reputeEHaskins has a reputation beyond repute
Send a message via MSN to EHaskins
Re: Help!!! Wi-Fi issues...

The easiest thing to do to test the system is to connect the DS, either port, to the cRio port #1 using a patch cable, and connect the computer to the other port on the DS.

If you're using the OTB firmware on the cRio and DS then set your ip addresses to:
DS (already set) 10.0.0.5 subnet 255.0.0.0
cRio (already set) 10.0.0.2 subnet 255.0.0.0
Computer 10.0.0.6 subnet 255.0.0.0

IF you've upgraded the firmware in both the DS and cRio then replace 0.0 with your team number as described in the documentation.

You can then try pinging the DS and cRio, and attempting to download code and/or upgrading firmware.

With this configuration you can verify the system works, then you can configure the wireless.

I would recommend setting the gaming adapter settings appropriate for your normal network, probably 192.168.(0 or 1).(254 or other high number) subnet 255.255.255.0.

Once that is connected you should be able to connect your DS and computer and they should work without any issues.

Quote:
Originally Posted by Cjmovie View Post
You said you are attempting to use the system on your home WiFi system. This will not work.
Here is a my post to a similar question last month.
Quote:
Originally Posted by EHaskins View Post
Actually, the IP/subnet of the router interface is irrelevant to this. The router provided is, functionally, a 6 port switch with one port connected to a wireless access point, another connected to a router/NAT device, and four ports exposed for our use.

Since we are only communicating on a LAN, i.e. on a single switch, the router device is never involved in the communications between the DS and the cRio.

You can test this by changing the Ip address of the router to something else. It will still work.

/Explanation

So long as each device has its own IP, which happens if you change you team number, and the subnet masks of the devices communicating(DSs and cRios) match, then it will work.

If you don't read my whole post, if you change the team number on one DS and one cRio, then they will connect and not interfere.

If you have any questions I'll try to explain it more.
__________________
Eric Haskins KC9JVH
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
Sensor issues, help? CodeMaster 1388 Technical Discussion 2 31-01-2008 21:58
Help! Direct Drive Issues roberthan Motors 16 21-09-2006 09:33
Wiring issues, help needed halomaster69 Electrical 7 19-02-2005 14:21
help!!!-Gear Legality Issues? kilpatrick Technical Discussion 1 17-02-2002 09:11


All times are GMT -5. The time now is 10:48.

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