Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unable to run command and ipconfig in win200

Status
Not open for further replies.

funkuz

Technical User
Feb 7, 2003
12
SE
As the title says I am unable to run command and ipconfig in win 2000. I am totally lost as what the problem might be.
 
thanks the running cmd works. But there is some error with ipcongif when I run winipcfg I get a message saying that cant find 1001 in the dll file wsock32.dll any ideas ?
 
winipcfg is a command for Win95/98/ME and doesn't work in Win2K. To get ipconfig to work, you must first go to the command prompt (using 'cmd') and then type ipconfig.

Common switches are:

/all [tab]Display full configuration information.
/release [tab]Release the IP address for the specified adapter.
/renew [tab]Renew the IP address for the specified adapter.
/flushdns [tab]Purges the DNS Resolver cache.
/registerdns[tab]Refreshes all DHCP leases and re-registers DNS names
/displaydns [tab]Display the contents of the DNS Resolver Cache.



~cdogg

"The secret to creativity is knowing how to hide your sources."
- A. Einstein
 
Thanks for the tip. But I still have a problem with the ipconfig. It seems to be unable to find the DHCP server. I am trying to connect my computer to the internet via broadband and the internetcompany (Bredbandsbolaget) is unable to give me any help as to what the problem is. I also have a mac running macos X and it connects with no problem but the pc canot find the DPCH server any help ?
 
What DHCP server? How is your PC trying to connect to the internet (you say you have a mac connecting ok - so dos the internet connection copme into a router which the PC and mac are connected to? If so, is this router the DHCP server?)

btw, is your PC set up to accept automatic IP addresses?
Does it need the router's (if there is one) IP address set as gateway?
 
The connection is just a socket in the wall and according to the company I do not need a router to connect two computers to the same connection just a hub witch I have. And I can connect the Mac through the hub but I can´t with the pc not even directly into the socket. All I can get is DHPC server unavailable.

The pc is set to accept automatic IP addresses? I do not know if it needs to set the IP address as the gateway.
 
I'd suggest going back to ISP and get them to clarify the situation. For your situation, both machines need an external (internet) IP address. I'd suspect your ISP has only provided one - and that is tied to the Mac (did you have to go through a set up process to get the mac connected?). So, when the PC tries to connect, there's no IP address for it to pick up - hence the message.
So, if they are really providing 2 addresses, you will probably need to go through a process of assigning the second IP address to the PC.

PS. Its more usual to have a router (rather than hub)connected to broadband (single IP address) which then shares connection to machines on LAN, acting as DHCP server (& firewall).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top