Changing IP address (when I don't want to)
02-06-2004, 22:11
|
#1
|
|
Inactive
Join Date: Jan 2004
Location: Sunny Hertfordshire
Posts: 187
|
Changing IP address (when I don't want to)
I am having problems with my wireless link. I have a D-Link router attached to the set-top box, and wireless PCI card inside a new-ish PC running XP home, oodles of RAM and HDD space. After a while, the IP address changes from 192.168.0.x to 169.x.x.x and I lose the connection. Seems to take a while to sort this out, and I often have to run a utility that I found called Winsockfix.exe which often cures the problem but requires a reboot. As this can be needed every half hour, it is a bit of a pain.
No problems with a wired link direct to STB; D-link have very kindly replaced the PCI card under warranty and have just returned the router after testing it and finding no problem. (If anyone from D Link is reading this, thank you, your customer support service is one of the best). Any thoughts?
|
|
|
02-06-2004, 22:15
|
#2
|
|
cf.mega poster
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 34
Posts: 6,414
|
Re: Changing IP address (when I don't want to)
It just means that the connection is dropping.
169.x.x.x is known as "auto configuration" which basically means that you have no connection and can't contact a DHCP server.
|
|
|
02-06-2004, 22:22
|
#3
|
|
cf.mega poster
Join Date: Nov 2003
Location: Reading
Age: 28
Services: Virgin Media Broadband Size M
Posts: 6,849
|
Re: Changing IP address (when I don't want to)
sounds like the old winsock 2 error.
When you next get the 169ip address, get a dos prompt up (start-> run-> cmd) then type ipconfig /renew
if you get a message "an operation was attempted on something that is not a socket" check this article:
http://support.microsoft.com/default...b;en-us;318584
|
|
|
02-06-2004, 22:24
|
#4
|
|
Rather fruity
Join Date: Jun 2003
Posts: 6,064
|
Re: Changing IP address (when I don't want to)
Could it be interference Richard? Maybe a change of channel could fix it?
Hope I'm not trying to teach anyone to suck eggs :s
Nice to know D-link have good support as my cards are from them
|
|
|
02-06-2004, 22:32
|
#5
|
|
Inactive
Join Date: Jan 2004
Location: Sunny Hertfordshire
Posts: 187
|
Re: Changing IP address (when I don't want to)
Thanks
No obvious sign of interference according to Network Stumbler...
I'll try the winsock 2 workaround, and see.
And Ipconfig /release and Ipconfig /renew don't seem to do anything here.
Thanks to all three of you
|
|
|
02-06-2004, 22:46
|
#6
|
|
Cable Forum Team
Join Date: Jun 2003
Location: Cambridge
Services: Sky+HD, Sky Fibre Unlimited (40/10)
Posts: 15,738
|
Re: Changing IP address (when I don't want to)
Quote:
|
Originally Posted by Richard M
It just means that the connection is dropping.
169.x.x.x is known as "auto configuration" which basically means that you have no connection and can't contact a DHCP server.
|
Following from what Richard said....
Do you have anything running on the PC which could block the DHCP renewal from the router? (e.g. software firewall incorrectly configured? May be clutching at straws here  )
Have you tried manually assigning an IP address for your PC, instead of letting it obtain an IP from the router via DHCP?
Also:
To stop a Win 2000/XP PC from switching to an APIPA address when it cannot contact the DHCP server:
Quote:
|
Originally Posted by A file on my PC, can't remember where I got it!
Windows 2000 DHCP client is unable to connect to local resources?
In previous versions of Windows, a DHCP client would continue to use a leased address, until the lease expired, even if they were unable to connect to the DHCP server and default gateway.
In Windows 2000, if a client looses connectivity to a DHCP server and default gateway, they receive an APIPA (Automatic Private IP Addressing) IP address, until connectivity is restored. The client periodically sends DHCP discovery packets and then ARPs for the default gateway.
To determine if this has happend, open a CMD prompt and type ipconfig. If the IP address is in the APIPA Class B range, 169.254.0.0 to 169.254.255.255, they are unable to reach the DHCP server and default gateway.
If you wish to revert to the old behavior, disable APIPA on a specific adapter or for the entire computer -
Use Regedt32/regedit to navigate to or create:
Disable APIPA on a specific NIC
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters\Interfaces\<adapter name>
On the Edit menu, Add Value name IPAutoconfigurationEnabled, as a REG_DWORD data type, and set the data value to 0. The default (missing) value is 1, which enables APIPA on this interface.
Disable APIPA on the Entire Computer
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters
On the Edit menu, Add Value name IPAutoconfigurationEnabled, as a REG_DWORD data type, and set the data value to 0. The default (missing) value is 1, which enables APIPA on ALL interfaces.
NOTE: You must restart the client for the change to take effect.
|
|
|
|
02-06-2004, 23:01
|
#7
|
|
Inactive
Join Date: Jan 2004
Location: Sunny Hertfordshire
Posts: 187
|
Re: Changing IP address (when I don't want to)
Now THAT looks brilliant!
BUT there are 7 subfolders, all with names beginning with {and numbers or letters. Which is the correct one?
I'll try that before I try the micro$oft solution.
And no, no firewall ( I think there is something of a firewall inside the router, does NAT sound right?).... I did have mcafee firewall but it seems unnecessary and kept giving me error messages saying that it had failed to start.
Manual addresses seemed a bit more stable, but still occasionally got corrupted to the 169.x.x.x address
|
|
|
02-06-2004, 23:57
|
#8
|
|
Cable Forum Team
Join Date: Jun 2003
Location: Cambridge
Services: Sky+HD, Sky Fibre Unlimited (40/10)
Posts: 15,738
|
Re: Changing IP address (when I don't want to)
Quote:
|
Originally Posted by alanf617
Now THAT looks brilliant!
BUT there are 7 subfolders, all with names beginning with {and numbers or letters. Which is the correct one?
|
LOL, I don't know!
My "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servi c es\Tcpip\Parameters\Interfaces\" section has 6 interface folders.
One of the six folders has a great deal more info in it than the other five, including the IP address, DNS address, subnet mask etc. of the adapter. The other five have less info in them, less entries, etc.
The only thing I can suggest (unless someone can explain an easy way to ID them), is to look through each of your seven folders, & find the one which has the correct info for the device in question.
Quote:
|
I'll try that before I try the micro$oft solution.
|
Hopefully it will help
Quote:
|
And no, no firewall ( I think there is something of a firewall inside the router, does NAT sound right?).... I did have mcafee firewall but it seems unnecessary and kept giving me error messages saying that it had failed to start.
|
Yeah, the router will have its own built-in NAT (network address translation) firewall.
Quote:
|
Manual addresses seemed a bit more stable, but still occasionally got corrupted to the 169.x.x.x address
|
Changing the registry as above should stop the IP changing to an APIPA 169.x.x.x address.
It may still be worth a try switching to manual addresses too.
And there's still the winsock workaround to try out.
Of course, it still would be nice to find out exactly why you seem to be losing the DHCP lease in the first place!
|
|
|
03-06-2004, 00:17
|
#9
|
|
Inactive
Join Date: Jan 2004
Location: Sunny Hertfordshire
Posts: 187
|
Re: Changing IP address (when I don't want to)
Well, I've done what you suggested for the whole computer instead of just one NIC, instead of worrying about which folder I should use.... I get frightened easily when editing the registry. I'll go to bed and see if it's still working tomorrow.... If you get a reply in the next 24 hours, you'll know I'm back at square one.
Thanks for the help
Alan
P.S. what's a Tezcatlipoca?
|
|
|
03-06-2004, 00:22
|
#10
|
|
cf.mega poster
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 34
Posts: 6,414
|
Re: Changing IP address (when I don't want to)
Quote:
|
Originally Posted by alanf617
P.S. what's a Tezcatlipoca?
|
An XBox obssessed Cable Forum moderator.
|
|
|
03-06-2004, 00:26
|
#11
|
|
Dr Pepper Addict
Join Date: Oct 2003
Location: Nottingham
Age: 50
Services: VM Phone : Sky+ Multiroom : VM Cable (50 Mbps)
Posts: 18,687
|
Re: Changing IP address (when I don't want to)
Quote:
|
Originally Posted by alanf617
P.S. what's a Tezcatlipoca?
|
Dunno - I call him Tez - I still haven't figured out how to pronounce "Tezcatlipoca"
|
|
|
03-06-2004, 00:31
|
#12
|
|
Cable Forum Team
Join Date: Jun 2003
Location: Cambridge
Services: Sky+HD, Sky Fibre Unlimited (40/10)
Posts: 15,738
|
Re: Changing IP address (when I don't want to)
Quote:
|
Originally Posted by alanf617
Well, I've done what you suggested for the whole computer instead of just one NIC, instead of worrying about which folder I should use.... I get frightened easily when editing the registry. I'll go to bed and see if it's still working tomorrow.... If you get a reply in the next 24 hours, you'll know I'm back at square one.
|
Cool. Hopefully all will go well.
No problem
Quote:
|
P.S. what's a Tezcatlipoca?
|
http://www.pantheon.org/articles/t/tezcatlipoca.html
The name of an Aztec god (I like mythology). I used to use it for my god character in the PC game "Black & White" ('cos my character in the game was not a very nice god  ), so then decided to use it for my XBoxLive "GamerTag" when I had to pick a name for that, which led to me using it on forums such as here.
Quote:
|
Originally Posted by Richard M
An XBox obssessed Cable Forum moderator. 
|
Quote:
|
Originally Posted by Pem
Dunno - I call him Tez - I still haven't figured out how to pronounce "Tezcatlipoca" 
|
It's apparently "tehs-cah-tlee-poh'-cah" (from above link), but I think "Tez" is much easier
/
Anyway, I hope you get it all sorted, Alan
|
|
|
04-06-2004, 15:12
|
#13
|
|
Inactive
Join Date: Jan 2004
Location: Sunny Hertfordshire
Posts: 187
|
Re: Changing IP address (when I don't want to)
Tez,
You are a genius!
So far, no problems apart from a briefly dropped connection late last night.
I note that the computer seems to need a minute or two to find the connection at bootup, which may explain why it kept reverting to the 169.x.x.x address, but all seems to be well at last. Will let you know if it doesn't last, but next time you are near Potters Bar, the first drink is on me!
Many thanks
 of Hertfordshire
|
|
|
04-06-2004, 19:34
|
#14
|
|
Cable Forum Team
Join Date: Jun 2003
Location: Cambridge
Services: Sky+HD, Sky Fibre Unlimited (40/10)
Posts: 15,738
|
Re: Changing IP address (when I don't want to)
Quote:
|
Originally Posted by alanf617
Tez,
You are a genius!
|
LOL
Glad it all seems better now, Alan
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 23:36.
|