Re: D-Link DWA-131 A1 (Realtek RTL8191SU) not working

2015-08-19 Thread Mark Felder
Hi,

Just stumbled upon this thread in the mailing list archives and wanted
to leave a note about my experience. I was running into the same problem
-- appeared to be associated, but was not passing any traffic. 

rsu0: 
on usbus0
rsu0: MAC/BB RTL8712 cut 3

My wpa_supplicant.conf was very simple:

network={
ssid="my-ssid"
psk="my-psk"
}

Confused, because this worked elsewhere.

On a whim I decided to get more verbose:

network={
ssid="my-ssid"
proto=RSN
pairwise=CCMP
group=CCMP
key_mgmt=WPA-PSK
psk="my-psk"
}


And like magic it started passing traffic.


Hope this helps someone else out there.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: D-Link DWA-131 A1 (Realtek RTL8191SU) not working

2014-11-20 Thread Idwer Vollering
 But does this patch somewhat improve the association issue?
(previous message is found at
https://lists.freebsd.org/pipermail/freebsd-wireless/2014-November/005227.html
)

Index: sys/dev/usb/wlan/if_rsu.c
==
=
--- sys/dev/usb/wlan/if_rsu.c   (revision 274656)
+++ sys/dev/usb/wlan/if_rsu.c   (working copy)
@@ -48,6 +48,7 @@
 #include 
 #include 
 #include 
+#include 

 #include 
 #include 
@@ -68,11 +69,13 @@

 #include 

+static SYSCTL_NODE(_hw_usb, OID_AUTO, rsu, CTLFLAG_RW, 0, "USB rsu");
+
 #ifdef USB_DEBUG
-static int rsu_debug = 0;
-SYSCTL_NODE(_hw_usb, OID_AUTO, rsu, CTLFLAG_RW, 0, "USB rsu");
-SYSCTL_INT(_hw_usb_rsu, OID_AUTO, debug, CTLFLAG_RW, &rsu_debug, 0,
+int rsu_debug = 0;
+SYSCTL_INT(_hw_usb_rsu, OID_AUTO, debug, CTLFLAG_RW | CTLFLAG_TUN,
&rsu_debug, 0,
 "Debug level");
+TUNABLE_INT("hw.usb.rsu.debug", &rsu_debug);
 #endif

 static const STRUCT_USB_HOST_ID rsu_devs[] = {
@@ -1277,7 +1280,7 @@
DPRINTF("WPS PBC pushed.\n");
break;
case R92S_EVT_FWDBG:
-   if (ifp->if_flags & IFF_DEBUG) {
+   if (rsu_debug >= 6) {
buf[60] = '\0';
printf("FWDBG: %s\n", (char *)buf);
}
Index: sys/modules/usb/rsu/Makefile
===
--- sys/modules/usb/rsu/Makefile(revision 274656)
+++ sys/modules/usb/rsu/Makefile(working copy)
@@ -6,5 +6,6 @@
 SRCS= if_rsu.c if_rsureg.h \
  bus_if.h device_if.h \
  opt_bus.h opt_usb.h usb_if.h usbdevs.h
+CFLAGS+= -DUSB_DEBUG

 .include 
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: D-Link DWA-131 A1 (Realtek RTL8191SU) not working

2014-11-18 Thread Idwer Vollering
2014-11-18 11:04 GMT+01:00 Ben Woods :
> Hmm... turns out this is an issue with authentication with wpa_supplicant.
> If I turn off security I can connect just fine.

Well, disabling AP security features is not the right solution.

I have the EDUP adapter that uses if_rsu, and when I crank the debug
level all the way up it works most of the time/

Can you apply the following patch to 10-STABLE or -CURRENT
(committers, are you reading this? :) ), rebuild kernel and before
rebooting add "hw.usb.rsu.debug=5" to /boot/loader.conf ?

Index: sys/dev/usb/wlan/if_rsu.c
===
--- sys/dev/usb/wlan/if_rsu.c   (revision 274656)
+++ sys/dev/usb/wlan/if_rsu.c   (working copy)
@@ -48,6 +48,7 @@
 #include 
 #include 
 #include 
+#include 

 #include 
 #include 
@@ -68,11 +69,13 @@

 #include 

+static SYSCTL_NODE(_hw_usb, OID_AUTO, rsu, CTLFLAG_RW, 0, "USB rsu");
+
 #ifdef USB_DEBUG
-static int rsu_debug = 0;
-SYSCTL_NODE(_hw_usb, OID_AUTO, rsu, CTLFLAG_RW, 0, "USB rsu");
-SYSCTL_INT(_hw_usb_rsu, OID_AUTO, debug, CTLFLAG_RW, &rsu_debug, 0,
+int rsu_debug = 0;
+SYSCTL_INT(_hw_usb_rsu, OID_AUTO, debug, CTLFLAG_RW | CTLFLAG_TUN,
&rsu_debug, 0,
 "Debug level");
+TUNABLE_INT("hw.usb.rsu.debug", &rsu_debug);
 #endif

 static const STRUCT_USB_HOST_ID rsu_devs[] = {
@@ -1277,7 +1280,7 @@
DPRINTF("WPS PBC pushed.\n");
break;
case R92S_EVT_FWDBG:
-   if (ifp->if_flags & IFF_DEBUG) {
+   if (rsu_debug >= 6) {
buf[60] = '\0';
printf("FWDBG: %s\n", (char *)buf);
}
Index: sys/modules/usb/rsu/Makefile
===
--- sys/modules/usb/rsu/Makefile(revision 274656)
+++ sys/modules/usb/rsu/Makefile(working copy)
@@ -6,5 +6,6 @@
 SRCS= if_rsu.c if_rsureg.h \
  bus_if.h device_if.h \
  opt_bus.h opt_usb.h usb_if.h usbdevs.h
+CFLAGS+= -DUSB_DEBUG

 .include 

>
> 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 = 0x
>   bDeviceSubClass = 0x
>   bDeviceProtocol = 0x
>   bMaxPacketSize0 = 0x0040
>   idVendor = 0x07d1
>   idProduct = 0x3303
>   bcdDevice = 0x0200
>   iManufacturer = 0x0001  
>   iProduct = 0x0002  <11n Adapter>
>   iSerialNumber = 0x0003  <00e04c01>
>   bNumConfigurations = 0x0001
>
> Any thoughts?
>
> Regards,
> Ben
>
>
> --
> From: Benjamin Woods
> woods...@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
>>> > > woods...@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
>>> > > >
>>> > > >
>>> > > >

Re: D-Link DWA-131 A1 (Realtek RTL8191SU) not working

2014-11-18 Thread Thomas Mueller
from Benjamin Woods:

> 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?


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.

I have the same Realtek RTL8191SU chip with Hiro H50191 USB wireless adapter, 
can't get it to work.

So I too want to test the new fix.  Will it be for 10.1-STABLE or HEAD?  I use 
mostly HEAD but have also installed 10.0-STABLE.

I also notice change in re(4) driver, want to test that for both FreeBSD and 
OpenBSD 5.6 bsd.rd .


Motherboard is MSI Z77 MPOWER. 

Ethernet is Realtek (re): good with NetBSD, Linux and Haiku, (Free,Open and 
DragonFly)BSD bug out.

Only Internet connection for FreeBSD is Hiro H50191 USB-stick wireless adapter, 
chipset RTL8191SU, device rsu.

Sometimes it connects.  Running ifconfig (by itself), I get, whether connection 
is working or not,

lo0: flags=8049 metric 0 mtu 16384
options=63
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
inet 127.0.0.1 netmask 0xff00 
nd6 options=21
rsu0: flags=8843 metric 0 mtu 2290
options=1
ether 00:13:33:a2:86:f0
nd6 options=29
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
wlan0: flags=8843 metric 0 mtu 1500
ether 00:13:33:a2:86:f0
inet 192.168.0.102 netmask 0xff00 broadcast 192.168.0.255 
nd6 options=29
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
ssid Maclura_pomifera channel 8 (2447 MHz 11g) bssid a0:f3:c1:f9:39:7a
country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
AES-CCM 2:128-bit txpower 0 bmiss 7 scanvalid 60 bgscan
bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS
roaming MANUAL

Looks good, but running host on a valid domain, such as
host bluegrass.net
gives me

;; connection timed out; no servers could be reached


I am in NetBSD-current amd64 now, use NetBSD to update FreeBSD src, ports and 
doc trees with subversion.

Tom

___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: D-Link DWA-131 A1 (Realtek RTL8191SU) not working

2014-11-18 Thread Ben Woods
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 = 0x
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0040
  idVendor = 0x07d1
  idProduct = 0x3303
  bcdDevice = 0x0200
  iManufacturer = 0x0001  
  iProduct = 0x0002  <11n Adapter>
  iSerialNumber = 0x0003  <00e04c01>
  bNumConfigurations = 0x0001

Any thoughts?

Regards,
Ben


--
From: Benjamin Woods
woods...@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
>> > > woods...@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
>> > > > woods...@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
>> > > >> > woods...@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
>> > > >> > > woods...

Re: D-Link DWA-131 A1 (Realtek RTL8191SU) not working

2014-11-18 Thread Ben Woods
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
> > > woods...@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
> > > > woods...@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
> > > >> > woods...@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
> > > >> > > woods...@gmail.com 
> > > >> > >
> > > >> > ___
> > > >> > freebsd-wireless@freebsd.org  mailing list
> > > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> > > >> > To unsubscribe, send any mail to "
> > > >> freebsd-wireless-unsubscr...@freebsd.org "
> > > >> >
> > > >>
> > > >
> > > >
> > > ___
> > > freebsd-wireless@freebsd.org  mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> > > To unsubscribe, send any mail to "
> freebsd-wireless-unsubscr...@freebsd.org "
> > >
> > ___
> > freebsd-wireless@freebsd.org  mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> > To unsubscribe, send any mail to "
> freebsd-wireless-unsubscr...@freebsd.org "
>


-- 

--
From: Benjamin Woods
woods...@gmail.com
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: D-Link DWA-131 A1 (Realtek RTL8191SU) not working

2014-11-18 Thread Kevin Lo
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
> > woods...@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
> > > woods...@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
> > >> > woods...@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
> > >> > > woods...@gmail.com
> > >> > >
> > >> > ___
> > >> > freebsd-wireless@freebsd.org mailing list
> > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> > >> > To unsubscribe, send any mail to "
> > >> freebsd-wireless-unsubscr...@freebsd.org"
> > >> >
> > >>
> > >
> > >
> > ___
> > freebsd-wireless@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> > To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
> > 
> ___
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: D-Link DWA-131 A1 (Realtek RTL8191SU) not working

2014-11-17 Thread Kevin Lo
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
> woods...@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
> > woods...@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
> >> > woods...@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
> >> > > woods...@gmail.com
> >> > >
> >> > ___
> >> > freebsd-wireless@freebsd.org mailing list
> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> >> > To unsubscribe, send any mail to "
> >> freebsd-wireless-unsubscr...@freebsd.org"
> >> >
> >>
> >
> >
> ___
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
> 
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: D-Link DWA-131 A1 (Realtek RTL8191SU) not working

2014-11-17 Thread Ben Woods
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
woods...@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
> woods...@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
>> > woods...@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
>> > > woods...@gmail.com
>> > >
>> > ___
>> > freebsd-wireless@freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>> > To unsubscribe, send any mail to "
>> freebsd-wireless-unsubscr...@freebsd.org"
>> >
>>
>
>
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: D-Link DWA-131 A1 (Realtek RTL8191SU) not working

2014-11-17 Thread Ben Woods
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
woods...@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
> > woods...@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
> > > woods...@gmail.com
> > >
> > ___
> > freebsd-wireless@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> > To unsubscribe, send any mail to "
> freebsd-wireless-unsubscr...@freebsd.org"
> >
>
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: D-Link DWA-131 A1 (Realtek RTL8191SU) not working

2014-11-17 Thread Kevin Lo
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
> woods...@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
> > woods...@gmail.com
> >
> ___
> freebsd-wireless@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
> 
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


Re: D-Link DWA-131 A1 (Realtek RTL8191SU) not working

2014-11-17 Thread Ben Woods
I should mention I am running FreeBSD 10.1-RELEASE


--
From: Benjamin Woods
woods...@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
> woods...@gmail.com
>
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


D-Link DWA-131 A1 (Realtek RTL8191SU) not working

2014-11-17 Thread Ben Woods
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
woods...@gmail.com
___
freebsd-wireless@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"