Trying to get pppd to work

I am trying to get pppd to connect with my ISP.  I dial the phone # (582-8100) then I get a prompt that says "annex:" and I have to type "2" to start a ppp session.  Next it prompts for "username" then "password".  I am having trouble making a correct chatscript file.  Can someone tell me what it should be?  Also, I am unsure exactly what should be in my chap-secrets file.  If there is a different method of using ppp rather than pppd, I'll use it.  But can anyone help me?
samlaneAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

samlaneAuthor Commented:
Edited text of question
0
jprohartCommented:
try this in ppp-go or ppp-on:

#!/bin/sh
/usr/sbin/pppd connect '/usr/sbin/chat -v -f "your_script" ' defaultroute crtscts modem 0.0.0.0:0.0.0.0 noipdefault lock kdebug 1 38400 /dev/modem &

and this in "your_script" :
(eg:.ppp_script)

ABORT BUSY ABORT 'NO CARRIER' '' ATZ OK ATDT"your_isp_phone_number"
annex: 2
ogin: your_login
assword: your_password

it must work.
good bye.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jprohartCommented:
sorry, i did'nt read all correctly. Replace ogin: with username: or name:

bye
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.