Changeset 91e99e3 in freewrt


Ignore:
Timestamp:
Apr 21, 2007, 7:11:57 PM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
2d9a22a
Parents:
540b68c9
Message:

add pptp support for startup scripts, add option-icon package for usb modems, fix dependency of ctorrent

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@2401 afb5a338-a214-0410-bd46-81f09a774fd1

Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • docs/handbook/user/handbook.tex

    r540b68c9 r91e99e3  
    993993This way everything needed so far can be configured within the
    994994\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
     996using PPTP for authentication, instead of PPPoE, you need to install \texttt{pptp}.
     997
     998\subsubsection{DSL with PPPoE}
    998999\begin{Verbatim}
    9991000auto ppp0
    10001001iface ppp0 inet ppp
    10011002        use-template dsl
    1002         provider t-online
    1003         ppp-username 0001201234563200123456#0001@t-online.de
    1004         ppp-password fooBARfoo
     1003        provider foobar
     1004        ppp-username 0001201234563200123456#0001@bar.de
     1005        ppp-password bar
    10051006        ppp-device eth0.1
    10061007\end{Verbatim}
    10071008
    1008 Now your t-online DSL connection will be started on boot (\texttt{auto ppp0})
     1009Now your DSL connection will be started on boot (\texttt{auto ppp0})
    10091010and you can manually shut it down with \texttt{ifdown ppp0} or start it up with
    10101011\texttt{ifup ppp0}.
    10111012The template \texttt{dsl} will configure a typical PPPoE peer for you.
     1013
     1014\subsubsection{DSL with PPTP}
     1015\begin{Verbatim}
     1016auto ppp0
     1017iface 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
     1027Now your DSL connection will be started on boot (\texttt{auto ppp0})
     1028and you can manually shut it down with \texttt{ifdown ppp0} or start it up with
     1029\texttt{ifup ppp0}.
     1030The template \texttt{pptp} will configure a typical PPTP peer for you.
    10121031
    10131032\subsubsection{UMTS}
  • mk/pkg-depend.mk

    r540b68c9 r91e99e3  
    1515cbtt-compile: mysql-compile zlib-compile
    1616clinkc-compile: expat-compile
     17ctorrent-compile: uclibc++-compile
    1718cups-compile: libpthread-compile zlib-compile
    1819curl-compile: openssl-compile zlib-compile
  • package/Config.in

    r540b68c9 r91e99e3  
    326326source "package/gdbserver/Config.in"
    327327source "package/hdparm/Config.in"
     328source "package/option-icon/Config.in"
    328329source "package/pcmcia-cs/Config.in"  # pcmcia-utils
    329330source "package/usbutils/Config.in"  # lsusb
  • package/Makefile

    r540b68c9 r91e99e3  
    195195package-$(FWRT_PACKAGE_OPENSWAN) += openswan
    196196package-$(FWRT_PACKAGE_OPENVPN) += openvpn
    197 package-$(FWRT_PACKAGE_OPENVPN_WEBIF) += openvpn
     197package-$(FWRT_PACKAGE_OPTION_ICON) += option-icon
    198198package-$(FWRT_COMPILE_OSIRIS) += osiris
    199199package-$(FWRT_PACKAGE_P910ND) += p910nd
  • package/ppp/files/ppp.pre-up

    r540b68c9 r91e99e3  
    1616fi
    1717
     18if [ "$IF_PPP_MTU" -gt 0 ] ; then
     19        NETWORKOPTIONS="mtu $IF_PPP_MTU\nmru $IF_PPP_MTU"
     20fi
     21
    1822REPLACE="
    1923        s,#IDLEOPTIONS#,$IDLEOPTIONS,
     
    2125        s,#PASSWORD#,$IF_PPP_PASSWORD,
    2226        s,#DEVICE#,$IF_PPP_DEVICE,
     27        s,#MODEMIP#,$IF_PPP_MODEMIP,
     28        s,#NETWORKOPTIONS#,$NETWORKOPTIONS,
    2329"
    2430
  • package/pptp/Makefile

    r540b68c9 r91e99e3  
    99PKG_NAME:=              pptp
    1010PKG_VERSION:=           1.6.0
    11 PKG_RELEASE:=           3
     11PKG_RELEASE:=           5
    1212PKG_MD5SUM:=            9a706327fb9827541d7c86d48ceb9631
    1313
     
    2929
    3030$(IPKG_PPTP):
     31        install -d -m0755 $(IDIR_PPTP)/etc/ppp/templates
     32        install -d -m0755 $(IDIR_PPTP)/usr/sbin
    3133        install -d -m0755 $(IDIR_PPTP)/sbin
    3234        install -m0755 ./files/ifup.pptp $(IDIR_PPTP)/sbin/ifup.pptp
    33         install -d -m0755 $(IDIR_PPTP)/etc/ppp
    3435        install -m0644 ./files/options.pptp $(IDIR_PPTP)/etc/ppp/
    35         install -d -m0755 $(IDIR_PPTP)/usr/sbin
     36        install -m0644 ./files/pptp $(IDIR_PPTP)/etc/ppp/templates
    3637        install -m0755 $(WRKBUILD)/pptp $(IDIR_PPTP)/usr/sbin/
    3738        $(RSTRIP) $(IDIR_PPTP)
  • target/linux/brcm-2.4/files/etc/network/interfaces

    r540b68c9 r91e99e3  
    2020        switch-ports @FWRT_WAN_SWITCH@
    2121
    22 # WAN port: PPPoE
     22# WAN port: PPPoE, you need ppp and pppoe plugin installed
    2323#auto @FWRT_WAN@
    2424#iface @FWRT_WAN@ inet manual
     
    2929#       use-template dsl
    3030#       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
    3145#       ppp-username foo
    3246#       ppp-password bar
Note: See TracChangeset for help on using the changeset viewer.