Magellan Linux

Annotation of /trunk/rp-pppoe/dsl-provider

Parent Directory Parent Directory | Revision Log Revision Log


Revision 306 - (hide annotations) (download)
Sun Aug 19 02:33:51 2007 UTC (16 years, 8 months ago) by niro
File size: 2236 byte(s)
-ppp provider script

1 niro 306 # $Header: /root/magellan-cvs/src/rp-pppoe/dsl-provider,v 1.1 2007-08-19 02:33:51 niro Exp $
2     #
3     # Configuration file for PPP, using PPP over Ethernet
4     # to connect to a DSL provider.
5     #
6     # See the manual page pppd(8) for information on all the options.
7    
8     ##
9     # Section 1
10     #
11     # Stuff to configure...
12    
13     # MUST CHANGE: Uncomment the following line, replacing the user@provider.net
14     # by the DSL user name given to your by your DSL provider.
15     # (There should be a matching entry in /etc/ppp/pap-secrets with the password.)
16     #user myusername@myprovider.net
17    
18     # Use the pppoe program to send the ppp packets over the Ethernet link
19     # This line should work fine if this computer is the only one accessing
20     # the Internet through this DSL connection. This is the right line to use
21     # for most people.
22     pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1452"
23    
24     # An even more conservative version of the previous line, if things
25     # don't work using -m 1452...
26     #pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1412"
27    
28     # If the computer connected to the Internet using pppoe is not being used
29     # by other computers as a gateway to the Internet, you can try the following
30     # line instead, for a small gain in speed:
31     #pty "/usr/sbin/pppoe -I eth0 -T 80"
32    
33    
34     # The following two options should work fine for most DSL users.
35    
36     # Assumes that your IP address is allocated dynamically
37     # by your DSL provider...
38     noipdefault
39     # Try to get the name server addresses from the ISP.
40     usepeerdns
41     # Use this connection as the default route.
42     # Comment out if you already have the correct default route installed.
43     defaultroute
44    
45     ##
46     # Section 2
47     #
48     # Uncomment if your DSL provider charges by minute connected
49     # and you want to use demand-dialing.
50     #
51     # Disconnect after 300 seconds (5 minutes) of idle time.
52    
53     #demand
54     #idle 300
55    
56     ##
57     # Section 3
58     #
59     # You shouldn't need to change these options...
60    
61     hide-password
62     lcp-echo-interval 20
63     lcp-echo-failure 3
64     # Override any connect script that may have been set in /etc/ppp/options.
65     connect /bin/true
66     noauth
67     persist
68     mtu 1492
69    
70     # RFC 2516, paragraph 7 mandates that the following options MUST NOT be
71     # requested and MUST be rejected if requested by the peer:
72     # Address-and-Control-Field-Compression (ACFC)
73     noaccomp
74     # Asynchronous-Control-Character-Map (ACCM)
75     default-asyncmap
76