[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: modem status



root wrote:
> 
> Hi
> 
> I am trying to make a GTK program that executes my internet connection
> scripts in
> /etc/ppp(because gnome-ppp doesn't work and KPPP eat my memory like
> CRAZY!!).
> it has a button that executes pppd. My problem is how can i tell my
> program that the modem has established the conection with my ISP??
> knowing that i want to show
> a window that tells the user that the connection is done.
> Is there any system call?? any ideas??

the script (or program) /etc/ppp/ip-up gets executed after the
connection is ready for use. i would touch a file somewhere in /var or
/tmp in the script and watch for this file in your programm. in
/etc/ppp/ip-down you can delete the file after the connection has been
closed.

best regards ...
clemens




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]