Thank you all so much for bearing with me this weekend as I tried to get
my new ppp account working. I also posted a note on the linux networking
newsgroup, and some kind soul sent a critique of my scripts that fixed the
problem. I want to share it with you now, just in case you've been
wrestling with similar problems. I must say I've been through lots of ppp
documentation this weekend, but some things, such as eliminating the login
name and password from the ppp-on scripts when using pap were not at all
obvious to me.

Gary

---------- Forwarded message ----------
Date: Sun, 12 Dec 1999 18:42:32 -0500
From: Gary Nielson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [Fwd: PPP problem: Modem hangs up after logging on]




Gary Nielson ([EMAIL PROTECTED]) wrote:

> I have been using PPP for several years. My ISP is switching to
a "Realm Authentication system" with the LAP-M protocol that
requires including @infi.net after my username now. It requires
re-configuring my ppp-on and ppp-on-dialer ...

> Excerpt from  my ppp-on script:

> exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS0 38400 \
>         asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
>         noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT

Add the pppd option  user [EMAIL PROTECTED] .  It might have to be
  user "[EMAIL PROTECTED]"  instead because of the "@".

Here's some freebie suggestions not related to the current problem.
Remove the   escape FF  option, remove the   netmask $NETMASK  option,
and change the asyncmap option to  asyncmap a0000  .

> My ppp-on-dialer:

> exec /usr/sbin/chat -v                                            \
>         TIMEOUT         3                               \
>         ABORT           '\nBUSY\r'                      \
>         ABORT           '\nNO ANSWER\r'                 \
>         ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
>         ''              \rAT                            \
>         'OK-+++\c-OK'   ATH0                            \
>         TIMEOUT         120                              \
>         OK              ATDT$TELEPHONE                  \
>         CONNECT         ''                              \

Use   CONNECT '\d\c'  to replace the   CONNECT ''   above.  Remove
the `\' from the end of that line.  Read man chat for what \d\c does.

>         Username:--Username:    $ACCOUNT                        \
>         assword:        $PASSWORD
> #        \~            ''

Remove the three lines above, with PAP you don't do login/password and
the last of these three is almost sure to cause trouble for more than
one reason.

Make sure the /etc/ppp/pap-secrets file is configured.  A line like

[EMAIL PROTECTED]    *       YourISPpassword

should work.  With the obvious replacements for the first and third
field.

> options file:

> lock
> lcp-max-configure 30 # suggested at one remedy in the HOWTO
> +pap

Remove +pap, read "man pppd".

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* Speak softly and carry a +6 two-handed sword. */


Reply via email to