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
FS#3906 - No wifi on ZyXEL P2812HNU-F1 #8904
Comments
walterav1984: Did you flash/install 21.01-rc3 (from which 18.x 19.x version) or did you tftp/serial boot it from the bootloader? Since I wasn't able to get past 19.07.7 (used mafketel 19.0.7x image which allows greater kernel size 2MB>3MB) than upgraded to stock 19.07.7. Booting kernel from Legacy Image at 80800000 ...Image Name: MIPS OpenWrt Linux-5.4.105 Serial booted, since flashing early 21.x bricked the boot: Booting kernel from Legacy Image at 81000000 ...Image Name: MIPS OpenWrt Linux-5.4.124 |
walterav1984: Nevermind, 21.01-rc3 is booting now from nand flash upgraded from 19.07.7 by altering kernel size with "setenv" in bootloader. #changed 0x200000 to 0x300000 About the wifi, in my case there is no wifi or eeprom messages at all eventhough RTxxxx.bin is in /lib/firmware EDIT: found this issue after fixing the kernel size |
Mijzelf: I tried snapshot, which had the same problem. Yet I found a work-around to get wifi up:
Adding it to /etc/rc.local seems to be early enough to get wifi configured on boot. |
walterav1984: Thanks for the pci rescan tip. Wifi interface is indeed available after that, however only from cli... EDIT: BTW offtopic Do you have any badblocks on your nand? Mine does have 3 and this router always crashes within a day as in switch keeps working but system locks up. |
Mijzelf: Not that I'm aware of. Any idea why it crashes? The only partition which is active after boot is overlay, and UBI should take care of bad blocks, AFAIK. |
walterav1984: For now it has been on for 3 days using wpa3 wifi but without DSL connected and dsl_service disabled, we'll see in a week. The history of this device is also unknown second hand, but if its still working at the end of next week I will flash another Zyxel device from a trusted used source with your modified uboot from OEM to openwrt! No idea what might cause instability but a similar lantiq device "KPN Experia Box v8(arcadyan vgv7519)" was also instable before somwhere in 2017 and since than rock solid including openvpn and tvheadend. I took the tip from the Arcadyan page to disable the "dsl_service" when line is disconnected maybe that solved instability... |
Mijzelf: This problem still occurs in 21.02.0-rc4 |
alpdoruk: I confirm the issue is exist. I searched for it in the internet and found here. OK with reboot it loads again but wireless is not working, I can scan and see the interferance APs but I can't create a configuration and getting read error. |
Mijzelf: Just upgraded to 21.02.0, and the problem is still there. @doruk Cetinkaya: A read error? Read from what? |
alpdoruk: read error was related to the configuration that I made earlier for version 19. After I updgraded to version21 the config was there so there I had the issue. I am trying to restart the radio0 but I couldn't. Generic 802.11bg This does not change. So it must be something related to the RTxxxx.bin is in /lib/firmware |
Mijzelf: You are aware you also need the RT3062.eeprom file? It's not included in the factory upgrade. |
Mijzelf: The issue is still on 21.02.1 |
This issue is still valid on 21.02.3 for similar hardware: Arcadyan VG7519 ExperiaBox v8 The only difference is that this Arcadyan router comes with its own integrated wifi firmware compared to the Zyxel so no extra file has to be applied. The same fix suggested by "Mijzelf" is also valid for this device just add the following line to This fix was not needed in 19.07.x perhaps regression? |
Mijzelf:
On the ZyXEL P2812HNU-F1, running 21.02-rc3 wifi does not work. The module (rt2800pci) is available and loaded, but 'iw list' doesn't show the interface, and there is no trace in kernel log.
On 19.07.7 the kernel log shows:
[ 10.744853] NET: Registered protocol family 24
[ 10.775006] xt_time: kernel timezone is -0000
[ 10.914762] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[ 10.919306] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[ 10.919338] urngd: v1.0.2 started.
[ 10.930582] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[ 10.940005] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[ 10.947986] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 11.071002] kmodloader: done loading kernel modules from /etc/modules.d/*
but on 21.02-rc3 this is gone:
[ 11.386298] NET: Registered protocol family 24
[ 11.408149] xt_time: kernel timezone is -0000
[ 11.717990] kmodloader: done loading kernel modules from /etc/modules.d/*
The module needs an eeprom file 'RT3062,eeprom', which I provided. When I omit that file in 19.07.7 dmesg shows:
[ 10.791631] NET: Registered protocol family 24
[ 10.824391] xt_time: kernel timezone is -0000
[ 10.966880] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[ 10.971522] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[ 10.981089] rt2800pci 0000:00:0e.0: Direct firmware load for RT3062.eeprom failed with error -2
[ 10.989591] rt2800pci 0000:00:0e.0: Falling back to user helper
[ 11.020675] urngd: v1.0.2 started.
[ 11.398015] random: crng init done
[ 11.400112] random: 6 urandom warning(s) missed due to ratelimiting
[ 11.603684] firmware RT3062.eeprom: firmware_loading_store: map pages failed
[ 11.609669] ieee80211 phy0: rt2x00lib_request_eeprom_file: Error - Failed to request EEPROM.
[ 11.617946] rt2800pci: probe of 0000:00:0e.0 failed with error -11
[ 11.639789] kmodloader: done loading kernel modules from /etc/modules.d/*
The text was updated successfully, but these errors were encountered: