Hello everybody.
After installing Haiku on my PC there doesn’t work Ralink rt5370 Wi-Fi adapter (Tenda W311Ma). After connecting the adapter I also tried to execute ifconfig -a
in the Haiku Shell. But there are only ethernet and loopback devices, and no my adapter listed:
/dev/net/via_rhine/0
Hardware type: Ethernet, Address: 00:0e:a6:33:75:7e
Media type: 100 MBit, 100BASE-TX
inet addr: 192.168.0.100, Bcast: 192.168.0.255, Mask: 255.255.255.0
MTU: 1500, Metric: 0, up broadcast link auto-configured
Receive: 8159 packets, 0 errors, 8362934 bytes, 0 mcasts, 0 dropped
Transmit: 7858 packets, 0 errors, 1835763 bytes, 0 mcasts, 0 dropped
Collisions: 0
loop Hardware type: Local Loopback, Address: none
inet addr: 127.0.0.1, Mask: 255.0.0.0
inet6 addr: ::1, Prefix Length: 128
MTU: 16384, Metric: 0, up loopback link
Receive: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
Transmit: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
Collisions: 0
In listdev my adapter is not listed:
device Network controller (Ethernet controller) [2|0|0]
vendor 1106: VIA Technologies, Inc.
device 3065: VT6102/VT6103 [Rhine-II]
device Multimedia controller (Multimedia audio controller) [4|1|0]
vendor 1106: VIA Technologies, Inc.
device 3059: VT8233/A/8235/8237 AC97 Audio Controller
device Mass storage controller (IDE interface) [1|1|8a]
vendor 1106: VIA Technologies, Inc.
device 0571: VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE
device Bridge (ISA bridge) [6|1|0]
vendor 1106: VIA Technologies, Inc.
device 3177: VT8235 ISA Bridge
device Serial bus controller (USB controller, EHCI) [c|3|20]
vendor 1106: VIA Technologies, Inc.
device 3104: USB 2.0
device Serial bus controller (USB controller, UHCI) [c|3|0]
vendor 1106: VIA Technologies, Inc.
device 3038: VT82xx/62xx UHCI USB 1.1 Controller
device Serial bus controller (USB controller, UHCI) [c|3|0]
vendor 1106: VIA Technologies, Inc.
device 3038: VT82xx/62xx UHCI USB 1.1 Controller
device Serial bus controller (USB controller, UHCI) [c|3|0]
vendor 1106: VIA Technologies, Inc.
device 3038: VT82xx/62xx UHCI USB 1.1 Controller
device Communication controller [7|80|0]
vendor 11c1: LSI Corporation
device 044c: LT WinModem
device Display controller [3|80|0]
vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
device 4e71: RV350/M10 [Mobility Radeon 9600] (Secondary)
device Display controller (VGA compatible controller, VGA controller) [3|0|0]
vendor 1002: Advanced Micro Devices, Inc. [AMD/ATI]
device 4e51: RV350 [Radeon 9550/9600/X1050 Series]
device Bridge (PCI bridge, Normal decode) [6|4|0]
vendor 1106: VIA Technologies, Inc.
device b198: VT8237/VX700 PCI Bridge
device Bridge (Host bridge) [6|0|0]
vendor 1106: VIA Technologies, Inc.
device 3189: VT8377 [KT400/KT600 AGP] Host Bridge
But in listusb it is listed correctly:
09da:000a /dev/bus/usb/0/0 "A4Tech Co., Ltd." "Optical Mouse Opto 510D / OP-620D" ver. 0623
1c4f:0002 /dev/bus/usb/0/1 "SiGma Micro" "Keyboard TRACER Gamma Ivory" ver. 0110
0000:0000 /dev/bus/usb/0/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
0000:0000 /dev/bus/usb/1/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
0000:0000 /dev/bus/usb/2/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
148f:5370 /dev/bus/usb/3/2 "Ralink Technology, Corp." "RT5370 Wireless Adapter" ver. 0101
0951:1689 /dev/bus/usb/3/3 "Kingston Technology" "DataTraveler SE9" ver. 0100
0000:0000 /dev/bus/usb/3/hub "HAIKU Inc." "EHCI RootHub" ver. 0200
Probably this adapter uses rt2870 driver, because on the Drivers & Tools CD which comes with it, the Linux driver in the W311Ma folder is named “rt2870” and it works after installling in Linux. For Haiku I found this driver too, and downloaded it here (probably unofficial?): https://github.com/jackburton79/haiku_ralink_usb Then I compiled and installed it by make
and make install
commands, previously wroted needed paths and other optional parameters in makefile:
DRIVER_PATH = net/
and
INSTALL_DIR = /boot/system/non-packaged/add-ons/kernel/drivers/bin
But after executing
ifconfig /dev/net/ralink_usb/0 192.168.0.101 255.255.255.0 up
there is an error
ifconfig: Could not add interface: No such device
The same error appears if try to execute the same command for the driver named “ralinkwifi”.
I also maked a link on the “ralink_usb” driver in /dev/net.
If the driver “ralink_usb” is correct, is there a way to get working my device in Haiku? Thanks.