Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 1997 19:29:23 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Warner Losh <imp@village.org>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: How do you solve... 
Message-ID:  <1548.877976963@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 27 Oct 1997 09:05:20 MST." <199710271605.JAA04239@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199710271605.JAA04239@harmony.village.org>, Warner Losh writes:
>
>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?

I have two small aliases that 

	home	(rm -f /var/tmp/@work)
	work	(touch /var/tmp/@work)

my /etc/pccard.ether (or whatever it is called today) looks for
this file and decideds which IP to configure.  Works great.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."



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