Hello there, I'm getting the wget returned 4 error. The router is an Archer C2 AC750 and it's currently serving as a WiFi extender (I hope it's well configed), fed by an ethernet cable coming from my main router.
DHCP's disabled, IP is static, and SSIDs are the same as my main ones.
So I read this could be because I have no "internet" on the router. WAN and WAN6 are stopped because I'm not using them. So is there a way to opkg update without touching the wiring?
Most likely you've got basic connectivity or DNS problems.
You either need "global" Internet connectivity, or need to transfer the package files to the router "by hand" (including all the dependencies) and install them from the file. For most people, getting the connectivity, even just for the period required, is the easier approach.
Does the router have DNS and a default route, probably through 192.168.5.1 (guessing, based on its IP address being 192.168.5.2)?
Not part of the problem, but the following lines are cruft from LuCI-based edits, and can be safely deleted on current releases (and probably on older ones as well):
You have not defined 'gateway' and 'dns' address options for the LAN interface, so traffic originating from the router itself does not work properly as it can't resolve addresses and does not get routed.
(Traffic originating from connected PCs works, as they get the info via DHCP from the main router.)