2nd Time unlucky at AutoPPP
Cornelius Creedon (neil@box1.staller.sunysb.edu)
Sat, 15 Jan 2000 18:43:56 -0500
On Sat, 15 Jan 2000, Daniel Wilson wrote:
> I've trawled the net in search of stuff on AutoPPP and have found several
> guides, which vary slightly so I tried all of them.
>
> The long and short of it is that is doesnt actually run pppd when it is
> supposed to. AutoPPP support has been compiled in, I've made the changes to
> login.config, (Basically I followed
> http://members.bellatlantic.net/~mrdennis/mgetty.html
> and also http://www.swcp.com/~jgentry/pers.html)
>
> There isnt any noise in the logs from ppp so I'm sure it isn't starting.
> There is *plenty* in the mgetty logs after I slapped it on debug 9. Here is
> a bit of that log for when a win95 client dialled in (and got booted off
> with error 629 - whatever that means)
>
> 01/15 20:11:51 yS0 waiting for ``RING''
> 01/15 20:11:51 yS0 got: [0d]
> 01/15 20:11:51 yS0 CND: OK[0a]RING ** found **
> 01/15 20:11:51 yS0 send: ATA[0d]
> 01/15 20:11:51 yS0 waiting for ``CONNECT''
> 01/15 20:11:51 yS0 got: [0d]
> 01/15 20:11:51 yS0 CND: RING[0a]ATA[0d]
> 01/15 20:11:51 yS0 CND: ATA[0d][0a]CONNECT ** found **
> 01/15 20:12:05 yS0 send:
> 01/15 20:12:05 yS0 waiting for ``
> ''
> 01/15 20:12:05 yS0 got: 26400/ARQ/V34/LAPM/V42BIS[0d]
> 01/15 20:12:05 yS0 CND: CONNECT 26400/ARQ/V34/LAPM/V42BIS
> 01/15 20:12:05 yS0 CND: found: 26400/ARQ/V34/LAPM/V42BIS[0a] ** found **
> 01/15 20:12:05 yS0 waiting for line to clear (VTIME), read:
> 01/15 20:12:05 yS0 looking for utmp entry... (my PID: 1045)
> 01/15 20:12:05 yS0 utmp + wtmp entry made
> 01/15 20:12:06 yS0 tio_set_flow_control( HARD )
> 01/15 20:12:06 yS0 getlogname (AUTO_PPP), read:~[ff]}#[c0]!
> 01/15 20:12:09 yS0 input finished with '\r', setting ICRNL ONLCR
> 01/15 20:12:09 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
> 01/15 20:12:09 yS0 login: use login config file
> /usr/local/etc/mgetty+sendfax/login.config
> 01/15 20:12:09 yS0 match: user='/AutoPPP/', key=''
> 01/15 20:12:09 yS0 match: user='/AutoPPP/', key='/FIDO/'
> 01/15 20:12:09 yS0 match: user='/AutoPPP/', key=''
> 01/15 20:12:09 yS0 match: user='/AutoPPP/', key=''
> 01/15 20:12:09 yS0 match: user='/AutoPPP/', key='*'*** hit!
> 01/15 20:12:09 yS0 calling login: cmd='/bin/login', argv[]='login
> /AutoPPP/'
> 01/15 20:12:09 ##### data dev=ttyS0, pid=1045, caller=none,
> conn='26400/ARQ/V34/LAPM/V42BIS', name='', cmd='/bin/login',
> user='/AutoPPP/'
well, right here we see that mgetty is calling /bin/login instead of
pppd.
why?
because mgetty does not have a key for '/AutoPPP/' and the default action
is /bin/login (key '*') (look at the match: ... lines of the log)
so, either mgetty is reading a different login.config than you think it
is, or your login.config has some problem, or you have not caused mgetty
to reread login.config after changing it.
verify each of these and try again.
check that the login.config is really set up as you think it is, and that
needed entries are not commented out, etc.
look at the line before the "match ..." entries, it tells us it is reading
/usr/local/etc/mgetty+sendfax/login.config
is that the one you are editing?
also you may want to have a closer look at all the stuff from the "--" to
the first line you included above, there is lots of good info in there in
a logical and consistent format. cant hurt to verify the config...
> Also on the console it says - "mgetty FATAL: yS0 cannot get TIO"
dunno about that one. maybe a modem or modem init string problem?
good luck.
-cc