http://www.ubuntu-austria.at/viewtopic.php?t=3378&start=42&sid=00868ad8c6d8ec4f36a18336d73ae687
http://howto.htlw16.ac.at/at-highspeed-howto-2.html
10.0.0.38 aon
nameserver 195.3.96.67 nameserver 195.3.96.68
name "1234567890" noipdefault noauth lcp-echo-interval 30 lcp-echo-failure 4 defaultroute replacedefaultroute
#Benutzername * Persönliches Kennwort 1234567890 * abcdefgh
#! /bin/sh
# Copyright (c) 1995-2002 SuSE Linux AG, Nuernberg, Germany.
# All rights reserved.
#
# Author: Kurt Garloff <feedback@suse.de>
#
# Modified: Dieter Hoefler
#
#
# /etc/init.d/adsl
#
#
# LSB compatible service control script; see http://www.linuxbase.org/spec/
#
#
### BEGIN INIT INFO
# Provides: adsl
# Required-Start: $syslog $network $named
# X-UnitedLinux-Should-Start: $ALL
# Required-Stop: $syslog $remote_fs
# X-UnitedLinux-Should-Stop:
# Default-Start: 3 5
# Default-Stop:
# Description: Start ADSL over PPtP
### END INIT INFO
ADSL_BIN=/usr/sbin/pptp
test -x $ADSL_BIN || exit 5
. /etc/rc.status
rc_reset
case "$1" in
start)
echo -n "Starting ADSL"
startproc $ADSL_BIN aon
# Remember status and be verbose
rc_status -v
;;
stop)
echo -n "Shutting down ADSL"
## Stop daemon with killproc(8) and if this fails
## set echo the echo return value.
killproc -TERM $ADSL_BIN
# Remember status and be verbose
rc_status -v
;;
try-restart)
## Stop the service and if this succeeds (i.e. the
## service was running before), start it again.
$0 stop && $0 start
# Remember status and be quiet
rc_status
;;
restart)
## Stop the service and regardless of whether it was
## running or not, start it again.
$0 stop
$0 start
# Remember status and be quiet
rc_status
;;
status)
echo -n "Checking for service ADSL "
## Check status with checkproc(8), if process is running
## checkproc will return with exit status 0.
# Return value is slightly different for the status command:
# 0 - service up and running
# 1 - service dead, but /var/run/ pid file exists
# 2 - service dead, but /var/lock/ lock file exists
# 3 - service not running (unused)
# 4 - service status unknown :-(
# 5--199 reserved (5--99 LSB, 100--149 distro, 150--199 appl.)
# NOTE: checkproc returns LSB compliant status values.
checkproc $ADSL_BIN
# NOTE: rc_status knows that we called this init script with
# "status" option and adapts its messages accordingly.
rc_status -v
;;
*)
echo "Usage: $0 {start|stop|status|try-restart|restart}"
exit 1
;;
esac
rc_exit