From owner-freebsd-mobile Wed Nov 24 16:48:28 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from hh.alink.net (hh.alink.net [207.135.127.85]) by hub.freebsd.org (Postfix) with ESMTP id 6CD3214FB1 for ; Wed, 24 Nov 1999 16:48:25 -0800 (PST) (envelope-from mab@zildjian.hq.alink.net) Received: from zildjian.hq.alink.net (lc.alink.net [207.135.127.87]) by hh.alink.net (8.9.3/8.9.3) with ESMTP id QAA21322; Wed, 24 Nov 1999 16:48:10 -0800 (PST) Received: (from mab@localhost) by zildjian.hq.alink.net (8.9.3/8.9.3) id QAA52905; Wed, 24 Nov 1999 16:48:10 -0800 (PST) (envelope-from mab) From: Matt Braithwaite Reply-To: matt@braithwaite.net X-Attribution: mab X-Face: @fge8WW'#w^hZghU$,3gfTP2@56+jGR+wSn|.Ddh,5d6qi")q;sCrYh[W;z-]Q0avfG):{3&hq61!)x&&PUrp%upUD9v9bB2_bw-"0v(87+A`?=1+P`# To: Dirk-Willem van Gulik Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: STRIP (was Re: richochet modems) References: Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 24 Nov 1999 16:48:10 -0800 In-Reply-To: Dirk-Willem van Gulik's message of "Wed, 24 Nov 1999 21:39:24 +0100 (CET)" Message-ID: <86r9hf4cs5.fsf@zildjian.hq.alink.net> Lines: 39 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Big Bend" Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 24 Nov 1999 21:39:24 +0100 (CET), Dirk-Willem van Gulik said: > > On 24 Nov 1999, Matt Braithwaite wrote: > >> Not that it's especially relevant, but: is anybody interested in >> running STRIP under FreeBSD? I ported the NetBSD driver and it's been >> working fine for me. > > Actually this is kind of neat. I am in italy; and have just one of those > beasts... for use in the US. But this would be a hack to do something > usefull with them here as well when I get a second one. Sure---this *does* work; you do not need the Ricochet network to talk modem-to-modem. It's also faster. When I'm in the same room as my gateway, I can get over 6 KB/sec, as opposed to a few KB/sec over the Ricochet network. I believe the range for direct radio to radio communication is about 1/4 mile with typical urban obstacles; can anybody confirm? > Any specific pointer's for the freebsd code ; I just googled; but > got mainly linux/netbsd specific ptr's. I haven't put the code out in public anywhere because it's so embarassing. I know nothing about kernel programming, so what I did was this: I diffed NetBSD's if_ppp.c and if_strip.c, and I diffed FreeBSD's if_ppp.c against NetBSD's if_ppp.c, and I used the results to turn a copy of FreeBSD's if_ppp.c into a STRIP driver. Patches to arp? and slattach? are also necessary, but trivial, IIRC. In other words, my idea of a port was very nearly a purely textual merge. Yeek. Still, it works fine, and interoperates with the Linux implementation, although it doesn't have ARP support. Still, if it'd be useful to you, I'll swallow my pride and send it off. :-) -- Matt Braithwaite Here in my car, I can only receive. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message