Skip site navigation (1)Skip section navigation (2)
Date:      24 Nov 1999 16:48:10 -0800
From:      Matt Braithwaite <matt@braithwaite.net>
To:        Dirk-Willem van Gulik <dirkx@webweaving.org>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: STRIP (was Re: richochet modems)
Message-ID:  <86r9hf4cs5.fsf@zildjian.hq.alink.net>
In-Reply-To: Dirk-Willem van Gulik's message of "Wed, 24 Nov 1999 21:39:24 %2B0100 (CET)"
References:  <Pine.BSF.4.10.9911242137010.551-100000@brunte.ispra.webweaving.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 24 Nov 1999 21:39:24 +0100 (CET), Dirk-Willem van Gulik <dirkx@webweaving.org> 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




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