Hi all friends !
What good news ! I was very busy this two last weeks, and not the time to check the rp-pppoe.lrp from our good friend Jacques Nilo. Dear Steve, could you, please, send us a copy of your rp-pppoe.lrp config files to see exactly how to do with them and win some time ?
I don't have it packaged up for you, but here are the configs ;
here we go ;
Remember, I have a 32MB DOM, so this may not fit on a floppy leaf.
install Jacques' pppoe.lrp package. It would not install on my leaf-wisp, so I copied the components of the lrp manually and then used the menu 'save' to save to DOM - it worked!
Untar the package the package like this ;
mkdir temp cd temp tar -xvzf <path>/pppoe.lrp
Now you need these entries in the following files ;
# /etc/ppp/options dump asyncmap 0 crtscts lock hide-password modem proxyarp noipx noauth
# cat /etc/ppp/pppoe-server-options require-pap lcp-echo-interval 10 lcp-echo-failure 2
In /etc/modules you need these. Make sure all other instances of these modules are commented out. If these modules are loaded in the wrong order it will not work.
#modules needed for pppoe-server (in this order) slhc ppp_generic ppp_async
Put some users in the /etc/pap-secrets file like this ;
# cat /etc/ppp/pap-secrets # This is a pap-secrets file # #papname * papsecret *
test * test * user * pass * bob * secret *
Create this file, like this ;
cat > /etc/init.d/pppoe-server
and paste the following lines into it ;
-----paste starts ------
#!/bin/sh # # /etc/init.d/pppoe-server: start or stop PPPoE Server. # RCDLINKS="0,K85 1,K85 2,S85 3,S85 5,S85 6,K85 4,K85" #
pid=`pidof pppoe-server`
case "$1" in
start)
echo -n "Starting up PPPoE Server: pppoe-server"
if [ "$pid" -gt 1 ] ; then
echo "pppoe-server already running!"
else
/usr/sbin/pppoe-server
pidof pppoe-server > /var/run/pppoe-server
echo "."
fi
;;
stop)
echo -n "Shutting down PPPoE Server"
if [ "$pid" -lt 1 ]; then
echo "PPPoE Server not running."
else
kill $pid
rm /var/run/pppoe-server
fi
echo "."
;;
restart|force-reload)
echo -n "Restarting PPPoE Server"
kill $pid
rm /var/run/pppoe-server
sleep 1
/usr/sbin/pppoe-server
pidof pppoe-server > /var/run/pppoe-server
echo "."
;;
*)
echo "Usage: /etc/init.d/pppoe-server {start|stop|restart|force-reload}"
exit 1
;;
esac
exit 0
---- paste ends ------
NOW, chmod this file, like this ;
chmod 700 /etc/init.d/pppoe-server
You are done! Now save it all.
exit log in as root select "save" and write it all to DOM. reboot and test.
PLEASE look back through the discussions I have had on-list with Jacques and Lynn for furthur information. If you still have difficulty ask onlist and I can assist.
HTH, Steve
------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
