Re: Automatic network config.

Lars Eggert <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Yann Golanski wrote:
> I have a laptop which I plug into two different networks (home and at
> university) which means it has to have two network configurations. Is
> there a simple boot up time option that would allow the laptop to find
> the right configuration to boot up with? 
> 
> I can think of hacking the networks start script to include something
> like:
>   if (network at uni works) then boot that one
>   else if (network at home works) then boot the home one
>   else do not boot any network.
> But I think that there maybe something already there to do it.

Look at the location.sh script at http://www.isi.edu/larse/etc.html. 
It's for current, but easily pluggable into -stable. (I'm thinking about 
backporting it for our 4.7 machines.)

Lars
-- 
Lars Eggert <[email protected]>           USC Information Sciences Institute
smime.p7s (application/x-pkcs7-signature, 3.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.