Re: usb/167847: [ural] dlink dwl-122g e crashes(?) when trying wap2 crypto
The following reply was made to PR usb/167847; it has been noted by GNATS. From: PseudoCylon moonlightak...@yahoo.ca To: Christopher J. Ruwe c...@cruwe.de Cc: bug-follo...@freebsd.org Subject: Re: usb/167847: [ural] dlink dwl-122g e crashes(?) when trying wap2 crypto Date: Sun, 20 May 2012 02:19:51 -0600 On Sat, May 19, 2012 at 10:57 AM, Christopher J. Ruwe c...@cruwe.de wrote: Is there any initialization order that I should follow in my rc.conf? For a workaround, save following script into /usr/local/etc/rc.d/ as ap_setup --bigin script-- #!/bin/sh # PROVIDE: ap_setup # REQUIRE: DAEMON # REQUIRE: mountcritremote # BEFORE: LOGIN # KEYWORD: nojail shutdown . /etc/rc.subr name=ap_setup rcvar=`set_rcvar` start_cmd=${name}_start stop_cmd=${name}_stop load_rc_config $name eval ${rcvar}=\${${rcvar}:-'NO'} ap_setup_start() { /etc/rc.d/hostapd onestart ifconfig wlan0 inet 192.168.3.1 /usr/local/etc/rc.d/isc-dhcpd onestart#if used } ap_setup_stop() { /usr/local/etc/rc.d/isc-dhcpd onestop#if used /etc/rc.d/hostapd onestop } run_rc_command $1 --end script-- Then, add following lines to /etc/rc.conf wlans_run0=wlan0 create_args_wlan0=wlanmode ap ap_setup_enable=YES#the same name as workaround script dhcpd_ifaces=wlan0#if used Try not to use other standard instructions since it might break init order. AK ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/167847: [ural] dlink dwl-122g e crashes(?) when trying wap2 crypto
The following reply was made to PR usb/167847; it has been noted by GNATS. From: Christopher J. Ruwe c...@cruwe.de To: bug-follo...@freebsd.org Cc: c...@cruwe.de, PseudoCylon moonlightak...@yahoo.ca Subject: Re: usb/167847: [ural] dlink dwl-122g e crashes(?) when trying wap2 crypto Date: Sat, 19 May 2012 18:57:00 +0200 Thank you for your help so far ... knowing that any reinitialization will stop the device and following your advice in that order, I have the wlan working with WPA. I established unencrypted wlan first and tried to change that to encrypted wlan afterwards. Is there any initialization order that I should follow in my rc.conf? And shouldn't there some hint (known bugs) be included into either ural(4) or runfw(4)? I could write something up ... .Sh KNOWN BUGS Some RT2020-based devices do not tolerate being reinitialized, e.g., stop working when changing authentification. To resume working, these need to be pulled out and reinserted. Any reinitializing operations, e.g., changing autentification or encryption, require unplugging and re-plugging of the device. Conversely, it is not possible to change a running wlan from open to encrypted. Thank you for your help, cheers and have a nice weekend, cheers, Christopher ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/167847: [ural] dlink dwl-122g e crashes(?) when trying wap2 crypto
The following reply was made to PR usb/167847; it has been noted by GNATS. From: PseudoCylon moonlightak...@yahoo.ca To: Christopher J. Ruwe c...@cruwe.de Cc: bug-follo...@freebsd.org Subject: Re: usb/167847: [ural] dlink dwl-122g e crashes(?) when trying wap2 crypto Date: Fri, 18 May 2012 00:00:42 -0600 On Thu, May 17, 2012 at 11:01 AM, Christopher J. Ruwe c...@cruwe.de wrote: The problem of not being able to connect persists. Do stations see the bsdap or nothing at all? Does % ifconfig wlan0 list ap list the ap? (Do it one of stations.) If it does, first issue # wlandebug -i wlan0 assoc+auth+crypto then have a station to connect the ap. Let me know what it says. Just in case, you have changed UseYourOwnPwd in hostapd.conf to the actual password you are using, haven't you? wpa_passphrase=UseYourOwnPwd AK ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/167847: [ural] dlink dwl-122g e crashes(?) when trying wap2 crypto
The following reply was made to PR usb/167847; it has been noted by GNATS. From: PseudoCylon moonlightak...@yahoo.ca To: Christopher J. Ruwe c...@cruwe.de Cc: bug-follo...@freebsd.org bug-follo...@freebsd.org Subject: Re: usb/167847: [ural] dlink dwl-122g e crashes(?) when trying wap2 crypto Date: Fri, 18 May 2012 20:40:41 -0600 On Fri, May 18, 2012 at 3:26 AM, Christopher J. Ruwe c...@cruwe.de wrote: The stations see nothing at all. Using There is an issue with rt2020 (radio chip your device has). The device stops working when re-initialized. So, you need to issue commands on exact order I posted. By saying that, ifconfig dev list ap _before_ enabling hostapd gives bsdap =A0 =A0 =A0 =A0 =A0 b8:a3:86:97:c1:ec =A0 =A06 =A0 54M -63:-95 =A01= 00 ES =A0 WME if there is before, you need to unplug and re-plugin the device. Then, see what happens after. connect to the wlan ap. I could ask the cracker to help my to connect, though. Then, do so. Let me know when the cracker comes up any patch. AK ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/167847: [ural] dlink dwl-122g e crashes(?) when trying wap2 crypto
The following reply was made to PR usb/167847; it has been noted by GNATS. From: Christopher J. Ruwe c...@cruwe.de To: bug-follo...@freebsd.org,moonlightak...@yahoo.ca Cc: Subject: Re: usb/167847: [ural] dlink dwl-122g e crashes(?) when trying wap2 crypto Date: Thu, 17 May 2012 19:01:50 +0200 I have followed your suggestion replacing hostapd.conf with yours and removing the wlan-startup from rc.conf. Additionally, I have compiled the required drivers (if_run and ural, wlan*) into the kernel. The problem of sluggish network traffic after enabling the module is gone as well as any statements requiring wlan_amrr to be loaded manually. The problem of not being able to connect persists. ifconfig wlan0 gives wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether b8:a3:86:97:c1:ec nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap status: running ssid bsdap channel 1 (2412 MHz 11g) bssid b8:a3:86:97:c1:ec country US authmode WPA2/802.11i privacy MIXED deftxkey 2 AES-CCM 2:128-bit txpower 0 scanvalid 60 protmode CTS wme dtimperiod 1 -dfs ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/167847: [ural] dlink dwl-122g e crashes(?) when trying wap2 crypto
The following reply was made to PR usb/167847; it has been noted by GNATS. From: PseudoCylon moonlightak...@yahoo.ca To: bug-follo...@freebsd.org, c...@cruwe.de Cc: Subject: Re: usb/167847: [ural] dlink dwl-122g e crashes(?) when trying wap2 crypto Date: Tue, 15 May 2012 21:28:12 -0600 First, comment out 3 lines you have added to /etc/rc.conf temporary until the problem is solved. Try this hostapd.conf interface=wlan0 ctrl_interface=/var/run/hostapd ctrl_interface_group=wheel ssid= bsdap wpa=2 wpa_passphrase=UseYourOwnPwd wpa_key_mgmt=WPA-PSK wpa_pairwise=CCMP Then, plugin the device, #ifconfig wlan create wlandev run0 wlanmode ap #/etc/rc.d/hostapd onestart #ifconfig wlan0 inet 192.168.3.1 AK ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org
Re: usb/167847: [ural] dlink dwl-122g e crashes(?) when trying wap2 crypto
Old Synopsis: dlink dwl-122g e crashes(?) when trying wap2 crypto New Synopsis: [ural] dlink dwl-122g e crashes(?) when trying wap2 crypto Responsible-Changed-From-To: freebsd-bugs-freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Mon May 14 20:26:28 UTC 2012 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=167847 ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org