
Installing the D-Link DWA-125 A3 Driver in Debian Squeeze
The other day I bought a USB WI-FI card - D-Link DWA-125 in order to finally connect a home server wirelessly. He began to dig the Internet on the topic of installing drivers. I downloaded the driver from the off-site D-Link. We managed to collect them from the second attempt, because previously had to
install : aptitude install build-essentials
But even after the assembly the whistle did not start.
I tried to install support for Ralink devices (it was on this chipset that DWL-125 was built) as described on the Debian website:
Ralink RT2070, RT2770, RT2870, RT3070, RT3071, RT3072 devices (rt2870sta)
Also unsuccessfully. She appeared in the list of devices on lsusb, but iwconfig stubbornly did not want to see her.
After three hours of googling, it turned out that I had a DWA-125 rev card. A3.
This is how it looks in issuing the lsusb command:
Data can be found on the Ralink website - D-Link DWA-125 rev A3. The driver sources are also located on the link - www.ralinktech.com/en/04_support/support.php?sn=501 . It turned out that my card has a RT5370 chipset. I downloaded and assembled the drivers from the Ralink website and the card started up on the first try. To build the drivers, do the following:
Unpack the archive from the Ralink website:
An error was detected in the file name. Inside bzip must be tar. After unpacking, rename the unpacked file to .tar and then unpack it again:
we go into the resulting folder and open the os / linux / config.mk file in the editor.
There you need to replace two lines with the following:
Otherwise, WPA encryption will not work later.
we collect and install the driver:
Run the driver:
After that, the whistle blinked joyfully and became visible in iwconfig:
Well, then it remains only to assign her the type of encryption and password of the access point.
I did this through Network Manager.
install : aptitude install build-essentials
But even after the assembly the whistle did not start.
I tried to install support for Ralink devices (it was on this chipset that DWL-125 was built) as described on the Debian website:
Ralink RT2070, RT2770, RT2870, RT3070, RT3071, RT3072 devices (rt2870sta)
Also unsuccessfully. She appeared in the list of devices on lsusb, but iwconfig stubbornly did not want to see her.
After three hours of googling, it turned out that I had a DWA-125 rev card. A3.
This is how it looks in issuing the lsusb command:
root@Debian:~# lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 2001:3c19 D-Link Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Data can be found on the Ralink website - D-Link DWA-125 rev A3. The driver sources are also located on the link - www.ralinktech.com/en/04_support/support.php?sn=501 . It turned out that my card has a RT5370 chipset. I downloaded and assembled the drivers from the Ralink website and the card started up on the first try. To build the drivers, do the following:
Unpack the archive from the Ralink website:
bunzip2 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.bz2
An error was detected in the file name. Inside bzip must be tar. After unpacking, rename the unpacked file to .tar and then unpack it again:
tar -xvvf 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.tar
we go into the resulting folder and open the os / linux / config.mk file in the editor.
There you need to replace two lines with the following:
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y
# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
Otherwise, WPA encryption will not work later.
we collect and install the driver:
make
make install
Run the driver:
modprobe rt5370sta
After that, the whistle blinked joyfully and became visible in iwconfig:
root@Debian:~# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
ra0 Ralink STA ESSID:"sw0001" Nickname:"RT2870STA"
Mode:Managed Frequency=2.437 GHz Access Point: 84:C9:B2:64:5F:B2
Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:11A1-9CF1-439E-7E01-81F1-CD71-28E1-6E42 Security mode:restricted Security mode:open
Link Quality=100/100 Signal level:-46 dBm Noise level:-76 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
pan0 no wireless extensions.
Well, then it remains only to assign her the type of encryption and password of the access point.
I did this through Network Manager.