From owner-freebsd-hackers Fri Nov 29 18:42:02 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA19598 for hackers-outgoing; Fri, 29 Nov 1996 18:42:02 -0800 (PST) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA19593 for ; Fri, 29 Nov 1996 18:42:00 -0800 (PST) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id SAA22808; Fri, 29 Nov 1996 18:41:30 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma022806; Fri Nov 29 18:41:09 1996 Received: (from archie@localhost) by bubba.whistle.com (8.7.5/8.6.12) id SAA10223; Fri, 29 Nov 1996 18:40:59 -0800 (PST) From: Archie Cobbs Message-Id: <199611300240.SAA10223@bubba.whistle.com> Subject: Re: isdn In-Reply-To: <199611280125.TAA13940@rocket.comtrol.com> from Amir Farah at "Nov 27, 96 07:25:18 pm" To: amir@comtrol.com (Amir Farah) Date: Fri, 29 Nov 1996 18:40:58 -0800 (PST) Cc: hackers@freebsd.com X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I have an ISDN board along with software from LINK TECHNOLOGY which provides > layers 1 to 3 for an ISDN board. I was able to implement layer 4 as a driver > in FreeBSD 2.1 and invoke layers 1 to 3 from the LINK software. The Link > software sees the board and configures the directory # and spid # I > provided. I could code a number and spid for an outgoing call and the LINK > software would do it for me. The problem is: how to write the driver to > support ppp (which is all I want to do at this point). Eventually multi-link > ppp.......... Howabout this.. manifest each B channel as a /dev entry, in the form of a simple HDLC framer. E.g., /dev/isdnb0 and /dev/idsnb1, where writing to the device (which is atomic) causes the written data to get a 16 bit checksum added to it and sent out as a synchronous packet. Similarly, reading reads in the next valid HDLC frame sans checksum. Then use mpd (in /incoming of ftp.freebsd.org) to set up multi-link PPP across the two devices... you'll have to add a new link type for the B channels, which is pretty easy (and I can help). -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com