[Solved] Showing routes on D-Link DIR 853

I've just installed OpenWRT 23.05.2 on a D-Link DIR 853 A1 and am very pleased with the result. I'm seeing a problem when I try to display the Routing information in the Status menu when I'm using the GUI interface:

SyntaxError

missing ) after argument list
  in https://kaukau.lan/luci-static/resources/view/status/routes.js?v=git-24.048.61449-c66fc92:18
  at require/compileClass/< (https://kaukau.lan/luci-static/resources/luci.js?v=git-24.048.61449-c66fc92:179:29)

If I login using ssh the routing info appears fine using 'ip ro' and 'ip -6 ro' and the routing is behaving as I expect. I updated the installed Software packages after I loaded the system if that's relevant.

I can live with this but it would be nice to get it resolved.

That is somewhat unusual. Have you made any modifications to LuCI?

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

It might bacause of okpg upgrade of the luci-base pkg. I encountered the same issue this morning.

The OP didn't mention this, but yes, it could certainly have this effect.

@asjl - did you run opkg upgrade on any packages?

Upgrading packages (via the CLI opkg upgrade command or the LuCI Upgrade... button) can result in major problems. It is generally highly discouraged, unless you know what you are doing or if there is specific instruction to do so.

Got it. Thanks for the alert :smiley:

I did upgrade the packages. My default mode on Linux is to keep packages up to date but I guess that's different here!

Is there an easy way to back out those changes to the OpenWRT 23.05.2 release version?

Make a backup of your config.

Then, issue the following command to reset to defaults:

firstboot -y && reboot

Once the system comes back up, you can restore your backup and reinstall any user-installed packages.

Config deleted

That does not, really, help in this situation.

Do as @psherman suggested:

Make a backup of your config
then firstboot -y && reboot .

That will reset it to default values and we hope end your trouble

I suppose the next step is to reflash it to ensure working packages are installed but let's go the easiest way first.

firstboot -y && reboot

solves the problem.

I'll be less enthusiastic with opkg in future!

1 Like

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
Thanks! :slight_smile:

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