From owner-freebsd-net@FreeBSD.ORG Thu Jan 7 03:34:33 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F33DB106566B for ; Thu, 7 Jan 2010 03:34:33 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 9F6EE8FC0C for ; Thu, 7 Jan 2010 03:34:33 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so4003632qwb.7 for ; Wed, 06 Jan 2010 19:34:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem; bh=B2zhcngkLr02EBK/kJ0kMMyqJa3bWaJ20xay02IHx9I=; b=gsYQbQhIcuN5v+Uz0SpDE7zOcS8t/4bYrAVhdXvzECxCvWbylBrFv/cNohdM77ve71 c7n0q5E8TOYgI+GZzuBg9Y8RLVmBYcvfXJtpw3QJp3H33G62kW4of3OY56fIPd6Ihxg1 S22XFr8SwSi4XMibZdPrW9qmQ00nj78IProT0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:organization:x-operation-sytem; b=nja5sx/ZFjmz/yfP4ytQlI35rQzxua+UOfk49nTB9LkAV2hT6vDa5aXATtb6CZj8+K PQh8r3jFIRM2W7GjreYDW7U495qocctdDlFvUt7DRQAUr56SZawKJ5+rFodKzrJ1IGYa RI1Mxx1nZR9wtmEFdBZ/+E9vB11evJErHf0Ro= Received: by 10.229.31.211 with SMTP id z19mr580362qcc.24.1262835269081; Wed, 06 Jan 2010 19:34:29 -0800 (PST) Received: from weongyo ([174.35.1.224]) by mx.google.com with ESMTPS id 6sm57241343qwd.56.2010.01.06.19.34.26 (version=SSLv3 cipher=RC4-MD5); Wed, 06 Jan 2010 19:34:28 -0800 (PST) Received: by weongyo (sSMTP sendmail emulation); Wed, 6 Jan 2010 19:34:43 -0800 From: Weongyo Jeong Date: Wed, 6 Jan 2010 19:34:43 -0800 To: Steven Friedrich Message-ID: <20100107033443.GK1491@weongyo> Mail-Followup-To: Steven Friedrich , freebsd-net@freebsd.org References: <201001061244.46700.freebsd@insightbb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001061244.46700.freebsd@insightbb.com> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: freebsd-net@freebsd.org Subject: Re: uath under FreeBSD 8.0-STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jan 2010 03:34:34 -0000 On Wed, Jan 06, 2010 at 12:44:46PM -0500, Steven Friedrich wrote: > On Monday 04 January 2010 05:31:18 pm Weongyo Jeong wrote: > > On Mon, Jan 04, 2010 at 03:57:56PM -0500, Steven Friedrich wrote: > > > On Monday 04 January 2010 03:34:41 pm Weongyo Jeong wrote: > > > > Could you please test with attached patch? Today the device I ordered > > > > is delivered and I tried to test with it. One thing, it looks weird, > > > > I noticed is that after uploading the firmware, idProduct is increased > > > > not decreased. > > > > > > > > After patching, you should rebuild the module. > > > > > > I didn't get an attachment... > > > > Attached. > > > > regards, > > Weongyo Jeong > > > > I had to place: > # Firmware download for Netgear WG111T USB ethernet. > attach 100 { > match "vendor" "0x1385"; > match "product" "0x4251"; > action "/usr/sbin/uathload -d /dev/$device-name"; > }; > > in /etc/devd.conf, but I later moved it to /usr/local/etc/devd/WG111T.conf > > Then it appeared in the ifconfig as uath0. > > But I get errors later when I run wpa_supplicant -B -i wlan0 -c > /etc/wpa_supplicant.conf > > Those errors are: > uath0: timeout waiting for reply to cmd 0x8 (8) > uath0: could not start target, error 35 > > Your patch DOES work, AFAIK. I tested WPA test with my device today and it worked. Could you please show me your wpa_supplicant.conf and commands? The following is my configuration and command. # cat /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid="wg" bssid=00:08:XX:XX:XX:15 proto=WPA key_mgmt=WPA-PSK pairwise=TKIP group=TKIP scan_ssid=1 psk="XXXXXXXXXX" } # uathload -d /dev/ugen1.2 ugen1.2: at usbus1 (disconnected) ugen1.2: at usbus1 uath0: on usbus1 # ifconfig wlan0 create wlandev uath0 wlan0: Ethernet address: 00:1b:2f:XX:XX:ca