PPP Linux "server" connection

PPP Linux "server" connection

Post by Rick » Fri, 25 Sep 1998 04:00:00



     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

 
 
 

PPP Linux "server" connection

Post by David Efflan » Sun, 27 Sep 1998 04:00:00



>     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.

Yes, but first it has to pass pap-secrets, which it apparently does
not.

Quote:>Sep 24 19:27:52 Server1 pppd[324]: PAP authentication failure for cleopatra

Once you get that working you may fail for lack of IP addresses.  When
using proxyarp, I believe you have to use an ethernet IP or hostname
for local IP on the server (since arp is related to ethernet hardware
address).  See http://www.xnet.com/~efflandt/linux/dialin.txt

David Efflandt/Elgin, IL USA


 
 
 

PPP Linux "server" connection

Post by Han » Mon, 28 Sep 1998 04:00:00



>     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.

Here it fails too, but I get this line in my mgetty:
  yS1   getlogname (FIDO AUTO_PPP), read:CLIENTCLIENTCLIENTCLIENT
  ##### failed dev=ttyS1, pid=7802, got signal 1, exiting

Try set debug level higher and see if you get something like this, too.
(Then we have the same problem ;-)

Have you compiled pppd with "make USE_MS_DNS=1" ?

Hans