[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with dialin/dialup conenctions
> Laurence Moore wrote:
> >
> > On Fri, 12 Jan 2001, Thomas Heine wrote:
> >
> > > 1. Try!
> > > I tried mgetty for icomming connections and ppp -auto for outgoing call.
> > > It seems to work but after a short while mgetty gets 'confused' and is
> > > write errors to syslog like
> > > ... mgetty[4963]: init chat failed, exiting...: Interrupted system call
> > > ... mgetty[4963]: failed in mg_init_data, dev=tty01, pid=496 -----
> > > I also tried cua01
> > >
> >
> > Ensure that the device name mgetty is using is the same as the one ppp is
> > using. If you don't use the same device i.e. mgetty is on /dev/tty01 and
> > ppp is using /dev/cua01 then you will encounter problems because the name
> > of the lockfile used for these devices are different.
> >
> > > Worst of all, sometime the mgetty process get
> > 'stuck' so that even > SIGKILL can't end the process.
> > > mgetty then is in state SE (Sleeping/Exiting) or IE (Idle/Exiting) and
> > > the device is locked.
> > > only rebooting the box will help. DO you have any idea how to solve this
> > > problem(s)?
> > >
> >
> > Probably because you are using different device names as explained above
> > !?
>
> Thank's for answering my questions.
>
> But sorry, I did my test with the same devices. Maybe the strange
> 'cannot be killed' behaviour can result from a test with different
> devices names.
>
> When I use only mgetty/pppd, it works fine. But when i start 'ppp -auto
> name' then ppp tries to access the device when there is an icomming call
> (syslog message ... tty01 in use)and pppd cannot establish the incomming
> connection. Is the auto-mode the problem?
mgetty, pppd and ppp should all be told to use cua0?. The ttyd?
devices block on open 'till CD is detected. Also, ensure that the
lock file names are the same (/var/spool/lock/LCK..cua0?)for mgetty.
> How should i start ppp?
> A sample configuration would be fine ?
>
> Geetings
> thomas
>
> --
> Thomas Heine
> Development
>
> Activis
> Articon-Integralis Group
> Gutenbergstr. 1
> D-85737 Ismaning
> Tel: +49-89-94573-454
> Fax: +49-89-94573-479
> http://www.activis.de/
--
Brian <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org>
<http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !