'evening all,

I am trying to get two Debian boxes talking to each other via the PSTN.
Both boxes have the same users and passwords. This box has mgetty
running on ttyS1.  I can login to this box from the other one using
minicom but I want another user to be able to connect using ppp.  I have
configured ppp on the other box for user "beryl" using pppconfig.

The file /etc/mgetty/login.conf on this box contains the lines:

/AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap login debug
*       -       -       /bin/login @

and the file /etc/ppp/options contains the lines:

disconnect "chat -- \d+++\d\c OK ath0 OK"
asyncmap 0
auth
crtscts
lock
hide-password
modem
netmask 255.255.255.0
passive
+pap
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

I think both files are in their default state.  I have removed the
comments for the purposes of this post but not from the actual files.

If I log on to the other box as user "beryl" and type 

$ pon

in an xterm, the modem dials out and is answered here but the call is
dropped as soon as the "squarking" ceases.  Below is an extract from
/var/log/debug

Mar 19 15:44:49 adler identd[20265]: started
Mar 19 17:18:24 adler pppd[21060]: using channel 1
Mar 19 17:18:24 adler pppd[21060]: sent [LCP ConfReq id=0x1 <asyncmap
0x0> <auth pap> <magic 0x19dfcca4> <pcomp> <accomp>]
Mar 19 17:18:25 adler pppd[21060]: rcvd [LCP ConfAck id=0x1 <asyncmap
0x0> <auth pap> <magic 0x19dfcca4> <pcomp> <accomp>]
Mar 19 17:18:26 adler pppd[21060]: rcvd [LCP ConfReq id=0x1 <asyncmap
0x0> <magic 0x73903ace> <pcomp> <accomp>]
Mar 19 17:18:26 adler pppd[21060]: sent [LCP ConfAck id=0x1 <asyncmap
0x0> <magic 0x73903ace> <pcomp> <accomp>]
Mar 19 17:18:26 adler pppd[21060]: sent [LCP EchoReq id=0x0
magic=0x19dfcca4]
Mar 19 17:18:26 adler pppd[21060]: rcvd [LCP EchoReq id=0x0
magic=0x73903ace]
Mar 19 17:18:26 adler pppd[21060]: sent [LCP EchoRep id=0x0
magic=0x19dfcca4]
Mar 19 17:18:26 adler pppd[21060]: rcvd [PAP AuthReq id=0x1 user="beryl"
password=<hidden>]
Mar 19 17:18:26 adler pppd[21060]: sent [PAP AuthNak id=0x1 "Login
incorrect"]
Mar 19 17:18:26 adler pppd[21060]: sent [LCP TermReq id=0x2
"Authentication failed"]
Mar 19 17:18:26 adler pppd[21060]: rcvd [LCP EchoRep id=0x0
magic=0x73903ace]
Mar 19 17:18:26 adler pppd[21060]: rcvd [LCP TermReq id=0x2 "Failed to
authenticate ourselves to peer"]
Mar 19 17:18:26 adler pppd[21060]: sent [LCP TermAck id=0x2]
Mar 19 17:18:26 adler pppd[21060]: rcvd [LCP TermAck id=0x2]
Mar 19 17:26:43 adler identd[21128]: started
Mar 19 17:42:06 adler identd[21176]: started
Mar 19 17:52:19 adler identd[21217]: started
Mar 19 18:37:34 adler identd[21652]: started
Mar 19 19:13:07 adler identd[22029]: started
Mar 19 21:05:05 adler identd[22825]: started
Mar 19 21:20:29 adler identd[22878]: started

So the call is being dropped because "Login incorrect" but in what way?
Is there some other file that I should look at or edit?  Some of the
files seem to be well documented if only I understood what they meant!

confused Ken
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to