Enabling Ralink RT3062 Wireless on ZyXel P-2812HNU-F1

I am trying to get the RT3062 working on a good old P-2812 HNU-F1 but I can't manage to generate a /etc/config/wireless file, since neither wifi detect nor wifi config is outputting anything.

I am a rookie in regards to OpenWRT on this device.
Someone recalling how to get it done properly ?

Firmware Version:
OpenWrt 19.07.3 r11063-85e04e9f46 / LuCI openwrt-19.07 branch git-20.136.49537-fb2f363

lspci -knn
00:0e.0 Network controller [0280]: Ralink corp. RT3062 Wireless 802.11n 2T/2R [1814:3062]
    Subsystem: Ralink corp. RT3062 Wireless 802.11n 2T/2R [1814:3062]
lspci: Unable to load libkmod resources: error -12
lsmod | egrep rt2
cfg80211              226112  2 rt2x00lib,mac80211
compat                  5952  3 rt2800pci,mac80211,cfg80211
crc_ccitt                992  2 rt2800lib,ppp_async
eeprom_93cx6            2016  1 rt2800pci
mac80211              456256  3 rt2800lib,rt2x00pci,rt2x00lib
rt2800lib             122000  2 rt2800pci,rt2800mmio
rt2800mmio              6880  1 rt2800pci
rt2800pci               3824  0
rt2x00lib              37136  5 rt2800pci,rt2800mmio,rt2800lib,rt2x00pci,rt2x00mmio
rt2x00mmio              2304  2 rt2800pci,rt2800mmio
rt2x00pci               1632  1 rt2800pci

driver(s) installed:

opkg list-installed | egrep kmod-rt
kmod-rt2800-lib - 4.14.180+4.19.120-1-1
kmod-rt2800-mmio - 4.14.180+4.19.120-1-1
kmod-rt2800-pci - 4.14.180+4.19.120-1-1
kmod-rt2x00-lib - 4.14.180+4.19.120-1-1
kmod-rt2x00-mmio - 4.14.180+4.19.120-1-1
kmod-rt2x00-pci - 4.14.180+4.19.120-1-1

calibration data loaded:

dmesg | grep 3062
[    0.306238] pci 0000:00:0e.0: [1814:3062] type 00 class 0x028000
[    0.306297] pci 0000:00:0e.0: reg 0x10: [mem 0xffff0000-0xffffffff]
[   10.962422] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'

Did you look through your full dmesg output, to see if anything else is amiss? There might be something with the driver itself and filtering on your part number will leave that out.

That being said, it looks like a chip that hasn't the best track record on Linux to begin with. Anything that turns up with that PCI ID are topics that end with 'wasn't able to get it to work'... Hope you do though.

1 Like

You are right. I was too sloppy in checking the lot from dmesg output :blush:

[   10.962422] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   10.988874] ieee80211 phy0: rt2x00lib_request_eeprom_file: Error - EEPROM file size is invalid, it should be 512 bytes*

So, this might be the culprit . . .

1 Like

I found this old Ralink EEPROM bug report.

And this commit that changed the EEPROM file size.

1 Like

YES ! A corrupted EEPROM file was the real culprit.
I got the 512 byte file from ScAPI and everything is sweet now :smile: :

[   11.011797] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   11.022823] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[   11.029253] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected 

/etc/config/wireless has been generated :smile:

wireless showing up in LuCI :joy:

@Borromini :+1: :+1: :+1: Thanks for helping me out !

Does wifi work stably? It does not exceed 50 mbps. it is also not stable. That's why I use unifi ap connected.

@ altuntepe

I never got beyond 802.11g @ 2.4GHz, so 54Mbps with the RT3062 in this P-2812 with OEM F/W anyway. In regards to stability, I experience no disconnects. My cisco ap is for daily use (2.4GHz/5GHz)

With the working rt3062, I just tested the wireless on an Android client and get:

6.0 Mbit/s, 20 MHz
78.0 Mbit/s, 20 MHz, MCS 12

Within 10 m range from the P-2812 I get even 144.0 Mbit/s.

I have chosen a free channel to reduce interference with other radio signals.
So , if I can believe the figures, it's better than I ever got before with this P-2812 :smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.