Dom McA wrote:
>
> Hello,
>
> I just installed SuSE 5.3 on my PC, after giving up on getting ppp to
> work with openlinux. So, I typed in all the info into YaST, and now
> the modem dials and then does its screechy thing... then disconnects.
> Any advice on how to get it to connect and stay connected would be
> very much appreciated, and once again thanks to everyone who helped
> already. Below is the sys log output of my attempt to connect to ISP:
>
> ------------------
> Feb 10 18:07:53 Seamus kernel: PPP: version 2.2.0 (dynamic channel
> allocation)
> Feb 10 18:07:53 Seamus kernel: PPP Dynamic channel allocation code
> copyright
> 1995 Caldera, Inc.
> Feb 10 18:07:53 Seamus kernel: PPP line discipline registered.
> Feb 10 18:07:53 Seamus kernel: registered device ppp0
> Feb 10 18:07:56 Seamus pppd[208]: pppd 2.2.0 started by root, uid 0
> Feb 10 18:08:19 Seamus pppd[208]: Serial connection established.
> Feb 10 18:08:20 Seamus pppd[208]: Using interface ppp0
> Feb 10 18:08:20 Seamus pppd[208]: Connect: ppp0 <--> /dev/modem
> Feb 10 18:08:21 Seamus pppd[208]: sent [LCP ConfReq id=0x1 <mru 1500>
> <magic
> 0x1b67d428> <pcomp> <accomp>]
> Feb 10 18:08:48 Seamus last message repeated 9 times
> Feb 10 18:08:51 Seamus pppd[208]: LCP: timeout sending Config-Requests
> Feb 10 18:08:51 Seamus pppd[208]: Connection terminated.
> Feb 10 18:08:51 Seamus pppd[208]: Receive serial link is not 8-bit
> clean:
> Feb 10 18:08:51 Seamus pppd[208]: Problem: all had bit 7 set to 0
> Feb 10 18:08:51 Seamus pppd[208]: Exit.
> Feb 10 18:10:49 Seamus kernel: PPP: ppp line discipline successfully
> unregistered
> --------------------------
>
The symptoms show pretty clearly that you simply haven't managed to get
PPP started up on the other end (as Peter Huetmannsberger has already
pointed out to you). It is most likely due to a problem in your chat
script. Some ideas for things to try:
1. Does your ISP require perhaps a special username for PPP. For
example, I once had an ISP where I used "shochat" for terminal mode
login, but "pshochat" for PPP.
2. Is there a special PPP command or perhaps a menu choice that has to
be made after the initial connection in order to make PPP start up?
3. It could be that you need to send a carriage return, or perhaps no
carriage return. If the former, your chat script must end with
CONNECT ''
If the latter, it must end with
CONNECT '\r'
4. As suggested by Peter H., log in to your ISP using minicom (for
example). Your goal in this is not to succeed in making a connection,
but just to find out what actions are needed to start up PPP on the
other end. You'll know you have succeeded when you see what looks like
"garbage" characters, beginning with a tilde (~) and containing numerous
right braces (}). Once you succeed in making that happen, all you need
to do is adjust your chat script so that it steps through the same
dialogue as you did manually to provoke the "garbage". To learn more
about how chat scripts work, you can look at the chat man page, which
also has examples. The chat script you need to have is a function of
your ISP, not what Linux distribution you are using.
5. One common problem is that the PPP setup tool you used (YaST?) might
have given you a chat script with some send/expect pairs that look like:
ogin: username
sword: (your password)
which makes the huge assumption that your ISP uses a plain text login
(many, including mine, do not). If your ISP uses PAP or CHAP, that's
probably not true. You'll find out for sure when you log in with
minicom. If you see a login prompt, then you should have the above.
Otherwise, take it all out. Also, if they use PAP, for example, you'll
need to set up your /etc/ppp/pap-secrets, but that comes later. First
you need to see a "rcvd [LCP ....]" of some sort in your log. Once that
happens you'll be able to tell from the log whether they use PAP or CHAP
(look for <auth pap> or <auth chap> in an LCP ConfReq coming from them).
6. If you can't even find the scripts YaST has created for you, remember
you can just write the scripts yourself. That could actually save you a
lot of grief. See the PPP-HOWTO for details. And people on the list will
help you if you run into trouble.
-- David
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]