This article is from the MachTen & CodeBuilder FAQ, by Jaime Julca email@example.com with numerous contributions by others.
Probably pppclient is expecting the server to send "login:" and that isn't
occuring. ppplogin isn't that intelligent, it needs to have specific
instructions, so if the situation is just a little bit different that you'd
expect, it doesn't work.
If you turn on debugging (by typing "pppclient debug" instead of just
"pppclient"), pppclient will tell you what's going on while it's trying to
log in and connect. Look for lines that say "alarm". That means that
pppclient waited 45 seconds for whatever was on the previous line (probably
login: or password:) and it was never sent from the server. Find out what
line it's expecting. Then dial your ISP with a terminal program like ZTerm
or VersaTerm from the Macintosh side, and see what comes up. Find out if you
need to type return a couple of times before that login: prompt comes up. If
you do, then at the "" "" line, change that to "" "\d\n\n\n" (that means as
soon as the modem connects, wait one second (\d) and type return (\n) three
times.)... Mess around with it a little bit until you get to a script that
works. Use that debug option to see what's going on.
Remember that login scripts are very much a "trial and error" sort of
endeavor, on all kinds of computers. It may take a few tries before you get