Daniele Moro | c3aa653 | 2019-11-18 16:24:31 -0800 | [diff] [blame] | 1 | # Copyright 2019-present Open Networking Foundation |
| 2 | # |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | |
| 5 | # Configuration file for PPP, using PPP over Ethernet |
| 6 | # See the manual page pppd(8) for information on all the options. |
| 7 | |
| 8 | # Use the pppoe program to send the ppp packets over the Ethernet link |
| 9 | # This line should work fine if this computer is the only one accessing |
| 10 | # the Internet through this DSL connection. This is the right line to use |
| 11 | # for most people. |
| 12 | pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1452" |
| 13 | |
| 14 | # Assumes that your IP address is allocated dynamically |
| 15 | # by your DSL provider... |
| 16 | noipdefault |
| 17 | |
| 18 | # Use this connection as the default route. |
| 19 | # Comment out if you already have the correct default route installed. |
| 20 | defaultroute |
| 21 | |
| 22 | # Override any connect script that may have been set in /etc/ppp/options. |
| 23 | connect /bin/true |
| 24 | noauth |
| 25 | persist |
| 26 | mtu 1492 |
| 27 | |
| 28 | # RFC 2516, paragraph 7 mandates that the following options MUST NOT be |
| 29 | # requested and MUST be rejected if requested by the peer: |
| 30 | # Address-and-Control-Field-Compression (ACFC) |
| 31 | noaccomp |
| 32 | # Asynchronous-Control-Character-Map (ACCM) |
| 33 | default-asyncmap |
| 34 | |
| 35 | hide-password |
| 36 | lcp-echo-interval 20 |
| 37 | lcp-echo-failure 3 |
| 38 | |
| 39 | plugin rp-pppoe.so |
| 40 | nic-veth1 |
| 41 | nomagic |
| 42 | |
| 43 | user SEBA |
| 44 | password rocks |