[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ppp && dialin server
I've a question about configuring ppp as a dialin server;
+ dialin works, users get authenticated however the default
route is not set for reasons unkown, it works if we add an
arp entry, however this is nowhere specified in the docs
so I guess we do something wrong, but what ?
+ anyone who can shed light on this ?
+ Cheers,
+ -AJ-
-rc.local:-
if [ -f /usr/sbin/arp ]; then
/usr/sbin/arp -s 10.0.1.10 0:d0:b6:74:16:fd pub
fi
-ppp.conf:-
default:
set log Phase Chat LCP IPCP CCP tun command
set device /dev/tty00
enable chap pap
set speed 38400
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0
OK \\ dATDT\\T TIMEOUT 40 CONNECT"
set hangup "\"\" ate0q1 OK"
incoming:
enable chap pap mschap
set ifaddr 10.0.1.9/0 10.0.1.10/0
set speed 115200
set callback cbcp
enable dns
set server +3000 mypasswd
allow users
set cbcp *
set log Phase Chat LCP IPCP CCP tun command cbcp
set redial 3 2
set device /dev/tty00
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER \"\" ATE1Q0 OK \\dATDT\\T TIMEOUT
50 CONNECT"
set hangup "\"\" ate0q1 OK"
-ppp.secret:-
# Authname Authkey Peer's IP address Label Callback
user1 mypassword 10.0.1.10 * *
-ppplogin:-
#! /bin/sh
exec /usr/sbin/ppp -direct incoming
--
Exit! Stage Left!