auto config NICs in rc.conf

Thierry Thomas thierry at pompo.net
Mon Aug 18 13:58:52 PDT 2003


Le Lun 18 aoû 03 à 20:17:21 +0200, Marc H. <mh at nerim.net>
 écrivait :
> 
> 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 ?

Have you checked Setnetparms?

<http://www.freebsd-support.de/misc/setnetparm/>

This is not "auto config", but it runs fine here.

Regards,
-- 
Th. Thomas.


More information about the freebsd-mobile mailing list