On Sun, 10 Mar 2002, Adam Hewitt wrote:

> Hi,
> 
> Once I have my debian gateway up and running, I want to have it setup so 
> that it will NOT dial on demand. As an alternative to this I was wondering 
> if anyone had some hints or if it is even possible to have some sort of 
> script setup on a Windows desktop that when run it will telnet to the 
> debian box, log in (maybe with a generic username and password which only 
> has rights to run the pppd) and connect to the net.
> 
> The reason that I am asking is because I am setting this up for my home 
> network, and my wife isn't that computer literate that I think she would be 
> able to do these tasks manually.
> 
> If you have any other suggestions please let me know those as well.


a) you could just do a simple shell script menu and leave that running on 
the console with 3 options. 1) start internet, 2) stop internet, 3) check 
internet see "man bash" and look for "select".

b) do a simple CGI script that calls the pon or poff command and maybe
something to check if you're online, run a web server just on the internal
IP address - see "Listen" and "BindAddress" in your httpd.conf or
apache.conf as the case may be.

 -- 
---<GRiP>--- 
Web: www.arcadia.au.com/gripz 
Answering Machine/fax: 02 4950 1194 (wait 5 mins if no answer)
Mobile: 0408 686 201

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to