3 questions concerning mgetty
Mike Castillo (mike@lmtonline.com)
Fri, 16 May 1997 18:03:05 -0500
Hello,
I am having two problems that I can't seem to figure out.
First, When dialing in from a WIN 95 machine, I have to have my modem set to
19200 in order for the modem in the Linux box to answer. If I have the speed
set at 19200 on the calling machine, everything will work fine. I will get
the post-dialup window. Log in and launch PPPD. If the calling machine is
set at anything higher than 19200, the modem on the Linux box answers and
then hangs up.
On the Linux side which is running kernel version 2.0.0, I have mgetty set
with the default portspeed of 38400 in the mgetty.config.
I used setserial to set the speed at 115200.
The modem is a not a brand name modem. It is an Apache 33.6 modem. I have
another one like it that runs well at 115200 with Win apps at my office.
The second question deals with the AutoPPP. It does not seem to work. I
compiled mgetty with the -DAUTO_PPP option.
I also uncommented the /AutoPPP/ line in the login.config.
When I call in from a Win95 machine. It just tells me that the computer is
not answering right now even though it does answer.
Sometimes it will state that it could not negotiate a set of protocols
between the two machines.
Does PPPD read its options files when it is launched from mgetty using
/AutoPPP/?
If that's the case, then I don't have to include all the options in the
command line.
Here is the relevant part of the log file running on the dial-in line.
I am sorry that the message became so long.
I would appreciate any help or suggestions.
Thanks,
Mike Castillo
05/15 13:32:20 yS1 send: ATA[0d]
05/15 13:32:20 yS1 waiting for ``CONNECT''
05/15 13:32:20 yS1 got: [0d]
05/15 13:32:20 yS1 CND: RING[0a]ATA[0d]
05/15 13:32:20 yS1 CND: ATA[0d][0a]CONNECT ** found **
05/15 13:32:33 yS1 send:
05/15 13:32:33 yS1 waiting for ``
''
05/15 13:32:33 yS1 got: 115200[0d]
05/15 13:32:33 yS1 CND: CONNECT 115200
05/15 13:32:33 yS1 CND: found: 115200[0a] ** found **
05/15 13:32:33 yS1 waiting for line to clear (VTIME), read:
~[ff]}#[c0]!}!}!} }7}"}&} }*} } }%}
05/15 13:32:33 yS1 looking for utmp entry... (my PID: 31388)
05/15 13:32:33 yS1 utmp + wtmp entry made
05/15 13:32:34 yS1 tio_set_flow_control( HARD )
05/15 13:32:34 yS1 getlogname (AUTO_PPP), read:~[ff]}#[c0]!
05/15 13:32:36 yS1 input finished with '\r', setting ICRNL ONLCR
05/15 13:32:36 yS1 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
05/15 13:32:36 yS1 login: use login config file
/usr/local/etc/mgetty+sendfax/login.config
05/15 13:32:36 yS1 match: user='/AutoPPP/', key=''
05/15 13:32:36 yS1 match: user='/AutoPPP/', key=''
05/15 13:32:36 yS1 match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
05/15 13:32:36 yS1 login: utmp entry: ppp
05/15 13:32:36 yS1 looking for utmp entry... (my PID: 31388)
05/15 13:32:36 yS1 utmp + wtmp entry made
05/15 13:32:36 yS1 calling login: cmd='/usr/sbin/pppd', argv[]='pppd auth
-chap +pap login sync
05/15 13:32:36 ##### data dev=ttyS1, pid=31388, caller=none, conn='115200',
name='', cmd='/usr/sb
05/15 13:32:36 yS1 setenv: 'CALLER_ID=none'
05/15 13:32:36 yS1 setenv: 'CONNECT=115200'
.