Through the LEAF packages configuration menu get access to eagle configuration. The following menu will show-up:
eagle configuration files 1) adiusbadsl configuration file 2) eagle ppp configuration file 3) startadsl script (expert only) 4) stopadsl script (expert only) q) quit ---------------------------------------------------------------------------- Selection:
Enter 1) to check your connection parameters:
# Options are set whith the following syntax: # # Name = Value # # where "Name" is the option name, and # "Value" is the option value, specified # in hexadecimal (without any prefix). # Option names are case sensitive. # Options that are commented out are specified # with their default values. # # Other than VPI, VCI and Encapsulation, # I really don't known what these options mean. #POTS FOR EAGLE OPTN0=80020066 # OPTN2=23700000 # OPTN3=00000000 OPTN4=00000000 # OPTN5=00000000 # OPTN6=00000000 # OPTN7=02CD8044 # OPTN15=09090909 VPI=00000008 define here the VPI parameter (country specific) VCI=00000023 define here the VCI parameter (country specific) #The following values are valid for encapsulation : #MPOA_MODE_BRIDGED_ETH_LLC ----> 1 #MPOA_MODE_BRIDGED_ETH_VC ----> 2 #MPOA_MODE_ROUTED_IP_LLC ----> 3 #MPOA_MODE_ROUTED_IP_VC ----> 4 #MPOA_MODE_PPPOA_LLC ----> 5 #MPOA_MODE_PPPOA_VC ----> 6 Encapsulation=00000006 define here the protocol to be used (default=PPPoA/VC) Linetype=00000001 RatePollFreq=00000009
Enter 2) and adjust the corresponding /etc/ppp/peers/eagle
file:
user "your_login_here" # the following two statements can be commented out once everything is working OK debug kdebug 1 # the following statement can be uncommented if you do not use dsncache #usepeerdns noipdefault defaultroute mru 1492 mtu 1492 pty "/usr/sbin/pppoa -I $(/usr/sbin/adictrl -i)" noauth nobsdcomp nodeflate nopcomp novj novjccomp noaccomp -am persist
The most important parameter in this file is your ISP "user" parameter. The other parameters might need to be adjusted depending on your ISP.
Once your parameters are correct, save the eagle.lrp package!
Then move to the ppp configuration menu:
ppp configuration files 1) ISP pppd options 2) ISP login script 3) System wide pppd options 4) chap secret 5) pap secret 6) pppd daemon script q) quit ---------------------------------------------------------------------------- Selection:
Edit the pppd options file (entry 3) and remove any existing statement. This file should be empty.
Edit either the chap (Entry 4) or pap (Entry 5) option to set up how your system authenticates. If you edit chap, replace #ISPUserID and ISPUserPassword this the relevant information.
# Secrets for authentication using CHAP # client server secret IP addresses #ISPUserID * ISPUserPassword
ISPUserID must exactly match the entry that you made for the user
parameter in the /etc/ppp/peers/eagle
file. The
"*" can be replaced with the IP address or name of the server you
are dialling into if you know it. Usually, an asterisk is sufficient.
If you want to authenticate using PAP, add the same entry to the PAP item instead.
Backup the ppp.lrp package.