-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ubus call lime-utils get_node_status problem in some dsa routers #1137
Comments
Does this affect also the 2024.1-rc1 release candidate? |
This command was added by @selankon in 162925a By default, OpenWrt has ip-tiny instead of ip-full. Likely we did not realize this before as lime-debug depends on "ip", that I suppose pulls "ip-full"...? The differences between the two versions are mainly these ones. |
I tried with the routers on my desk but I don't have enough space, not even for ip_tiny. This will take some more time.
i'm not sure |
No need to install ip-tiny. |
Looks like it does affect also the release candidate: |
yess !
The image I was using is self compiled. It uses the ip command available from busybox. Using the precompiled libremesh image 2024.1-rc1-ow23.05.3-default witch comes with "ip-tiny - 6.3.0-1" there is no problem.
using plain OpenWrt 23.05.5, r24106-10cc5fcd00
I think that a simple solution it wold be to add ip-tiny to the package dependencies. I can also create a pull with a proposal that only uses the plain command without -j option and parses the output using string comparison. |
Thanks! |
a call to
ubus call lime-utils get_node_status
wont always work
lua: /usr/lib/lua/lime/node_status.lua:141: attempt to index local 'dsa_json' (a nil value)
the problem seems to be related to the use of unsupported options in the ip command on some specific ip compilations. The command that the scrip is trying to run is
and some routers that use busybox don't have the -j option enabled.
there must be a way to pragmatically include a "full" ip package or change the code to use the simple ip and some tools to parse the output.
The text was updated successfully, but these errors were encountered: