Re: execute command from HTML page
On Mon, Nov 11, 2002 at 03:44:33PM +1030, Barney Wrightson wrote:
> Actually you wouldn't even need the HTML at all, you could simply
> enter
> the address of the cgi script into your browser and load it to cause
> it
> to execute. Provided that apache and user permissions were set up
> correctly.
will try that, am unsure of how to give a lowly user [such as www-data]
enough rights to access wvdial[complains that it cannot acess device
/dev/ttyS1 which is the modem]. -this is a router box and currently only
has two users: root and hugh, root is root and hugh is used for my
email, i cannot start wvdial from hugh account. How would i give hugh
[or www-data] the privaleges to start wvdial
>
> The other option of course is to work out the issues with diald - but
> obviously you are sick of trying that :) Or maybe setup dial-on-demand
> in ppp-config instead of using diald/wvdial? I seem to remember
> someone
> recently having diald problems use this method to good effect.
will try this also, have looked at ppp-config but it thought it was for
configuring diald not for setting up independant dial on demand, will
look again, thanks,
hugh
Reply to: