On Fri, 16 Jul 1999, Evert Verhellen wrote:

|I'm trying to connect to my ISP under Linux. The Linux kernel I'm using
|is version 2.2.5-15 (Red Hat 6.0). I have a Sportster 28800 attached to
|COM2. My connection script (/etc/ppp/ppp-on) is identical to the default
|script except for the device being used (ttyS1):
|
|> #!/bin/sh
|>
|> TELEPHONE=4001800
|> ACCOUNT=account
|> PASSWORD=password
|> LOCAL_IP=0.0.0.0
|> REMOTE_IP=0.0.0.0
|> NETMASK=255.255.255.0
|>
|> export TELEPHONE ACCOUNT PASSWORD
|>
|> DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
|>
|> exec /usr/sbin/pppd debug kdebug 25 lock modem crtscts /dev/ttyS1 38400 \
|>         asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
|>         noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT

Something is almost certainly wrong with the /etc/ppp/ppp-on-dialer
script.  It seems to have failed before it even dialed the phone.
A common error is a chat script line other than the last line that does
not have it's eol escaped with `\'.  The script also needs to exist and be
executable, and chat needs to be on the path or the full path name used.
If none of these observations help then we'll likely need to see the
script in order to help.

But there's some things above that should be changed.  The "kdebug 25"
is bogus and should be removed (due to RH I believe), the correct range
of values for kdebug is the set of integers 0 through 7.  The 20a0000
asyncmap value very likely should be 200a0000 .  And the "escape FF"
is rarely useful and often can cause trouble when the ISP is a little
buggy - something that is true more often than you might think.

|After launching /etc/ppp/ppp-on I can see some modem lights flash for a
|very short period of time and then nothing. This what the file
|/var/log/messages says (little to me):
|
|> Jul 15 23:01:15 localhost syslogd 1.3-3: restart.
|> Jul 15 23:01:52 localhost kernel: CSLIP: code copyright 1989 Regents of the 
|University of California 
|> Jul 15 23:01:52 localhost kernel: PPP: version 2.3.3 (demand dialling) 
|> Jul 15 23:01:52 localhost kernel: PPP line discipline registered. 
|> Jul 15 23:01:52 localhost kernel: registered device ppp0 
|> Jul 15 23:01:52 localhost pppd[963]: pppd 2.3.7 started by root, uid 0
|> Jul 15 23:01:53 localhost pppd[963]: Connect script failed
|> Jul 15 23:01:54 localhost pppd[963]: Exit.
|
|I think it's probably a configuration issue because the same hardware
|and scripts have worked under Linux 2.0. If anyone can help me, thanks
|in advance.

---
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