|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Is there a way to have multiple wireless IPv4 or not have the router to require one?
I have a home wireless router and I don't have to put in an ip address for my laptop to use that. but when i want to connect to cRIO i have to put in an ip address. I am tired of the constant changing. so is there a way to put in multiple addresses of maybe not have the d-link router require one?
Thanks in advance. |
|
#2
|
|||||
|
|||||
|
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o
You could setup the DLink as a DHCP server to serve 10.46.74.xx addresses (where xx is a number greater than .12).
Last edited by Mark McLeod : 20-01-2013 at 07:55. Reason: extra comments seem to be distracting from the message. |
|
#3
|
|||||
|
|||||
|
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o
The reason you home doesn't require you to enter an IP address is because your router does what is called dynamic host control protocol or DHCP, this automatically assigns you an IP within a set range. The robot on the other hand, doesn't have any piece of equipment that runs this DHCP service, while you can enable it in the router, the Driver station requires a specific IP (10.te.am.5). What I do to avoid navigating through menu after menu to change my settings is write batch files that switch from DCHP to Static IP on my computer and place those as shortcuts on the desktop.
This is the .bat file I have for DHCP @ECHO OFF cls ECHO setting wired adapter and DNS to DHCP netsh interface ip set address name="Local Area Connection" dhcp netsh interface ip set dns name="Local Area Connection" dhcp ECHO Done! Compliments of Seth. Pause and here is the .bat I have for Static @ECHO OFF cls ECHO Setting defualt FRC Static IP addresses: ECHO Wired Address: 10.16.25.5 ECHO Subnet: 255.255.255.0 ECHO Gateway: 10.16.25.1 netsh int ip set address "Local Area Connection" static 10.16.25.5 255.0.0.0 10.16.25.1 ECHO Done! Compliments of Seth. Pause make sure to configure yours to your team number. If you need help with creating and implementing batch files just ask!! -Seth ![]() Last edited by Lightfoot26 : 19-01-2013 at 22:16. |
|
#4
|
||||
|
||||
|
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o
Quote:
|
|
#5
|
||||
|
||||
|
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o
Hi guys, thanks for your trying to help. sadly nothing would work for me. Mark: In one day i have to use my laptop to connect to around 4 or 5 different wireless networks. Seth: I did copy paste it to a notepad and saved it with the extention .bat but it still does not do any thing
. So i was wondering if it is something to do with the operating system i use with lab view (windows 7). If you know what i am supposed to do please post a reply back here. Thanks -Nick |
|
#6
|
||||
|
||||
|
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o
Does it show up as a batch file? Did you set the file type to [All Files]? And did you change the ip address to your teams ip(guessing 10.46.74.x)?
|
|
#7
|
||||
|
||||
|
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o
Quote:
cls ECHO Setting defualt FRC Static IP addresses: ECHO Wired Address: 10.16.84.55 ECHO Subnet: 255.255.255.0 ECHO Gateway: 10.16.84.1 netsh int ip set address "Wireless Network Connection" static 10.16.84.55 255.0.0.0 10.16.84.1 ECHO Done! Compliments of Seth. Pause |
|
#8
|
|||||
|
|||||
|
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o
Quote:
It also might need to be ipv4 intead of just ip. |
|
#9
|
|||
|
|||
|
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o
You could format your crio to have the ip like 192.168.1.1 and then your wireless bridge to 192.168.1.2 so you wouldnt have to change your ip.
|
|
#10
|
||||
|
||||
|
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o
What you could do is set a static address for both home and the robot.
You can have more then one IP on an adapter. ![]() |
|
#11
|
|||||
|
|||||
|
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o
Quote:
Your best bet is to activate DHCP on the D-Link and have it give out addresses in the appropriate range. And please don't set multiple IP addresses on an adapter. Some of the FRC tools don't handle that well at all. |
|
#12
|
|||
|
|||
|
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o
In my experience, a netsh script, such as the one from Seth, requires you to run it as administrator on Vista/7. The DHCP approach would be the simplest, just be sure to setup an ip reservation for the CRIO and the camera if you have one.
|
|
#13
|
|||||
|
|||||
|
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o
Just be sure to switch back come competition season!
|
|
#14
|
||||
|
||||
|
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o
This is what i was looking for. Can you give me some more instructions on what to do after this? Because at home i just set it to automatic. So is there a way to select both automatic and assign one to?
|
|
#15
|
||||
|
||||
|
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o
This is what i was looking for. Can you give me some more instructions on what to do after this? Because at home i just set it to automatic. So is there a way to select both automatic and assign one to?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|