From owner-freebsd-current@FreeBSD.ORG Fri Apr 17 13:51:43 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 317921065672 for ; Fri, 17 Apr 2009 13:51:43 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (brucec-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:c09::2]) by mx1.freebsd.org (Postfix) with ESMTP id E3A838FC0C for ; Fri, 17 Apr 2009 13:51:42 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 3FD4E245401; Fri, 17 Apr 2009 14:51:46 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon X-Spam-Level: X-Spam-Status: No, score=-2.6 required=8.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 Received: from gluon.draftnet (unknown [IPv6:2a01:348:10f:0:240:f4ff:fe57:9871]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Fri, 17 Apr 2009 14:51:46 +0000 (GMT) Date: Fri, 17 Apr 2009 14:51:37 +0100 From: Bruce Cran To: Matthias Apitz Message-ID: <20090417145137.0ea386d9@gluon.draftnet> In-Reply-To: <20090417112318.GA8258@rebelion.Sisis.de> References: <20090417112318.GA8258@rebelion.Sisis.de> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: CURRENT && USB network device, cdce X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2009 13:51:43 -0000 On Fri, 17 Apr 2009 13:23:19 +0200 Matthias Apitz wrote: > > Hello, > > In my installed CURRENT my USB network device does not bring up the > interface cdce0 anymore; the cdce is in kernel and all u*.ko modules > are loaded but it only says on device attach: > > Apr 17 13:16:44 tiny kernel: ugen1.2: at > usbus1 Apr 17 13:16:44 tiny root: Unknown USB device: vendor 0x1457 > product 0x5122 bus uhub1 > > on my RELENG_7 laptop is says: > > Apr 17 13:20:14 rebelion root: Unknown USB device: vendor 0x1457 > product 0x5122 bus uhub0 Apr 17 13:20:14 rebelion kernel: cdce0: > 2.00/2.12, addr 2> on uhub0 Apr 17 13:20:14 rebelion kernel: cdce0: > faking MAC address Apr 17 13:20:14 rebelion kernel: cdce0: Ethernet > address: 2a:ed:f2:e3:00:00 Apr 17 13:20:14 rebelion kernel: cdce0: > if_start running deferred for Giant > > I've checked /usr/src/UPDATING and Google, but can't see what I'm > missing; thx The GTA02 (I'm presuming that's what it is) has an RNDIS interface at configuration 0 and CDCE is at configuration 1 so you'll need to run: usbconfig -u 1 -a 2 set_config 1 The parameters to -a and -u will vary depending on which ugen device it gets detected as. Mine's often ugen3.2 but changes depending on which other USB devices I've plugged in. You should then see the kernel messages relating to cdce and be able to assign an IP address to ue0 (what was cdce0 in 7.x is now ue0). -- Bruce Cran