Borut <(E-Mail Removed)> wrote:
> Please help I can't run my dial-in server on Suse 8.2.
> I keep getting "LCP terminated by peer" and the ip-up script doesn't start
> at all.
> I'm dialing from WindowsNT and here is the log from /var/log/messages
> Jan 19 10:01:15 linux pppd[8399]: pppd 2.4.1 started by LOGIN, uid 0
> Jan 19 10:01:15 linux pppd[8399]: Perms of /dev/ttyS1 are ok, no 'mesg n'
> neccesary.
This pppd is not the standard version. The message above doesn't exist
for the standard pppd.
> Jan 19 10:01:15 linux pppd[8399]: using channel 7
> Jan 19 10:01:15 linux pppd[8399]: Using interface ppp0
> Jan 19 10:01:15 linux pppd[8399]: Connect: ppp0 <--> /dev/ttyS1
> Jan 19 10:01:15 linux pppd[8399]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
> <auth pap> <magic 0x8a68104d> <pcomp> <accomp>]
> Jan 19 10:01:15 linux pppd[8399]: rcvd [LCP ConfRej id=0x1 <pcomp> <accomp>]
> Jan 19 10:01:15 linux pppd[8399]: sent [LCP ConfReq id=0x2 <asyncmap 0x0>
> <auth pap> <magic 0x8a68104d>]
> Jan 19 10:01:16 linux pppd[8399]: rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>
> <auth pap> <magic 0x8a68104d>]
> Jan 19 10:01:17 linux pppd[8399]: sent [LCP ConfReq id=0x2 <asyncmap 0x0>
> <auth pap> <magic 0x8a68104d>]
> Jan 19 10:01:18 linux pppd[8399]: rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>
> <auth pap> <magic 0x8a68104d>]
> Jan 19 10:01:18 linux pppd[8399]: rcvd [LCP ConfReq id=0x2 <magic 0x29ed>
> <callback CBCP> <asyncmap 0x0>]
> Jan 19 10:01:18 linux pppd[8399]: sent [LCP ConfAck id=0x2 <magic 0x29ed>
> <callback CBCP> <asyncmap 0x0>]
This pppd accepts a CBCP request, so the NT expects pppd to call it
back after the NT authenticates itself and hangs up. A standard pppd
only implements the "client" side of CBCP, not the server side and would
reject such a request. If you do not expect to do this then get and use
a standard pppd rather this one. The standard pppd source is available
at ftp.samba.org in /etc/ppp. (I'd recommend getting pppd 2.4.1 rather
than the newer 2.4.2 since I've had a problem with 2.4.2 that appears
to be caused by a bug in 2.4.2.)
If you do expect to call the NT back then you'll likely need a script
that answers the NT call and that also calls the NT back. Since a
number isn't included in the NT CBCP request, you will have to already
know the number to call.
The fact that pppd accepts the CBCP request reminds me of Red Hat 7.2
where RH tried to implement the server side in it's version of pppd
and broke it. It smells to me like the same thing is happening here.
-- Clifford Kite Email: "echo
xvgr_yvahk-(E-Mail Removed)|rot13"
PPP-Q&A links, downloads:
http://ckite.no-ip.net/
/* All the world's a net! And all the data in it merely packets
come to store-and-forward in the queues a while and then are
heard no more. 'Tis a network waiting to be switched!
-Vint Cerf, RFC 1121 */