[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OT: Can expect be used to check whether an AOL pop is alive ?
On Tue, 27 Oct 1998, Peter L. Peres wrote:
> When dialing with minicom, I see a connect and then absolutely nothing,
> although my ears are saying that there is data in there. Is this some sort
> of trick ? And can it be done ? i.e. recognize some sort of dumb string
> AOL sends out by expect and consider the pop is alive ?
this *sounds* like they've configured their system to PAP-only (or
CHAP-only) authentication. it doesn't send anything unless your program
sends data using the right protocol (as far as i know). you might try to
dig in the sourced of pppd, in order to see how to initiate any PAP (or
CHAP) session. Since the protocol might be binary, the question that rises
is whether or not can expect send binary data. you might need to write a C
program to be invoked by expect after connecting to the modem, to make the
actually connection checking.
guy