Problems with update

Hello guys
I have OpenWrt on a Nanostation M2 and I cannot update the packages, apparently it is a problem with the gateway. I use an LHG5 to receive with gateway 192.168.1.1 and the Nano as AP with IP 192.168.1.2, putting this gateway in the Nano it still does not update. What should I do? If you can send a reply to my email, I would appreciate it. kokosolo2007@nauta.cu
Greetings from Cuba

Do you have also set a dns server?

2 Likes

Just to make sure you don’t mess things up... it is perfectly fine to use opkg update followed by opkg install. But do not use opkg upgrade unless you know exactly what you are doing and are willing to take the risk that it could hose your setup.

2 Likes

You probably need to set a gateway if your access point's IP hasn't been assigned through DHCP.

My /etc/config/network looks like this:

option ipaddr '10.0.1.11'
option gateway '10.0.1.1'
option dns '10.0.1.1'