I am unable to connect to my Linux server using a dial in PPP
connection, from a Win95 machine using DUN. I am using mgetty, which works
fine when connecting with a terminal program (i.e Hyperterminal). But when
I try to connect using DUN, I get an "Error 691:The computer you are dialing
in to cannot establish a Dial Up Networking connection. Check your password
and try again."
I am using a user name and password from /etc/passwd, which from what I
know should work by setting the "login" option in ppp/options.
I have a line in /etc/mgetty+sendfax/login.config:
/AutoPPP/ - a_ppp /usr/sbin/ppd
My /etc/ppp/options contains:
proxyarp
kdebug
auth
login
-chap
-detach
crtscts
I have also attached a portion of sys log messages containing a ppp
connection. (Where cleopatra is the user name):
Sep 24 19:27:48 Server1 mgetty[324]: data dev=ttyS2, pid=324, caller=none,
conn='57600', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Sep 24 19:27:48 Server1 kernel: CSLIP: code copyright 1989 Regents of the
University of California
Sep 24 19:27:49 Server1 kernel: PPP: version 2.2.0 (dynamic channel
allocation)
Sep 24 19:27:49 Server1 kernel: PPP Dynamic channel allocation code
copyright 1995 Caldera, Inc.
Sep 24 19:27:49 Server1 kernel: PPP line discipline registered.
Sep 24 19:27:49 Server1 kernel: registered device ppp0
Sep 24 19:27:49 Server1 pppd[324]: pppd 2.2.0 started by a_ppp, uid 0
Sep 24 19:27:49 Server1 kernel: ppp_tty_ioctl: set flags to 70000
Sep 24 19:27:49 Server1 kernel: ppp_tty_ioctl: set flags to 70000
Sep 24 19:27:49 Server1 kernel: ppp_tty_ioctl: set xasyncmap
Sep 24 19:27:49 Server1 pppd[324]: Using interface ppp0
Sep 24 19:27:49 Server1 pppd[324]: Connect: ppp0 <--> /dev/ttyS2
Sep 24 19:27:49 Server1 kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
Sep 24 19:27:49 Server1 kernel: ppp_tty_ioctl: set flags to 70000
Sep 24 19:27:49 Server1 kernel: ppp_tty_ioctl: set mru to 5dc
Sep 24 19:27:49 Server1 kernel: ppp_tty_ioctl: set rcv asyncmap 0
Sep 24 19:27:49 Server1 kernel: ppp_tty_ioctl: set flags to 70010
Sep 24 19:27:51 Server1 kernel: ppp: successfully queued 22 bytes, flags =
f070010
Sep 24 19:27:51 Server1 kernel: ppp_tty_ioctl: set mru to 5dc
Sep 24 19:27:51 Server1 kernel: ppp_tty_ioctl: set rcv asyncmap 0
Sep 24 19:27:51 Server1 kernel: ppp_tty_ioctl: set flags to f070000
Sep 24 19:27:52 Server1 kernel: ppp: successfully queued 30 bytes, flags =
f070000
Sep 24 19:27:52 Server1 kernel: ppp_tty_ioctl: set xmit asyncmap a0000
Sep 24 19:27:52 Server1 kernel: ppp_tty_ioctl: set flags to f070003
Sep 24 19:27:52 Server1 kernel: ppp_tty_ioctl: set mru to 5dc
Sep 24 19:27:52 Server1 kernel: ppp_tty_ioctl: set rcv asyncmap 0
Sep 24 19:27:52 Server1 kernel: ppp: successfully queued 11 bytes, flags =
f070003
Sep 24 19:27:52 Server1 kernel: ppp_tty_ioctl: set flags to f070003
Sep 24 19:27:52 Server1 kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
Sep 24 19:27:52 Server1 kernel: ppp_tty_ioctl: set flags to f070000
Sep 24 19:27:52 Server1 kernel: ppp_tty_ioctl: set mru to 5dc
Sep 24 19:27:52 Server1 kernel: ppp_tty_ioctl: set rcv asyncmap 0
Sep 24 19:27:52 Server1 kernel: ppp_tty_ioctl: set flags to f070010
Sep 24 19:27:52 Server1 pppd[324]: PAP authentication failure for cleopatra
Sep 24 19:27:52 Server1 kernel: ppp_tty_ioctl: set flags to f070010
Sep 24 19:27:52 Server1 kernel: ppp: successfully queued 6 bytes, flags =
f070010
Sep 24 19:27:52 Server1 kernel: ppp_tty_ioctl: get debug level 7
Sep 24 19:27:52 Server1 kernel: ppp_tty_ioctl: set flags to f000010
Sep 24 19:27:52 Server1 pppd[324]: Connection terminated.
Sep 24 19:27:52 Server1 pppd[324]: Exit.
Sep 24 19:29:48 Server1 kernel: PPP: ppp line discipline successfully
unregistered