On Fri, 23 Jul 1999, MAURICIO RODRIGUEZ wrote:

|Packages installed on my computer: (My computer works with either NT or
|Linux)
|
|kernel-2.2.5-15
|ppp-2.3.7-2
|xchat-0.9.4-3
|Modem: internal modem 33.3 kbps
|
|This is the script used to establish the connection:
|
|/usr/sbin/ppp-on
|
|#!/bin/bash
|# Script to establish connection from my machine(LINUX OS) to
|# worldnet via PPP and CHAP authentication.
|
|/usr/sbin/pppd name "[EMAIL PROTECTED]" \
|-d connect '/usr/sbin/chat -t 30 -v ABORT BUSY "" ATDTxxxxxxx \
|CONNECT ""' /dev/modem 57600 noipdefault kdebug 25 modem defaultroute
|crtscts

The cause of the problem isn't yet apparent.  We really need the pppd debug
link negotiation messages.  Those messages may suggest a solution by what
is or isn't seen in them.  They narrow the list of likely causes and
shorten the time needed to determine what's wrong. 

Take out the "kdebug 25" above, it's completely bogus, 25 isn't a valid
value and it probably is read by pppd as kdebug 2.  Even so kdebug isn't
often needed to solve a PPP problem and the dump of hex numbers just makes
the debug messages hard to read.  In it's place put the debug option. 

I assume that the crtscts is wrapped to a seperate line by a MUA since
there is no `\' at the end of the preceding line.

The PPP link debug negotiation messages should be in one of the logs in
/var/log .  If you can't find any messages that start with LCP then put the
line

daemon.*                        /var/log/ppp-log

in /etc/syslog.conf, do touch /var/log/ppp-log to create that file, and
then do   kill -HUP `pidof syslogd`   to make syslogd read the syslog.conf
file.  All the PPP messages will then be sent to the ppp-log file.

|*****************************************************************
|I also edited the following file
|
|/etc/ppp/chap-secrets
|
|login * "password" *
|
|******************************************************************

Well, maybe _this_ is the cause.  The first field in the chap-secrets file
should be your ISP username not login.  It should be the same as as that
assigned to the name option, "[EMAIL PROTECTED]" .  Whatever it is
that your ISP wants you to use for the PPP connection goes in both places.
You don't need the final `*' but it shouldn't hurt either.

If this isn't the cause then you'll need to post the PPP debug link
negotiation messages. 

---
Clifford Kite                                               Not a guru. (tm)


-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to