Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 1997 16:17:33 +0930 (CST)
From:      Greg Lehey <grog@lemis.com>
To:        fyeung@fyeung8.netific.com (Francis Yeung)
Cc:        questions@FreeBSD.ORG
Subject:   Re: latest iijppp problems
Message-ID:  <199708060647.QAA05568@freebie.lemis.com>
In-Reply-To: <9708060639.AA12569@fyeung8.netific.com> from Francis Yeung at "Aug 5, 97 11:39:25 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Francis Yeung writes:
>
> Greetings,
>
> 	The log below is from the latest version of the iijppp code
> (970803) from ~brian's site:
>
>
> 	
> Aug  5 22:57:51 ppp[629]: Connect: ^M
> Aug  5 22:57:51 ppp[629]: Connect: ^M
> Aug  5 22:57:51 ppp[629]: Connect: Type "shell" or your SLIP/PPP login:
> Aug  5 22:57:52 ppp[629]: Connect: xxxxxx^M
> Aug  5 22:57:52 ppp[629]: Connect: Password:
> Aug  5 22:57:52 ppp[629]: Phase: *Connected!
>
>
>>>>	login/password were accepted and it is connected

Well, we got a modem connect.  I see no evidence of the acceptance of
the password.

> Aug  5 22:57:53 ppp[629]: Phase: Disconnected!
> Aug  5 22:57:53 ppp[629]: Phase: Connect time: 1 secs
>
>
>>>>	get disconnected within 1 sec

Right.  It probably didn't like the password.

> Aug  5 22:57:53 ppp[629]: Phase: NewPhase: Dead
> Aug  5 22:57:53 ppp[629]: Phase: Open Failed /dev/cuaa0
>
>
>>>>  /dev/cuaa0 open failed :
>
>
> 	Would this be caused by the redial timeout ?

Possibly.  It would help to know what you did.
 	
> 	I am using -
>
>  set redial 10.5 0
>  set reconnect 5 8
>
> 	in my ppp.conf !
>
>
> Aug  5 22:57:53 ppp[629]: Phase: Enter pause (10) for redialing.
> Aug  5 22:58:03 ppp[629]: Phase: Redialing timer expired.
> Aug  5 22:58:03 ppp[629]: Connect: ATE1Q0M0^M^M
> Aug  5 22:58:03 ppp[629]: Connect: OK
>
>
>>>> after a few tries, I noticed the following in the log
>
>
> ppp[193]: Phase: NewPhase: Dead
> ppp[193]: Error: select: Bad file descriptor
> ppp[193]: Phase: PPP Terminated (done).

Interesting.  I haven't seen that one.

> 	The process was terminated. The "socket/select" detects some
> crashed file descriptors ! (? in main or chat.c)

Well, I don't know if they're "crashed".  This requires more
investigation.

> 	Has anyone noticed this before ?

I sent Brian a trace a couple of days ago about problems with
reestablishing connections.  So far I haven't heard back from him.
But in your case, I'd guess that your authentication is failing.  The
*Connected! message means that the modems are talking to each other,
not that you have passed authentication.

Greg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708060647.QAA05568>