From owner-freebsd-mobile Fri Oct 5 8:10:27 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by hub.freebsd.org (Postfix) with ESMTP id 40BD537B403 for ; Fri, 5 Oct 2001 08:10:21 -0700 (PDT) Received: from keg (c1-vpn2.isi.edu [128.9.176.28]) by boreas.isi.edu (8.11.6/8.11.2) with SMTP id f95FA9E27896; Fri, 5 Oct 2001 08:10:09 -0700 (PDT) Reply-To: From: "Lars Eggert" To: , Subject: Location Management (was RE: Question about Dynamic IP) Date: Fri, 5 Oct 2001 08:10:09 -0700 MIME-Version: 1.0 Message-ID: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-Type: multipart/signed; micalg=SHA1; protocol="application/x-pkcs7-signature"; boundary="----=_NextPart_000_0004_01C14D75.2605EF00" In-Reply-To: <25879E6A7E74D411B9370050043B7F3E1DC874@rubicon.fernonorden.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is a multi-part message in MIME format. ------=_NextPart_000_0004_01C14D75.2605EF00 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit > > 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 Information Sciences Institute http://www.isi.edu/larse/ University of Southern California ------=_NextPart_000_0004_01C14D75.2605EF00 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIF5jCCArUw ggIeoAMCAQICAwWBRzANBgkqhkiG9w0BAQIFADCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdl c3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsT FENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAw MC44LjMwMB4XDTAxMDgyNDE2NDAwMFoXDTAyMDgyNDE2NDAwMFowVDEPMA0GA1UEBBMGRWdnZXJ0 MQ0wCwYDVQQqEwRMYXJzMRQwEgYDVQQDEwtMYXJzIEVnZ2VydDEcMBoGCSqG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4DAhowCgYIKoZIhvcNAgUwgasGCSsGAQQB gjcQBDGBnTCBmjCBkjELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UE BxMJQ2FwZSBUb3duMQ8wDQYDVQQKEwZUaGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZp Y2VzMSgwJgYDVQQDEx9QZXJzb25hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwAgMFgUcwDQYJKoZI hvcNAQEBBQAEgYCvZzQt/ppl1UQMmMLlIT3HgiFNOE9YBzO9YmL89mijO8nwjg4O8oAfsbJCJycy hqswbS+gSRn8Nryg+LlcuJKQIrxf43ZPW4gbeduaUw1onvGy5vVwDyfMzJqJGPAXBGBxOgsDNobF aYI4QKuIa2rZgi4TSmeeO37DovRnmhmlzAAAAAAAAA== ------=_NextPart_000_0004_01C14D75.2605EF00-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message