Trough the LEAF configuration menu type 1 to access to the network
configuration menu and 1 again to edit your /etc/network/interfaces
file. Enter the following information:
auto lo ppp0 eth1 iface lo inet loopback iface ppp0 inet ppp pre-up ip link set eth0 up provider dsl-provider eth0 iface eth1 inet static address 192.168.1.254 masklen 24 broadcast 192.168.1.255
In this /etc/network/interfaces
file the lo,
ppp0 and eth1 interfaces are brought up automatically when the
ifup -a statement is executed at boot time by the
/etc/init.d/networking
script.
The "iface ppp0 inet ppp" says:
Execute the "ip link set eth0 up" command BEFORE ppp0 is activated (pre-up statement)
Execute the /sbin/pon dsl-provider eth0
script to establish the PPPoE connection. The dsl-provider
file used as input by /sbin/pon
is provided in
the pppoe.lrp package.
The "iface eth1 inet static" defines the internal address of the router.
Backup the etc.lrp package.