From owner-freebsd-net@FreeBSD.ORG Thu Jan 7 21:01:53 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 923501065695; Thu, 7 Jan 2010 21:01:53 +0000 (UTC) (envelope-from freebsd@insightbb.com) Received: from mxsf10.insightbb.com (mxsf10.insightbb.com [74.128.0.92]) by mx1.freebsd.org (Postfix) with ESMTP id 4CEF78FC1A; Thu, 7 Jan 2010 21:01:52 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.49,237,1262581200"; d="scan'208";a="21454881" Received: from unknown (HELO asav03.insightbb.com) ([172.31.249.123]) by mxsf10.insightbb.com with ESMTP; 07 Jan 2010 16:01:52 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsgEAJbaRUvQLicL/2dsb2JhbACBRdJ1hDAEhWk X-IronPort-AV: E=Sophos;i="4.49,237,1262581200"; d="scan'208";a="119728373" Received: from 208-46-39-11.dia.static.qwest.net (HELO laptop2.stevenfriedrich.org) ([208.46.39.11]) by asavout03.insightbb.com with ESMTP; 07 Jan 2010 16:01:51 -0500 From: Steven Friedrich To: freebsd-net@freebsd.org, Weongyo Jeong Date: Thu, 7 Jan 2010 16:01:49 -0500 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; i386; ; ) References: <201001061244.46700.freebsd@insightbb.com> <201001071133.22131.freebsd@insightbb.com> <20100107184516.GP1491@weongyo> In-Reply-To: <20100107184516.GP1491@weongyo> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001071601.49691.freebsd@insightbb.com> Cc: Subject: Re: uath under FreeBSD 8.0-STABLE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 21:01:53 -0000 On Thursday 07 January 2010 01:45:16 pm Weongyo Jeong wrote: > On Thu, Jan 07, 2010 at 11:33:21AM -0500, Steven Friedrich wrote: > > On Wednesday 06 January 2010 10:34:43 pm Weongyo Jeong wrote: > > > 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 > > > > > /etc/wpa_supplicant.conf CTRL-EVENT-SCAN-RESULTS > > > Trying to associate with 00:08:XX:XX:XX:14 (SSID='wg' freq=2437 > > > MHz) Associated with 00:08:XX:XX:XX:14 > > > WPA: Key negotiation completed with 00:08:XX:XX:XX:14 [PTK=TKIP > > > GTK=TKIP] > > > CTRL-EVENT-CONNECTED - Connection to 00:08:XX:XX:XX:14 completed > > > (auth) [id=0 id_str=] > > > > Here's my /etc/wpa_supplicant.conf > > # ap_scan should be 2 when using ndis (bcmwl5_sys) driver, > > # 1 when using bwi, uath > > ap_scan=1 > > network={ > > bssid=00:xx:xx:xx:xx:50 > > ssid="FriedrichAir" > > scan_ssid=1 > > key_mgmt=WPA-PSK > > pairwise=TKIP > > group=TKIP > > proto=WPA WPA2 > > psk="xxxxxxxxxxxxxxxx" > > } > > It looks weird for me that with you configuration my device is worked > without problems. Could you please do wireless association test without > any authentication (like WPA, WEP)? > > I think we should check it first before associating with WPA. > > regards, > Weongyo Jeong > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > I tried the firmware from your site, but it complains with errors and doesn't appear in ifconfig. Here are the errors: ugen4.4: at usbus4 uath0: on usbus4 uath0: timeout waiting for reply to cmd 0x1 (1) uath0: could not initialize adapter device_attach: uath0 attach returned 35 I'll try the association test without wpa, but it's gonna take me a few days. I'll have it done by Monday, at the latest.