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

connecting to bellsouth.net via ppp and RH 4.2

I am trying to connect to bellsouth.net via ppp on a linux box. Here is my information:ppp-log-------ifup-ppp: ppp started for ppp0 on /dev/modem at 115200pppd[697]: pppd 2.2.0 started by root, uid 0pppd[697]: connect script failed Exit./etc/ppp/options-detachnoipdefaultpassivesilentmodemlockcrtsctsdefault routeasyncmap 0mtu 552mru 552domain bellsouth.netname mynameipcp-accept-localipcp-accept-remote/etc/ppp/pap-secretsmyname * mypasswdCONNECT ppp0ogin: ppp0 mynameword: ppp0 mypasswd/etc/hosts.allowALL: ALL/etc/HOSTNAMEsahuagin.bellsouth.net/etc/resolv.confsearch bellsouth.net//(not in script)news is//                                   news.lig.bellsouth.netnameserver            localhost0.0.0.0  sahuagin/etc/networksloopback 5'' ATZOK ATDT*70,3855104ABORT 'NO CARRIER'ABORT BUSYABORT 'NO DIALTONE'ABORT WAITINGTIMEOUT 45CONNECT 45CONNECT ''TIMEOUT 5"NAME:" PPP// LATER REMOVED NAME AND ADDED BELOW"OGIN:" MYNAME"WORD:" MYPASSWDI've tried both the command line and through the xwin program. I hope you can help get me connected. thank youThaddeus
1 Solution
ThaddeusAuthor Commented:
The question was formatted when I submitted it.
Put the -v option in your command line to chat. This will make it log everything it sends/receives to /var/log/messages.

Pppd is giving you a connect failed message, so it's almost certain to be chat - with more detailed info from the log on what happens when chat goes wrong, you can probably fix this. A solution that often works is, if you are using a chat script in a separate file, to change this, and use a script on the chat command line.
I couldn't make much sense of your initial post - try this
simple script:

pppd asyncmap 0 -detach modem crtscts defaultroute +ua \ /etc/ppp/auth \
 /dev/cua1 115200 \
connect 'chat -v "" ATZ OK ATDT5551212 CONNECT'

Create the file called /etc/ppp/auth, put your username on the
first line, and password on the second line.

The backslashes in the above script just indicate that it is
all one line, and that the script should ignore the line breaks
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.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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