Re: auto config NICs in rc.conf

Tobias Roth <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
On Mon, Aug 18, 2003 at 08:17:21PM +0200, Marc H. wrote:
> 
> Is there an utility to do autodetection of LAN config?
> 
> I've written a script to do this with a exhaustive list of the places I 
> connect my laptop, the script do ifconfig, ping the gateway ip@ and if 
> ECHO_REPLY then exit with this parmeters. Someone could tell me how 
> rc.network and rc.d/rc.network[123] are to be used in order to insert my 
> script ?

i am working on a more or less complete solution that will hopefully,
if it proves to be general and stable enough, be integrated into the
source tree. it also works with read-only boot, does dhcp and is
seamlessly integrated into rcng.

i will unleash a first test version to -current and -mobile in a few days,
possibly some day next week. we will then see whether it works for other
people as well at it does for me.

if you want to integrate your own scripts, reading rc(8) will help.

cheers, t.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
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.