The opkg update command failed with code 6 and problem with pinging

Hi there. I am quite new to OpenWrt as i used it for two months now. I had quite a few problems with setting it up, but now it seems to work. The only problems that I have are with installing packages and diagnostics.
When I try IPv4 ping, it gives me back "ping: bad address 'openwrt.org'"
I presume it's connected with my main concern with installing packages, where updating list give me error: The opkg update command failed with code 6.
Maybe quick intro of the setup, I use Haier HAR-20S2U1 (or at least clone of it from Ali). It is setup wit Lan1 as a bridge to my second router. Both wireless networks work and everything seems ok besides those two problems. I'm really new into networking stuff, so sorry if i didn't provide more info. If someone know how to help I would be grateful!

It seems that the device is working as a dumb AP, so you need to set on its lan interface the LAN IP address of the main router as default gateway and upstream DNS.

Ok so now for the IPv4 gateway of my bridge router, I have set the default gateway stated in my main router UI. So I need to change it for the IP of the LAN port of my main router, am I correct? And when it comes to upstream DNS, do you mean "custom DNS servers" stated in advanced settings of my LAN interface?

Don't touch the main router. Let's assume its LAN IP is 192.168.1.1.

On the AP (you call it a bridged router) set this (use the correct IP)

1 Like

Damn, that worked perfectly! Thanks for the help.

1 Like

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