From owner-freebsd-wireless@FreeBSD.ORG Tue Nov 18 10:04:10 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0787C627 for ; Tue, 18 Nov 2014 10:04:10 +0000 (UTC) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 796BCD18 for ; Tue, 18 Nov 2014 10:04:09 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id y19so7890050wgg.14 for ; Tue, 18 Nov 2014 02:04:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2C+BQyRRJYpT+V3PxUu7kz9ZDLgOVNP6LQexwhAK3r0=; b=f7ib36YOF7frpXE06xr/Y20vJbQzftMDo16fuZTSxOiLVATbNGKN/FjSKfnPd/yTWX Y2lI1lrzF8Y2gmKy1rZ7uN2YS/ZT4/bpi6DPO87WOf53zrbRyXdZ6h+ZaWLuRXEMfMWJ PvkcY7GhZTzKeU7A1R/zjsmk5lhCfalgXBkYO4EJ/QloxYFbqy5rsw++H7BSGnpSXERa Y0id4r+RLrpQ4Y3mUXymM6mPwZ9pM7SyP2O9U5VgpD9iMoczupg679qwO81aWL5Mn3mS mfK9M2PWltr9HxMCoDLgMvzPK0WKTwg+xNyugcgd4k0+7nyhvsDnbzqBXD8aprLp9FCm OIzQ== MIME-Version: 1.0 X-Received: by 10.180.9.196 with SMTP id c4mr38488969wib.66.1416305047477; Tue, 18 Nov 2014 02:04:07 -0800 (PST) Received: by 10.194.222.2 with HTTP; Tue, 18 Nov 2014 02:04:07 -0800 (PST) In-Reply-To: References: <20141118055615.GA38506@ns.kevlo.org> <20141118070837.GA38861@ns.kevlo.org> <20141118080001.GA39117@ns.kevlo.org> Date: Tue, 18 Nov 2014 18:04:07 +0800 Message-ID: Subject: Re: D-Link DWA-131 A1 (Realtek RTL8191SU) not working From: Ben Woods To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 10:04:10 -0000 Hmm... turns out this is an issue with authentication with wpa_supplicant. If I turn off security I can connect just fine. Other devices devices on my network are connecting fine with WPA2 AES PSK. My wifi router is a TP-Link Archer D9 operating with both 2.4GHz and 5GHz. I will go and try on another wifi network and report back if that works. % sudo cat /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant eapol_version=2 ap_scan=1 fast_reauth=1 network={ ssid="MYSSIDHERE" key_mgmt="WPA-PSK" psk="MYPSKHERE" } For the record, details of my wireless adapter: % sudo usbconfig -d ugen2.3 dump_device_desc ugen2.3: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x07d1 idProduct = 0x3303 bcdDevice = 0x0200 iManufacturer = 0x0001 iProduct = 0x0002 <11n Adapter> iSerialNumber = 0x0003 <00e04c000001> bNumConfigurations = 0x0001 Any thoughts? Regards, Ben -- From: Benjamin Woods woodsb02@gmail.com On 18 November 2014 16:32, Ben Woods wrote: > No worries :) > > Got any advice on how to diagnose why it's able to scan and lock onto the > ssid (shows it in ifconfig), but not able to get an IP address with DHCP > or communicate with a manual IP address? > > On Tuesday, November 18, 2014, Kevin Lo wrote: > >> Argh! I think I need more coffee. rsu(4) does support this chipset. >> Sorry for the noise. >> >> Kevin >> >> On Tue, Nov 18, 2014 at 03:08:37PM +0800, Kevin Lo wrote: >> > I'm pretty sure. See OpenBSD cvs log: >> > http://marc.info/?l=openbsd-cvs&m=128897633210060&w=2 >> > >> > I'll be fixing rsu(4), thanks. >> > >> > Kevin >> > >> > On Tue, Nov 18, 2014 at 02:41:18PM +0800, Ben Woods wrote: >> > > >> > > Actually, the rsu(4) man page mentions the RTL8191SU chipset: >> > > https://www.freebsd.org/cgi/man.cgi?query=rsu&sektion=4 >> > > >> > > And it appears to be in the code: >> > > >> http://svnweb.freebsd.org/base/head/sys/dev/usb/wlan/if_rsu.c?view=markup >> > > >> > > Are you sure it is not supported? >> > > >> > > Regards, >> > > Ben >> > > >> > > >> > > -- >> > > From: Benjamin Woods >> > > woodsb02@gmail.com >> > > >> > > On 18 November 2014 14:21, Ben Woods wrote: >> > > >> > > > There seems to be some misalignment with the official release >> notes, which >> > > > specifically mention the D-Link DWA-131 A1 is supported: >> > > > https://www.freebsd.org/releases/10.1R/hardware.html >> > > > >> > > > However, according to this page it is the RTL8191SU chipset: >> > > > https://wikidevi.com/wiki/D-Link_DWA-131_rev_A1 >> > > > >> > > > Apparently the RTL8191SU chipset is supported by the OpenBSD rsu(4) >> driver: >> > > > http://www.undeadly.org/cgi?action=article&sid=20101216231634 >> > > > >> > > > Regards, >> > > > Ben >> > > > >> > > > >> > > > >> > > > >> > > > -- >> > > > From: Benjamin Woods >> > > > woodsb02@gmail.com >> > > > >> > > > On 18 November 2014 13:56, Kevin Lo wrote: >> > > > >> > > >> The RTL8191SU chipset is not supported. >> > > >> >> > > >> Kevin >> > > >> On Tue, Nov 18, 2014 at 01:29:57PM +0800, Ben Woods wrote: >> > > >> > >> > > >> > I should mention I am running FreeBSD 10.1-RELEASE >> > > >> > >> > > >> > >> > > >> > -- >> > > >> > From: Benjamin Woods >> > > >> > woodsb02@gmail.com >> > > >> > >> > > >> > On 18 November 2014 13:23, Ben Woods wrote: >> > > >> > >> > > >> > > Hey guys, >> > > >> > > >> > > >> > > I am trying to get my D-Link DWA-131 A1 working, with some >> success >> > > >> but no >> > > >> > > network connectivity. >> > > >> > > >> > > >> > > It shows up in my usb list with device id 07d1:3303. The >> driver pages >> > > >> > > suggest this should be working with the rsu(4) driver and >> potentially >> > > >> > > the rsu-rtl8712fw firmware, according to these: >> > > >> > > https://www.freebsd.org/cgi/man.cgi?query=rsu&sektion=4 >> > > >> > > http://www.undeadly.org/cgi?action=article&sid=20101216231634 >> > > >> > > https://wikidevi.com/wiki/D-Link_DWA-131_rev_A1 >> > > >> > > >> > > >> > > I have added the following to /boot/loader.conf and rebooted: >> > > >> > > legal.realtek.license_ack=1 >> > > >> > > rsu-rtl8712fw_load="YES" >> > > >> > > >> > > >> > > It shows up in ifconfig, and even scans and finds wireless >> access >> > > >> points. >> > > >> > > I have my WPA ssid and psk details for my access point stored >> in >> > > >> > > /etc/wpa_supplicant.conf. I can see from ifconfig that it is >> trying to >> > > >> > > associate with the correct access point ssid and do DHCP, but >> it never >> > > >> > > obtains an IP address. >> > > >> > > >> > > >> > > Has anyone had this issue before? Anyone know how can I go >> about >> > > >> > > troubleshooting this further? >> > > >> > > >> > > >> > > Regards, >> > > >> > > Ben >> > > >> > > >> > > >> > > -- >> > > >> > > From: Benjamin Woods >> > > >> > > woodsb02@gmail.com >> > > >> > > >> > > >> > _______________________________________________ >> > > >> > freebsd-wireless@freebsd.org mailing list >> > > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> > > >> > To unsubscribe, send any mail to " >> > > >> freebsd-wireless-unsubscribe@freebsd.org" >> > > >> > >> > > >> >> > > > >> > > > >> > > _______________________________________________ >> > > freebsd-wireless@freebsd.org mailing list >> > > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> > > To unsubscribe, send any mail to " >> freebsd-wireless-unsubscribe@freebsd.org" >> > > >> > _______________________________________________ >> > freebsd-wireless@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> > To unsubscribe, send any mail to " >> freebsd-wireless-unsubscribe@freebsd.org" >> > > > -- > > -- > From: Benjamin Woods > woodsb02@gmail.com >