[Fwd: Mgetty AutoPPP not using authentication?]

David Rock (rockdw@bigfoot.com)
Fri, 13 Aug 1999 13:23:07 -0500


Here is the section of the mgetty log that goes with the /var/log/messages

Thanks again:

-Dave Rock


08/12 15:21:18 yS1  mgetty: experimental test release 1.1.14-Apr02
08/12 15:21:18 yS1  check for lockfiles
08/12 15:21:18 yS1  locking the line
08/12 15:21:18 yS1  lowering DTR to reset Modem
08/12 15:21:19 yS1  send: \dATQ0V1H0[0d]
08/12 15:21:20 yS1  waiting for ``OK'' ** found **
08/12 15:21:20 yS1  send: ATS0=0Q0&D3&C1[0d]
08/12 15:21:20 yS1  waiting for ``OK'' ** found **
08/12 15:21:20 yS1  mdm_send: 'ATI'
08/12 15:21:20 yS1  USR Courier/Sportster V.34(+) detected
08/12 15:21:20 yS1  mdm_send: 'ATI3'
08/12 15:21:20 yS1  additional info: 'U.S. Robotics Sportster 33600 Fax V4.1'
08/12 15:21:20 yS1  mdm_send: 'AT+FCLASS=2.0' -> OK
08/12 15:21:21 yS1  mdm_send: 'AT+FAA=1;+FCR=1' -> OK
08/12 15:21:21 yS1  mdm_send: 'AT+FBO=1' -> OK
08/12 15:21:21 yS1  mdm_send: 'AT+FNR=1,1,1,0' -> OK
08/12 15:21:21 yS1  mdm_send: 'AT+FLI="49 89 xxxxxxxx"' -> OK
08/12 15:21:21 yS1  mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK
08/12 15:21:22 yS1  waiting...
08/12 15:21:31 yS1  waiting for ``RING'' ** found **
08/12 15:21:31 yS1  send: ATA[0d]
08/12 15:21:31 yS1  waiting for ``CONNECT'' ** found **
08/12 15:21:44 yS1  send:
08/12 15:21:44 yS1  waiting for ``_'' ** found **
08/12 15:21:46 ##### data dev=ttyS1, pid=5515, caller='none',
conn='33600/ARQ/V34/LAPM/V42BIS', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'






David Rock wrote:

>   ------------------------------------------------------------------------
>
> Subject: Re: Mgetty AutoPPP not using authentication?
> Date: Fri, 13 Aug 1999 00:37:27 +0200
> From: Gert Doering <gert@greenie.muc.de>
> To: David Rock <rockdw@bigfoot.com>, gert@greenie.muc.de
> References: <37B33378.8E9532B3@bigfoot.com>
>
> Hi,
>
> so what does the mgetty log file say...?  (And, from the PPP log file,
> it seems your pppd isn't forcing the other end to do PAP or CHAP - you
> might want to call pppd with "+chap" or so).
>
> gert
>
> On Thu, Aug 12, 1999 at 03:50:01PM -0500, David Rock wrote:
> > Hello,
> >
> > I am trying to use mgetty with AutoPPP and am running into something
> > strange. When I try to connect, the authentication is not using the
> > supplied login id and password. I can establish a PPP connection without
> > putting in any valid login info at all. It looks like it's trying to
> > authenticate the /AutoPPP/ id instead of the username/password
> > combination. I have looked all over for a concise example of how to set
> > it up, but it always seems to stop just before really describing the
> > authentication process. Any Ideas?
> >
> > Thanks a lot.
> >
> > -Dave Rock
> > rockdw@bigfoot.com
> >
> >
> > excerpt from login.config:
> > #  NOTE2: "kdebug 7 debug" creates lots of debugging info. If all works,
> >
> > #         remove those!
> > #
> > #/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login kdebug 7 debug
> > /AutoPPP/ -  @ /usr/sbin/pppd modem crtscts proxyarp lock kdebug 7 debug
> >
> > #
> >
> > excerpt from pap-secrets:
> > # Secrets for authentication using PAP
> > # client server secret   IP addresses
> > *               *        ""                       *
> >
> > /etc/ppp/options:
> > -detach
> > netmask 255.255.0.0
> > auth
> > require-pap
> >
> > /etc/ppp/options.ttyS1
> > 111.1.7.87:111.1.7.88
> >
> >
> > /var/log/messages:
> > Aug 12 15:21:46 zlisdwr mgetty[5515]: data dev=ttyS1, pid=5515,
> > caller='none', conn='33600/ARQ/V34/LAPM/V42BIS', name='',
> > cmd='/usr/sbin/pppd', user='/AutoPPP/'Aug 12 15:21:46 zlisdwr
> > pppd[5515]: pppd 2.3.7 started by /AutoPPP/, uid 0
> > Aug 12 15:21:46 zlisdwr kernel: ppp_ioctl: set dbg flags to 70000
> > Aug 12 15:21:46 zlisdwr kernel: ppp_ioctl: set flags to 70000
> > Aug 12 15:21:46 zlisdwr kernel: ppp_tty_ioctl: set xasyncmap
> > Aug 12 15:21:46 zlisdwr kernel: ppp_tty_ioctl: set xmit asyncmap
> > ffffffff
> > Aug 12 15:21:46 zlisdwr kernel: ppp_ioctl: set flags to 70000
> > Aug 12 15:21:46 zlisdwr pppd[5515]: Using interface ppp0
> > Aug 12 15:21:46 zlisdwr pppd[5515]: Connect: ppp0 <--> /dev/ttyS1
> > Aug 12 15:21:46 zlisdwr kernel: ppp_ioctl: set mru to 5dc
> > Aug 12 15:21:46 zlisdwr kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
> >
> > Aug 12 15:21:46 zlisdwr kernel: ppp_ioctl: set flags to 70000
> > Aug 12 15:21:49 zlisdwr kernel: ppp_tty_ioctl: set xmit asyncmap 0
> > Aug 12 15:21:49 zlisdwr kernel: ppp_ioctl: set flags to f070003
> > Aug 12 15:21:49 zlisdwr kernel: ppp_ioctl: set mru to 5dc
> > Aug 12 15:21:49 zlisdwr kernel: ppp_tty_ioctl: set rcv asyncmap 0
> > Aug 12 15:21:49 zlisdwr kernel: ppp_ioctl: set flags to f070003
> > Aug 12 15:21:49 zlisdwr kernel: ppp_ioctl: set flags to f070043
> > Aug 12 15:21:50 zlisdwr modprobe: can't locate module ppp-compress-21
> > Aug 12 15:21:50 zlisdwr modprobe: can't locate module ppp-compress-26
> > Aug 12 15:21:50 zlisdwr modprobe: can't locate module ppp-compress-24
> > Aug 12 15:21:50 zlisdwr modprobe: can't locate module ppp-compress-21
> > Aug 12 15:21:50 zlisdwr modprobe: can't locate module ppp-compress-26
> > Aug 12 15:21:50 zlisdwr modprobe: can't locate module ppp-compress-24
> > Aug 12 15:21:50 zlisdwr pppd[5515]: Received bad configure-ack:  fe 02
> > Aug 12 15:21:50 zlisdwr kernel: ppp_ioctl: set maxcid to 16
> > Aug 12 15:21:50 zlisdwr kernel: ppp_ioctl: set flags to f070047
> > Aug 12 15:21:50 zlisdwr pppd[5515]: found interface eth0 for proxy arp
> > Aug 12 15:21:50 zlisdwr pppd[5515]: local  IP address 111.1.7.87
> > Aug 12 15:21:50 zlisdwr pppd[5515]: remote IP address 111.1.7.88
> > Aug 12 15:21:53 zlisdwr kernel: ppp_ioctl: set flags to f070007
> > Aug 12 15:22:25 zlisdwr kernel: ppp: channel ppp0 closing.
> > Aug 12 15:22:25 zlisdwr pppd[5515]: Hangup (SIGHUP)
> > Aug 12 15:22:25 zlisdwr pppd[5515]: Modem hangup
> > Aug 12 15:22:25 zlisdwr pppd[5515]: Connection terminated.
> > Aug 12 15:22:25 zlisdwr pppd[5515]: Connect time 0.7 minutes.
> > Aug 12 15:22:25 zlisdwr pppd[5515]: Sent 899 bytes, received 1648 bytes.
> >
> > Aug 12 15:22:25 zlisdwr pppd[5515]: Exit.
> >
> >
> >
>
> --
> USENET is *not* the non-clickable part of WWW!
>                                                            //www.muc.de/~gert/
> Gert Doering - Munich, Germany                             gert@greenie.muc.de
> fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de