Changeset 91e99e3 in freewrt
- Timestamp:
- Apr 21, 2007, 7:11:57 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- 2d9a22a
- Parents:
- 540b68c9
- Files:
-
- 1 added
- 7 edited
-
docs/handbook/user/handbook.tex (modified) (1 diff)
-
mk/pkg-depend.mk (modified) (1 diff)
-
package/Config.in (modified) (1 diff)
-
package/Makefile (modified) (1 diff)
-
package/ppp/files/ppp.pre-up (modified) (2 diffs)
-
package/pptp/Makefile (modified) (2 diffs)
-
package/pptp/files/pptp (added)
-
target/linux/brcm-2.4/files/etc/network/interfaces (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
docs/handbook/user/handbook.tex
r540b68c9 r91e99e3 993 993 This way everything needed so far can be configured within the 994 994 \texttt{interfaces} file. Be sure you have installed the packages 995 \texttt{kmod-ppp}, \texttt{ppp} and \texttt{ppp-mod-pppoe}. 996 997 \subsubsection{DSL} 995 \texttt{kmod-ppp}, \texttt{ppp} and \texttt{ppp-mod-pppoe}. For providers 996 using PPTP for authentication, instead of PPPoE, you need to install \texttt{pptp}. 997 998 \subsubsection{DSL with PPPoE} 998 999 \begin{Verbatim} 999 1000 auto ppp0 1000 1001 iface ppp0 inet ppp 1001 1002 use-template dsl 1002 provider t-online1003 ppp-username 0001201234563200123456#0001@ t-online.de1004 ppp-password fooBARfoo1003 provider foobar 1004 ppp-username 0001201234563200123456#0001@bar.de 1005 ppp-password bar 1005 1006 ppp-device eth0.1 1006 1007 \end{Verbatim} 1007 1008 1008 Now your t-onlineDSL connection will be started on boot (\texttt{auto ppp0})1009 Now your DSL connection will be started on boot (\texttt{auto ppp0}) 1009 1010 and you can manually shut it down with \texttt{ifdown ppp0} or start it up with 1010 1011 \texttt{ifup ppp0}. 1011 1012 The template \texttt{dsl} will configure a typical PPPoE peer for you. 1013 1014 \subsubsection{DSL with PPTP} 1015 \begin{Verbatim} 1016 auto ppp0 1017 iface ppp0 inet ppp 1018 use-template pptp 1019 provider foobar 1020 ppp-username foo 1021 ppp-password bar 1022 ppp-modemip 10.0.0.1 1023 ppp-mtu 1480 1024 ppp-device eth0.1 1025 \end{Verbatim} 1026 1027 Now your DSL connection will be started on boot (\texttt{auto ppp0}) 1028 and you can manually shut it down with \texttt{ifdown ppp0} or start it up with 1029 \texttt{ifup ppp0}. 1030 The template \texttt{pptp} will configure a typical PPTP peer for you. 1012 1031 1013 1032 \subsubsection{UMTS} -
mk/pkg-depend.mk
r540b68c9 r91e99e3 15 15 cbtt-compile: mysql-compile zlib-compile 16 16 clinkc-compile: expat-compile 17 ctorrent-compile: uclibc++-compile 17 18 cups-compile: libpthread-compile zlib-compile 18 19 curl-compile: openssl-compile zlib-compile -
package/Config.in
r540b68c9 r91e99e3 326 326 source "package/gdbserver/Config.in" 327 327 source "package/hdparm/Config.in" 328 source "package/option-icon/Config.in" 328 329 source "package/pcmcia-cs/Config.in" # pcmcia-utils 329 330 source "package/usbutils/Config.in" # lsusb -
package/Makefile
r540b68c9 r91e99e3 195 195 package-$(FWRT_PACKAGE_OPENSWAN) += openswan 196 196 package-$(FWRT_PACKAGE_OPENVPN) += openvpn 197 package-$(FWRT_PACKAGE_OP ENVPN_WEBIF) += openvpn197 package-$(FWRT_PACKAGE_OPTION_ICON) += option-icon 198 198 package-$(FWRT_COMPILE_OSIRIS) += osiris 199 199 package-$(FWRT_PACKAGE_P910ND) += p910nd -
package/ppp/files/ppp.pre-up
r540b68c9 r91e99e3 16 16 fi 17 17 18 if [ "$IF_PPP_MTU" -gt 0 ] ; then 19 NETWORKOPTIONS="mtu $IF_PPP_MTU\nmru $IF_PPP_MTU" 20 fi 21 18 22 REPLACE=" 19 23 s,#IDLEOPTIONS#,$IDLEOPTIONS, … … 21 25 s,#PASSWORD#,$IF_PPP_PASSWORD, 22 26 s,#DEVICE#,$IF_PPP_DEVICE, 27 s,#MODEMIP#,$IF_PPP_MODEMIP, 28 s,#NETWORKOPTIONS#,$NETWORKOPTIONS, 23 29 " 24 30 -
package/pptp/Makefile
r540b68c9 r91e99e3 9 9 PKG_NAME:= pptp 10 10 PKG_VERSION:= 1.6.0 11 PKG_RELEASE:= 311 PKG_RELEASE:= 5 12 12 PKG_MD5SUM:= 9a706327fb9827541d7c86d48ceb9631 13 13 … … 29 29 30 30 $(IPKG_PPTP): 31 install -d -m0755 $(IDIR_PPTP)/etc/ppp/templates 32 install -d -m0755 $(IDIR_PPTP)/usr/sbin 31 33 install -d -m0755 $(IDIR_PPTP)/sbin 32 34 install -m0755 ./files/ifup.pptp $(IDIR_PPTP)/sbin/ifup.pptp 33 install -d -m0755 $(IDIR_PPTP)/etc/ppp34 35 install -m0644 ./files/options.pptp $(IDIR_PPTP)/etc/ppp/ 35 install - d -m0755 $(IDIR_PPTP)/usr/sbin36 install -m0644 ./files/pptp $(IDIR_PPTP)/etc/ppp/templates 36 37 install -m0755 $(WRKBUILD)/pptp $(IDIR_PPTP)/usr/sbin/ 37 38 $(RSTRIP) $(IDIR_PPTP) -
target/linux/brcm-2.4/files/etc/network/interfaces
r540b68c9 r91e99e3 20 20 switch-ports @FWRT_WAN_SWITCH@ 21 21 22 # WAN port: PPPoE 22 # WAN port: PPPoE, you need ppp and pppoe plugin installed 23 23 #auto @FWRT_WAN@ 24 24 #iface @FWRT_WAN@ inet manual … … 29 29 # use-template dsl 30 30 # provider dsl 31 # ppp-username foo 32 # ppp-password bar 33 # ppp-device @FWRT_WAN@ 34 # 35 # WAN port: PPTP, you need pptp installed 36 #auto @FWRT_WAN@ 37 #iface @FWRT_WAN@ inet manual 38 # switch-ports @FWRT_WAN_SWITCH@ 39 # 40 #auto ppp0 41 #iface ppp0 inet ppp 42 # use-template pptp 43 # provider dsl 44 # ppp-modemip 10.0.0.1 31 45 # ppp-username foo 32 46 # ppp-password bar
Note:
See TracChangeset
for help on using the changeset viewer.
