Netgear EVG2000 web-panel error - RPCError

The Netgear EVG2000 router has recently (it seems about 1 year ago) received more complete support - the WAN port finally worked, and the possibility of almost full use (except for telephone ports) appeared. I recently installed the latest firmware - OpenWRT 24.10 and decided to try installing it to use instead of the router I had before. Also, after the update, I connected a 16GB USB Flash, mounted 3 partitions - /overlay (512 MB), swap (256 MB), /mnt/usb (≈13.7 MB). Also, after mounting all this, I installed Samba - and here the problems began, I could not (and now I can't) "share" the largest folder for shared access. I have already tried a lot - different configurations - it doesn't work. And after some changes, an error started appearing:

RPC call to luci/getFeatures failed with error -32000: Object not found
at ClassConstructor.handleCallReply (http://openwrt.lan/luci-static/resources/rpc.js?v=25.123.45881~e061a5f-1746880807:11:3)

.
And now almost all menu items in the panel are not loading, except for the main page and the Samba settings page.

Did you perform the extroot process? If so, does the problem happen when the USB drive is removed?

Let's see your configs (with the USB drive in place):

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
root@OpenWrt:~# ubus call system board
{
        "kernel": "6.6.73",
        "hostname": "OpenWrt",
        "system": "Generic BMIPS kernel",
        "model": "Netgear EVG2000",
        "board_name": "netgear,evg2000",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "24.10.0",
                "revision": "r28427-6df0e3d02a",
                "target": "bmips/bcm6368",
                "description": "OpenWrt 24.10.0 r28427-6df0e3d02a",
                "builddate": "1738624177"
        }
}
root@OpenWrt:~# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd33:96a8:935e::/48'
        option packet_steering '1'

config device 'switch'
        option name 'switch'
        option type 'bridge'

config bridge-vlan 'lan_vlan'
        option device 'switch'
        option vlan '1'
        option ports 'lan1 lan2 lan3 lan4'

config interface 'lan'
        option device 'switch.1'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config bridge-vlan 'wan_vlan'
        option device 'switch'
        option vlan '2'
        option ports 'wan'

config interface 'wan'
        option device 'switch.2'
        option proto 'dhcp'

config interface 'wan6'
        option device 'switch.2'
        option proto 'dhcpv6'
root@OpenWrt:~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'pci0000:00/0000:00:01.0/ssb0:0'
        option band '2g'
        option channel '1'
        option country 'UA'
        option cell_density '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid '*******-a0_2.4G'
        option encryption 'psk-mixed'
        option key 'P@$$word'
root@OpenWrt:~# cat /etc/config/dhcp

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option cachesize '1000'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'
        option ednspacket_max '1232'
        option filter_aaaa '0'
        option filter_a '0'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'
root@OpenWrt:~# cat /etc/config/firewall
config defaults
        option syn_flood        1
        option input            REJECT
        option output           ACCEPT
        option forward          REJECT
# Uncomment this line to disable ipv6 rules
#       option disable_ipv6     1

config zone
        option name             lan
        list   network          'lan'
        option input            ACCEPT
        option output           ACCEPT
        option forward          ACCEPT

config zone
        option name             wan
        list   network          'wan'
        list   network          'wan6'
        option input            REJECT
        option output           ACCEPT
        option forward          REJECT
        option masq             1
        option mtu_fix          1

config forwarding
        option src              lan
        option dest             wan

# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
        option name             Allow-DHCP-Renew
        option src              wan
        option proto            udp
        option dest_port        68
        option target           ACCEPT
        option family           ipv4

# Allow IPv4 ping
config rule
        option name             Allow-Ping
        option src              wan
        option proto            icmp
        option icmp_type        echo-request
        option family           ipv4
        option target           ACCEPT

config rule
        option name             Allow-IGMP
        option src              wan
        option proto            igmp
        option family           ipv4
        option target           ACCEPT

# Allow DHCPv6 replies
# see https://github.com/openwrt/openwrt/issues/5066
config rule
        option name             Allow-DHCPv6
        option src              wan
        option proto            udp
        option dest_port        546
        option family           ipv6
        option target           ACCEPT

config rule
        option name             Allow-MLD
        option src              wan
        option proto            icmp
        option src_ip           fe80::/10
        list icmp_type          '130/0'
        list icmp_type          '131/0'
        list icmp_type          '132/0'
        list icmp_type          '143/0'
        option family           ipv6
        option target           ACCEPT

# Allow essential incoming IPv6 ICMP traffic
config rule
        option name             Allow-ICMPv6-Input
        option src              wan
        option proto    icmp
        list icmp_type          echo-request
        list icmp_type          echo-reply
        list icmp_type          destination-unreachable
        list icmp_type          packet-too-big
        list icmp_type          time-exceeded
        list icmp_type          bad-header
        list icmp_type          unknown-header-type
        list icmp_type          router-solicitation
        list icmp_type          neighbour-solicitation
        list icmp_type          router-advertisement
        list icmp_type          neighbour-advertisement
        option limit            1000/sec
        option family           ipv6
        option target           ACCEPT

# Allow essential forwarded IPv6 ICMP traffic
config rule
        option name             Allow-ICMPv6-Forward
        option src              wan
        option dest             *
        option proto            icmp
        list icmp_type          echo-request
        list icmp_type          echo-reply
        list icmp_type          destination-unreachable
        list icmp_type          packet-too-big
        list icmp_type          time-exceeded
        list icmp_type          bad-header
        list icmp_type          unknown-header-type
        option limit            1000/sec
        option family           ipv6
        option target           ACCEPT

config rule
        option name             Allow-IPSec-ESP
        option src              wan
        option dest             lan
        option proto            esp
        option target           ACCEPT

config rule
        option name             Allow-ISAKMP
        option src              wan
        option dest             lan
        option dest_port        500
        option proto            udp
        option target           ACCEPT


### EXAMPLE CONFIG SECTIONS
# do not allow a specific ip to access wan
#config rule
#       option src              lan
#       option src_ip   192.168.45.2
#       option dest             wan
#       option proto    tcp
#       option target   REJECT

# block a specific mac on wan
#config rule
#       option dest             wan
#       option src_mac  **:**:**:**:**:**
#       option target   REJECT

# block incoming ICMP traffic on a zone
#config rule
#       option src              lan
#       option proto    ICMP
#       option target   DROP

# port redirect port coming in on wan to lan
#config redirect
#       option src                      wan
#       option src_dport        80
#       option dest                     lan
#       option dest_ip          192.168.16.235
#       option dest_port        80
#       option proto            tcp

# port redirect of remapped ssh port (22001) on wan
#config redirect
#       option src              wan
#       option src_dport        22001
#       option dest             lan
#       option dest_port        22
#       option proto            tcp

### FULL CONFIG SECTIONS
#config rule
#       option src              lan
#       option src_ip   192.168.45.2
#       option src_mac  **:**:**:**:**:**
#       option src_port 80
#       option dest             wan
#       option dest_ip  194.25.2.129
#       option dest_port        120
#       option proto    tcp
#       option target   REJECT

#config redirect
#       option src              lan
#       option src_ip   192.168.45.2
#       option src_mac  **:**:**:**:**:**
#       option src_port         1024
#       option src_dport        80
#       option dest_ip  194.25.2.129
#       option dest_port        120
#       option proto    tcp

Yes, I think I did extroot, because I have everything initialized - overlay and swap. Also (probably) the folder is mounted, because I can do cd /mnt/sda3 (because I changed the name from usb to sda3, because I thought maybe the name didn't fit).

Today, after installing new updates, the problem with the error in the web interface disappeared. But I still can't configure the samba server. Because there are many tutorials on configuring samba3.6 servers on OpenWRT. But the newer version samba4 doesn't seem to be described so well. I just need to be able to click "Map network drive" in Windows File Explorer and enter the router address \192.168.1.1 or \openwrt.lan and if necessary, the folder and that's it. Because before, I somehow configured it on the old version. But then there was another router, because this one couldn't work with the wan port. And now when I updated it - this is the problem.

Could it be that the problem with Samba 4 not working is an incompatibility with the kernel?
Maybe I need to make some special settings?

not very likely.

don't know if it's still needed, but enabling legacy SMB v1 in Win might help.

as long as you keep updating your packages, we can't really help you.

I installed the update and now everything works fine except the file server. Of course, I won't update often in the future, it's just that this is the first setup and I decided to install everything that is there, and I installed something new - for example, the interface localization package.

From a config/ behaviour point of view, samba 3.6 and 4.x are largely identical. I only had to do only little janitorial work on that over the last >two decades.

Now, for example, I need to enter some data. But I didn't create any new users. Because it seemed to work without a user and password before. I tried the password from Wi-Fi and from the ROOT user - it doesn't accept it.

I also discovered that the "Allow guests" checkbox is not saved - I select it, click "Save & Apply", and make some changes, but it remains unsaved in the panel.

Does anyone have any ideas? The main thing is that it finds the path, but I still need login data. I can't understand - what could I have done wrong!? Maybe someone can test the work of Samba4?
I checked the configuration file - there seems to be nothing superfluous, everything is by default. Also, guest mode is enabled (although it is not displayed on the web panel).

can't reproduce it.

just installed samba4, and created a guest enabled share, there's a logon pop up, where I used "guest" as name.

Here is the output of the settings. I also tried to connect from Ubuntu, there in general - an error occurs. Although I still have a local network storage on debian - it connects to it normally, although you have to log in with a username and password. I have no idea what the problem could be :sob: .

root@OpenWrt:~# cat /etc/config/samba4

config samba
        option workgroup 'WORKGROUP'
        option charset 'UTF-8'
        option description 'Samba on OpenWRT'

config sambashare
        option name 'smb'
        option path '/mnt/sda3'
        option read_only 'no'
        option guest_ok 'yes'
        option create_mask '0777'
        option dir_mask '0777'

I looked at the system log, there is an error related to Samba. Maybe one of the developers can tell me if this could have an impact?

Thu May 15 12:41:36 2025 daemon.err smbd[4088]: [2025/05/15 12:41:35.972177,  0] ../../source3/smbd/server.c:1746(main)
Thu May 15 12:41:36 2025 daemon.err smbd[4088]:   smbd version 4.18.8 started.
Thu May 15 12:41:36 2025 daemon.err smbd[4088]:   Copyright Andrew Tridgell and the Samba Team 1992-2023