auto config NICs in rc.conf

richard childers / kg6hac fscked at pacbell.net
Mon Aug 18 14:39:50 PDT 2003


I've been chewing on this problem for a while.

So have a lot of folks.

There's a guy who wrote a script and shared it with his computer club 
that did something like what you describe, except that he used the 
curses library to make it user-fiendly.

I'm not saying that he was the first to do it or the first to use the 
name, but gradually this has come to be known as the 'rc.mobile' script.

It hasn't made it into the release yet, more's the pity. I suppose this 
is to keep script kiddies from having too much power; the same script 
that could empower you to be mobile could empower someone less gifted to 
engage in a form of identity theft. Even mentioning the possibility is 
enough to get me keelhauled.  /-:

Here's a URL or two to get you started; note that the seed of what you 
are looking for may well exist in the Linux community, rather than the 
BSD community, and under another name, too.

Regards,

-- richard


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 ?
>
> Marc
>
> _______________________________________________
> freebsd-mobile at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobile-unsubscribe at freebsd.org"
>



More information about the freebsd-mobile mailing list