/ Markus Amersdorfer:home / university / about:me /
\ Say NO to Software-Patents! \


/ comp / iptables / additional scripts /

to be always online, install the script /etc/ppp/ip-down.d/99-max_always-online:

  #!/bin/sh

  # /etc/ppp/ip-down.d/99-max_always-online:
  #
  # this script immediately re-dials the connection after it has been torn down.

  # If pppconfig or isdnctrl have been removed we are not supposed to do anything.
  test -f /usr/sbin/pppconfig || exit 1
  test -f /usr/sbin/isdnctrl || exit 1

  /usr/sbin/isdnctrl dial ippp0
back to comp

Valid HTML 4.01! Valid CSS! Created with Vim [Blue Ribbon Campaign icon]
© Markus Amersdorfer
last modified: Tuesday, 23-Feb-2010 15:42:17 UTC