Ethernet Invalid IP - No Internet Access

PresidentDylan5

Honorable
Apr 30, 2013
127
0
10,680
I have what seems to be a common problem on Windows 8 but none of the fixes worked. I am using an Ethernet connection on my desktop and all of a sudden when playing online my connection doesn't have a valid IP and I can't connect to the internet. Obviously restarted and stuff. Reinstalled the LAN driver. Typed IP config and these things looked weird:
IP Routing enabled: No
WINS proxy enabled: No
Default Gateway: [blank]
Please help.
 
Solution
I'm assuming this is your home network. You should have an ethernet connection between your computer and a router, which in turn provides access to external networks (internet). There are many ways to provide an external connection (phone line, tv cable line, optical fiber, radio), DSL is probably the most common and uses the telephone line.

When you run the ipconfig command, add "/all" at the end (type ipconfig /all). Look for "DHCP Enabled" on the network interface your are using. There might be a lot of things showing up when you type "ipconfig /all", so disregard anything with a "Media disconnected" description.

DHCP is a protocol for automatically assigning IP addresses. Your router probably assigned your computer an address...
I'm assuming this is your home network. You should have an ethernet connection between your computer and a router, which in turn provides access to external networks (internet). There are many ways to provide an external connection (phone line, tv cable line, optical fiber, radio), DSL is probably the most common and uses the telephone line.

When you run the ipconfig command, add "/all" at the end (type ipconfig /all). Look for "DHCP Enabled" on the network interface your are using. There might be a lot of things showing up when you type "ipconfig /all", so disregard anything with a "Media disconnected" description.

DHCP is a protocol for automatically assigning IP addresses. Your router probably assigned your computer an address using DHCP. If for some reason the connection between your computer and the router is dropping, setting a static IP may speed up the recovery.

Anyways, you can set your IP to static by going into the "network and sharing center", clicking "change adapter settings", right-clicking the network adapter you are using and clicking properties. There, look for "internet protocol IPV4" and double-click it. If the boxes are greyed-out, it is set to automatic. You can set it to manual by clicking the "Use the following IP address". Preferably, use the same IP address as you had before. In subnet mask, enter "255.255.255.0". In gateway, enter the "default gateway" listed for that network interface when you typed ipconfig /all (probably something like 192.168.1.1. The default gateway address should be your router's address, as that is where all traffic should be directed by default.)

If you ever use this ethernet interface in another network, you will need to either manually set an IP adress valid for that network, or set the interface to automatic again.

You can leave DNS settings in blank or use google's public DNS servers, entering 8.8.8.8 and 4.4.4.4 as DNS servers. DNS is a protocol for translating between name adresses and IP adresses.

I've also read a bit on your issue, seems some people got it fixed by clearing SSL state, so you can give that a try, too. To do that, open internet explorer, open "internet options", go to the "content" tab and click "clear SSL state".

 
Solution

PresidentDylan5

Honorable
Apr 30, 2013
127
0
10,680
I should add that yesterday I tried to set up a terraria server with the provided batch file which obviously did stuff with ip and stuff. It asked if I wanted to port forward and I SRT the pory to the default 7777.
 


If it was blank it means you don't have a working connection. You mentioned it usually works, but drops every now and then. Please get it working as it usually is then do the steps above to find out the gateway address. Usually disconnecting/reconnecting the cable or resetting the router will do the trick.
 


Don't ever do that. You just told your computer that all traffic on that interface should be directed to itself. Under those settings, that interface won't work.
 


I am not seeing what you are. If by that you mean the IP settings are blank when you type "ipconfig /all", that means it is disconnected or you manually set it to blank, or it is set to automatic but DHCP didn't work.
 


I can't really say anything as I don't have that batch file. It is hard to believe opening a server would screw your network settings, though. If what you meant by "I SRT the pory to the default 7777" is that you set the server port to 7777, that wouldn't affect your network settings. The worst this could do is your terraria server not working.
 


There is, but I need to know how your network is set. Do you need to enter an username and password to connect? Is is always-on? (when it is working, of course)

Is your internet provider the same as your phone provider or your TV provider?
 
I have to leave now, so I'll try to leave some advice.

If you have to type an username and password, that means you are likely using PPPoE and your router is set to bridged mode. In this mode, your router is neutral and your external IP adress is set automatically by your provider when you connect. If this is the case, leave everything to automatic and contact your ISP, not much can be done on your end.

If your connection is always-on, then your connection settings are saved on your router and the router provides your local network with local IP addresses. If this is the case, try resetting the router (turn off, turn on, not actually resetting it to factory settings, so don't use a reset button if there is one). Leave everything automatic so you can find out the settings, and after that you can statically set them as described before.
 

PresidentDylan5

Honorable
Apr 30, 2013
127
0
10,680
My provider is the same as my TV provider, BT Infinity. I had to type in a password (network key) but not a username. I have already tried resetting the router by turning it off at the wall and back on again 10 seconds later.