• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 298
  • Last Modified:

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?
0
samlane
Asked:
samlane
  • 2
1 Solution
 
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
 
jprohartCommented:
sorry, i did'nt read all correctly. Replace ogin: with username: or name:

bye
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now