D-Link Forums

The Graveyard - Products No Longer Supported => Network and WIreless Adapters => DWA-160 => Topic started by: shmerl on December 28, 2013, 04:24:43 PM

Title: Can't connect to 802.11n band on Linux with D-Link DWA-160
Post by: shmerl on December 28, 2013, 04:24:43 PM
Hi.

I had D-Link DWA-160 (HW B1, FW 2.00) for a while and it worked on my Debian Linux (I had to install firmware-ralink package for that. It's Debian testing x86_64, kernel 3.11-2, KDE / NetworkManager), but I never managed to connect using n band, (it was always b/g). My router is D-Link DIR-825.

I thought may be there are some issues with older revision, so I just got DWA-160 revision B2 (FW 2.40). But I get exactly the same problem - it connects only on b/g band (which prevents using it with higher bandwidth). Is it a known problem on Linux, or I'm missing something here?
Title: Re: Can't connect to 802.11n band on Linux with D-Link DWA-160
Post by: FurryNutz on December 28, 2013, 06:37:13 PM
Possible problem with drivers for Linux. If you open the security on the main host router and set it to single mode N, WPA2/AES only, does the DWA connect?
Title: Re: Can't connect to 802.11n band on Linux with D-Link DWA-160
Post by: shmerl on December 28, 2013, 07:19:40 PM
Some mixed results.

I enabled both channels on my router (2.4 GHz and 5 GHz) and set both to 802.11n only (WPA2 only/AES).

With DWA-160 B1 I can connect to 2.4 GHz as b/g and to 5 GHz as a. With DWA-160 B2 I can connect to 2.4 GHz as b/g and can't connect to 5 GHz at all.

May be there is an updated driver from D-Link which I can compile from source? This obviously seems to be some driver issue, and B1 is even working better than B2.
Title: Re: Can't connect to 802.11n band on Linux with D-Link DWA-160
Post by: FurryNutz on December 28, 2013, 08:34:17 PM
Can you try the adapter on a Windows PC?
Title: Re: Can't connect to 802.11n band on Linux with D-Link DWA-160
Post by: shmerl on December 28, 2013, 09:33:47 PM
I don't have one here, but I doubt that would help diagnose the issue, since Linux driver is a separate thing from the Windows one. In my case I'm using the rt2800usb one: http://wikidevi.com/wiki/Ralink_RT5572 (http://wikidevi.com/wiki/Ralink_RT5572)
For B2 it's reported by lsusb as:

D-Link Corp. DWA-160 802.11abgn Xtreme N Dual Band Adapter(rev.B2) [Ralink RT5572]
Title: Re: Can't connect to 802.11n band on Linux with D-Link DWA-160
Post by: FurryNutz on December 28, 2013, 09:37:23 PM
It would check to see if the DWA is working or not. Also you could try RAlink drivers from RALink if they have any Linux drivers.
Title: Re: Can't connect to 802.11n band on Linux with D-Link DWA-160
Post by: shmerl on December 28, 2013, 09:42:20 PM
rt2800usb is a mainline kernel driver, but there is a 3rd party one (from the Mediatek, former Ralink, their chipset is used in the DWA-160): http://www.mediatek.com/_en/07_downloads/01_windows.php?sn=501 (http://www.mediatek.com/_en/07_downloads/01_windows.php?sn=501)

I didn't try it yet, since it's reported to work not so well with the new kernels and they didn't update it since 10/22/2012.

My question basically is (if anyone knows), whether not using n band is the limitation of the rt2800usb, or I'm just missing some configuration on my side.
Title: Re: Can't connect to 802.11n band on Linux with D-Link DWA-160
Post by: shmerl on December 29, 2013, 10:10:53 AM
If this is useful to anyone, I found support mailing list for the rt2800usb:
http://rt2x00.serialmonkey.com/mailman/listinfo/users_rt2x00.serialmonkey.com (http://rt2x00.serialmonkey.com/mailman/listinfo/users_rt2x00.serialmonkey.com)
Title: Re: Can't connect to 802.11n band on Linux with D-Link DWA-160
Post by: FurryNutz on January 10, 2014, 10:27:12 AM
N mode is the max supported on the DWA-160 so thats it's only limitation. Configuration of the main host router and drivers should be reviewed to ensure that the signal is N mode.