Wifi+ethernet not working

Hello all,

I’m trying to get the wifi and the network working on a laptop with Haiku on it, but not succeeding.Does anybody has any suggestions how to fix?

The laptop is a Compaq CQ58 from 2013. It contains ethernet hardware type Realtek RTL8010xE and for wifi a Ralink RT3290. Both PCI express. The wifi chipset apparantly doubles for BlueTooth functionality. There is also Ralink BlueTooth info, left that out below. UEFI/secure boot is disabled.

Network (under Preferences->Network shows information on Services (DNS settings FTP server etc) but there is no wifi info or buttons. So the laptop can not connect to any wifi. Plugging in a network cable doesn’t give network connectivity.

AboutSys states as version ‘R1/beta4 (Revisions hrev5678+59) x86_64’. It states under Kernel ‘December 17,2022 at 7:02:22 AM’. The iso used was haiku-r1beta4-x86_64-anyboot.iso.

Fragments of /var/log/syslog:

KERN: vesa: vesa_init() completed successfully!
KERN: vesa: acc: vesa.accelerant
KERN: Running first login script /boot/system/boot/first-login/default_deskbar_items.sh …

KERN: package_daemon: [14910980: 512] active package: “realtek_wifi_firmwares-2019_01_02-1-any.hpkg”

KERN: package_daemon: [14910856: 512] KERN: active package: “ralink_wifi_firmwares-2015_02_11-2-any.hpkg”

KERN: PCI: [dom 0, bus 4] bus 4, device 0, function 0: vendor 1814, device 3290, revision 00
KERN: PCI: class_base 02, class_function 80, class_api 00
KERN: PCI: vendor 1814: Ralink corp.
KERN: PCI: device 3290: RT3290 Wireless 802.11n 1T/1R PCIe (Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter)
KERN: PCI: info: Network controller
KERN: PCI: line_size 10, latency 00, header_type 80, BIST 00
KERN: PCI: ROM base host 00000000, pci 00000000, size 00000000
KERN: PCI: cardbus_CIS 00000000, subsystem_id 18ec, subsystem_vendor_id 103c
KERN: PCI: interrupt_line 0a, interrupt_pin 01, min_grant 00, max_latency 00
KERN: PCI: base reg 0: host f0110000, pci f0110000, size 00010000, flags 00
KERN: PCI: base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI: base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI: base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI: base reg 4: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI: base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI: Capabilities: PM, MSI, PCIe
KERN: PCI: Extended capabilities: Advanced Error Reporting, Serial Number

KERN: PCI: [dom 0, bus 3] bus 3, device 0, function 0: vendor 10ec, device 8136, revision 05
KERN: PCI: class_base 02, class_function 00, class_api 00
KERN: PCI: vendor 10ec: Realtek Semiconductor Co., Ltd.
KERN: PCI: device 8136: RTL810xE PCI Express Fast Ethernet controller
KERN: PCI: info: Network controller (Ethernet controller)
KERN: PCI: line_size 10, latency 00, header_type 00, BIST 00
KERN: PCI: ROM base host 00000000, pci 00000000, size 00000000
KERN: PCI: cardbus_CIS 00000000, subsystem_id 1885, subsystem_vendor_id 103c
KERN: PCI: interrupt_line 07, interrupt_pin 01, min_grant 00, max_latency 00
KERN: PCI: base reg 0: host 00002000, pci 00002000, size 00000100, flags 01
KERN: PCI: base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI: base reg 2: host 00000000f0004000, pci 00000000f0004000, size 00001000, flags 0c 00
KERN: PCI: base reg 4: host 00000000f0000000, pci 00000000f0000000, size 00004000, flags 0c 00
KERN: PCI: Capabilities: PM, MSI, PCIe, MSI-X, VPD
KERN: PCI: Extended capabilities: Advanced Error Reporting, Virtual Channel, Serial Number

(reboots give similar outputs, except the Running first login script/package_daemon lines are missing).

The directory /dev/net is empty, even after running install-wifi-hardwares.sh:

→ ls /dev/net

running ifconfig gives:

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

Below partial output of listimage. The texts Realtek, Ralink or wifi are not found in the file.

TEAM 832 (/boot/system/preferences/Network):
ID Text Data Seq# Init# Name

4600 0x00000126e4b61000 0x00000126e4d88000 0 0 /boot/system/preferences/Network
4598 0x00007fda1c880000 0x0000000000000000 0 0 commpage
4599 0x000000b47628b000 0x000000b4764a8000 0 0 /boot/system/runtime_loader
4601 0x0000005cddb0d000 0x0000005cde03b000 0 0 /boot/system/lib/libbe.so
4602 0x000001204b604000 0x000001204b83d000 0 0 /boot/system/lib/libbnetapi.so
4603 0x0000008c98d69000 0x0000008c99149000 0 0 /boot/system/lib/libstdc++.so.6.0.29
4604 0x000001b6660ef000 0x000001b666401000 0 0 /boot/system/lib/libroot.so
4605 0x000000d5c678c000 0x000000d5c69a2000 0 0 /boot/system/lib/libgcc_s.so.1
4606 0x000000044a334000 0x000000044a534000 0 0 /boot/system/lib/libicudata.so.66.1
4607 0x0000010e25b99000 0x0000010e2608f000 0 0 /boot/system/lib/libicui18n.so.66.1
4608 0x0000019c8da52000 0x0000019c8dc5d000 0 0 /boot/system/lib/libicuio.so.66.1
4609 0x0000002375ad0000 0x0000002375ea4000 0 0 /boot/system/lib/libicuuc.so.66.1
4610 0x0000003a238e3000 0x0000003a23af8000 0 0 /boot/system/lib/libz.so.1.2.13
4611 0x0000018fad375000 0x0000018fad633000 0 0 /boot/system/lib/libzstd.so.1.5.2
4612 0x0000010728c2a000 0x0000010728e6a000 0 0 /boot/system/lib/libnetwork.so
4613 0x000001b5e2de4000 0x000001b5e3202000 0 0 /boot/system/lib/libcrypto.so.1.1
4614 0x00000187d4a93000 0x00000187d4d19000 0 0 /boot/system/lib/libssl.so.1.1
4615 0x0000008512628000 0x0000008512831000 0 0 /boot/system/lib/libbsd.so
4617 0x0000016959dd4000 0x0000016959fdb000 0 0 /boot/system/add-ons/locale/catalogs/plaintext
4618 0x000002538e8c1000 0x000002538eac8000 0 0 /boot/system/add-ons/Network Settings/DNSClientService
4619 0x000001540da57000 0x000001540dc59000 0 0 /boot/system/add-ons/Network Settings/FTPService
4620 0x0000001799242000 0x0000001799447000 0 0 /boot/system/add-ons/Network Settings/Hostname
4621 0x0000011a6506e000 0x0000011a65270000 0 0 /boot/system/add-ons/Network Settings/IPv4Interface
4622 0x00000182d3c67000 0x00000182d3e69000 0 0 /boot/system/add-ons/Network Settings/IPv6Interface
4623 0x000000419152e000 0x0000004191733000 0 0 /boot/system/add-ons/Network Settings/SSHService
4624 0x000001b224420000 0x000001b224622000 0 0 /boot/system/add-ons/Network Settings/TelnetService

Below partial output of listdev:

device Network controller (Ethernet controller) [2|0|0]
vendor 10ec: Realtek Semiconductor Co., Ltd.
device 8136: RTL810xE PCI Express Fast Ethernet Controller

device Network controller [2|80|0]
vendor 1814: Ralink corp.
device 3298: RT3290 Bluetooth

Does anybody has suggestions? Btw surprised how quick the software is on such old hardware. Really curious how the browser will perform.

Best wishes
Abraxnos

2 Likes

https://download.haiku-os.org/nightly-images/x86_64/
https://cgit.haiku-os.org/haiku/tree/3rdparty/korli/haiku-current.list

Hello Kim1963,

Thanks for the help. But I don’t understand the suggestion? From what I understand, the ethernet and probably also the wifi is expected to work out of the box. There are realtek and ralink drivers in the distro. It’s very old hardware, so I don’t expect it to suddenly start working in a nightly image. And I don’t see how to work with the suggested git page to fix the problem.

My impression is that it’s a bit strange to have an empty /dev/net. Though not so much experience with Haiku. Maybe that is a clue to find the solution?

Abraxnos

It would be better to report such issues to bugtracker https://dev.haiku-os.org/ , not forum. Testing Haiku nighlies and reporting problems is definitely welcomed.
If you have hardware-info and syslog it is good to put this on the bugtracker.

Yes, point taken. I’ll report it to the bugtracker.

1 Like

Haiku betas are very stable and in fact all software on Haikuports are built with it. This is good for users and devs who want to develop something made specially for Haiku. But it has a little drawback and sometimes the release cycle is a bit long.
Nightlies are snapshots of the development, they might be less stable from time to time but, will have improvements and drivers introduced that are not figuring in beta. Understand that good part of network drivers are imported from OpenBSD/FreeBSD and the compatibility stack keeps improving.

1 Like

Hi all,

I’ve tried the nightly build hrev57804. The bug(s) were still there.

I’ve created a ticket for the story above:
https://dev.haiku-os.org/ticket/18941#ticket

Best wishes Abraxnos

1 Like

https://cgit.haiku-os.org/haiku/tree/3rdparty/korli/haiku-current.list

Ralink ID 3290 wifi not supported.
Use supported external usb wifi device.

BIOS UEFI or BIOS CSM/Legacy ?