Go to Post You know you're addicted to FIRST when...you realize that Dean IS changing society with FIRST and you love the fact that you are helping. - EStokely [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 19-01-2013, 21:58
nickhilgupta's Avatar
nickhilgupta nickhilgupta is offline
Registered User
FRC #4674
 
Join Date: Jan 2013
Location: Bemidji Mn
Posts: 13
nickhilgupta is an unknown quantity at this point
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   Spotlight this post!  
Unread 19-01-2013, 22:01
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,835
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: 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).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 20-01-2013 at 07:55. Reason: extra comments seem to be distracting from the message.
  #3   Spotlight this post!  
Unread 19-01-2013, 22:08
Lightfoot26's Avatar
Lightfoot26 Lightfoot26 is offline
Just Out For A Rip, Bud...
AKA: Seth Lightfoot
FRC #1625 (Winnovation)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2010
Location: Winnebago, IL
Posts: 120
Lightfoot26 is just really niceLightfoot26 is just really niceLightfoot26 is just really niceLightfoot26 is just really niceLightfoot26 is just really nice
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
__________________
Winnovation Team 1625 (2010-??)
  • Electrical/Programming Captain (2011-2013)
  • Auxiliary Driver (2012-2013)
  • Team Captain (2013)
  • Alumni (Graduated May 2013)
  • Electrical and Programming Mentor (2014-??)

Last edited by Lightfoot26 : 19-01-2013 at 22:16.
  #4   Spotlight this post!  
Unread 19-01-2013, 23:14
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 543
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o

Quote:
Originally Posted by Lightfoot26 View Post
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
all that does to my computer is set the ip to static but not input any values
  #5   Spotlight this post!  
Unread 19-01-2013, 23:58
nickhilgupta's Avatar
nickhilgupta nickhilgupta is offline
Registered User
FRC #4674
 
Join Date: Jan 2013
Location: Bemidji Mn
Posts: 13
nickhilgupta is an unknown quantity at this point
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   Spotlight this post!  
Unread 20-01-2013, 01:49
Kevin Selavko's Avatar
Kevin Selavko Kevin Selavko is offline
Registered User
AKA: Voltonless
FRC #3260 (SHARP)
Team Role: Electrical
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Beaver PA USA
Posts: 155
Kevin Selavko is on a distinguished road
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)?
__________________
Team SHARP
Pittsburgh Regional Champions 2014
Vex Pittsburgh Excellence Award 2014
Vex Pittsburgh Champions 2014
Vex Maryland Champions 2014
Pittsburgh Regional Finalists 2013
Buckeye Regional Finalists 2013
  #7   Spotlight this post!  
Unread 20-01-2013, 11:12
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 543
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o

Quote:
Originally Posted by Kevin Selavko View Post
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)?
@ECHO OFF
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   Spotlight this post!  
Unread 20-01-2013, 14:20
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,113
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: Is there a way to have multiple wireless IPv4 or not have the router to require o

Quote:
Originally Posted by Arhowk View Post
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.
"Wireless Network Connection" might not be the correct name for the wireless interface. Use the ipconfig command to see what it's called on your computer.

It also might need to be ipv4 intead of just ip.
  #9   Spotlight this post!  
Unread 20-01-2013, 23:07
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
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   Spotlight this post!  
Unread 20-01-2013, 23:18
Nirvash's Avatar
Nirvash Nirvash is offline
Registered User
AKA: Bryan
FRC #4676
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Orland Park, IL
Posts: 221
Nirvash has a spectacular aura aboutNirvash has a spectacular aura about
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.
__________________
Team 3488 - Electrical Lead/Programming Lead 2011-2013
Team 4676 - Electrical/Programming Mentor 2013-Present
  #11   Spotlight this post!  
Unread 21-01-2013, 09:28
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,113
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: Is there a way to have multiple wireless IPv4 or not have the router to require o

Quote:
Originally Posted by Chiller View Post
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.
The cRIO imaging utility can only set the IP address based on team number, in the 10.te.am.2 format. I'm sure you could manage to use MAX to change that, but you'd have a bear of a time finding anyone who would be willing to support you if you did.

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   Spotlight this post!  
Unread 21-01-2013, 09:40
DjScribbles DjScribbles is offline
Programming Mentor
AKA: Joe S
FRC #2474 (Team Excel)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2012
Location: Niles MI
Posts: 284
DjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to beholdDjScribbles is a splendid one to behold
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   Spotlight this post!  
Unread 21-01-2013, 13:33
Lightfoot26's Avatar
Lightfoot26 Lightfoot26 is offline
Just Out For A Rip, Bud...
AKA: Seth Lightfoot
FRC #1625 (Winnovation)
Team Role: Mentor
 
Join Date: Dec 2009
Rookie Year: 2010
Location: Winnebago, IL
Posts: 120
Lightfoot26 is just really niceLightfoot26 is just really niceLightfoot26 is just really niceLightfoot26 is just really niceLightfoot26 is just really nice
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o

Quote:
Originally Posted by DjScribbles View Post
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.
Just be sure to switch back come competition season!
__________________
Winnovation Team 1625 (2010-??)
  • Electrical/Programming Captain (2011-2013)
  • Auxiliary Driver (2012-2013)
  • Team Captain (2013)
  • Alumni (Graduated May 2013)
  • Electrical and Programming Mentor (2014-??)
  #14   Spotlight this post!  
Unread 22-01-2013, 22:12
nickhilgupta's Avatar
nickhilgupta nickhilgupta is offline
Registered User
FRC #4674
 
Join Date: Jan 2013
Location: Bemidji Mn
Posts: 13
nickhilgupta is an unknown quantity at this point
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   Spotlight this post!  
Unread 22-01-2013, 22:13
nickhilgupta's Avatar
nickhilgupta nickhilgupta is offline
Registered User
FRC #4674
 
Join Date: Jan 2013
Location: Bemidji Mn
Posts: 13
nickhilgupta is an unknown quantity at this point
Re: Is there a way to have multiple wireless IPv4 or not have the router to require o

Quote:
Originally Posted by Nirvash View Post
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.
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?
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


All times are GMT -5. The time now is 00:22.

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