ppp-Einwahl

Gert Doering (gert@greenie.muc.de)
Wed, 1 Jul 1998 09:49:52 +0200


Hi,

Rainer Komp wrote:
> auffällig scheint mir die Meldung:
> 
> Jun 30 17:46:43 mail mgetty[563]: cannot set controlling tty (ioctl):
> Operation not permitted

This means you haven't read the manual.  You MUST run mgetty from
/etc/inittab, never run it from the command line.

> 06/30 17:46:57 yS1   tio_set_flow_control( HARD )
> 06/30 17:46:57 yS1   print welcome banner (/etc/issue)
> 06/30 17:46:57 yS1   getlogname (AUTO_PPP), read:~~~[ff]}#[c0]!

AutoPPP is compiled in: good.

> 06/30 17:46:57 yS1   input finished with '\r', setting ICRNL ONLCR
> 06/30 17:46:57 yS1   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
> 06/30 17:46:57 yS1    login: use login config file
> /etc/mgetty+sendfax/login.config
> 06/30 17:46:57 yS1   match: user='/AutoPPP/', key=''
> 06/30 17:46:57 yS1   match: user='/AutoPPP/', key='/FIDO/'
> 06/30 17:46:57 yS1   match: user='/AutoPPP/', key=''
> 06/30 17:46:57 yS1   match: user='/AutoPPP/', key='/AutoPPP/'*** hit!
> 06/30 17:46:57 yS1   calling login: cmd='/usr/sbin/pppd', argv[]='pppd
> file /etc/ppp/options.dialin'
> 06/30 17:46:57 ##### data dev=ttyS1, pid=563, caller=none,
> conn='19200/LAPM/V42BIS', name='', cmd='/usr/sbin/pppd',
> user='/AutoPPP/'

pppd is started: good.

> Jun 30 17:47:02 mail kernel: 08 02                   ..
> Jun 30 17:47:02 mail kernel: ppp_dev_xmit_lower: fcs is 33c6
> Jun 30 17:47:02 mail kernel: ppp_dev_xmit: writing 46 chars
> Jun 30 17:47:02 mail kernel: ppp_tty_read: called buf=0805d9ca nr=1504
> Jun 30 17:47:02 mail kernel: ppp_tty_read: no data (EAGAIN)

Hmmm, I'd switch off "kdebug", it only confuses the issue.  Look at the
normal debug log, and see what's going on.  If you can't figure out what
happens (even when using /etc/inittab), ask the PPP people.

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