Date: Tue, 28 Oct 1997 07:58:09 -0500 From: Steve Sims <SimsS@IBM.Net> To: "'Simon Marlow'" <simonm@dcs.gla.ac.uk> Cc: "'freebsd-mobile@freebsd.org'" <freebsd-mobile@freebsd.org> Subject: RE: How do you solve... Message-ID: <01BCE377.3C374600.SimsS@IBM.Net>
next in thread | raw e-mail | index | archive | help
ooooOOOOOoooo! Can I see? Can I see? I've got a kind of strange situation that this approach might solve: At home, my laptop plugs into the net & DHSP weaves its magic. At work, DHCP provides the IP address, but many static routes must be configured (currently, by hand :-( Thanks! ...sjs... On Tuesday, October 28, 1997 6:11 AM, Simon Marlow [SMTP:simonm@dcs.gla.ac.uk] wrote: > Poul-Henning Kamp <phk@critter.freebsd.dk> writes: > > > >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. > > Alternatively, you can try to do it automatically: my pccard_ether > tries each possible ifconfig in turn, pinging a known address to find > out where it is. When a successful ping happens, it continues to > configure the system appropriately for the location. Admittedly, this > is a hack, but it works fine. > > Cheers, > Simon > > -- > Simon Marlow simonm@dcs.gla.ac.uk > University of Glasgow http://www.dcs.gla.ac.uk/~simonm/ > finger for PGP public key >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01BCE377.3C374600.SimsS>