From owner-freebsd-questions@FreeBSD.ORG Sat May 12 12:55:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55200106566C for ; Sat, 12 May 2012 12:55:15 +0000 (UTC) (envelope-from cjr@cruwe.de) Received: from cruwe.de (cruwe.de [188.40.164.98]) by mx1.freebsd.org (Postfix) with ESMTP id E944F8FC12 for ; Sat, 12 May 2012 12:55:14 +0000 (UTC) Received: from cruwe.de (unknown [127.0.0.4]) by cruwe.de (Postfix) with ESMTP id 0D2C514774 for ; Sat, 12 May 2012 12:49:27 +0000 (UTC) Received: by cruwe.de (Postfix, from userid 65534) id D6D4D14773; Sat, 12 May 2012 12:49:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.cruwe.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=4.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 Received: from dijkstra.cruwe.de (p5B3798C1.dip.t-dialin.net [91.55.152.193]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by cruwe.de (Postfix) with ESMTPSA id 7BCDD14771 for ; Sat, 12 May 2012 12:49:24 +0000 (UTC) Date: Sat, 12 May 2012 14:49:18 +0200 From: "Christopher J. Ruwe" To: Message-ID: <20120512144918.715616f0@dijkstra.cruwe.de> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV on mail.cruwe.de using ClamSMTP Subject: dlink dwl-122g e1 on 9-stable, working only partially? (or not at all?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 May 2012 12:55:15 -0000 Currently I am fighting with (against?) a dlink dwl-g122 usb wlan dongle. The casing is claiming the thing to be of H/W-version E1, F/W-version 5.00, which I interpret as hardware and firmware. I am running 9-stable (FreeBSD ritchie.cruwe.de 9.0-STABLE FreeBSD 9.0-STABLE #8 r235064: Fri May 11 21:32:52 CEST 2012 cjr@ritchie.cruwe.de:/usr/obj/usr/src/sys/RITCHIE amd64) and admittedly, dwl-g122 is not included in the hw-compatibility list for 9.0. I am also aware that others have been unsuccessful, though some time back, to get dlw-g122 e running (http://forums.freebsd.org/showthread.php?t=27123). However, I am somewhat successful in getting the dongle recognized by if_run.ko, though not to work as I would like to: dmesg gives then [...] ugen0.3: at usbus0 run0: on usbus0 run0: MAC/BBP RT3070 (rev 0x0201), RF RT2020 (MIMO 1T1R), address b8:a3:86:97:c1:ec ieee80211_load_module: load the wlan_amrr module by hand for now. wlan0: Ethernet address: b8:a3:86:97:c1:ec run0: firmware RT2870 ver. 0.236 loaded ieee80211_load_module: load the wlan_amrr module by hand for now. wlan0: Ethernet address: b8:a3:86:97:c1:ec run0: firmware RT2870 ver. 0.236 loaded run0: firmware RT2870 ver. 0.236 loaded ieee80211_load_module: load the wlan_amrr module by hand for now. wlan0: Ethernet address: b8:a3:86:97:c1:ec run0: firmware RT2870 ver. 0.236 loaded ieee80211_load_module: load the wlan_amrr module by hand for now. wlan0: Ethernet address: b8:a3:86:97:c1:ec run0: firmware RT2870 ver. 0.236 loaded run0: firmware RT2870 ver. 0.236 loaded ieee80211_load_module: load the wlan_amrr module by hand for now. wlan0: Ethernet address: b8:a3:86:97:c1:ec ieee80211_load_module: load the wlan_amrr module by hand for now. wlan0: Ethernet address: b8:a3:86:97:c1:ec run0: firmware RT2870 ver. 0.236 loaded ieee80211_load_module: load the wlan_amrr module by hand for now. wlan0: Ethernet address: b8:a3:86:97:c1:ec run0: firmware RT2870 ver. 0.236 loaded wlan0: ieee80211_new_state_locked: pending RUN -> SCAN transition lost wlan: mac acl policy registered I have no explanation for the multiple occurrences, I have been trying for some time now, though. After sudo ifconfig wlan0 create wlandev run0 wlanmode hostap sudo ifconfig wlan0 inet 192.168.3.1 netmask 255.255.255.0 ssid bsdap channel - I get run0: flags=8a43 metric 0 mtu 2290 ether b8:a3:86:97:c1:ec nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running wlan0: flags=8843 metric 0 mtu 1500 ether b8:a3:86:97:c1:ec inet6 fe80::baa3:86ff:fe97:c1ec%wlan0 prefixlen 64 scopeid 0xb inet 192.168.3.1 netmask 0xffffff00 broadcast 192.168.3.255 nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid bsdap channel 1 (2412 MHz 11g) bssid b8:a3:86:97:c1:ec regdomain ETSI country DE authmode OPEN privacy OFF deftxkey 2 TKIP 2:128-bit TKIP 3:128-bit txpower 30 scanvalid 60 protmode CTS wme dtimperiod 1 -dfs This looks quite reasonable to me, however, I have been unsuccessful so far to get the ssid bsdap to appear on any scan done from the prospective clients (one 9-stable notebook, two Linux notebooks and one Nexus S android). Does anyone have an idea what is left to try or should I give up and look for another solution to build a wireless-capable router? Thanks in advance, cheers and have a nice weekend, -- Christopher TZ GMT + 2h