Amiga.org

The "Not Quite Amiga but still computer related category" => Alternative Operating Systems => Topic started by: Vincent on January 22, 2005, 03:24:53 PM

Title: XP:HE and DHCP
Post by: Vincent on January 22, 2005, 03:24:53 PM
My mum's having some probs with her internet (1Mb broadband) and she's been told to reinstall the DHCP Client in Windows XP Home Edition.

I've been all over the m$ support/knowledge base and can only find how to do it in Win2k/NT/Server2k3.  Absolutely none of these works in XP.

I know that SP1 will fix some problems with the DHCP Client, but I'd like to try reinstalling it first just incase SP1 doesn't fix the problem.

Any ideas?
Title: Re: XP:HE and DHCP
Post by: T_Bone on January 22, 2005, 03:43:47 PM
How the hell do you reinstall the DHCP client in XP?? In win95-NT this was possible under the network properties box, but I've never seen it as an installable module since.

edit- aha! here we go. from cmd prompt:

netsh int ip reset resetlog.txt
Title: Re: XP:HE and DHCP
Post by: KennyR on January 22, 2005, 03:45:05 PM
AFAIR, DHCP is built into basic TCP/IP networking. Try removing this binding from your network card's page, and reinstalling it.
Title: Re: XP:HE and DHCP
Post by: mikeymike on January 22, 2005, 04:19:24 PM
heh, reinstall the DHCP client on XP... idiot support detected!

You can possibly reinstall all of TCP/IP on XP (just select TCP/IP in an adapter's network properties and uninstall it... might work), but I haven't had a need to reinstall TCP/IP since the days of Win9x... I doubt it would make any difference.

What's the problem?

Title: Re: XP:HE and DHCP
Post by: mikeymike on January 22, 2005, 04:25:22 PM
T_Bone, do you know of some documentation for the netsh command set?
Title: Re: XP:HE and DHCP
Post by: T_Bone on January 22, 2005, 04:26:53 PM
Quote

mikeymike wrote:
T_Bone, do you know of some documentation for the netsh command set?


http://support.microsoft.com/?kbid=299357

Nothing much, they just give a few uses.

edit- more here:

http://www.ss64.com/nt/netsh.html
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/netsh.mspx
http://www.windowsnetworking.com/articles_tutorials/Netsh-Part1.html
Title: Re: XP:HE and DHCP
Post by: Vincent on January 22, 2005, 04:35:27 PM
Can't connect to the net at all.  She can see the SURFboard Cable Modem.  But there's no signal going out past the modem - got a firewall installed and that's not coming up for anything.  Even stopped running the firewall and there's nothing.

Been through viruses, spyware.

Network adapters playing funny buggers (all installed ok).

DNS Errors.

Erm, can't think of anything else at the moment - brain fried.

She can still connect through dial-up.

Phoned Telewest (the provider) they went through quite a lot of possibilities.  None of them made a difference, but there was something about DHCP problem with Windows XP Home Edition Second Edition (what's the difference between SE and normal?).  Don't know which version she has.

She doesn't have SP1 or SP2 (easily remedied - I've got them on CD here).

PC coming my way tomorrow, won't be speaking to her or trying anything until then.  But the more good answers today the more I can try tomorrow :-)
Title: Re: XP:HE and DHCP
Post by: Vincent on January 22, 2005, 04:37:32 PM
Tried the stuff on:

How to reset Internet Protocol (TCP/IP) in Windows XP (http://support.microsoft.com/?kbid=299357) (thanks T-Bone)

"Ipconfig" Command Reports IP Address 0.0.0.0 (http://support.microsoft.com/default.aspx?scid=kb;en-us;822123)

She doesn't have an IP of 0.0.0.0 anymore, but I thought it might be worth a try anyway.
Title: Re: XP:HE and DHCP
Post by: Holley on January 22, 2005, 04:39:24 PM
I have had a few instances of having to remove TCP/IP and reinstall it in Win2K (usually when adding/removing from a domain), not XP though.

Netsh has some built in guidance, but for the full SP I think it's time to look up in an MS press book.  It's also covered in the 2000 and 2003 version of the 'Implementing a Microsoft Windows Network' course ...
Title: Re: XP:HE and DHCP
Post by: mikeymike on January 22, 2005, 04:40:18 PM
Quote
Can't connect to the net at all. She can see the SURFboard Cable Modem. But there's no signal going out past the modem - got a firewall installed and that's not coming up for anything. Even stopped running the firewall and there's nothing.


Modem not installed properly?  Dead modem?  Try completely uninstalling it and reinstalling.

It's not a TCP/IP stack problem if the modem isn't even being communicated with.  Of course there's a DHCP problem, the (TCP/IP) protocol layer hasn't been estabished...

Are there some modem diagnostics that can be run?

T_Bone: Ta!
Title: Re: XP:HE and DHCP
Post by: Linchpin on January 22, 2005, 04:42:13 PM
Vince. If its a surfboard modem, power it down, remove coax, power up modem. Release / Renew the IP adress, should switch to 192.xxx.xxx.xxx (internal DHCP on modem). If not, something is borked ...
Title: Re: XP:HE and DHCP
Post by: Linchpin on January 22, 2005, 04:43:03 PM
Oh, and if anyone wants to chat about NetSHell, let me know :-)

I got a list as long as me arm of netsh reset commands ...

Vince - they may work also.
Title: Re: XP:HE and DHCP
Post by: Vincent on January 22, 2005, 04:57:26 PM
Quote
mikeymike wrote:
Modem not installed properly?  Dead modem?  Try completely uninstalling it and reinstalling.

Modem appears to be fine on all accounts.

We were able to connect for about 10 mins to download ad-aware, spybot, sygate firewall and avg.

Before that it didn't work, after that it didn't work.  Nothing was changed at all.

I don't know if I can run diagnostics (I'll wait until tomorrow)

Been uninstalled and reinstalled a total of about 7 times in the last few days.  Everytime the modem is fine, but the Blueyonder stuff can't connect to the net to install stuff.
Title: Re: XP:HE and DHCP
Post by: Vincent on January 22, 2005, 04:59:29 PM
Quote

LinchpiN wrote:
Vince. If its a surfboard modem, power it down, remove coax, power up modem. Release / Renew the IP adress, should switch to 192.xxx.xxx.xxx (internal DHCP on modem). If not, something is borked ...

As in... do netsh int ip reset c:\resetlog.txt without the connection?
Title: Re: XP:HE and DHCP
Post by: Vincent on January 22, 2005, 05:00:28 PM
Have I told thee lately how much I {bleep}ING HATE WINDOWS :pissed:

:-P
Title: Re: XP:HE and DHCP
Post by: Linchpin on January 22, 2005, 06:31:25 PM
Nah...

Title: Re: XP:HE and DHCP
Post by: Linchpin on January 22, 2005, 06:47:03 PM
Vince - speak to me in IRC - ill take a peep for you.
Title: Re: XP:HE and DHCP
Post by: Vincent on January 22, 2005, 07:08:43 PM
I'll hop onto IRC tomorrow - mum's leaving it alone tonight and I'll be getting it around 2 tomorrow :-)
Title: Re: XP:HE and DHCP
Post by: Hammer on January 22, 2005, 11:14:51 PM
Have you tried http://www.michna.com/kb/wxnet.htm
Title: Re: XP:HE and DHCP
Post by: Hammer on January 22, 2005, 11:23:48 PM
Quote
Phoned Telewest (the provider) they went through quite a lot of possibilities. None of them made a difference, but there was something about DHCP problem with Windows XP Home Edition Second Edition (what's the difference between SE and normal?). Don't know which version she has.

There is no such thing as "Windows XP Home Edition Second Edition".

Are you referring "Windows XP Home Edition Second Edition" as "Windows XP Home with SP2 Edition"?  
Title: Re: XP:HE and DHCP
Post by: Vincent on January 23, 2005, 12:42:55 AM
Quote
Hammer wrote:
Are you referring "Windows XP Home Edition Second Edition" as "Windows XP Home with SP2 Edition"?  

I wasn't convinced it existed.  I'm not referring to it, that's exactly what the telewest guy said to my mum.
Title: Re: XP:HE and DHCP
Post by: Waccoon on January 23, 2005, 01:38:37 AM
Quote
We were able to connect for about 10 mins to download ad-aware, spybot, sygate firewall and avg.

Sounds like a modem issue to me.  I had a Toshiba broadband modem pass all its hardware tests but would only let me on in bursts of 5 minutes at a time 4-5 times a day.  The company replaced it with a Motorolla modem and all is well.

In other words, don't trust the modem's hardware test when you plug it in.  Ask the ISP if they can see you with the modem plugged in.  It sounds dumb that they wouldn't already have tried that, but getting my ISP to figure out the modem was dead took a lot of phone calls to tech support.  :-?

Do you have a router?  My Linksys router has a tendency to forget my MAC address for no reason.
Title: Re: XP:HE and DHCP
Post by: Vincent on January 23, 2005, 02:20:53 AM
They could see the modem from the other end.

No router either - just one pc and a cable modem.

When the pc arrives here I'm going to try the modem with this pc (exactly the same modem).  If it doesn't work we'll know it's the modem.
Title: Re: XP:HE and DHCP
Post by: Vincent on January 23, 2005, 02:51:55 PM
Quote

LinchpiN wrote:
Vince. If its a surfboard modem, power it down, remove coax, power up modem. Release / Renew the IP adress, should switch to 192.xxx.xxx.xxx (internal DHCP on modem). If not, something is borked ...


Right, got the PC here (the state of this room is unspeakable ;-) ).  She forgot to bring the modem though :lol:

But anyways, I've tried it with mine...

WITHOUT the external cable connected IPConfig gives me:

Connection-specific DNS Suffix:
Autoconfiguration of IP Address:  0.0.0.0
Subnet Mask:  0.0.0.0
Default Gateway:

I thought that's not right, so I tried it again after about 10 seconds (thought maybe I didn't give it enough time to power up):

Connection-specific DNS Suffix:
Autoconfiguration of IP Address:  169.254.85.104
Subnet Mask:  255.255.0.0
Default Gateway:

Now, this modem is working with my PC (thankfully or I wouldn't be able to post this).

WITH the ext cable connected (ie should be online) I got exactly (that's exactly) the same result.  I waited longer before trying the IPConfig command but I still got nothing and 0.0.0.0 the first time, then I got the same 169.254 blah blah for the second result.

I can't connect to the net on that PC but I can on this one.
Title: Re: XP:HE and DHCP
Post by: Vincent on January 23, 2005, 02:55:57 PM
http://support.microsoft.com/?kbid=299357

Would posting the log from doing that help in any way?

It's about 40 lines (although more on here with the wordwrap).
Title: Re: XP:HE and DHCP
Post by: Vincent on January 23, 2005, 04:43:16 PM
Okay...

Now that I've been playing around with it for an hour or two here's something I didn't quite notice before (I swear it wasn't there before, but with all the back and forward testing the modem I might not've noticed, but then again my mum never mentioned it when I asked what was there...).  We have 3 things in the Network Connections window.

Network Bridge
1394 Connection
Local Area Connection

Viewing by Details shows that they are ALL Network Bridges.  There's not one LAN or High-Speed Internet there.

Also, the Blueyonder install CD only picks up on 1394 Connection.  It complains that it is not bound to TCP/IP and it explains how to do this (right click -> properties -> tick TCP/IP).  This doesn't work as there is no TCP/IP option (there's no small white window with the 3/4 things in it at all).

The same happens with the Local Area Connection, but with the Network Bridge we get the small white window with the options.  The TCP/IP is already ticked.

The Local Area Connection is the only one that is affected by the modem being plugged in (red cross if it's not), the others are apparently always connected.

--edit--

Seems like I can't create a new connection at all...

Any ideas?

--edit2--

Deleted the Network Bridge and everything seems fine until I try to connect - still no luck.  Sygate isn't even coming up to say something's trying to connect :-?
Title: Re: XP:HE and DHCP
Post by: seer on January 23, 2005, 05:05:54 PM
Have you looked in the hardware list (device manager) ? No devices with [ ! ] with them ?
Title: Re: XP:HE and DHCP
Post by: Vincent on January 23, 2005, 06:57:48 PM
That was one of the first things done after getting spyware/viruses checked.

Absolutely nothing wrong with any of the devices according to that.

--edit--

I should've said in the previous post - after deleting the Network Bridge the TCP/IP selection (and the other 2/3 choices) appeared in both the Local Area Connection and in the 1394 Connection Property windows.
Title: Re: XP:HE and DHCP
Post by: Vincent on January 29, 2005, 12:43:57 PM
Should've posted this on Wednesday, but I kept forgetting ;-)

I reinstalled everything using the Compaq restore CDs (I wish they came with every PC - so much easier than reinstalling everything seperately).  And the Network adapter refused to work with the modem (my modem and cables) so I switched to USB and it worked perfectly.

Took the PC back round to mums on Weds, hooked it all up to her modem etc and it was online within 10 minutes (installed the Blueyonder CD just to make sure).

Feck knows what the initial problem actually was, but at least it's working now.  And she only had 600MB of stuff to back up :-D