7 This package is used to estabilish basic connection to the
8 Internet via DSL/ADSL modems. This is also known as the
9 PPPoE or PPP-over-Ethernet connection.
11 The PPPOECD program included in the OpenWrt distribution is a
12 modified version of the PPPOECD that is present in the original
15 This modified version is directly supported by the OpenWrt
21 If you have a pre-compiled PPPOECD package, skip this section.
23 PPPOECD can be built in two ways. As an integrated part
24 of the OpenWrt FLASH image or as an .ipk package that can
25 be installed separately.
27 To build PPPOECD as an embedded component, add "pppoecd" to the
28 TARGETS variable in the main OpenWrt Makefile before the
31 To build as a standalone package, add "pppoecd" to the
32 PACKAGES variable in the main OpenWrt Makefile.
37 In order for the PPPoE link to be established by the networking
38 scripts the following NVRAM variables must be present:
40 wan_ifname Should be set to: ppp0
42 wan_proto Should be set to: pppoe
44 pppoe_ifname Set it to the WAN interface on which the PPPoE
45 is to function. On a 2.0 or a GS model it is
46 usually vlan1. The 1.0 and 1.1 models used vlan2.
48 ppp_username User name for your PPPoE connection.
50 ppp_passwd Password for the connection.
52 ppp_redialperiod Time between reconnect attempts.
55 ppp_idletime Time the link has to stay dead before reconnecting.
58 wan_mtu The Maxumum Transfer Unit for the PPPoE connection.
61 Please consult the OpenWrt WIKI or the forum for more
62 information on NVRAM variables.
68 OpenWrt will attempt to connect using PPPOECD when starting up.
69 The script responsible for that is /etc/init.d/S40network.
71 You can also manually start the PPPOECD by doing:
75 Similarly you can shutdown the PPPOECD by doing:
83 PPPoE firewall configuration is the standard OpenWrt configuration
84 in /etc/init.d/S45firewall that applies to all the other types
85 of connections to the Internet.
87 Additional actions can be performed when connecting or disconnecting
88 by modifying "ip-up" and "ip-down" scripts in the /etc/ppp directory.
90 When connecting, PPPOECD creates /tmp/resolv.conf file that contains
91 DNS server entries as supplied by the ISP. The standard ip-up
92 script will also add a default route leading via the PPPoE link.
94 6. DIFFERENCES FROM THE ORIGINAL PPPOECD
95 ----------------------------------------
97 The main difference is the location of files. Original Linksys
98 PPPOECD operated almost exclusively in the /tmp/ppp directory. This
99 however prevents any persistent configuration of the program via
100 ip-up or ip-down scripts. Also the program itself was located in
101 /usr/sbin whereas OpenWrt scripts expect it to be in /sbin directory.