From owner-freebsd-questions Thu Aug 27 11:42:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA28842 for freebsd-questions-outgoing; Thu, 27 Aug 1998 11:42:20 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mx.seanet.com (dns2.seanet.com [199.181.164.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA28770 for ; Thu, 27 Aug 1998 11:42:00 -0700 (PDT) (envelope-from sab@dniquote.com) Received: from mail.dniquote.com (rar.seanet.com [199.181.167.103]) by mx.seanet.com (8.8.8/Seanet-8.7.3) with ESMTP id LAA13393 for ; Thu, 27 Aug 1998 11:41:01 -0700 (PDT) Received: (from sab@localhost) by mail.dniquote.com (8.8.7/8.8.7) id LAA03192; Thu, 27 Aug 1998 11:41:00 -0700 (PDT) (envelope-from sab) Message-ID: <19980827114100.B2857@dniquote.com> Date: Thu, 27 Aug 1998 11:41:00 -0700 From: Scott Blachowicz To: freebsd-questions@FreeBSD.ORG Subject: PPP over ISDN USR Courier I-modem via ByteRunner TC-200 card Reply-To: Scott Blachowicz Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi- We recently moved an external USRobotics Courier I-modem from a Windows NT (4.0 SP3) box to a FreeBSD (2.2.5R) box. That ISDN line is used as the gateway to our ISP for a network of around 5-10 systems. It is a full-time dedicated ISDN line, so on the BSD box I run: ppp -ddial seanetISDN0 Now...we have it connected to a serial port with a 16550A UART which limits the bandwidth a bit (to the 115200 max for the serial port), and it seems to work OK. In the NT box we had it connected to a ByteRunner TC-200 [a 2 port 16650 serial card...the 9 pin connector ("COMB") is setup as COM3/IRQ5 and the 25 pin connector ("COMA") is disabled]. On that card we had the clock multiplier jumper set to double the speed (i.e. system says 115200 and the card uses 230400 to talk to the modem). I think we're using the same cabling we were on the NT box. So...the problem is...when I have the modem hooked up to the COM3 port, it fires up the connection to our ISP and runs for a while just fine. Then after a little while (a few to 10 minutes or so), it seems to just stop. I'm running tcpdump -li tun0 and I see lines for traffic trying to go out, but I don't see the send data light flashing or the receive data light flashing. It's just stuck somehow, somewhere. When that happens, I do a 'kill' on the ppp process, switch the cable back to COM1, go change the ppp.conf from cuaa2 to cuaa0, fire it back up and it works. I've tried various tricks of enabling/disabling lqr & pred1 in my ppp.conf; enable/disable the COM4 port on the ByteRunner card. I'll append my ppp.conf to this message. Any ideas on how to get this working via the ByteRunner card? -- Scott Blachowicz sab@seanet.com my ppp.conf file: default: disable lqr deny lqr disable pred1 deny pred1 set socket 3000 quoteme set authname USERNAME set authkey PASSWORD set redial 10.5 5 set device /dev/cuaa0 set speed 115200 ##set log Phase Chat Connect Carrier LQM Link Command set log +phase +chat +connect +lqm +command set escape 0 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATM0E1%C1%M3&D2&Q5S46=138S48=7S37=11 OK-AT-OK \\dATDT\\T TIMEOUT 30 CONNECT" seanetISDN0: set phone "XXX-XXX-XXXX|XXX-XXX-XXXX" set timeout 0 set dial "TIMEOUT 70 \"\" AT OK-AT-OK AT&F1*V2=5S67=0S68=64S69=0*D0=1*P=3 OK AT&F1E0Q0V1&A3&C1&D2S0=0 OK ATS7=55S19=0L3M1&M5&K1&H1&R2&I0B0X4 OK \\dATDT\\T CONNECT" set ifaddr 199.181.167.103 199.181.164.1/0 add 0 0 HISADDR seanetISDN2: set device /dev/cuaa2 set phone "XXX-XXX-XXXX|XXX-XXX-XXXX" set timeout 0 set dial "TIMEOUT 70 \"\" AT OK-AT-OK AT&F1*V2=5S67=0S68=64S69=0*D0=1*P=3 OK AT&F1E0Q0V1&A3&C1&D2S0=0 OK ATS7=55S19=0L3M1&M5&K1&H1&R2&I0B0X4 OK \\dATDT\\T CONNECT" set ifaddr 199.181.167.103 199.181.164.1/0 add 0 0 HISADDR To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message