Update of /cvsroot/leaf/doc/guide/user-bering-uclibc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9582
Modified Files: bucu-ppp.xml Log Message: minor corrections Index: bucu-ppp.xml =================================================================== RCS file: /cvsroot/leaf/doc/guide/user-bering-uclibc/bucu-ppp.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** bucu-ppp.xml 4 May 2004 20:03:17 -0000 1.13 --- bucu-ppp.xml 6 Jun 2004 22:25:06 -0000 1.14 *************** *** 25,29 **** <revhistory> - <revision> <revnumber>0.4</revnumber> --- 25,28 ---- *************** *** 78,87 **** the configuration of this dial-up modem router. Your external interface (to the internet) will be ppp0, your internal interface (to your internal ! network) is supposed to be done through an ethernet network card ! (eth0).</para> ! <para>The <ulink ! url="http://en.tldp.org/HOWTO/PPP-HOWTO/index.html">PPP-Howto</ulink> is a ! useful reference for this section.</para> <para>Comments on this section should be addressed to its maintainer: Eric --- 77,84 ---- the configuration of this dial-up modem router. Your external interface (to the internet) will be ppp0, your internal interface (to your internal ! network) is supposed to be done through an ethernet network card (eth0).</para> ! <para>The <ulink url="http://en.tldp.org/HOWTO/PPP-HOWTO/index.html">PPP-Howto</ulink> ! is a useful reference for this section.</para> <para>Comments on this section should be addressed to its maintainer: Eric *************** *** 103,111 **** <para>Boot a Bering-uClibc floppy image. Once the LEAF menu appears get ! access to the linux shell by (q)uitting the menu. Edit the <filename>lrpkg.cfg</filename> ! (pre Bering-uClibc-2.2.0) or <filename>leaf.cfg</filename> (Bering-uClibc-2.2.0 onwards) ! file and replace the dhcpcd entry by ppp in the list of packages to be loaded at boot. ! Check the Bering <ulink url="http://leaf.sourceforge.net/doc/guide/buci-install.html">installation guide</ulink> ! to learn how to do that.</para> </section> --- 100,110 ---- <para>Boot a Bering-uClibc floppy image. Once the LEAF menu appears get ! access to the linux shell by (q)uitting the menu. Edit the ! <filename>lrpkg.cfg</filename> (pre Bering-uClibc-2.2.0) or ! <filename>leaf.cfg</filename> (Bering-uClibc-2.2.0 onwards) file and ! replace the dhcpcd entry by ppp in the list of packages to be loaded at ! boot. Check the Bering-uClibc <ulink ! url="http://leaf.sourceforge.net/doc/guide/buci-lrpkg.html">Installation ! Guide</ulink> to learn how to do that.</para> </section> *************** *** 120,126 **** <para>To configure your modules, go to the LEAF Packages configuration ! menu and choose modules. Enter 1) to edit the ! <filename>/etc/modules</filename> file and enter the following ! information:</para> <screen> --- 119,124 ---- <para>To configure your modules, go to the LEAF Packages configuration ! menu and choose modules. Enter 1) to edit the <filename>/etc/modules</filename> ! file and enter the following information:</para> <screen> *************** *** 135,144 **** ppp_deflate ! # Masquerading 'helper' modules ip_conntrack_ftp ip_conntrack_irc ip_nat_ftp ! ip_nat_irc ! </screen> <important> --- 133,141 ---- ppp_deflate ! # Masquerading 'helper' modules ip_conntrack_ftp ip_conntrack_irc ip_nat_ftp ! ip_nat_irc</screen> <important> *************** *** 173,178 **** q) quit ---------------------------------------------------------------------------- ! Selection: ! </screen> <para>Entry 1) allows you to adjust the parameter of your ppp connection --- 170,174 ---- q) quit ---------------------------------------------------------------------------- ! Selection:</screen> <para>Entry 1) allows you to adjust the parameter of your ppp connection *************** *** 203,218 **** defaultroute # ppp becomes default route to the internet noipdefault ! lock # don't let other processes besides PPP use the device ! connect "/usr/sbin/chat -v -f /etc/chatscripts/provider" ! </screen> <para>If you plan to dial into a Windows RAS server or a server that uses PAP or CHAP authentication, you need to add a line to this file. Just ! above the "connect" command, on a line of its own, add:</para> <screen> name your_ISP_login ! connect "/usr/sbin/chat -v -f /etc/chatscripts/provider" ! </screen> <para>You need this because ppp has to masquerade the firewall as you when --- 199,212 ---- defaultroute # ppp becomes default route to the internet noipdefault ! lock # don't let other processes besides PPP use the device ! connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"</screen> <para>If you plan to dial into a Windows RAS server or a server that uses PAP or CHAP authentication, you need to add a line to this file. Just ! above the "connect" command, on a line of its own, add:</para> <screen> name your_ISP_login ! connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"</screen> <para>You need this because ppp has to masquerade the firewall as you when *************** *** 229,258 **** # What follows is OK for Compuserve # Adjust to your taste ! ABORT "BUSY" ! ABORT "NO CARRIER" ! ABORT "VOICE" ! ABORT "NO DIALTONE" ! ABORT "NO ANSWER" ! "" ATZ # ISP telephone number: 124567890 OK ATDT1234567890# ! CONNECT '' Name: CIS # With compuserve your_login_account=12345,6789 ID: your_login_account/go:pppconnect Password: your_password ! PPP ! </screen> <para>If you are not using Compuserve you should also delete all of the ! lines below the <CONNECT ''> line. A few - very few - ISPs require ! the final "PPP" line these days.</para> ! <para>Edit Entry 3) - /etc/ppp/options "System-wide pppd options" if you ! want the system to demand dial and to drop the line if idle for a preset ! time. To do this, change "persist" to "demand" and add another line below ! "demand" that says "idle 600", where 600 is the number of seconds the ! system should wait before dropping hanging up if there is no network ! traffic.</para> <para>Edit either the PAP (Entry 4) or CHAP (Entry 5) option to set up how --- 223,251 ---- # What follows is OK for Compuserve # Adjust to your taste ! ABORT "BUSY" ! ABORT "NO CARRIER" ! ABORT "VOICE" ! ABORT "NO DIALTONE" ! ABORT "NO ANSWER" ! "" ATZ # ISP telephone number: 124567890 OK ATDT1234567890# ! CONNECT '' Name: CIS # With compuserve your_login_account=12345,6789 ID: your_login_account/go:pppconnect Password: your_password ! PPP</screen> <para>If you are not using Compuserve you should also delete all of the ! lines below the <CONNECT ''> line. A few - very few - ISPs ! require the final "PPP" line these days.</para> ! <para>Edit Entry 3) - /etc/ppp/options "System-wide pppd options" ! if you want the system to demand dial and to drop the line if idle for a ! preset time. To do this, change "persist" to "demand" and ! add another line below "demand" that says "idle 600", ! where 600 is the number of seconds the system should wait before dropping ! hanging up if there is no network traffic.</para> <para>Edit either the PAP (Entry 4) or CHAP (Entry 5) option to set up how *************** *** 267,275 **** # Secrets for authentication using PAP # client server secret IP addresses ! your_ISP_login * your_password ! </screen> ! <para>The "*" can be replaced with the IP address or name of the server ! you are dialling into if you know it. Usually, an asterisk is sufficient.</para> --- 260,267 ---- # Secrets for authentication using PAP # client server secret IP addresses ! your_ISP_login * your_password</screen> ! <para>The "*" can be replaced with the IP address or name of the ! server you are dialling into if you know it. Usually, an asterisk is sufficient.</para> *************** *** 287,293 **** <para>Trough the LEAF configuration menu type 1 to access to the network ! configuration menu and 1 again to edit your ! <filename>/etc/network/interfaces</filename> file. Enter the following ! information:</para> <screen> --- 279,284 ---- <para>Trough the LEAF configuration menu type 1 to access to the network ! configuration menu and 1 again to edit your <filename>/etc/network/interfaces</filename> ! file. Enter the following information:</para> <screen> *************** *** 302,315 **** address 192.168.1.254 netmask 255.255.255.0 ! broadcast 192.168.1.255 ! </screen> ! <para>The "auto" statement declares all the interfaces that will be ! automatically set up at boot time. This job will be carried out by the ! "ifup -a" statement in the <filename>/etc/init.d/networking</filename> script.</para> ! <para>The syntax of "iface" statements is explained in the Bering-uclibc's ! installation guide.</para> <para>Backup the etc.lrp package.</para> --- 293,305 ---- address 192.168.1.254 netmask 255.255.255.0 ! broadcast 192.168.1.255</screen> ! <para>The "auto" statement declares all the interfaces that will ! be automatically set up at boot time. This job will be carried out by the ! "ifup -a" statement in the <filename>/etc/init.d/networking</filename> script.</para> ! <para>The syntax of "iface" statements is explained in the ! Bering-uclibc's installation guide.</para> <para>Backup the etc.lrp package.</para> *************** *** 331,340 **** net ppp0 - loc eth0 detect routestopped ! #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE ! </screen> <warning> ! <para>Do not forget the "-" under the BROADCAST heading for the net/ppp0 ! entry.</para> </warning> --- 321,329 ---- net ppp0 - loc eth0 detect routestopped ! #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE</screen> <warning> ! <para>Do not forget the "-" under the BROADCAST heading for the ! net/ppp0 entry.</para> </warning> *************** *** 346,351 **** #INTERFACE SUBNET ppp0 eth0 ! #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE ! </screen> <para>Backup the shorwall.lrp package.</para> --- 335,339 ---- #INTERFACE SUBNET ppp0 eth0 ! #LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE</screen> <para>Backup the shorwall.lrp package.</para> *************** *** 360,364 **** <para>Go back to the option 1) of the ppp configuration file menu to edit the <filename>/etc/ppp/peers/provider</filename> file and add the ! following options after the "baud rate" entry:</para> <screen> --- 348,352 ---- <para>Go back to the option 1) of the ppp configuration file menu to edit the <filename>/etc/ppp/peers/provider</filename> file and add the ! following options after the "baud rate" entry:</para> <screen> *************** *** 367,372 **** persist holdoff 10 ! (...) ! </screen> <para>backup the ppp.lrp package.</para> --- 355,359 ---- persist holdoff 10 ! (...)</screen> <para>backup the ppp.lrp package.</para> *************** *** 384,390 **** <para>If you want to be sure that your modem and/or script parameters are OK before backing up ppp.lrp, you can launch the connection manually ! just by typing <emphasis>pon</emphasis>. Use the ! <emphasis>plog</emphasis> command to see how the connection is going and ! <emphasis>poff</emphasis> to close down your ppp connection.</para> </tip> </section> --- 371,377 ---- <para>If you want to be sure that your modem and/or script parameters are OK before backing up ppp.lrp, you can launch the connection manually ! just by typing <emphasis>pon</emphasis>. Use the <emphasis>plog</emphasis> ! command to see how the connection is going and <emphasis>poff</emphasis> ! to close down your ppp connection.</para> </tip> </section> *************** *** 394,409 **** <para>ppp-filter.lrp needs to be renamed to ppp.lrp before use and uses ! libpcap.lrp (which also needs to be loaded in lrpkg.cfg). The filter ! version can be used to specify a packet filter to be applied to data ! packets to determine which packets are to be regarded as link activity, ! and therefore reset the idle timer, or cause the link to be brought down ! in demand-dialing mode. The configuration (except for the filter-part) is ! done like the ppp package.</para> ! <para>You can enable active filtering by setting (from the pppd ! man-page):</para> ! <para><computeroutput>active-filter ! filter-expression</computeroutput></para> <para>This option is useful in conjunction with the idle option if there --- 381,394 ---- <para>ppp-filter.lrp needs to be renamed to ppp.lrp before use and uses ! libpcap.lrp (which also needs to be loaded in <filename>lrpkg.cfg/leaf.cfg</filename>). ! The filter version can be used to specify a packet filter to be applied to ! data packets to determine which packets are to be regarded as link ! activity, and therefore reset the idle timer, or cause the link to be ! brought down in demand-dialing mode. The configuration (except for the ! filter-part) is done like the ppp package.</para> ! <para>You can enable active filtering by setting (from the pppd man-page):</para> ! <para><computeroutput>active-filter filter-expression</computeroutput></para> <para>This option is useful in conjunction with the idle option if there ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Leaf-cvs-commits mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits