Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need help installing driver for Openwrt OS #306

Open
kinhsman opened this issue Jan 24, 2024 · 6 comments
Open

Need help installing driver for Openwrt OS #306

kinhsman opened this issue Jan 24, 2024 · 6 comments

Comments

@kinhsman
Copy link

Noob here! I attempted to install the driver on openwrt following the provided instructions but faced challenges as I couldn't locate the linux-headers and build-essential packages. Could someone kindly help me with this?
Thank you!

@lwfinger
Copy link
Owner

What CPU are you using? Does it have a PCI interface? A quidck DuckDuckGo search located a number of articles.

More details please.

@kinhsman
Copy link
Author

kinhsman commented Jan 24, 2024

What CPU are you using?

The CPU is Intel N95. I was able to install the driver for Ubuntu on the same system, wifi working perfectly. I just cant seem to figure out how to install drivers on openwrt.

Does it have a PCI interface?

Yes the Wifi card is M2 E key with RTL8852BE chipset

I noticed rtw88 was available under kmod-rtl88 for openwrt, but I cannot find anything for rtw89

Below is the error im getting when trying to install the required packages
image

@lwfinger
Copy link
Owner

try 'opkg | grep header'. Does that give you any clue?

@razvanphp
Copy link

razvanphp commented Feb 12, 2024

Is this driver supposed to work with M2 card or only with USB ones?

I successfully compiled it, but it's not detecting the card as wifi card.

$ lsmod | grep rtw
rtw_8852be             16384  0
rtw_8852b             368640  1 rtw_8852be
rtw89pci               61440  1 rtw_8852be
rtw89core             479232  2 rtw89pci,rtw_8852b
mac80211              913408  2 rtw89pci,rtw89core
cfg80211              856064  3 rtw89core,mac80211,rtw_8852b
$
$ sudo iwconfig
lo        no wireless extensions.

dummy0    no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

l4tbr0    no wireless extensions.

rndis0    no wireless extensions.

usb0      no wireless extensions.

docker0   no wireless extensions.

$ lspci
0004:02:03.0 PCI bridge: Pericom Semiconductor Device b404 (rev 01)
0004:03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852
0004:04:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
$

@lwfinger
Copy link
Owner

That is a result of the user-space code on your system. Please attach a full dmesg output.

@razvanphp
Copy link

razvanphp commented Feb 12, 2024

Ah, you're right, I was missing the firmware file, sorry for the noob question, it worked now!

Thank you!
R

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants