cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
400
Views
0
Helpful
2
Replies

Modem Chat-script help

lovedam
Level 1
Level 1

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

2 Replies 2

Kevin Dorrell
Level 10
Level 10

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:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fdial_r/drfchcp.htm#wp1018177

Kevin Dorrell

Luxembourg

dbellazetin
Level 4
Level 4

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