Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2001 08:10:09 -0700
From:      "Lars Eggert" <larse@ISI.EDU>
To:        <per.tore.larsen@fernonorden.com>, <freebsd-mobile@freebsd.org>
Subject:   Location Management (was RE: Question about Dynamic IP)
Message-ID:  <PLEAKFMAJKNOEPLJKGBLEEGKCAAA.larse@isi.edu>
In-Reply-To: <25879E6A7E74D411B9370050043B7F3E1DC874@rubicon.fernonorden.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
> > I can, if you can explain how this relates to freebsd-mobile.

First, sorry for the inappropriate comment above. I've gotten some sleep
now and realized that was uncalled for.

> Will answer this:
>
> Have the same problem with mobile BSD users loging into diffrent
> parts and diffrent subnets in our network.  An introduction to a
> truly mobile solution to the hole dynamic ip, dynamic dns, dynamic
> config files issue would be greatly appriciated.

Second, the issue of dynamically reconfiguring mobile hosts has come up
before. I'm aware of the following solutions:

	1. Mike Smith had a set of patches ("personailty script"?)

	2. Ron Rosson's pc-site at http://www.sdbug.org/download.php

	3. We use our own set of patches at ISI.

Our patches add an /etc/locations directory, under which "location
subdirectories" are placed that contain overrides for files in /etc.
Location subdirectores are named after a "well-known box" at each location
(IP or MAC address).

Very early in the boot process, the system uses ARP requests ("arping"
port) to probe for any known location on all interfaces, and links in the
configuration files from the appropriate location directory if a known
location is detected. (Otherwise, the default location "disconnected" is
used.) Any file under /etc can be replaced during this process, allowing
you to change pretty much any setting on a per-location basis.

Manual switching of locations is also supported, through a modified
/etc/netstart and a new /etc/netstop. First you netstop, which closes all
network services, then you start location detection, then you netstart.
(We haven't figured out how to automatically do this in pccard_ether yet,
since you can't cleanly kill some daemons - notably amd - once an
interface has dissappeared).

While our patches have a number of limitations (requires ARP, location
detection isn't parallelized, manual location switching requires three
steps), it works fine for a handful of people with a handful of locations,
and it does work with wireless cards (if WEP keys etc. are set via
start_if.XXX).

If there's interest, I could post our patches to 4.4's /etc somewhere. I'd
be very interested in seeing this functionality in FreeBSD one way or the
other. Few systems support mobile hosts well, the best approach I know of
is Apple's Location Manager.

Lars
--
Lars Eggert <larse@isi.edu>               Information Sciences Institute
http://www.isi.edu/larse/              University of Southern California

[-- Attachment #2 --]
0	*H
010	+0	*H
00G0
	*H
010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.300
010824164000Z
020824164000Z0T10
UEggert1
0U*Lars10ULars Eggert10	*H
	
larse@isi.edu00
	*H
0|\Pw v~~FDooӦA\-	 Cˀ4.)&{肋,z(ܷر߈T7_'txGH^tt/ҹB8%t<#ֲNV0T0*+e!000L2uMyffBNUbNJJcdZ2s0U0
larse@isi.edu0U00
	*H
aJPMՒ]cѭC+kS+wZ1gY",YT41
j6:~℩D~Kؚ‡l=u(ՎM?cF7@}T0)00
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
000830000000Z
020829235959Z010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.3000
	*H
032c	%E>nx'gڈD)c5*mp<ܮto034qmOe
KaU5u'rװ|CBPQ<9TIf-	kiN0L0)U"0 010UPrivateLabel1-2970U00U0
	*H
so&e4KYbDI

j&*bctmSK8P:l4撜n#	KrgPo.XPWՈ9[9}4%MjÑ/<RbH100010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30G0	+e0	*H
	1	*H
0	*H
	1
011005151008Z0#	*H
	1Q3	7510X	*H
	1K0I0
*H
0*H
0+0
*H
(0+0
*H
0	+710010	UZA10UWestern Cape10U	Cape Town10
U
Thawte10UCertificate Services1(0&UPersonal Freemail RSA 2000.8.30G0
	*H
g4-eD!=ǂ!M8OX3bbh;B''20m/I6\"_vO[yۚS
hp'̚`q:6i8@kjق.Jg;~âg

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