From owner-cvs-all Thu Oct 19 8:44:58 2000 Delivered-To: cvs-all@freebsd.org Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 48D8A37B4CF; Thu, 19 Oct 2000 08:44:53 -0700 (PDT) Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (8.9.3/8.9.3) with ESMTP id KAA00282; Thu, 19 Oct 2000 10:44:48 -0500 (CDT) (envelope-from cdillon@wolves.k12.mo.us) Date: Thu, 19 Oct 2000 10:44:47 -0500 (CDT) From: Chris Dillon To: Josef Karthauser Cc: Nick Hibma , cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/etc usbd.conf In-Reply-To: <20001019082542.A902@pavilion.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 19 Oct 2000, Josef Karthauser wrote: > On Wed, Oct 18, 2000 at 07:09:51PM -0700, Nick Hibma wrote: > > > > On a related note, I checked the code and it seems that this actually > > might work. > > > > I'll have to test it and unfortunately my laptops kernel is severely out > > of date. > > > > If anyone is at BSDCon that could try out the following lines to replace > > the ethernet entry in /etc/usbd.conf be my guest. If it works, I'll > > commit it. > > > > # The entry for the cue, kue and aue ethernet interface drivers. > > device "USB ethernet" > > devname "[ack]ue[0-9]+" > > attach "dhclient -pf /var/run/dhclient.${DEVNAME}.pid ${DEVNAME}" > > detach "kill `cat /var/run/dhclient.${DEVNAME}.pid`" > > Or try: > > device "USB ethernet" > devname "[ack]ue[0-9]+" > insert "/etc/pccard_ether ${DEVNAME} start" > remove "/etc/pccard_ether ${DEVNAME} stop" > > And if it works rename /etc/pccard_ether to /etc/somethingelse_ether > Joe That would be even better. Maybe a more generic "hotplug_ether" (or whatever) and some new rc.conf options that work more generically with pccard, USB, possibly IEEE-1394 in the future, and whatever other come-and-go schemes we might come across is in order? -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet. For IA32 and Alpha architectures. IA64 and PowerPC under development. http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message