<HTML>fĂĽr redhatbasierende systeme kannst du auch das folgende script verwenden:
<small><b><pre>
#!/bin/bash
#
# xdsl           Starts xDSL connection over PPTP.
#
# (c) 2001 by Manuel Capellari <manuel.capellari@gnustuff.com>
#
# chkconfig: 2345 98 98
# description: this script starts an xDSL connection over a \
# pptp tunnel, it is based on RedHat Linux 7.1 functions library,\
# the script won't run on all linux distributions.
# Source function library.
. /etc/init.d/functions
MYSELF="xdsl"			# what's my name ?
PPPDEV="ppp0"			# this is the device we like
PPTPIP="10.0.0.138"		# ip address of the xDSL modem
PPTPCMD="/usr/sbin/pptp"	# where is the command pptp located ?
start() {
 	echo -n $"Starting xDSL: "
	[ -e /var/run/pptp/$PPTPIP ] && rm -rf /var/run/pptp/$PPTPIP # deleting device state if existing
	ping -c 3 $PPTPIP 2>&1 > /dev/null || echo -e "Layer 7 problem: no connection check ANT" \\a |tee /dev/ttyS0 /dev/ttyS1 /dev/tty2
	daemon $PPTPCMD $PPTPIP # call pptp to start the connection
	RETVAL=$?
	echo
	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/adsl
	return $RETVAL
}	
stop() {
	echo -n $"Shutting down xDSL: "
	killproc pppd	# yeah killem all baby
	killproc pptp	# feels like doom 
	RETVAL=$?
	echo
	[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/adsl ; rm -f /var/run/pptp/$PPTPIP
	return $RETVAL
}
restart() {
	stop
	start
}	
case "$1" in
  start)	# starts the script
  	start
	exec /etc/init.d/$MYSELF rawip
	;;
  stop)		# stops the script
  	stop
	;;
  restart)	# restarts the script
  	restart
	;;
  install)	# installs the script
	/sbin/chkconfig --add $MYSELF &&
	echo "xDSL over PPTP has been installed"
	;;
  uninstall)	# uninstalls the script
	/sbin/chkconfig --del $MYSELF &&
	echo "xDSL over PPTP has been uninstalled"
	;;
  status)	# prints process information of pptp and pppd
	status pptp
 	status pppd
	;;
  info)		# shows status information of the device
	/sbin/ifconfig $PPPDEV
  	;;
  rawip)	# shows raw IP address without foobar
	PPPIP=`/sbin/ifconfig $PPPDEV | { read; read -a A; echo ${A[1]#*:}; }` 
	echo $PPPIP
  	;;
  *)	# print some information
	echo $"Usage: $0 {start|stop|status|info|rawip|restart}"
	exit 1
esac
exit $?
</small></b></pre>
hab ich vor einiger zeit mal gebastelt, hat zwar einen kosmetischen fehler funktioniert aber tadellos</HTML>