From owner-freebsd-mobile Mon Oct 27 23:49:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA04869 for mobile-outgoing; Mon, 27 Oct 1997 23:49:00 -0800 (PST) (envelope-from owner-freebsd-mobile) Received: from hcshh.hcs.de (hcshh.hcs.de [194.49.17.1] (may be forged)) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id XAA04855 for ; Mon, 27 Oct 1997 23:48:55 -0800 (PST) (envelope-from hm@hcs.de) Received: from hcswork.hcs.de([192.76.124.5]) (2074 bytes) by hcshh.hcs.de via sendmail with P:smtp/R:inet_hosts/T:smtp (sender: ) id for ; Tue, 28 Oct 1997 08:45:04 +0100 (MET) (Smail-3.2.0.97 1997-Aug-19 #16 built 1997-Oct-22) Received: by hcswork.hcs.de (Smail3.1.29.0 #12) id m0xQ6LJ-0000dMC; Tue, 28 Oct 97 08:45 MET Message-Id: From: hm@hcs.de (Hellmuth Michaelis) Subject: Re: How do you solve... To: phk@critter.freebsd.dk (Poul-Henning Kamp) Date: Tue, 28 Oct 1997 08:45:37 +0100 (MET) Cc: imp@village.org, freebsd-mobile@FreeBSD.ORG In-Reply-To: <1548.877976963@critter.freebsd.dk> from "Poul-Henning Kamp" at "Oct 27, 97 07:29:23 pm" Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL15 (25)] Content-Type: text Sender: owner-freebsd-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >From the keyboard of Poul-Henning Kamp: > >OK. I have a Libretto that I just purchased. A fun box. I'm in the > >process of shrinking the FAT partition down to put FreeBSD onto the > >box and have a question. > > > >I take it back and forth between home and work. I'd like it to have > >different IP numbers at the two location. I'd love for this to be > >completely automatic. Any chance of that happening? Is DHCP what I > >want to use? You might want to have a look at my solution to this problem, it is available from ftp://ftp.freebsd.org/pub/FreeBSD/incoming/setnetparms.tar.gz. It consists of a simple database of network parameters (name, ipaddr, mask etc) and some scripts and a curses menu screen to select a set from the parameter database or enter a new set interactively. DHCP did not solve this problem for me, as i also work at sites where no DHCP is available and i got tired of editing all sorts of config files again and again. hellmuth -- Hellmuth Michaelis Tel +49 40 559747-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 559747-77 Oldesloer Strasse 97-99 Mail hm@hcs.de 22457 Hamburg WWW http://www.hcs.de