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 iface lo inet loopback iface eth0 inet static address 192.168.1.254 masklen 24 broadcast 192.168.1.255 up pon up /etc/init.d/dnscache restart up shorewall restart down shorewall stop down /etc/init.d/dnscache stop down poff
No interface (except lo) is activated automatically. The pcmcia
package will start cardmgr through the /etc/init.d/pcmcia
script executed at boot time. The cardmgr program will then call the
/etc/pcmcia/network
script which will activate the
eth0 interface using the information from the /etc/network/interfaces
file. Here, the /etc/network/interfaces
says for
eth0:
Assign ip address 192.168.1.254/24 to the interface
Once eth0 is up, start the ppp connection through the
pon
script
Then restart dnscache, since dnscache was unable to start at boot time, eth0 being not available at that time
Then restart shorewall for the same reason
When stopping pcmcia the same command are executed in the reverse order through the down statement.
Backup the etc.lrp package.