|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Hey everyone,
Well, I plan to attempt having my laptop connected to my school's network, which in theory each school network router would acess the Robot's Radio when possible. So the most basic breakdown of this would be that (assuming the school has only 1 router) the router (still using its default IP settings) would need to be able to connect to the Driver Station, my Laptop, the Robot Radio, and the cRIO. Would I be able to just set a static IP to each component (say make each component 10.0.0.zz)? OR would I have to manually set the IP adress for each componet to say 128.0.0.zz (would I be able to change the DS)? Radio 10.xx.yy.1 cRIO 10.xx.yy.2 DS 10.xx.yy.5 Laptop 10.xx.yy.6 Cam 10.xx.yy.zz (11-20) (where xx.yy would represent 5.39 for normal use and 00.00 for the schools network) So I guess part of this would be the question of.. how the Router that connects the Laptop and Robot Radio together is configured for NORMAL use. I plan on attempting this at my house tonight and school tomorrow night so I'll post back with results and check for updates. Thanks, Davis |
|
#2
|
||||
|
||||
|
Re: Using the school's Network as the Bridge
May I suggest to use a subnet mask of 0.0.0.0 and you should be fine.
Make sure you are not breaking any weird school bylaws... ============================================ EDIT: I have done more research and 0.0.0.0 wont work. (its theoretical). However, you may want use Network address translation. Ill post what I can find. Last edited by ~Cory~ : 26-10-2011 at 18:35. Reason: edit |
|
#3
|
||||||
|
||||||
|
Re: Using the school's Network as the Bridge
I'm not sure I've ever seen a device that lets you set a subnet mask of 0.0.0.0. Even if they did, it wouldn't let you surf the internet from behind the router, because it would think the whole internet was behind the router.
|
|
#4
|
|||||
|
|||||
|
Re: Using the school's Network as the Bridge
The router IP doesn't really matter, nor does the subnet mask associated with it, but the robot network must be the private network 10.xx.yy.zz. You have no choice there.
I think that's a common misconception about routers. A router uses it's routing table (IPs and associated subnet masks for all connected devices) to figure out what to do with message packets, not it's own IP/mask. It's own IP/mask only matter when you are trying to talk directly to it, as when you want to login to look at and change the router settings. If we were restricted to having an IP address in common with a router, then no one would ever be able to talk to another computer out on the Internet. I'm not clear on the concept you are going for. If you really used the school's router as a "bridge" for the robot, then it would have to be mounted on the robot... Do you just want to be able to access the Internet from your Driver Station/programming laptop? If that's so, then why not just run two separate networks from your laptop? One NIC set to 10. and the other to DHCP from the school's router? Here's a network briefing that might help: http://team358.org/files/workshops/NetworkTopology.ppt Last edited by Mark McLeod : 26-10-2011 at 19:22. |
|
#5
|
||||||
|
||||||
|
Re: Using the school's Network as the Bridge
Another option is to connect the router from the 2009 KOP to the school network and then connect all the FRC stuff to the router.
|
|
#6
|
|||
|
|||
|
Re: Using the school's Network as the Bridge
Ok, and as clarification for what I am attempting. I want my Laptop to wirelessly connect to the Network (school's complete local internet system in place of the WRT610N) which will then connect wirelessly to the Robot Radio (in place of the DAP-1522).
So what I got from the presentation is that my cRIO and DS can still be set to their FRC IPs (10.5.39.zz) while the Network (instead of WRT610N) can be at its default address and me still being able to connect through it. And btw I am not breaking any school bylaws (infact the heads of the internet system at the school, after I mentioned it to them, told me to take it in one day and we would try it; more or less they don't care cause our school is pretty lenient being a pvt school and all even if for Fine Arts). PS: yea I have no desire to access the Internet with this setup (although other students connected to the router still need to be able to) |
|
#7
|
|||||
|
|||||
|
Re: Using the school's Network as the Bridge
It's eminently doable if you have the assistance of the school's IT people, since routers can be purposely set to disallow some types of wireless connections or traffic.
You could of course link your laptop directly to the robot DAP-1522 without any router of any kind, but if by "robot radio" you mean one of the older FRC bridges, then yes you do need a router as an intermediary. Is this so you can remotely drive the robot all over the school without leaving your room? Last edited by Mark McLeod : 26-10-2011 at 22:00. |
|
#8
|
||||
|
||||
|
Re: Using the school's Network as the Bridge
Quote:
If your private school is much more cooperative, I agree that with their help it is definitely possible. I just want to mention that the cRIO and the FRC framework can consume a large amount of bandwidth when running, and is very sensitive to latency problems. Even if you can get it connected, you may impact others on the network. If the network becomes saturated, the connection to the cRIO is often the first to die. For our demonstrations and testing, I often mount the router directly on the robot. In an attempt to be as close to the framework as possible, the router is still only wireless connected to the bridge, which is still wired to the cRIO. (Even if they are only a few inches apart.) I power the router from the power distribution board. This allows me to control the robot from anywhere within wireless range of the robot, as long as I have my laptop with me. (Sometimes in my laptop bag while holding the USB controller, so I drive and not carry the robot a few hundred meters.) |
|
#9
|
|||
|
|||
|
Re: Using the school's Network as the Bridge
Quote:
So while I can connect directly to the DAP I would like to use the schools routers and a tie. I have been testing the setup and if I changed the IP of the cRIO (using MAX) to say 192.168.2.2, my Laptop to 192.168.2.6, and the DS team # to 16802 (balances the numbers to 168.2) I am unable to detect the cRIO through wired connection. I believe this is because the actual DS still attempts to find a cRIO with the IP of 10.168.2.2... If I remember correctly their was a way to edit/make your own DS or Dashboard, and it would probably be possible to change the default search address their (but I don't remember anything about it). I still have not attempted Static IPs but it seems impossable for my home routers because with the default address, I can only assign static IPs of 192.168.2.zz... Now in the presentation it has a Laptop able to access the web and another access the Robot but that sends it through the WRT router then the typical Internet router... Looks like this is goin to be one tough cookie... |
|
#10
|
|||||
|
|||||
|
Re: Using the school's Network as the Bridge
Quote:
It's a router's job to be uniquely different than everyone else. ![]() It's convention to keep local devices in the same IP address space. It makes it easier to talk about it and catch mismatches, but it also misleads you into thinking that's the only way it will work. For instance, my home router/gateway uses a 71.190. address (necessary since a private network IP cannot talk directly to the Internet), but the dozen or so computers in the house are all assigned private 192.168. addresses (one uses 132.), except for when the robots are visiting and I run a mixture of 192. and 10. addresses. (192.168. is one of the private address ranges, like 10.) You won't get very far trying to completely makeover how our 10. robot networks are setup. Why are you doing that, just experimenting? It is a good learning experience to dig into things like that. It's actually a pretty trivial problem. It just takes getting used to the concepts involved. There are a huge number of variations possible (IP is a pretty big space), but also many ways to foul it up until you learn what's important. Last edited by Mark McLeod : 27-10-2011 at 09:07. |
|
#11
|
|||
|
|||
|
Re: Using the school's Network as the Bridge
Yea, I was changing the whole 10.x system because I wasn't able to get it to work with 192.x ...
So it is my understanding that it is possible to have the Home Router set to its default (192.168) and still connect through it (with my Laptop set to 10.xx) to the Robot Radio (set to 10.xx)? Ok, so what on each components (referring to DS side, intermediate Router, and cRIO side) would be of importance. For yours, it is my understanding that you have your home Router (one which your computers connect through) with an IP of 71.190 (so it connects to the robot and and indirectly, the internet) which from their, could connect to your Robot Radio or through another Router set at 192.168 to the Internet? Would this be possible while having the Middle Router which (though a line) connects to the Internet and the robot, set to an IP of 192.168...? |
|
#12
|
|||||
|
|||||
|
Re: Using the school's Network as the Bridge
For simplicity's sake you want no more than a single router in the direct robot network. It can complicate things going router to router and can take a little more expertise to track down problems. Your school IT folks can handle that if it's necessary.
I have a test rig at home that I hook up a half dozen different ways depending on how lazy I am and what I'm doing at the time. For some programming tests I leave a cRIO sitting in one room running off a regulated power supply while I wander the house with my laptop using the house wireless to download and test example code of the cRIO. I can keep my wife company at the dining room table that way. I just turned it on a minute ago and did it this way:
My Gateway IP for Internet traffic is 71.190.x.y If you add in a robot bridge, then just use a 10. IP and make sure the SSID/Security matches your router/AP. Last edited by Mark McLeod : 28-10-2011 at 08:14. |
|
#13
|
|||||
|
|||||
|
Re: Using the school's Network as the Bridge
In 2011, the Robot Radio is the DAP-1522. If you don't need a connection to the Internet, just put the DAP on the robot in AP mode the way it was documented in the setup instructions at the beginning of the year. Your driver station laptop will connect directly to the robot, with no other routers or access points needed.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|