On Sat, 04 Oct 2003 06:04:18 +1200
Daniel Fone <[EMAIL PROTECTED]> wrote:
> Hi Guys,
>
> I am trying to get a system running where any of the users on our
> network can initiate a dial up connection on our linux router. I have
> currently written a server in C, to listen on a port and do a
> 'system("wvdial >> podd.log 2>&1 &")' call when it receives an
> appropriate command. However, this gives me no feedback as to how the
> dialup process is going. Is there any way I could somehow route the
> output from the wvdial program to my app, and process it? I tossed
> about the idea of calling pppd directly but the same problem still
> exists.
can you route the output of wvdial back to the socket thats open to the
client, and have it displayed by the client?
or you can simply ssh in and execute wvdial, and watch it do its thing.
or the alt-connect package i pointed you to had (a few years back before
I had adsl) a nice little windows client that sat in the task bar and
had little icons as to what was happenning to the link. It was a truly
great system, particularly as I hate dial on demand.
>
> Thanks,
>
> Daniel
>
>