Go to Post When your team becomes ubiquitous with the phrase "Always a bridesmaid, never the bride" - Peyton Yeung [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 15-02-2012, 01:38
bfk bfk is offline
Registered User
FRC #2521
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Eugene, Oregon
Posts: 21
bfk is an unknown quantity at this point
Help---Laptop randomly switching IP address

We have a fairly new Toshiba laptop which has been working out well for us but for one problem. A couple of times a day it seems to randomly change its ip address. Needless to say this causes a total lack of communication with the robot, which is always bad news.
Has anyone else dealt with this?
Some days it never happens, some days it happens multiple times. I live in fear of it happening during the competition.
I'm a Mac guy, so Windows is alien to me and it's got our programmer baffled.

Any help would be greatly appreciated.
  #2   Spotlight this post!  
Unread 15-02-2012, 01:43
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Help---Laptop randomly switching IP address

This sounds like you're using DHCP to establish an IP for your laptop.

Try following the steps here to establish a static IP for your computer. FIRST may also have a guide on how to do this.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #3   Spotlight this post!  
Unread 15-02-2012, 01:56
mathgeek0001's Avatar
mathgeek0001 mathgeek0001 is offline
Commander Arctangent
FRC #1759
Team Role: Programmer
 
Join Date: Apr 2011
Rookie Year: 2007
Location: El Segundo
Posts: 26
mathgeek0001 is an unknown quantity at this point
Re: Help---Laptop randomly switching IP address

It's also concievable that your drive station is autoconfiguring your IP. Try setting the station to configure the system manually.
  #4   Spotlight this post!  
Unread 15-02-2012, 11:50
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,745
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Help---Laptop randomly switching IP address

I vote you're both wrong. I have a feeling that your Toshiba laptop has an extra helpful network setup utility. I don't have a Toshiba, so I can't tell you exactly what it is or how it's working, but I'll tell you about the super helpful utility on my Lenovo Thinkpad and you can extrapolate from there:

My Thinkpad comes with a utility called Access Connections. This is partly the wireless setup manager, but it really manages all network settings on my laptop. It has various location profiles for each wireless network I connect to, as well as for each wired network. In the advanced options for the location profiles, it has a setting for overriding my current TCP/IP setup. Typically this defaults to forcing DHCP, wiping out any static IP setup I've done in the normal fashion. You can set this override to give you a static IP address for that particular network if you want.

So the downside is if you don't know about it, it seems like your computer is actively working against you to annoy and frustrate you. On the plus side, once you know about it, it makes setting up your laptop for multiple teams and environments pretty easy. I have it set for a static IP when I'm on the robot's wireless and DHCP if I'm on my home network, etc.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
  #5   Spotlight this post!  
Unread 15-02-2012, 16:45
bfk bfk is offline
Registered User
FRC #2521
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Eugene, Oregon
Posts: 21
bfk is an unknown quantity at this point
Re: Help---Laptop randomly switching IP address

Thanks for the ideas, folks.

We'll be trying to track it down later this afternoon.

I know we're not using DHCP, and we are setting a static IP address in the Windows 7 approved manner. Sometimes the address changes from 10.25.21.5 to 10.25.21.9 for no apparent reason.

I don't know if Toshiba includes a "helpful" utility that could be tripping us up, but we'll be looking for that too.

No rush, scrimmage isn't until Saturday and so long as we don't sleep over the weekend I'm sure we can get it fixed.
  #6   Spotlight this post!  
Unread 15-02-2012, 16:50
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 992
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Help---Laptop randomly switching IP address

Quote:
Originally Posted by bfk View Post
I know we're not using DHCP, and we are setting a static IP address in the Windows 7 approved manner. Sometimes the address changes from 10.25.21.5 to 10.25.21.9 for no apparent reason.
Now we're getting somewhere. The Driver Station software sets the wired interface to 10.xx.yy.5 and the wireless to 10.xx.yy.9

I'm now a little confused by "Needless to say this causes a total lack of communication with the robot, which is always bad news." Both of those addresses should communicate with the robot just fine.
  #7   Spotlight this post!  
Unread 16-02-2012, 01:10
bfk bfk is offline
Registered User
FRC #2521
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Eugene, Oregon
Posts: 21
bfk is an unknown quantity at this point
Re: Help---Laptop randomly switching IP address

Well I'm glad we're getting somewhere.
I'll check with the software guy tomorrow, today ended up being totally swallowed by hardware issues.
Thanks!
  #8   Spotlight this post!  
Unread 16-02-2012, 21:33
Rogue Leader Rogue Leader is offline
Registered User
FRC #0696 (Circuit Breakers)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Glendale, CA
Posts: 78
Rogue Leader is an unknown quantity at this point
Re: Help---Laptop randomly switching IP address

Did you make sure you disconnected from your wireless internet connection?
  #9   Spotlight this post!  
Unread 17-02-2012, 17:24
DavisC DavisC is offline
Registered User
FRC #0539 (Titans)
Team Role: College Student
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Virginia
Posts: 200
DavisC is just really niceDavisC is just really niceDavisC is just really niceDavisC is just really nice
Re: Help---Laptop randomly switching IP address

Under "Change Adapter Settings"
(Start ->> Control Panel ->> View Network Status and Tasks [under Network and Internet] ->> Change Adapter Settings [left side-bar] ),
it is good practice to disable any adapters that are not being used to connect...

i.e. If you wish to connect using wired connection, then disable all but "Local Area Connection".
Or if you wish to connect using wireless connection, then disable all but "Wireless Network Connection".

Shortcut for above: right click the internet connection icon (bottom right of desktop) ->> Change Adapter Settings [left side-bar].
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 01:37.

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