Stupid networking tricks
-
Was it you had manually set the hostname in the HOSTS file, but didn't update file(s) when you did the rejig?
Ah, you just beat me to it...
- Anders
-
This is the correct answer. The IPs no longer matched what was listed in the HOSTS file.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997The reason I guessed it was this is simple, I have done it before. :doh:
-
Was it you had manually set the hostname in the HOSTS file, but didn't update file(s) when you did the rejig?
-
I use the HOSTS file to prevent the prowser from visitng web sites (ads, etc) that could introdece problems on my systems. When a url in the file is found on a web page, my browser displays a hazardous waste logo where the ad would have shown up.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997 -
I use the HOSTS file to prevent the prowser from visitng web sites (ads, etc) that could introdece problems on my systems. When a url in the file is found on a web page, my browser displays a hazardous waste logo where the ad would have shown up.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997Interesting approach. That is actually quite a good use of it, a kind of client side blacklist. I have also had to put things in the HOSTS file, as you must have done to cause this problem, to get some Windows networking stuff to operate correctly. I'm sure it shouldn't be necessary but Windows networking seems to be quite fragile, to the extent that sometimes I either email files to myself to transfer them, or host them on a local HTTP server and fetch them. TCP and DNS often work even when net view etc don't.
-
I use the HOSTS file to prevent the prowser from visitng web sites (ads, etc) that could introdece problems on my systems. When a url in the file is found on a web page, my browser displays a hazardous waste logo where the ad would have shown up.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997I've got hundreds of entries in my HOSTS file for just this purpose. How, then, did it affect your LAN?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
-
I've got hundreds of entries in my HOSTS file for just this purpose. How, then, did it affect your LAN?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
The IPs didn't match, and it looks like Terminal Services uses what's in the HOSTS file to resolve machine names to IP addresses. If there's nothing in the hosts file, I assume that it just looks for the machine name on the network. Since the IPs were wrong in the file, it couldn't connect to the specified machine name.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997 -
Interesting approach. That is actually quite a good use of it, a kind of client side blacklist. I have also had to put things in the HOSTS file, as you must have done to cause this problem, to get some Windows networking stuff to operate correctly. I'm sure it shouldn't be necessary but Windows networking seems to be quite fragile, to the extent that sometimes I either email files to myself to transfer them, or host them on a local HTTP server and fetch them. TCP and DNS often work even when net view etc don't.
My most annoying issue right now is that no matter what I do, some of the machines on the LAN can't map remote shares when I reboot the machine. If I go into Explorer and click on the share, it searhes for it and finds it, and then everything is good. (All machines are running the same version of windows 7 and are caught up on the latest patches.)
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997 -
This is the correct answer. The IPs no longer matched what was listed in the HOSTS file.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997Why on earth are you manually entering hostnames in HOSTS? Built-in name resolution protocols not fancy enough for you? lol.
-
Why on earth are you manually entering hostnames in HOSTS? Built-in name resolution protocols not fancy enough for you? lol.
I don't remember why I was doing it...
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997