Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2001 15:53:54 -0400
From:      Branson Matheson <branson@windborne.net>
To:        freebsd-questions@freebsd.org
Subject:   User PPP weirdness.
Message-ID:  <20010827155353.A6875@windborne.net>

next in thread | raw e-mail | index | archive | help
 i am confused. I have a USR modem that seems to be working fine.. and
 a ppp setup that also seems to be working fine, however, when I
 _send_ large amounts of data..  I get dropped.  Receiving works fine. 
 At first I thought ti was a problem with the modem..  but after
 flipping SW1 and telling it to ignore DTR, I find that the modem is
 remaining connected.  It is user ppp that is dropping. 

 I have read the FAQ/Handbook.. and checked the mailing lists. I have
 disabled lqr ( config included below ), but after much testing .. and
 much frustration on the part of my irc buddies watching me bounce all
 day.. I cannot seem to find the answer. here is the relevent log
 entries in the ppp.log:

 Aug 27 15:26:54 hydra ppp[6848]: tun0: IPCP: deflink: LayerUp. 
 Aug 27 15:26:54 hydra ppp[6848]: tun0: IPCP: myaddr 209.96.185.74
 hisaddr = 204.17.220.65 
 Aug 27 15:26:57 hydra ppp[6848]: tun0: Phase: deflink: Carrier lost 

    ** This is ALL i get at close time **

 Aug 27 15:26:57 hydra ppp[6848]: tun0: CCP: deflink: State change
 Stopped --> Closed 
 Aug 27 15:26:57 hydra ppp[6848]: tun0: CCP: deflink: State change
 Closed --> Initial 
 Aug 27 15:26:57 hydra ppp[6848]: tun0: LCP: deflink: LayerDown 

 Carrier is set to override both in the modem and in the config
 string.. so I am rather baffled. My test involves scp'ing some files
 to a host on the net. As soon as it gets x distance into the copy it
 dies, consistantly at the same spot. This tells me it is probably a
 buffer problem somewhere.. but I havn't a clue.
 
 If anyone could be of assistance..  i would appreciate it.  thanks in
 advance.

-------- cuaa1 config
root@hydra # stty < /dev/cuaa1
speed 38400 baud;
lflags: -icanon -isig -iexten -echo
iflags: -icrnl -ixon -ixany -imaxbel ignbrk -brkint
oflags: -opost -onlcr -oxtabs
cflags: cs8 -parenb clocal crtscts

root@hydra # comcontrol /dev/cuaa1
dtrwait 300 drainwait 180

-------- ppp.conf
#################################################################
# PPP  Sample Configuration File

default:
 ident user-ppp VERSION (built COMPILATIONDATE)
 set device /dev/cuaa1
 set speed 38400
 set log Phase Chat LCP IPCP CCP tun command
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK AT&C0&F&H1&R2&B1&K1&M4 OK ATS10=10 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set ifaddr 10.0.1.1/0 10.0.1.2/0 255.255.255.0/0 0
 set timeout 600			# 10 minute idle timer (the default)
 set redial 10 3
 disable lqr
 set openmode active 3
 add default HISADDR			# Add a (sticky) default route
 enable dns				# request DNS info (for resolv.conf)
 nat enable yes
 set urgent 22 143	# ssh and imap

#-- Widowmaker
#		
widow:
 set phone xxx-xxxx
 set authname ppp:branson
 set authkey xxxxxxxxxx

---------- Modem config 
SW 1 2 3 4 5 6 7 8
   1 1 0 1 1 0 0 0

  - branson

-------------------------------------------------------------------------------
Branson Matheson                " If you are falling off of a mountain,
Systems and Security Engineer     You may as well try to fly." 
Windborne Productions, Inc.           - Delenn, Minbari Ambassador 
           ( $statements = <BRANSON> ) !~ /Corporate Opinion/;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010827155353.A6875>