måndag 13 juli 2015

Getting D-Link DWA-525 RT5360 working in Ubuntu 14.04, 14.10 and 15.04

I have been struggling a while with getting my D-Link DWA-525 with the chipset RT5360 working.

After quite a bite of investigation I found that there are many links to a ralink website where you should be able to download drivers and compile. However, you can no longer download that driver from the site. Thankfully there is now support for this device in Ubuntu with the rt2800pci module.

However, neither Ubuntu 14.04, 14.10 and 15.04 managed to get the wireless network up and running after the installation.

So I was have to do the following below. I have been running this solution for a couple of days and I find it stable.

iwconfig wlan0 power off

modprobe rt2800pci

wpa_passphrase wirelessnetwork password >> /etc/wpa_supplicant.conf

After that I edited the file and added some lines:

vi /etc/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant

network={
        ssid="wirelessnetwork"
        scan_ssid=1
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP
        group=CCMP
         psk=a37cd5be4e6d5215d467d08e6bc08b6d179195ec973e8f23c8bbbfa000f8b768
}

wpa_supplicant -i wlan0 -c/etc/wpa_supplicant.conf -B

dhclient wlan0

ifconfig wlan0

wlan0     Link encap:Ethernet  HWaddr c8:be:19:14:70:25
          inet addr:192.168.1.187  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::cabe:19ff:fe04:7025/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3434 errors:0 dropped:32 overruns:0 frame:0
          TX packets:4544 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7621658097 (0.1 GB)  TX bytes:1280056191 (0.1 GB)

Inga kommentarer:

Skicka en kommentar