DragonFly BSD
DragonFly users List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Example of 'brilliant' apps?

From: "Freddie Cash" <fcash-ml@xxxxxxxxxx>
Date: Sun, 20 Mar 2005 10:28:19 -0800 (PST)

> On Sun, 20 Mar 2005, Martin P. Hellwig wrote:
>> Gabriel Ambuehl wrote:
>>> It would seem like an awfully hard thing to reliably detect what
>>> network your on for all but the very simplest networks, no?
>>> Partner MAC will rarely be the same all the time in complex
>>> networks (especially when they use multiple AP to cover wide
>>> ranges with WiFi), IP often are private ones, so not really
>>> useful either...

>> Well the combination of the gateways IP & full dns name should be
>> enough I think.

> I was thinking something quick and dirty like so (note that this is
> thoroughly untested here in Powerbook land):

There's a profile.sh project for doing this on FreeBSD 5.x.  It uses
the RCng system and a bunch of shell script magic, but it looks like
it does what you want.  Not sure how hard/easy it would be to port to
DFly, though.


Freddie Cash, CCNT CCLP        Helpdesk / Network Support Tech.
School District 73             (250) 377-HELP [377-4357]
fcash@xxxxxxxxxx               helpdesk@xxxxxxxxxx

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]