Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2010 11:56:52 +0300
From:      Zeus V Panchenko <zeus@ibs.dn.ua>
To:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   startup network configuration choice
Message-ID:  <20100815085652.GE95405@ibs.dn.ua>

next in thread | raw e-mail | index | archive | help
Hi All,

may somebody advice, please ...

i'd like to get automatic network configuration for my netbook while
startup depending on the network it connected to while starting up ...

not dhcp, but system startup script to detect the network and to
configure the interfaces

i have written script which receives arguments -h for home and -j for
job and cosequently configures network, and configured network in
rc.conf for one of the connections (default is job)

but i'd like the system to do that automaticaly to avoid timeouts of
network services like sshd/sendmail/e.t.c. when i'm starting up with
"wrong" connection

is there correct way to do that with some of the sturtup scripts or i
have to do that by hands somewhere in rc.early?

-- 
Zeus V. Panchenko
IT Dpt., IBS ltd			      	        GMT+2 (EET)



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