[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian ppp server how-to?



On Thu, Sep 11, 1997 at 05:15:08PM -0500, Jens B. Jorgensen wrote:
> dada wrote:
> > Is there any how-to to setup an ppp server under Debian?
> 
>  o  get/install mgetty package
>  o  get/install ppp package
>  o  make sure kernel has ppp support, if it doesn't then get kernel
>     source and recompile with ppp support
> 
>  o  edit /etc/mgetty/login.config
>     find the line starting with '/AutoPPP/' and modify it so that it
>     looks something like this:
> 
> /AutoPPP/ - - /usr/sbin/pppd auth +pap login modem :Y.Y.Y.Y
>      where Y.Y.Y.Y is what you want the caller's IP address to be.

I did this. Well, I enabled auth, +pap, login and modem
in /etc/ppp/options because I have two lines with different IP
addresses obviously. However when someone tries to authenticate
with PAP they get access denied. I've included the output
of syslog for this below with debugging enabled on ppp.
(I did set up /etc/ppp/options.ttyS0 and .ttyS1 files).

I do have shadow passwords enabled. The changelog
for ppp (which is 2.2.0f-26 from hamm as of just now,
previously 2.2.0f-23) indicates shadow passwords are supported.


Any assistance appreciated.

thanks,
Hamish

Oct 24 00:57:56 yodeller pppd[26924]: pppd 2.2.0 started by root, uid 0
Oct 24 00:57:56 yodeller pppd[26924]: Using interface ppp0
Oct 24 00:57:56 yodeller pppd[26924]: Connect: ppp0 <--> /dev/ttyS1
Oct 24 00:57:56 yodeller pppd[26924]: sent [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0xae844cce> <pcomp> <accomp>]
Oct 24 00:57:56 yodeller pppd[26924]: rcvd [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0xae844cce> <pcomp> <accomp>]
Oct 24 00:57:59 yodeller pppd[26924]: rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <magic 0x3bbb> <pcomp> <accomp> < 0d 03 06> < 11 04 06 4e> < 13 17 01 66 0e e7 d0 4b 77 11 d1 b7 bb 00 40 33 92 72 d0 00 00 00 00>]
Oct 24 00:57:59 yodeller pppd[26924]: sent [LCP ConfRej id=0x0 < 0d 03 06> < 11 04 06 4e> < 13 17 01 66 0e e7 d0 4b 77 11 d1 b7 bb 00 40 33 92 72 d0 00 00 00 00>]
Oct 24 00:57:59 yodeller pppd[26924]: sent [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0xae844cce> <pcomp> <accomp>]
Oct 24 00:57:59 yodeller pppd[26924]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3bbb> <pcomp> <accomp>]
Oct 24 00:57:59 yodeller pppd[26924]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3bbb> <pcomp> <accomp>]
Oct 24 00:57:59 yodeller pppd[26924]: rcvd [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0x0> <auth pap> <magic 0xae844cce> <pcomp> <accomp>]
Oct 24 00:57:59 yodeller pppd[26924]: rcvd [LCP code=0xc id=0x2 00 00 3b bb 4d 53 52 41 53 56 34 2e 30 30]
Oct 24 00:57:59 yodeller pppd[26924]: sent [LCP CodeRej id=0x2 0c 02 00 12 00 00 3b bb 4d 53 52 41 53 56 34 2e 30 30]
Oct 24 00:57:59 yodeller pppd[26924]: rcvd [LCP code=0xc id=0x3 00 00 3b bb 4d 53 52 41 53 2d 31 2d 42 45 41 53 54]
Oct 24 00:57:59 yodeller pppd[26924]: sent [LCP CodeRej id=0x3 0c 03 00 15 00 00 3b bb 4d 53 52 41 53 2d 31 2d 42 45 41 53 54]
Oct 24 00:57:59 yodeller pppd[26924]: rcvd [PAP AuthReq id=0x5 user="ptle" password="<deleted>!"]
Oct 24 00:57:59 yodeller pppd[26924]: PAP authentication failure for ptle
Oct 24 00:57:59 yodeller pppd[26924]: sent [PAP AuthNak id=0x5msg="Login incorrect"]
Oct 24 00:57:59 yodeller pppd[26924]: sent [LCP TermReq id=0x4]
Oct 24 00:57:59 yodeller pppd[26924]: rcvd [LCP TermReq id=0x4 00 00 00 05]
Oct 24 00:57:59 yodeller pppd[26924]: sent [LCP TermAck id=0x4]
Oct 24 00:57:59 yodeller pppd[26924]: rcvd [LCP TermAck id=0x4]
Oct 24 00:57:59 yodeller pppd[26924]: Connection terminated.
Oct 24 00:57:59 yodeller pppd[26924]: Exit.


-- 
Hamish Moffatt, StudIEAust              hamish@debian.org, hmoffatt@mail.com
Student, computer science & computer systems engineering.    3rd year, RMIT.
http://hamish.home.ml.org/ (PGP key here)             CPOM: [*****     ] 57%
Your train has been cancelled due to defective government at Spring Street..


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . Trouble? 
e-mail to templin@bucknell.edu .


Reply to: