You are not logged in.
I'm having some trouble configuring DWA-160 B2 802.11abgn USB card:
Bus 001 Device 003: ID 2001:3c1a D-Link Corp. DWA-160 802.11abgn Xtreme N Dual Band Adapter(rev.B2) [Ralink RT5572]
The card works out of the box via the kernel module rt2800usb. I wanted to try out the rt2870 module provided by the rt5572 driver as described here:
- https://wiki.archlinux.org/index.php/Wi … ion#rt5572
- http://bernaerts.dyndns.org/linux/74-ub … a160-revb2
The driver: http://cdn-cw.mediatek.com/Downloads/li … 22.tar.bz2
I managed to successfully patch, compile and install that module. I can connect to my wifi network via wpa_supplicant:
$ sudo wpa_supplicant -i ra0 -D wext -c /etc/wpa_supplicant/example.conf
Successfully initialized wpa_supplicant
rfkill: Cannot get wiphy information
ra0: Trying to associate with 50:c7:xx:xx:xx:xx (SSID='xxxxxxx' freq=5785 MHz)
ra0: Association request to the driver failed
ra0: Associated with 50:c7:xx:xx:xx:xx
ra0: WPA: Key negotiation completed with 50:c7:xx:xx:xx:xx [PTK=CCMP GTK=CCMP]
ra0: CTRL-EVENT-CONNECTED - Connection to 50:c7:xx:xx:xx:xx completed [id=0 id_str=]
$ iwconfig ra0
ra0 Ralink STA ESSID:"xxxxxxx" Nickname:"RT2870STA"
Mode:Managed Frequency=5.785 GHz Access Point: 50:C7:BF:xx:xx:xx
Bit Rate=270 Mb/s
RTS thr:off Fragment thr:off
Link Quality=100/100 Signal level:-50 dBm Noise level:-82 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
But I am unable to ping the router or any local devices:
$ sudo ip addr add 192.168.0.200/24 broadcast 192.168.0.255 dev ra0
$ ip addr show ra0
9: ra0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether c4:a8:1d:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet 192.168.0.200/24 brd 192.168.0.255 scope global ra0
valid_lft forever preferred_lft forever
$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.200 icmp_seq=1 Destination Host Unreachable
From 192.168.0.200 icmp_seq=2 Destination Host Unreachable
And of course, the DHCP client fails to obtain the IP address:
$ sudo dhcpcd ra0 -4 -d
dhcpcd-6.11.5 starting
ra0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks' PREINIT
ra0: executing `/usr/lib/dhcpcd/dhcpcd-run-hooks' CARRIER
DUID 00:01:00:01:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
ra0: IAID xx:xx:xx:xx
ra0: delaying IPv4 for 0.6 seconds
ra0: soliciting a DHCP lease
ra0: sending DISCOVER (xid 0x2135dca0), next in 4.5 seconds
ra0: sending DISCOVER (xid 0x2135dca0), next in 7.5 seconds
ra0: sending DISCOVER (xid 0x2135dca0), next in 15.2 seconds
ra0: sending DISCOVER (xid 0x2135dca0), next in 32.5 seconds
timed out
dhcpcd exited
Needless to say, everything above works normally via the rt2800 driver, but the speed is <100Mbit.
How to figure out what's causing this? Any help is greatly appreciated.
edit: I can ping if I connect to the 2.4GHz network, so it looks like only 5G is the problem.
Last edited by jeremija (2017-05-21 21:51:07)
Offline