GTK replacement for KPPP?

Nikola Pižurica pizurica at neobee.net
Tue Mar 9 21:57:46 CET 2004


On Tue, 2004-03-09 at 21:47, Chris Greenman wrote:

> or something similar).  Just add a two state launcher to the panel and
> assign one to the up script and the other to down script.

In fact, you can't. 2 state launcher uses only 1 script.

Here is my setup for dialing using 2 state launcher + wvdial.

Dialing script used by 2 state launcher:
--------------------------------------------------
#!/bin/sh
if [ "$1" = "1" ]; then
   echo 1 > /home/ppp.status
   wvdial neobee &> /dev/null
elif [ "$1" = "0" ]; then

   echo 0 > /home/ppp.status
   ppp-off&>/dev/null
else echo `cat /home/ppp.status`
fi 
----------------------------------------------

wvdial.conf:
------------------------------------
[Modem0]
Modem = /dev/ttyS1
#Modem = /dev/modem
Baud = 57600
SetVolume = 3
Dial Command = ATDP
Init1 = ATZ
FlowControl = NOFLOW
[Dialer neobee]
Username = pizurica
Password = xxxxxxxx
Phone = dp042110042
Stupid Mode = 1
Init3 = ATX3
Inherits = Modem0
--------------------------------

Change to suit your needs, and don't forget NetLoad plug-in.

Nikola





More information about the Xfce mailing list