09-03-2004 04:16 AM - edited 03-02-2019 06:14 PM
I am trying to get my 3725 to dial into an ISP and run PPP.
I have a script that looks like this
chat-script unix-ppp ABORT TIMEOUT 60 " " login: "me@ppp" password: "test123"
I have the script attached to the line corresponding to where I am dialing out (I have an 8 port modem card). I have the script set for "activation."
when I debug the script and dial the debugs say that the script has started and the first thing says "expecting " "
Then it says that remote end is not respnding and the line timeouts and the call drops.
I know this ISP works as does the username/password because I have dialed in with a windows PC.
The ISPs login looks like
** welcome to XXX ISP **
login:
password:
Does anyone have experience making chat-scripts to handle this? (I don't!)
Mine looked right, but doesn't seem to trigger.
Any help would be greatly appreciated.
Also, do I no longer need to send a pap user name ?
(in other words, do I need to erase the command "pap sent username *****" from the Async line config?
Thanks in Advance
09-03-2004 05:06 AM
Try taking out the ABORT keyword, or follow it by ERROR. I think it is expecting ABORT to be followed by a condition under which it should do the abort. That is getting confused with your next keyword, TIMEOUT. The arguments after the chat-script name should be grouped in pairs.
I know you probably have the documentation already, but here it is again for reference:
Kevin Dorrell
Luxembourg
09-03-2004 11:56 AM
I'm not sure what your config looks like but I would follow an example like this.
http://www.cisco.com/en/US/tech/tk801/tk36/technologies_configuration_example09186a0080093d2a.shtml
You need to pass your ISP the username and password using the pap sent username command.
Do not insert the login info into the chat script.
Daniel
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide