From owner-freebsd-questions@FreeBSD.ORG Wed May 16 03:34:52 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 026D31065672 for ; Wed, 16 May 2012 03:34:52 +0000 (UTC) (envelope-from moonlightakkiy@yahoo.ca) Received: from nm13-vm3.bullet.mail.ne1.yahoo.com (nm13-vm3.bullet.mail.ne1.yahoo.com [98.138.91.143]) by mx1.freebsd.org (Postfix) with SMTP id 97A618FC12 for ; Wed, 16 May 2012 03:34:51 +0000 (UTC) Received: from [98.138.90.53] by nm13.bullet.mail.ne1.yahoo.com with NNFMP; 16 May 2012 03:34:44 -0000 Received: from [98.138.226.126] by tm6.bullet.mail.ne1.yahoo.com with NNFMP; 16 May 2012 03:34:44 -0000 Received: from [127.0.0.1] by smtp205.mail.ne1.yahoo.com with NNFMP; 16 May 2012 03:34:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1337139284; bh=Uv18PSRa4+YA6mAYcbfNZ7sytZ5Q5M76RgCyzt5IN5w=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:MIME-Version:Received:Received:Date:Message-ID:Subject:From:To:Content-Type:Content-Transfer-Encoding; b=v5JiIzUZdO8N2v0dmt1coNEfDUxL6/W7dJskPXZ8vohd1WZiJHU0Pr8dEX4P6NzebN0HpCpg+2zBjKVx9372F05LbbRx0YMGvvzLf5vqnMGPu7KV4HO31q/PIenqpk3CLLEVWlh+7x8WXtBVfYHODM2jmmAEh79vjTRGO8tizX8= X-Yahoo-Newman-Id: 830448.51598.bm@smtp205.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: dD4alSkVM1makn8UIIHRs5zmqAW_kfWiVcZP3vBSRw23R6b CFGLyuqY0oJ6lVOOa.DbPP8V48uB1gDjdIjIhi1IqmgeWL.K946rjjb023RD DtmAcEdB1mqFDUpAyXQXURehRHKMoEaTTLEP3hWtwo6a6cTDICbqrCeS4q7k dkhUOWJfwj8CF4INoLyTQztQxTNkdEnqKaPWu4gS6beYO186Roi57vQAonLX ROCbvOENMXxFnwdQdR061UWpRln_77u2GOWQqEiTb.BO1tieV1yzhaiA5p5_ SD_uzAxcT8sWS7QL0KyDdMU4cHYsteAN5CDR7Nh1BqTDng4Q9DmU4J2.fDqx y.f2Vj8jPPs0V9Nd_D3xlQEqS4a0SeRGwJJI5VSOeI_XZWdqXsqDb.U962Xf h4qtkMvCZl4mdof3BrNPsxP1xK1rn4CKbVR7OyA-- X-Yahoo-SMTP: Xr6qjFWswBAEmd20sAvB4Q3keqXvXsIH9TjJ Received: from mail-ob0-f182.google.com (moonlightakkiy@209.85.214.182 with plain) by smtp205.mail.ne1.yahoo.com with SMTP; 15 May 2012 20:34:44 -0700 PDT Received: by obcni5 with SMTP id ni5so531976obc.13 for ; Tue, 15 May 2012 20:34:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.197.69 with SMTP id is5mr1287716obc.32.1337139284195; Tue, 15 May 2012 20:34:44 -0700 (PDT) Received: by 10.182.47.136 with HTTP; Tue, 15 May 2012 20:34:44 -0700 (PDT) Date: Tue, 15 May 2012 21:34:44 -0600 Message-ID: From: PseudoCylon To: "Christopher J. Ruwe" , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: 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: Wed, 16 May 2012 03:34:52 -0000 ----------------------------- > > Message: 8 > Date: Mon, 14 May 2012 19:14:42 +0200 > From: "Christopher J. Ruwe" > Subject: Re: dlink dwl-122g e1 on 9-stable, working only partially? > =A0 =A0 =A0 =A0(or not at all?) > To: freebsd-questions@freebsd.org > Message-ID: <20120514191442.505a0a08@dijkstra.cruwe.de> > Content-Type: text/plain; charset=3DUTF-8 > > On Sun, 13 May 2012 23:09:34 -0600 > PseudoCylon wrote: > >> > ------------------------------ >> > >> > Message: 11 >> > Date: Sun, 13 May 2012 01:21:30 +0200 >> > From: "Christopher J. Ruwe" >> > Subject: Re: dlink dwl-122g e1 on 9-stable, working only partially? >> > =A0 =A0 =A0 =A0(or not at all?) >> > To: freebsd-questions@freebsd.org >> > Message-ID: <20120513012130.64d78c1f@dijkstra.cruwe.de> >> > Content-Type: text/plain; charset=3DUS-ASCII >> > >> > On Sat, 12 May 2012 14:49:18 +0200 >> > "Christopher J. Ruwe" wrote: >> > >> >> 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 =A0amd64) 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=3D27123). >> >> >> >> 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 >> >> I have no explanation for the multiple occurrences, I have been >> >> trying for some time now, though. >> >> >> >> Was wlan_amrr compiled into kernel? > > Nope, using the module. BTW, loading the if_run module gives > > ieee80211_load_module: load the wlan_amrr module by hand for now. > > Did exactly that, i.e., loaded the wlam_amrr by hand. Do you think I > might fare better by using in-kernel drivers instead of modules? > > >> >> >> >> sudo ifconfig wlan0 create wlandev run0 wlanmode hostap >> >> sudo ifconfig wlan0 inet 192.168.3.1 netmask 255.255.255.0 ssid >> >> bsdap channel - >> >> >> >> If you want to use WPA, you need to run >> # /etc/rc.d/hostapd onestart > > Amongst other things, I also did that. > >> >> > OK, update on the situation: I can get wlan to work in AP-mode, I >> > must not enable WPA, though. Having enabled hostapd for one time >> > kills my wlan and requires a complete reboot. >> > >> >> Did it panic? Can you post back trace? > > > No, it did not panic. After trying to enable wpa, the systems becomes > very sluggish on the network side and recovers upon pulling the dongle. > I interpret that as some kind of crashing the driver. > > I would be happy to provide a back trace, I do not know how, > though. Where do I need to look to learn that? > > Thanks and cheers, Christopher > > I saw you have submitted PR. I have replied to it. Please check that out. http://www.freebsd.org/cgi/query-pr.cgi?pr=3D167847 AK