Kyle Burton on Wed, 25 Aug 1999 15:40:25 -0400 (EDT) |
There are example scripts for pppd in /usr/doc/ppp-<version> They use expect to perform a 'challenge/response' type of operation once a raw connection is made. You can look for strings comming across the serial line, and provide resopnses for the stirngs you see. So you could script just the situation you've described. k ------------------------------------------------------------------------------ To be wise, the only thing you really need to know is when to say "I don't know." -- fortune file mortis@voicenet.com http://www.voicenet.com/~mortis ------------------------------------------------------------------------------ On Wed, 25 Aug 1999, Daniel G Roberts wrote: > > > > Hello all > > How would I even begin to create a chat script for linux? > > my dial server has changed...and now I am told I have to create a chat > script..but I have no clue about how? > > For now the process is: > dial number > enter in userid > enter in secureid code and pin number > wait for the accepted note.. > then type in set port ppp enabled > suspend minicom via "j" > and then at the linux prompt type pppd vj-max-slots 3 > > > the above is what I used to do > Now when I dial the new number all I get to enter in is my userid and code > numbers...and then the machines just sits... > > > Any help would be appreciated!!!..Dan > _______________________________________________ Plug maillist - Plug@lists.nothinbut.net http://lists.nothinbut.net/mail/listinfo/plug
|
|