-
Notifications
You must be signed in to change notification settings - Fork 17
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
wlan0 not being recognized #25
Comments
Same issue here, but I resolved with:
Oddly, I often have intermittency with this command showing the card, and sometimes not!
|
Same issue here. @tacomilkshake, have you got the optional M.2 Key E 2230 Wireless and Bluetooth Combo Module ? or do you use a USB wifi dongle ? With the optional M.2 Wifi/Bluetooth module, your trick doesn't work for me. It seems that the Wifi module is not powered on, so the command lspci doesn't see it.
|
This is a good point, the R5C has a M.2 Key E 2230 slot, the R5S does not. To be sure everyone is talking about the same issue, can we confirm the R5 model and the interface? |
Hello @inindev, I've got the R5C with the optional Wifi/Bluetooth combo module (AzureWave AW-CB375NF) on the M.2 Key E 2230 slot. |
I have an R5C but have never put a wifi card in the Key E. I can do that tomorrow. |
Thanks. |
Confirming I do indeed also have a R5C with the M.2 Key E 2230 Wireless and Bluetooth Combo Module. It's odd it seems about 50/50 on boot whether I can get the device to show up using When it does, I can use iwd/iwctl to configure and connect to WLAN. I tried adding a variety of drivers: firmware-realtek, non-free misc, etc. Unfortunately, none improved the reliably of the device appearing (and being usable). Though, I believe this kernel should include the driver... |
any chance a pci device rescan helps this?
|
Whaou !
how can we make this permanent? |
Good news there is a solid work-around until a permanent solution is found.
The easiest solution would be to make |
OK, but the wifi is not yet operational. |
Try using iwd once it appears in the lspci list; that’s what worked for me. I’m guessing iwd is doing the extra configuration needed to enable the device. I couldn’t get base networking to recognize it, nor using NetworkManager.
…On Sat, Dec 30, 2023, at 11:24, libresurf wrote:
OK, but the wifi is not yet operational.
The command *iw list* shows nothing.
—
Reply to this email directly, view it on GitHub <#25 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAN5RBS4YO4T6VBD4NPC5QDYMBS57AVCNFSM6AAAAAA63OIQ42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGU4DQMRTGY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Also, does I minimize the firmware in the image to keep it small as it can easily be installed later. Ensure
I generally use wpasupplicant:
|
lspci shows no driver in use for the wifi card :
|
This should take care of it then:
|
Yes, firmware-realtek is already installed. |
but that doesn't solve the problem. |
do you have these too?
|
Yes, I have these too. |
Try restarting the network service
…-------- Original Message --------
On Dec 30, 2023, 2:56 PM, libresurf wrote:
Yes, I have these too.
—
Reply to this email directly, [view it on GitHub](#25 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AAQ6CMQVTEFZUGZ2IMAVGFTYMBWVLAVCNFSM6AAAAAA63OIQ42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZSGU4TGNJXGM).
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
There are two things that I don't understand. |
There are errors and fails in the kernel logs when I rescan the pci bus :
|
I will have to look first-hand tomorrow, but I am expecting to find a timing issue where I may need to add a delay in the power supply activating this device.
I wonder if there is an issue with the driver you are using. Perhaps try uninstalling the realtek firmware and try the linux firmware.
|
I tried this... but no luck :
I think the problem comes from an incorrect definition in the device tree. |
It looks like we chased a lot of red herrings yesterday. I got a chance to install my e-key wifi card (which is the same model as yours, btw) and got the same result as you. tl;dr try to on my initial boot I got:
I then installed the firmware:
...and updated my debian as well as installed
it then just worked:
|
Thank you @inindev for this solution. But unfortunately it doesn't work with my custom installation and that's another problem that no longer concerns this issue. Thanks a lot ! |
Thanks very much @inindev for this solution, and for the repo overall! |
#25 Signed-off-by: John Clark <[email protected]>
Hello @inindev, Why not add rtw88 and rtl_bt to line 109 of your nanopi-r5c/make_debian_img.sh script? |
Good call, I added rtl_bt, rtlwifi, rtw88, and rtw89: I am going to be rebuilding the images soon to pickup the debian bookworm 12.4 update. |
Good tutorial and nice it worked for some, Unfortunately this did not work for me, still no WiFi adapter while typing 'ip a'. I'll open up and check what WiFi card I have. I would assume It's the same since It came with one pre-installed. |
be sure the card is recognized by the pci bus using |
Can only see ethernet interfaces from lspsci, I tried bootig into stock Debian 11 nanopi image and saw it there "RTL8822CE". |
can you try this release: or alternatively this kernel: |
Here is something interesting I just noticed. If you cold boot the device, sometimes the wifi card is not detected (output from a nanopi-r5c):
...but a warm boot always detects the wifi card:
|
Hello @inindev , |
cold boot == power-on boot There seems to be a power-on race issue. I am testing openwrt linux 6.1.77 which seems to have problems. I do not see these issues with the linux 6.7 images found here: https://github.com/inindev/debian-image/releases/tag/v12.4 |
Hello, it is exactly what we are fighting with since a month, but for our two R5C (with M2 WiFi), the result is perfectly consistent : on cold boot, the Wifi is never present, on reboot it is always present. We are using Dietpi. After a cold boot, rescaning the PCI bus makes the WiFi appear in lspci, but not with ip a. |
Hello. I also have NanoPi R5C and a problem with PCIe device not starting properly (WAN port in my case). I have found this issue by searching the Internet for my problem, found post by @joachimneu on OpenWrt forum about eth1 not working and followed links in there to issue #5 here. Since this issue is already closed I decided to post here. I see that this discussion is quite old but what I found by investigating my own device might be an answer to this strange behaviour. I have opened an issue on OpenWrt repository, check it out for details, specifically the post about PERSTB signal. Can it be the root cause of all these mysterious problems with PCIe devices? |
wlan0 not being recognized. "ip -a" returns only lo, wan0 and lan0.
The text was updated successfully, but these errors were encountered: