A Windows 98 & ME forum. Win98banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Win98banter forum » Windows ME » General
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

Using hosts file to prevent access to sites



 
 
Thread Tools Display Modes
  #1  
Old January 12th 05, 05:58 PM
HotelGuy
external usenet poster
 
Posts: n/a
Default Using hosts file to prevent access to sites

(My systems are Win98. Couldn't find a Win98 group. Hope this is
close enough.)

The hotel I work at provides just two public computers for our guests,
who are mostly business types. But right now we happen to have a
number of familes here and their kids are tying up the computers for
hours on end playing online games. The computer guy is out, so I am
trying to deal with this. The location of the machines make them hard
to police. So I have tried to make the sites they are using
unreachable by using the hosts file. But that doesn't seem to be
working. One of the sites they go to is www.cartoonnetwork.com. So I
put
127.0.0.1 cartoonnetwork.com
in the hosts file. I have spaces, not a tab character, beteen the ip
address and the domain name. And I have rebooted the machine. But
cartoonnetwork.com can still be accessed. What I've done should work,
right? Is it possible that the hosts file is in the wrong place? On
this machine it's in c:\windows.

Is there anyway to bypass the hosts file? I know NOTHING about how
these machines are set up, and the computer guy does some weird
things sometimes. So for all I know he might have disabled the hosts
file for some reason.

I'll be grateful for any help anyone can offer.

Thanks, Bob
  #2  
Old January 12th 05, 06:21 PM
Mike M
external usenet poster
 
Posts: n/a
Default

Bob,

What I've done should work, right?


Yes

Is it possible that the hosts file is in the wrong place? On
this machine it's in c:\windows.


That's the correct location. Make sure that your edited hosts file has no
extension, that is that the file name is just HOSTS and not perhaps
HOSTS.TXT if you used Notepad to edit the original supplied sample file
hosts.sam. Whilst 127.0.0.1 cartoonnetwork.com should work try editing
it and using 127.0.0.1 www.cartoonnetwork.com
--
Mike Maltby MS-MVP




HotelGuy wrote:

(My systems are Win98. Couldn't find a Win98 group. Hope this is
close enough.)

The hotel I work at provides just two public computers for our guests,
who are mostly business types. But right now we happen to have a
number of familes here and their kids are tying up the computers for
hours on end playing online games. The computer guy is out, so I am
trying to deal with this. The location of the machines make them hard
to police. So I have tried to make the sites they are using
unreachable by using the hosts file. But that doesn't seem to be
working. One of the sites they go to is
www.cartoonnetwork.com. So I
put
127.0.0.1 cartoonnetwork.com
in the hosts file. I have spaces, not a tab character, beteen the ip
address and the domain name. And I have rebooted the machine. But

Is there anyway to bypass the hosts file? I know NOTHING about how
these machines are set up, and the computer guy does some weird
things sometimes. So for all I know he might have disabled the hosts
file for some reason.

I'll be grateful for any help anyone can offer.

Thanks, Bob


  #3  
Old January 12th 05, 06:33 PM
B.J.Honeycut
external usenet poster
 
Posts: n/a
Default

On Wed, 12 Jan 2005 17:58:48 (HotelGuy) penned
this whopper in microsoft.public.windowsme.general

(My systems are Win98. Couldn't find a Win98 group. Hope this is
close enough.)

The hotel I work at provides just two public computers for our guests,
who are mostly business types. But right now we happen to have a
number of familes here and their kids are tying up the computers for
hours on end playing online games. The computer guy is out, so I am
trying to deal with this. The location of the machines make them hard
to police. So I have tried to make the sites they are using
unreachable by using the hosts file. But that doesn't seem to be
working. One of the sites they go to is www.cartoonnetwork.com. So I
put
127.0.0.1 cartoonnetwork.com
in the hosts file. I have spaces, not a tab character, beteen the ip
address and the domain name. And I have rebooted the machine. But
cartoonnetwork.com can still be accessed. What I've done should work,
right? Is it possible that the hosts file is in the wrong place? On
this machine it's in c:\windows.

Is there anyway to bypass the hosts file? I know NOTHING about how
these machines are set up, and the computer guy does some weird
things sometimes. So for all I know he might have disabled the hosts
file for some reason.

I'll be grateful for any help anyone can offer.

Thanks, Bob


Hi Bob.
1. Make sure you have the Hosts file, not hosts.sam
2. usually there are 2 spaces after the localhost address by convention.
3. make sure nothing you enter is preceeded by a # or it will be ignored.
4. look to see if the file has been locked by spybot, spywareblaster, or a
firewall program like ZoneAlarm. HTH.

Also there is the microsoft.public.win98 group if you need more help with
those puppies.

--
"Time will bring to light whatever is hidden;
it will cover up and conceal what is now shining in splendor."
Horace (65 - 8 BC); Roman poet.

Mike
  #4  
Old January 12th 05, 07:40 PM
N. Miller
external usenet poster
 
Posts: n/a
Default

In article , HotelGuy
says...

Is there anyway to bypass the hosts file?


Yes...

-----------------
01/12/05 11:38:46 dns cartoonnetwork.com
Mail for cartoonnetwork.com is handled by atlmail2.turner.com
nymail1.turner.com atlmail1.turner.com atlmail3.turner.com
Canonical name: cartoonnetwork.com
Addresses:
207.25.71.118
64.236.16.231
-----------------

If those kids are savvy enough to know the IP address for the site, using
http://207.25.71.118 in the URL window neatly bypasses the hosts file.

--
Norman
~Win dain a lotica, En vai tu ri, Si lo ta
~Fin dein a loluca, En dragu a sei lain
~Vi fa-ru les shutai am, En riga-lint
  #5  
Old January 13th 05, 02:27 PM
siljaline
external usenet poster
 
Posts: n/a
Default

Blocking Unwanted Parasites (et al) with a Hosts file;
http://mvps.org/winhelp2002/hosts.htm

HTH
Silj

--
siljaline

MS - MVP Windows (IE/OE) 2003/04 AH-VSOP
________________________________________
Security Tools Updates
http://forum.aumha.org/viewforum.php?f=31

(Reply to group, as return address
is invalid - that we may all benefit)



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adaware SE paid version -- Worth the Cost? Dan General 11 January 12th 05 04:20 PM
Invalid System Disk Robert General 27 January 2nd 05 01:59 AM
Ping: Bindar - about Hosts File sf General 9 August 19th 04 08:19 PM
...hosts file ... RJK General 9 July 11th 04 05:54 PM
Win98SE - problem with USB printer HBYardSale Software & Applications 2 June 20th 04 06:27 PM


All times are GMT +1. The time now is 11:07 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.