Date: Wed, 6 Jan 2010 19:34:43 -0800 From: Weongyo Jeong <weongyo.jeong@gmail.com> To: Steven Friedrich <freebsd@insightbb.com> Cc: freebsd-net@freebsd.org Subject: Re: uath under FreeBSD 8.0-STABLE Message-ID: <20100107033443.GK1491@weongyo> In-Reply-To: <201001061244.46700.freebsd@insightbb.com> References: <201001061244.46700.freebsd@insightbb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Atheros Communications Inc> at usbus1 (disconnected) ugen1.2: <Athero Communications Inc> at usbus1 uath0: <Atheros Communications Inc WG111T, rev 2.00/0.01, addr 2> on usbus1 # ifconfig wlan0 create wlandev uath0 wlan0: Ethernet address: 00:1b:2f:XX:XX:ca <s/modules/usb/uath]# wpa_supplicant -i wlan0 -c /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=] regards, Weongyo Jeong
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100107033443.GK1491>