I currently investigating into using wmppp together with the isdnutils
package that comes with debian.

I use the following rcfile:

speed: /usr/local/bin/getmodemspeed
start: /home/torsten/bin/isdnon
stop: /usr/local/bin/isdnoff
ifdown: /usr/local/bin/isdnon

isdnon and isdnoff puts the ipppd in dial-on-demand mode and shut down
the isdn connection.  getmodemspeed simply prints the string 64000 to
indicate the connection speed.

Now, if I press the button (checkmark) for starting the connection the
following happens.  The yellow light is displayed for a very short
time, being immediatly replaced by the green one online indication.
In the same moment the timer starts and the connection speed is
displayed in the lower left window.

Does anybody managed to get the following behavior?

- if I press the checkmark, I want the yellow light to appear to
  indicate, that my connection is in dial-on-demand state (i.e., the
  default route is set to ippp0 and the interface is waiting for the
  next paket to dial out).

- when the isdn connection is established, the green light should
  appear and the timer should start

I already tried playing around with getmodemspeed (displaying the
64000 when there is a established connection, but that made no
difference).  Does anybody knows how wmppp determines when to display
the yellow and green light?  I will fetch the source the investigate
this problem by myself, but any advice would be great here.

The display of the current isdn load would be great too ;-)

Thanks for your response,

        Torsten

Reply via email to