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:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
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.
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).
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 .
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