FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

11980 questions

14260 answers

22474 comments

35625 members

0 votes
159 views 8 comments
by

Hi,

I have got issues upgrading my RUT240 from Legacy (RUT2XX_R_00.01.14.5) to the current firmware (RUT2_R_00.07.02.4). After upgrading, the WebUI does not work anymore, the login screen stalls with "Loading" spinning.

Login via SSH works. In logread I see the following error message:

Tue Aug 31 22:41:00 2021 daemon.err uhttpd[2386]: vuci: accepted login for admin from 192.168.1.178

Tue Aug 31 22:41:00 2021 daemon.err vuci[5356]: /usr/bin/lua: /usr/lib/lua/ubus/ui.lua:629: attempt to index local 'boardInfo' (a nil value)

Tue Aug 31 22:41:00 2021 daemon.err vuci[5356]: stack traceback:

Tue Aug 31 22:41:00 2021 daemon.err vuci[5356]: /usr/lib/lua/ubus/ui.lua:629: in function 'generate_dynamic_routes'

Tue Aug 31 22:41:00 2021 daemon.err vuci[5356]: /usr/lib/lua/ubus/ui.lua:723: in function 'get_menus'

Tue Aug 31 22:41:00 2021 daemon.err vuci[5356]: /usr/lib/lua/ubus/ui.lua:929: in function </usr/lib/lua/ubus/ui.lua:923>

Tue Aug 31 22:41:00 2021 daemon.err vuci[5356]: [C]: in function 'run'

Tue Aug 31 22:41:00 2021 daemon.err vuci[5356]: /usr/sbin/vuci:98: in function 'main'

Tue Aug 31 22:41:00 2021 daemon.err vuci[5356]: /usr/sbin/vuci:101: in main chunk

Tue Aug 31 22:41:00 2021 daemon.err vuci[5356]: [C]: ?

Reboot or Factory Reset does not help.
I have tried downgrading to Legacy and back up to the current FW (save settings unchecked). Same result.

Any ideas?

Regards,

FalconHG

by
I am seeing the same issue on a RUT360.

mnf_info fails to provide a serial number

# mnf_info -s
0000000000
by
Do you have access to the physical router or its packaging? If you provided the serial in a personal message, we could arrange a remote for device recovery.

4 Answers

0 votes
by

Hello,

I would recommend you try to reflash the FW fully using the bootloader menu and then try upgrading to RUTOS.

NOTE: the bootloader will only allow you to upload legacy firmware versions.

by
Hi,

thank you for your answer. I have already done that several times, no success.

Regards,

FalconHG
0 votes
by

Hello,

Could you please execute the following command and post the output:

  • hexdump -C /dev/mtd1

Best regards,

by

Hi,

this is the output:

root@Teltonika-:~# hexdump -C /dev/mtd1

00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

*

00000060  00 00 00 00 00 00 00 00  ff ff ff ff ff ff ff ff  |................|

00000070  33 36 33 35 00 00 00 00  00 00 00 00 00 00 00 00  |3635............|

00000080  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

*

00001000  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|

*

00010000

root@Teltonika-:~#

by
Could you provide a serial number of your device?
by
Serial: 1107521770
by
Hi Žygimantas,

any news on this?

Kind regards,
FalconHG
by
Sent you a PM
0 votes
by
Thank you, sent you a PM.
0 votes
by
Thank you, managed to fix it myself.

in short:

look at /dev/mtd1 on another device, content is straight forward

compile kmod-mtd-rw with the SDK

mtd write the fixed config