From owner-freebsd-questions Tue Aug 28 12:40:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from windborne.net (windborne.net [209.219.5.149]) by hub.freebsd.org (Postfix) with ESMTP id F03AE37B401 for ; Tue, 28 Aug 2001 12:40:23 -0700 (PDT) (envelope-from branson@windborne.net) Received: from hydra.windborne.net (hydra [10.0.0.2]) by windborne.net (Postfix) with ESMTP id 45ABB39DE for ; Tue, 28 Aug 2001 15:40:35 -0400 (EDT) Received: by hydra.windborne.net (Postfix, from userid 10652) id D3F624B92; Mon, 27 Aug 2001 15:53:54 -0400 (EDT) Date: Mon, 27 Aug 2001 15:53:54 -0400 From: Branson Matheson To: freebsd-questions@freebsd.org Subject: User PPP weirdness. Message-ID: <20010827155353.A6875@windborne.net> Reply-To: Branson Matheson Mail-Followup-To: Branson Matheson , freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i Organization: Windborne Productions Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 = ) !~ /Corporate Opinion/; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message