check /var/log/message when you plug your card into usb slot
you'll see
kernel: wmaster0 (rt73usb): not using net_device_ops yet
kernel: wlan0 (rt73usb): not using net_device_ops yet
kernel: Registered led device: rt73usb-phy0:radio
kernel: Registered led device: rt73usb-phy0:assoc
kernel: Registered led device: rt73usb-phy0:quality
kernel: usbcore: registered new interface driver rt73usb
kernel: usbcore: registered new interface driver rt2500usb
or lsusb command
or check your card if is linux supported
https://help.ubuntu.com/community/WifiDocs/WirelessCardsSupported
2. you can see the interface from iwconfig command
3. bring the interface up
ifconfig wlan0 up
--
SIOCSIFFLAGS: No such file or directory
that means you need a firmware file. below is the error log appearing in /var/log/message at the same time
kernel: rt73usb 1-4:1.0: firmware: requesting rt73.bin
firmware.sh[19027]: Cannot find firmware file 'rt73
4. install the corresponding firmware packages
pacman -S rt2x00-rt71w-fw ( or rt2x00-rt61-fw )
5. in order to install package from http://repo.arch-linux.pl/, add the following setting to /etc/pacman.conf
[archlinux.pl]
Server = ftp://repo.arch-linux.pl/i686
6. install the package, RaLink RT73 USB Enhanced Drivers
pacman -Sy rt73-k2wrlz
--
Drivers installed, but not loaded. To enable it: 'rmmod rt73usb && modprobe rt73
7. to avoid conflict between modules, block the modules which would be loaded automatically
these module was observed from lsmod command
vi /etc/modprobe.d/blacklist
--
blacklist rt2500usb
blacklist rt73usb
blacklist rt2x00usb
blacklist rt2x00lib
8. add rt73 to MODULES in /etc/rc.conf then reboot
9. iwconfig
rausb0 RT73 WLAN ESSID:""
Mode:Ad-Hoc Frequency=2.412 GHz Cell: XX:XX:XX:XX:XX:XX
Bit Rate=11 Mb/s
RTS thr:off Fragment thr:off
Link Quality=65/100 Signal level:-54 dBm Noise level:-143 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
10. ifconfig rausb0 up
11. scan for available access points for testing
iwlist rausb0 scan
12. usage of iwconfig
iwconfig rausb0 essid "SSID" key 1234567890
if your wep key is ascii, prefix with s:
iwconfig rausb0 essid "SSID" key s:asciikey
13. automatical setup while booting
vi /etc/rc.conf
--
..
wlan_rausb0="rausb0 essid SSID mode Ad-Hoc key 1234567890"
rausb0="rausb0 XXX.XXX.XXX.XXX netmask XXX.XXX.XXX.XXX"
INTERFACES=(eth0 rausb0)
..
沒有留言:
張貼留言