On Thu, Aug 24, 2000 at 12:54:06PM -0700, Ivan Stout wrote:
:
: I've tried a couple of different things in order to get onto Telesys
: through Linux and the most promising came from a recent post of a dialup
: script:
:
: expect "name:"
: send "[myifaccount]"
: expect "word:"
: send "[mypassword]"
: expect ">"
: send "ppp negotiate"
: expect "~--"
:
: Everything appeared to work perfect from the Kppp log up to the last
: expect "~--". At that part of the dial-up log there was a long string of
: characters. I guess the "~--" sequence of characters never came up so
: the log on timed out. I'm guessing if I fix this part of the script then
: all will should go well. I just have no idea where to start since these
: characters make little sense to me. Any clues?
Several years ago when I last used Telesys, my login script was:
ABORT BUSY
ABORT NO
'' '\n\n'
'' ATZ
OK ats11=50l1
OK atdt*70,,475-9996
ername: [mytelesysid]
ssword: \q[mytelesyspassword]\q
> 'terminal download'
> 'ppp default'
I had configured pppd and chat by hand, since I wasn't using KDE. This
format has the expect as the first portion of the line and the send as the
second. I've not used Telesys in a while, and therefore don't know if
they've changed things enough that this login script would no longer work,
but I had good luck with it. As far as I know, the dialup server and pppd
begin the ppp negotiation after my script gives the 'ppp default' command,
so another expect line wasn't needed. Does simply removing 'expect "~--"'
from your script work?
HTH,
Jonathan Arehart
[EMAIL PROTECTED]
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]