From owner-freebsd-hackers Thu Feb 3 9: 0:18 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by builder.freebsd.org (Postfix) with ESMTP id F234B4100 for ; Thu, 3 Feb 2000 09:00:15 -0800 (PST) Received: from whistle.com (crab.whistle.com [207.76.205.112]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id JAA74316; Thu, 3 Feb 2000 09:00:24 -0800 (PST) Received: (from ambrisko@localhost) by whistle.com (8.9.3/8.9.1) id JAA82870; Thu, 3 Feb 2000 09:00:20 -0800 (PST) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200002031700.JAA82870@whistle.com> Subject: Re: Removing interfaces To: Nick@whistle.com, Hibma Date: Thu, 3 Feb 2000 09:00:19 -0800 (PST) Cc: Archie@whistle.com, Cobbs , freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nick Hibma writes: | | if_kue, if_aue or ask Doug Ambrisko for a copy of the udbp (USB double | bulk pipe) driver that should have that as well. The udbp doesn't do it since it just creates a netgraph node. Then you tie that netgraph node to an interface. At that point netgraph makes an interface called ngX. When you remove the USB widget then a new netgraph node is created (the old one destroyed) and then you connect this netgraph node to an interface which is ng(X+1)). This is what Archie is trying to avoid. So no udbp is not a example until Archie fixes netgraph. However, he could look at if_kue, if_aue, or the various pccard ethernet adapters in -current since they all seem to work. Archie you should upgrade your laptop to -current. Then you could go wireless with it and see the anX interface come an go. Also you could play with USB ethernet widgets and USB modem floating around here (BTW Nick it almost works with your umodem.c driver on your web page. The only problem I see is that it doesn't see loss of CD). Doug A. | On Wed, 2 Feb 2000, Archie Cobbs wrote: | | > With all the PCMCIA card stuff going on, is it now possible to | > remove a networking interface in FreeBSD (from within the kernel)? | > | > If so could someone show me an example how. I'd like to implement | > this in the ng_iface(8) netgraph node type. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message