From owner-freebsd-mobile@FreeBSD.ORG Mon Aug 18 14:39:50 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1210737B401 for ; Mon, 18 Aug 2003 14:39:50 -0700 (PDT) Received: from smtp808.mail.sc5.yahoo.com (smtp808.mail.sc5.yahoo.com [66.163.168.187]) by mx1.FreeBSD.org (Postfix) with SMTP id 77D5843FBF for ; Mon, 18 Aug 2003 14:39:49 -0700 (PDT) (envelope-from fscked@pacbell.net) Received: from adsl-67-120-104-211.dsl.snfc21.pacbell.net (HELO pacbell.net) (fscked@pacbell.net@67.120.104.211 with plain) by smtp-sbc-v1.mail.vip.sc5.yahoo.com with SMTP; 18 Aug 2003 21:39:46 -0000 Message-ID: <3F4147A1.4060104@pacbell.net> Date: Mon, 18 Aug 2003 14:39:45 -0700 From: richard childers / kg6hac User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: mh@nerim.net References: <3F411831.4000102@nerim.net> In-Reply-To: <3F411831.4000102@nerim.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: auto config NICs in rc.conf X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2003 21:39:50 -0000 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" >