Re: [Tutor] internet access

2007-10-11 Thread Alan Gauld
"Eric Brunson" <[EMAIL PROTECTED]> wrote > (What do you call vise grips in the UK? Vice grips - with a c. But there are various types and they all have specific names too. I'm not sure which variety you mean. A google search reveals that there are a few types in the US too... all called vise

Re: [Tutor] internet access

2007-10-11 Thread Eric Brunson
Alan Gauld wrote: > "shawn bright" <[EMAIL PROTECTED]> wrote > > >> messenger (gaim) all night if i didn't. i have a cron script that >> checks the >> hour of day, if later than x pm. does >> os.system("/etc/init.d/network stop") >> os.system("chmod a-x /etc/init.d/network") ( so that a reboot

Re: [Tutor] internet access

2007-10-11 Thread Alan Gauld
"shawn bright" <[EMAIL PROTECTED]> wrote > messenger (gaim) all night if i didn't. i have a cron script that > checks the > hour of day, if later than x pm. does > os.system("/etc/init.d/network stop") > os.system("chmod a-x /etc/init.d/network") ( so that a reboot > doesn't > override it ) Whi

Re: [Tutor] internet access

2007-10-11 Thread Alan Gauld
"Michael Langford" <[EMAIL PROTECTED]> > > If you find python bindings for WSH, let us know (or if you make > some with > SWIG: www.swig.org) Python alreeady has bindings and they come as part of the winall package from Mark Hammond. It involves running a registration script to register python w

Re: [Tutor] internet access

2007-10-11 Thread Eric Brunson
I used to run an old linux laptop with two NICs as my firewall, but I played a bit with DD-WRT and now I'm an evangelist. DD-WRT is based on an embedded Linux kernel and provides a great set of features, including time based filters, web GUI, ssh access and a real unix command line as well as

Re: [Tutor] internet access

2007-10-11 Thread Steve Willoughby
This is where it's an advantage to setting up an old PC as a firewall for your network. Stick Linux on it, set up your filtering rules, and let it sit between your home network and the outside world. You can then have it block that PC's access to the Internet via cron scripts, possibly even s

Re: [Tutor] internet access

2007-10-11 Thread Tim Golden
Michael Langford wrote: > While I don't know how to do it in a platform independent way, WSH > appears to have all the net functions you'd need (I've only looked at > Vistabut I assume Xp is the same). > > http://en.wikipedia.org/wiki/Windows_Script_Host > > If you find python bindings for

Re: [Tutor] internet access

2007-10-11 Thread Michael Langford
While I don't know how to do it in a platform independent way, WSH appears to have all the net functions you'd need (I've only looked at Vistabut I assume Xp is the same). http://en.wikipedia.org/wiki/Windows_Script_Host If you find python bindings for WSH, let us know (or if you make some wi

Re: [Tutor] internet access

2007-10-11 Thread Tim Golden
shawn bright wrote: > i did something very similar to this. My daughter would stay on her instant > messenger (gaim) all night if i didn't. i have a cron script that checks the > hour of day, if later than x pm. does > os.system("/etc/init.d/network stop") > os.system("chmod a-x /etc/init.d/network

Re: [Tutor] internet access

2007-10-11 Thread shawn bright
i did something very similar to this. My daughter would stay on her instant messenger (gaim) all night if i didn't. i have a cron script that checks the hour of day, if later than x pm. does os.system("/etc/init.d/network stop") os.system("chmod a-x /etc/init.d/network") ( so that a reboot doesn't

Re: [Tutor] internet access

2007-10-11 Thread Alan Gauld
"Kirk Vander Meulen" <[EMAIL PROTECTED]> wrote > I'd like to write a script that limits internet access to certain > hours of > the day. This seems like it should be simple but I'm not very > experienced Its actually not that simple because its fundamentally going against the design of the com

Re: [Tutor] internet access

2007-10-11 Thread Tim Golden
Kirk Vander Meulen wrote: > I'd like to write a script that limits internet access to certain hours of > the day. This seems like it should be simple. That's a very optimistic point of view! > Can someone point me in the right direction on this- I'm sure I can > figure out how to use a calend

[Tutor] internet access

2007-10-10 Thread Kirk Vander Meulen
Hi, I'd like to write a script that limits internet access to certain hours of the day. This seems like it should be simple but I'm not very experienced with any programming that involves networking. Can someone point me in the right direction on this- I'm sure I can figure out how to use a calen