D-Link G122 Rev C

Allikas: Pingviini viki

D-Link G122 C1

D-Link G122 on siis USB wifi pulk. Vanematel versioonidel on Ralink rt2570 chipset, kuid C1-l on Ralink RT73.

Driverid

Esmalt tuleb tõmmata uued draiverid:

wget http://rt2x00.serialmonkey.com/rt73-cvs-daily.tar.gz

Siis

sudo rmmod rt73usb

Nüüd tuleb vanad driverid blacklistida

gksu gedit /etc/modprobe.d/blacklist

Faili lisada

blacklist rt73usb
blacklist rt2570
blacklist rt2x00lib

Mooduli ettevalmistus

sudo rm -R /etc/Wireless/RT73STA

Installida kõik vajaminevad pakid

sudo apt-get install build-essential linux-headers-`uname -r`

Kompilleerimine

Esmalt draiverid lahti pakkida

 cd
tar -xvf rt73-cvs-daily.tar.gz

Ja siis kompilleerida

cd rt73-cvs-*
cd Module
make
strip -S rt73.ko
sudo make install

Install sudo modprobe rt73

Ühendumine teatud võrguga startupil

Selleks tuleb muuta /etc/network/interfaces faili

gksudo gedit /etc/network/interfaces

WPA jaoks on selline:

auto wlan0
iface wlan0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1
        pre-up ifconfig wlan0 up
#imposta l'essid della rete
        pre-up iwconfig wlan0 essid "VÕRGUNIMI"
        pre-up iwconfig wlan0 mode Managed
#imposta il canale della tua rete:
        pre-up iwconfig wlan0 channel 8
        pre-up iwpriv wlan0 set AuthMode=WPAPSK
        pre-up iwpriv wlan0 set EncrypType=TKIP
#qui inserisci la tua chiave wpa-psk
        pre-up iwpriv wlan0 set WPAPSK="KOOD"
        pre-up iwpriv wlan0 set SSID="VÕRGUNIMI"

WEP jaoks

auto wlan0
iface wlan0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1
        pre-up ifconfig wlan0 up
#imposta l'essid della rete
        pre-up iwconfig wlan0 essid "VÕRGUNIMI"
        pre-up iwconfig wlan0 mode Managed
#imposta il canale della tua rete:
        pre-up iwconfig wlan0 channel 8
        pre-up iwpriv wlan0 set AuthMode=WEPAUTO
        pre-up iwpriv wlan0 set EncrypType=WEP
#qui inserisci la tua chiave wep
        pre-up iwpriv wlan0 set Key1="KOOD"
        pre-up iwpriv wlan0 set SSID="VÕRGUNIMI"