From: "Mikael Bak" Subject: PPP dial on demand HOW-TO (1.0.12.3) Newsgroups: floppyfw.general Date: Wed, 29 May 2002 11:31:42 +0200 Organization: Hyssing.net Changes to floppyfw 1.0.12.3-pppoe image for use with dial on demand ppp (modem / ISDN). Changes you have to make in /config: Change OUTSIDE_DEV variable OUTSIDE_DEV=ppp0 Set user name and password for your dial up account: USER_IDENT= USER_PASSWORD= Change INSIDE_DEV variable INSIDE_DEV=eth0 You must set name servers. Use your ISP's name servers. NAME_SERVER_IP1= NAME_SERVER_IP2= Changes you have to make in /packages/ppp-up.ini: Change CONNECT_TYPE variable CONNECT_TYPE=PPP If you're using a fast modem (such as ISDN) you should change this variable: PORT_SPEED=115200 Set ISP telephone number: TELEPHONE= At line 119, set the idle parameter to suit your needs. The default is 600 seconds. That's a bit much for my taste. So I change it to 120 seconds (two minutes). echo "idle 120" >> /etc/ppp/options.ppp At line 128, insert a new line (before the comment): echo "user ${USER_IDENT}" >> /etc/ppp/options.ppp Comment out line 140 and 141 like this: # echo "ogin:--ogin: ${USER_IDENT}" >> /etc/ppp/options.chat # echo "assword: ${USER_PASSWORD}" >> /etc/ppp/options.chat Comment out line 149 and 156 like this: # if test "${USEPEERDNS}" = "no" ; then echo "Setting up name server (etc/resolv.conf) " echo "#These next 4 entries created by $0" >> /etc/resolv.conf echo "domain ${DOMAIN}" >> /etc/resolv.conf echo "search ${DOMAIN}" >> /etc/resolv.conf echo "nameserver ${NAME_SERVER_IP1}" >> /etc/resolv.conf echo "nameserver ${NAME_SERVER_IP2}" >> /etc/resolv.conf # fi That's it! HTH, Mikael Bak