mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 00:04:05 +02:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14882 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e71cc700d6
commit
474e65cbab
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=ppp
|
PKG_NAME:=ppp
|
||||||
PKG_VERSION:=2.4.3
|
PKG_VERSION:=2.4.3
|
||||||
PKG_RELEASE:=10
|
PKG_RELEASE:=11
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
|
PKG_SOURCE_URL:=ftp://ftp.samba.org/pub/ppp/
|
||||||
|
@ -77,7 +77,7 @@ setup_interface_ppp() {
|
|||||||
|
|
||||||
config_get device "$config" device
|
config_get device "$config" device
|
||||||
|
|
||||||
config_get mtu "$cfg" mtu
|
config_get mtu "$config" mtu
|
||||||
mtu=${mtu:-1492}
|
mtu=${mtu:-1492}
|
||||||
start_pppd "$config" \
|
start_pppd "$config" \
|
||||||
mtu $mtu mru $mtu \
|
mtu $mtu mru $mtu \
|
||||||
|
@ -20,7 +20,7 @@ setup_interface_pppoa() {
|
|||||||
*) ENCAPS="llc-encaps" ;;
|
*) ENCAPS="llc-encaps" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
config_get mtu "$cfg" mtu
|
config_get mtu "$config" mtu
|
||||||
mtu=${mtu:-1500}
|
mtu=${mtu:-1500}
|
||||||
start_pppd "$config" \
|
start_pppd "$config" \
|
||||||
plugin pppoatm.so ${vpi:-8}.${vci:-35} ${ENCAPS} \
|
plugin pppoatm.so ${vpi:-8}.${vci:-35} ${ENCAPS} \
|
||||||
|
@ -15,7 +15,7 @@ setup_interface_pppoe() {
|
|||||||
config_get ifname "$config" ifname
|
config_get ifname "$config" ifname
|
||||||
set_interface_ifname "$config" "$ifname"
|
set_interface_ifname "$config" "$ifname"
|
||||||
|
|
||||||
config_get mtu "$cfg" mtu
|
config_get mtu "$config" mtu
|
||||||
mtu=${mtu:-1492}
|
mtu=${mtu:-1492}
|
||||||
start_pppd "$config" \
|
start_pppd "$config" \
|
||||||
plugin rp-pppoe.so \
|
plugin rp-pppoe.so \
|
||||||
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=pptp
|
PKG_NAME:=pptp
|
||||||
PKG_VERSION:=1.6.0
|
PKG_VERSION:=1.6.0
|
||||||
PKG_RELEASE:=5
|
PKG_RELEASE:=6
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/pptpclient
|
PKG_SOURCE_URL:=@SF/pptpclient
|
||||||
|
@ -13,7 +13,7 @@ setup_interface_pptp() {
|
|||||||
|
|
||||||
config_get device "$config" device
|
config_get device "$config" device
|
||||||
config_get ipproto "$config" ipproto
|
config_get ipproto "$config" ipproto
|
||||||
config_get server "$cfg" server
|
config_get server "$config" server
|
||||||
|
|
||||||
for module in slhc ppp_generic ppp_async ip_gre; do
|
for module in slhc ppp_generic ppp_async ip_gre; do
|
||||||
/sbin/insmod $module 2>&- >&-
|
/sbin/insmod $module 2>&- >&-
|
||||||
@ -36,7 +36,7 @@ setup_interface_pptp() {
|
|||||||
config_get ifname "$config" ifname
|
config_get ifname "$config" ifname
|
||||||
uci_set_state network "$config" ifname "$ifname"
|
uci_set_state network "$config" ifname "$ifname"
|
||||||
|
|
||||||
config_get mtu "$cfg" mtu
|
config_get mtu "$configg" mtu
|
||||||
mtu=${mtu:-1452}
|
mtu=${mtu:-1452}
|
||||||
start_pppd "$config" \
|
start_pppd "$config" \
|
||||||
pty "/usr/sbin/pptp $server --loglevel 0 --nolaunchpppd" \
|
pty "/usr/sbin/pptp $server --loglevel 0 --nolaunchpppd" \
|
||||||
|
Loading…
Reference in New Issue
Block a user