[1654] in linux-net channel archive

home help back first fref pref prev next nref lref last post

PPP Problem...Please Help..

daemon@ATHENA.MIT.EDU (dcoutts@nando.net)
Sun Jan 21 23:54:56 1996

Date: 	Sun, 21 Jan 96 01:23:03 PST
From: dcoutts@nando.net
To: linux-net@vger.rutgers.edu

Hello,

I keep dropping my connection after about 20 seconds. I have read the HOWTO
and realize that this is probably a modem problem. I want to make sure there
is no way around it before I buy a new modem. I can connect to my ISP through
minicom and Windoze. I dont think there is anything wrong with the script because
I know people who connect using this exact script. The ISP provided the script.
I know they also do not require authentication. 

All process were run as root. Ive tried every option in pppd
that looked logical in the man pages, even -all. No luck. The exact
same thing.

My modem is a Gateway Telepath II 14.4. Is there a way around my problem without
buying a new modem? If not, could someone recommend a quality 28.8 modem that
IS compatible with pppd. If it IS my modem, why do minicom and windoze work?

Please help...I have no idea what else to do :(
Feel free to post to comp.os.linux.network, here or email me.

Thanks,
David Coutts
dcoutts@nando.net

Here is the exact script (except password and comments) and messages from 3 log 
files:


********* SCRIPT **********

NAME=dcoutts
KEY=5
PASSWORD=<passwd>
CUA=cua0
NUMBER=*70,8293560

if [ -f /var/spool/uucp/LCK..${CUA} ]
then
    echo "Another device has locked your Modem"
    exit 1
fi
fix-cua ${CUA}
(
    stty 19200 -tostop crtscts

    if chat -v ABORT "NO CARRIER" ABORT BUSY "" ATZ OK ATDT${NUMBER} CONNECT 
'\d\d\r' TIMEOUT 5 name\> ${NAME} word\> ${PASSWORD}  "keys: " ${KEY}
    then
	pppd  /dev/${CUA} 115200 kdebug 4 lock crtscts defaultroute noipdefault 
modem&
	sleep 5
	exit 0
    else
	echo "PPP call failed" 1>&2
	exit 1
    fi
) < /dev/${CUA} > /dev/${CUA}

*********** /var/log/syslog ************

Jan 19 19:36:42 pcLinux pppd[1298]: LCP: timeout sending Config-Requests

*********** /var/adm/messages ************

...
. pcLinix pppd[1296]: pppd 2.1.2 started by root, uid 0
. pcLinux kernel: ppp: channel ppp0 mtu = 1500, mru = 1500
. pcLinux kernel: ppp: channel ppp0 open
. pcLinux kernel: ppp_ioctl: set flags to 0
. pcLinux kernel: ppp_ioctl: set mru to 1500
. pcLinux kernel: ppp_ioctl: set recv asyncmap 0
. pcLinux kernel: ppp_ioctl: set xasyncmap
. pcLinux kernel: ppp_ioctl: set xmit asyncmap ffffffff
. pcLinux pppd[1298]: set kernel debugging level to 4
. pcLinux pppd[1298]: Using interface ppp0
. pcLinux pppd[1298]: Connect: ppp0 <--> /dev/cua0
. pcLinux kernel: ppp_ioctl: get debug level 4
. pcLinux kernel: ppp_ioctl: set debug level 2, netpacket 0
. pcLinux kernel: ppp: channel ppp0 going down for IP packets!
. pcLinux kernel: ppp: channel ppp0 closing
. pcLinux pppd[1298]: Connection terminated.
. pcLinux pppd[1298]: set kernel debugging level to 2
. pcLinux pppd[1298]: Exit.

*********** /root/log.out (my own redirection of klogd) *********

<7>ppp: write frame, count = 22
<7>FF 03 C0 21 01 01 00 12 ...!....
<7>01 04 05 DC 05 06 31 75 ......1u
<7>99 D4 07 02 08 02       ......
<7>ppp_write: acquired write lock
<7>ppp_add_fcs: fcd is ca8c
<7>ppp_write: writing 40 chars

**************






home help back first fref pref prev next nref lref last post