Dialing from your desktop is easy !
Use inetd !
do this:
/etc/inetd.conf
dial stream tcp nowait root /usr/sbin/tcpd /usr/sbin/pppd
/etc/services
dial tcp/2000
dial udp/2000
Two files..thats all !
now telnet to port 2000 from your winbox or wherever.
That will execute pppd through inetd...
You can figure out the rest......
Remember to HUP the ps inetd is running from
> Date: Mon, 29 Jun 1998 12:50:14 -0700
> Newsgroups: comp.os.linux.networking
> Subject: Re: Dial from a Web page?
> > I've just started to play with this, and there is nothing working yet...
> > Am I correct if I say, that when I execute the URL from my Web browser, eg.
> > http://my.linux.machine/cgi-bin/dial that it will execute my dialing
> > script?? I've made a button on an html page to call this url, but with no
> > joy. The web page comes back - The server is misconfigured...
> You're making this harder than it should be; why not just make a simple
> ppp connect script (and bind that to a button for your desktop, if you
> want...). Don't get httpd involved, you'll be sorry if you do.
> --
> Regards
> Selfish Website http://mindlink.bc.ca/john_timmers
=======================================================================
Glenn Graham - inTEXT Communications - Vancouver Canada
Network System Integration Specialist - Network Security
Wide Area Information Networks - UNix Operating Systems
Internet Service Provider - Lan Integration
=======================================================================