diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-08-24 23:50:14 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-08-24 23:50:14 +0000 |
commit | 097635b79bc6ddd6066a8369db6e298a25daa96e (patch) | |
tree | db8218863c9124ae287832ccd846ad4d96c2e05e /obsolete-buildroot/sources/openwrt/ipkg/pptp-server | |
parent | 54da0f9e4ba892d2613d4f0d0c4bf4eecdcfd0a4 (diff) |
massive changes
- sstrip cleanup from mjn3
- various patches from nico and others: http://openwrt.org/forum/viewtopic.php?t=368
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@145 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'obsolete-buildroot/sources/openwrt/ipkg/pptp-server')
5 files changed, 61 insertions, 0 deletions
diff --git a/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/CONTROL/conffiles b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/CONTROL/conffiles new file mode 100644 index 0000000000..34a387ba43 --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/CONTROL/conffiles @@ -0,0 +1,2 @@ +/etc/ppp/pptp-server-options +/etc/pptpd.conf diff --git a/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/CONTROL/control b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/CONTROL/control new file mode 100644 index 0000000000..8cb012e141 --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/CONTROL/control @@ -0,0 +1,9 @@ +Package: pptp-server +Priority: optional +Section: net +Version: TBDL +Architecture: TBDL +Maintainer: Nico <nthill@free.fr> +Source: http://openwrt.org/cgi-bin/viewcvs.cgi/buildroot/ +Description: a Point-to-Point Tunneling Protocol (PPTP) server +Depends: ppp diff --git a/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/init.d/pptp-server b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/init.d/pptp-server new file mode 100644 index 0000000000..3015c66aeb --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/init.d/pptp-server @@ -0,0 +1,18 @@ +#!/bin/sh + +case $1 in + start) + insmod ppp_async >/dev/null 2>&1 + insmod ppp_mppe_mppc >/dev/null 2>&1 + [ -d /var/run ] || mkdir -p /var/run + /usr/sbin/pptpd + ;; + stop) + [ -f /var/run/pptpd.pid ] && kill $(cat /var/run/pptpd.pid) >/dev/null 2>&1 + ;; + *) + echo "usage: $0 (start|stop)" + exit 1 +esac + +exit $? diff --git a/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/ppp/pptp-server-options b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/ppp/pptp-server-options new file mode 100644 index 0000000000..cca8027dbb --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/ppp/pptp-server-options @@ -0,0 +1,27 @@ +#debug +#logfile /tmp/pptp-server.log +172.16.1.1: +auth +name "pptp-server" +lcp-echo-failure 3 +lcp-echo-interval 60 +default-asyncmap +mtu 1482 +mru 1482 +nobsdcomp +nodeflate +#noproxyarp +#nomppc +nomppe-40 +nomppe-56 +nomppe-stateful +require-mppe +require-mppe-128 +require-mschap-v2 +refuse-chap +refuse-mschap +refuse-eap +refuse-pap +#ms-dns 172.16.1.1 +#plugin radius.so +#radius-config-file /etc/radius.conf diff --git a/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/pptpd.conf b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/pptpd.conf new file mode 100644 index 0000000000..e9ac115c79 --- /dev/null +++ b/obsolete-buildroot/sources/openwrt/ipkg/pptp-server/root/etc/pptpd.conf @@ -0,0 +1,5 @@ +#debug +option /etc/ppp/pptp-server-options +speed 115200 +stimeout 10 +#localip & remoteip are not needed, ip management is done by pppd |