Wednesday, March 2, 2011

Install D-Link DWA 525 N 150 Wireless Over Linux or Fedora 14


After a long time spending over google I find some useful NOTES over how to install D-Link DWA 525 N 150 Wireless Drivers, which are here:

Run command "lspci |grep -i network"
Output will be like :
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
06:02.0 Network controller: RaLink Device 3060

Go to http://www.ralinktech.com/support.php?s=2 and download RT3062PCI/mPCI/CB/PCIe(RT3060/RT3062/RT3562/RT3592)

This will ask for your Name and Mail ID, enter and when you click on Accept this will ask you for save or open. Save file to anywhere on your machine, lets say in /opt/

Go to /opt/ and run following command:
cd /opt
tar zxvf DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.tgz
cd DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217

Change following in os/linux/config.mk file
vim os/linux/config.mk
HAS_WPA_SUPPLICANT = n -> HAS_WPA_SUPPLICANT = y
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT = n -> HAS_NATIVE_WPA_SUPPLICANT_SUPPORT = y

After making above changes run following:
make
make install

After successfully completion of above command, run following:
insmod os/linux/rt3562sta.ko

Thats it!!! Setup a wireless connection through Network Connection and Enjoy your wi-fi network :)

5 comments:

  1. Tanks, after trying four other methods this one finally worked in 'Pinguy' 10.10

    ReplyDelete
  2. I am doing this tutorial using fedora 15 , and I'm getting errors

    Do you have any idea what is it ?

    [root@linuxFutura DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217]# make
    make -C tools
    make[1]: Entrando no diretório `/home/futura/Downloads/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Saindo do diretório `/home/futura/Downloads/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
    /home/futura/Downloads/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools/bin2h
    cp -f os/linux/Makefile.6 /home/futura/Downloads/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/Makefile
    make -C /lib/modules/2.6.40-4.fc15.x86_64/build SUBDIRS=/home/futura/Downloads/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux modules
    make: *** /lib/modules/2.6.40-4.fc15.x86_64/build: Arquivo ou diretório não encontrado. Pare.
    make: ** [LINUX] Erro 2
    [root@linuxFutura DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217]# ^C
    [root@linuxFutura DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217]# make
    make -C tools
    make[1]: Entrando no diretório `/home/futura/Downloads/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Saindo do diretório `/home/futura/Downloads/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
    /home/futura/Downloads/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools/bin2h
    cp -f os/linux/Makefile.6 /home/futura/Downloads/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/Makefile
    make -C /lib/modules/2.6.40-4.fc15.x86_64/build SUBDIRS=/home/futura/Downloads/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux modules
    make: *** /lib/modules/2.6.40-4.fc15.x86_64/build: Arquivo ou diretório não encontrado. Pare.
    make: ** [LINUX] Erro 2

    ReplyDelete
  3. what are kernel version and kernel packages installed

    1) You both plz check if kernel-devel and kernel-header is installed or not...

    2) your system is 64bit : plz check if directory /lib/modules/2.6.40-4.fc15.x86_64/build available or not

    Thanks,
    Manoj

    ReplyDelete
  4. Hello! I'm in Debian Wheezy and i've a trouble with make, this is my debug output after make

    /usr/src/linux-headers-3.18.0-kali1-common/scripts/Makefile.build:262: recipe for target '/opt/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_linux.o' failed
    make[4]: *** [/opt/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_linux.o] Error 1
    /usr/src/linux-headers-3.18.0-kali1-common/Makefile:1398: recipe for target '_module_/opt/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux' failed
    make[3]: *** [_module_/opt/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux] Error 2
    Makefile:145: recipe for target 'sub-make' failed
    make[2]: *** [sub-make] Error 2
    Makefile:8: recipe for target 'all' failed
    make[1]: *** [all] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-3.18.0-kali1-amd64'
    Makefile:317: recipe for target 'LINUX' failed
    make: *** [LINUX] Error 2

    Any ideas?
    Thanks a lot!

    ReplyDelete