Author Topic: Dear Network guru...  (Read 288 times)

Offline Ripsnort

  • Radioactive Member
  • *******
  • Posts: 27260
Dear Network guru...
« on: July 09, 2004, 05:54:13 PM »
While on vacation..one of my PC's (particularly the one I have in the cockpit) has suddenly abandoned my network connection. It shows (icon) that its connected,(Cable) and shows packet transfer, however I cannot log into the net nor AH2.  I've used the same cable for other PC's in the room just fine, so its not the cable.  Any clue great guru?

Offline MOIL

  • Silver Member
  • ****
  • Posts: 1639
      • http://www.ltar.org
...
« Reply #1 on: July 09, 2004, 07:30:10 PM »
Sometimes an easy repair (which is basic and doesn't work most the time) is to goto Control Panel>Network Connetions.  Right click "Local Area Connection" and choose 'repair'.  This will do some simple dns/dhcp fixes.  If it doesn't work...

Try to do a few things with it:

(assuming your using windows xp with broadband (dsl/cable))

Goto your device manager (Control Panel>System>Hardware Tab>Device Manager) OR right click My Computer >Properties>Hardware>Device Manager

Under Network Adapters, right mouse click on your network card and choose Uninstall.

Reboot and it "should" re-configure and install all proper network devices/configs once it is at the desktop. It will tell you it found new hardware ... then should just install it without prompting.

Test your internet connection.  If it doesn't work, continue...

Goto Start Menu>Run and type in "cmd" without the quotes.  Type without quotes (in the dos-like box that came up) "ipconfig /flushdns" and hit enter, then type "ipconfig /renew".

It should take a few seconds to get your ip (assuming your on DHCP with a router or cable/dsl modem) ... and then it will display those numbers if it was successfull.

Test your internet connection again.

If these don't fix anything, you have more than a simple issue.  Now your into the "buy a new network card" possibility or more advanced diagnostics, which i'll try and help you with if these things fail.

Offline Ripsnort

  • Radioactive Member
  • *******
  • Posts: 27260
Dear Network guru...
« Reply #2 on: July 10, 2004, 08:26:34 AM »
Thank you sir, I will try these this morning (Yes, XP and Broadband combo)

Offline Ripsnort

  • Radioactive Member
  • *******
  • Posts: 27260
Dear Network guru...
« Reply #3 on: July 10, 2004, 09:02:22 AM »
"Unable to contact your DHCP server. No operation can be performed on Local Area Network 6 while it has its media disconnected."

while doing the ipconfig/renew command in the Dos prompt.

Looks like a new network card is in my future?

Offline Orig

  • Copper Member
  • **
  • Posts: 207
Dear Network guru...
« Reply #4 on: July 10, 2004, 09:28:25 AM »
Probably no need to buy anything new.

caveat - this discussion assumes that you are using a broadband router and more than one computer.  If you have multiple computers hooked up directly to the broadband modem through a hub/switch without using a router, then you will have problems unless your isp specifically allows you to get more than one ip address from your isp.  A broadband router requires only a single address from your isp and is usually cheaper.

To set up your LAN's ip addresses, you usually have 2 options.  First, you let your router assign ip addresses via DHCP.  When a computer is turned on, the network drivers broadcast a request for a DHCP server to tell it what ip address it should be.  If there is a dhcp server around, it responds back with some config information, usually an ip address for the client computer, the ip address of the gateway, and the ip address of the DNS server.  In the case of a home lan, the reply will usually be something like this:

ip address - 192.168.0.xxx (xxx is usually between 2 and 254)
gateway - 192.168.0.1
DNS - 192.168.0.1

This is because home broadband routers are often (usually?) set up as 192.168.0.1.

The second way to set up your lan is to manually assign ip addresses.  There are security and usability benefits to this especially if you're using wireless, but it requires some network administration because you have to manually go to the tcp-ip properties for every computer and manually enter in that computer's ip address, the address of it's gateway, and the address of the dns server.

Problems arise when you change how you do things.  For example, if you start off using manual ip addresses and have 2 computers plus your router, you could have something like this:

192.168.0.1 - router
192.168.0.2 - computer 1
192.168.0.3 - computer 2

But what if you enable DHCP on your router and add a third computer?  Sometimes you could get this:

192.168.0.1 - router
192.168.0.2 - computer 1
192.168.0.3 - computer 2
192.168.0.3 - computer 3 (dhcp assigned address)

But what if computer 1 isn't turned on when computer 3 makes it's DHCP query?  Then you could get this:

192.168.0.1 - router
192.168.0.2 - computer 3 (dhcp assigned)
192.168.0.3 - computer 2

Then if you turn computer 1 back on, you'd have:

192.168.0.1 - router
192.168.0.2 - computer 3 (dhcp assigned)
192.168.0.2 - computer 1
192.168.0.3 - computer 2

This is an obvious conflict, and neither computer 1 or 3 will work reliably on the network until it's cleared up.

So.... what do you do?

Either manually set each computer to it's own unique ip address that is compatible with the router, (usually 192.168.0.x but it could be 192.168.1.x, etc) or go into the router configuration and enable DHCP, and then set each computer to automatically get it's ip address via dhcp.

There are other ways to solve this, such as setting the dhcp server to assign addresses in a specific range (say 100-110) but again that requires some level of network management to keep it all straight.  I personally set manual ip addresses for my wired computers and have my and my wife's laptops configure wirelessly through dhcp.  Not quite as secure as manual configurations, but it keeps the configuration changes to a minimum when we travel.

Offline Rasker

  • Silver Member
  • ****
  • Posts: 1265
Dear Network guru...
« Reply #5 on: July 10, 2004, 01:47:18 PM »
if this machine is using internet connection sharing thru another computer, you might want to want to reinstall the LAN connection (shared between the two machines) on the other machine, also try removing and reinstalling internet connection sharing on the other machine.