mgetty wont start the pppd

paulorst@my-deja.com (paulorst@my-deja.com)
Sat, 23 Oct 1999 18:07:01 GMT


I have the same problem* (in freebsd 3.1), and
my configuration is:

            *I get connect, login, but don't start pppd

1. Package added with pkg_add:
   ---------------------------
    mgetty-1.1.19.tgz

2. /usr/local/etc/mgetty+sendfax/mgetty.config
   -------------------------------------------
port cuaa3
debug 9
fax-id 00 00 000000
speed 38400
direct NO
blocking NO
port-owner root
port-group root
#port-owner uucp
#port-group uucp
port-mode 0660
toggle-dtr YES
toggle-dtr-waittime 500
data-only YES
fax-only NO
modem-type auto
init-chat "" ATS0=0Q0&D3&C1 OK
modem-check-time 3600
rings 1
answer-chat "" ATA CONNECT \c \r
answer-chat-timeout 80
autobauding NO
ringback NO
ringback-time 30
ignore-carrier false
issue-file /etc/issue
prompt-waittime 500
login-prompt @!login:
login-time 240
diskspace 1024
notify faxadmin
fax-owner uucp
fax-group modem
fax-mode 0660


/usr/local/etc/mgetty+sendfax/login.config
-------------------------------------------
#
# Automatic PPP startup on receipt of LCP configure request (AutoPPP).
#  mgetty has to be compiled with "-DAUTO_PPP" for this to work.
#  Warning: Case is significant, AUTOPPP or autoppp won't work!
#  Consult the "pppd" man page to find pppd options that work for you.
#
#  NOTE: for *some* users, the "-detach" option has been necessary, for
#        others, not at all. If your pppd doesn't die after hangup, try
it.
#
#  NOTE2: "debug" creates lots of debugging info.  LOOK AT IT if things
#         do not work out of the box, most likely it's a ppp problem!
#
#  NOTE3: "man pppd" is your friend!
#
/AutoPPP/ -	a_ppp	/usr/sbin/pppd auth -chap +pap login debug

3. /etc/ttys
   ---------
...
cuaa3	"/usr/local/sbin/mgetty"	unknown on insecure


4. /var/log/mgetty.cuaa3
   ---------------------
...
10/23 05:02:49 aa3   getlogname (AUTO_PPP), read:marcusv[0d]
10/23 05:02:54 aa3   input finished with '\r', setting ICRNL ONLCR
10/23 05:02:54 aa3   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
10/23 05:02:54 aa3    login: use login config file
/usr/local/etc/mgetty+sendfax/login.config
10/23 05:02:54 aa3   match: user='marcusv', key=''
10/23 05:02:54 aa3   match: user='marcusv', key=''
10/23 05:02:54 aa3   match: user='marcusv', key='/AutoPPP/'
10/23 05:02:54 aa3   match: user='marcusv', key=''
10/23 05:02:54 aa3   login: fall back to /usr/bin/login
10/23 05:02:54 aa3   calling login: cmd='/usr/bin/login', argv[]='login
marcusv'
10/23 05:02:54 ##### data dev=cuaa3, pid=289, caller='none',
conn='28800/ARQ/V34/LAPM/V42BIS', name='', cmd='/usr/bin/login',
user='marcusv'

10/23 05:02:54 aa3   setenv: 'CALLER_ID=none'
10/23 05:02:54 aa3   setenv: 'CONNECT=28800/ARQ/V34/LAPM/V42BIS'
...



-> I have compiled mgetty1_1_9-Aug127.tar.gz and installed it but
happened same thing

Can you help me?
Thank you.

		Paulo



**********************************************************
In article <19991020224905.D20802@greenie.muc.de>,
  mgetty@muc.de wrote:
> Hi,
>
> On Sun, Oct 17, 1999 at 07:18:16PM +0200, Eric Wick wrote:
> > i am wondering bout the logs at my client. The MGetty wont start the
> > pppd after dial-in. Whats the reason?
> [..]
> > 10/17 19:07:58 yS0  send:
> > 10/17 19:07:58 yS0  waiting for ``_'' ** found **
> > 10/17 19:07:59 ##### failed dev=ttyS0, pid=1061, got signal 1,
exiting
>
> Client modem hangup.  Please show a more detailed log file (-x6).
>
> gert
> --
> 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
>


Sent via Deja.com http://www.deja.com/
Before you buy.