dev-manager-desktop
dev-manager-desktop copied to clipboard
cli-version for arm (Linux)
Is your feature request related to a problem? Please describe. I'm always frustrated when I see that I need to renew the developer-timer..
Describe the solution you'd like I would love to use a cli-version of this software on my raspberry p, which is runngin 24/7.. so I can let it renew the timer for me every few hours.
Describe alternatives you've considered no alternative.. the other functions would be great too.. also it would make it possible to run this from a smartphone using termux..
Great that you have raspberry pi. I think I can add a feature to let you export a script for renewal, so you can run it on raspberry pi. And better yet, schedule via crontab.
Great that you have raspberry pi. I think I can add a feature to let you export a script for renewal, so you can run it on raspberry pi. And better yet, schedule via crontab.
that sounds great :)
can I assist you smh?
The feature is almost ready, and will be available in next release.
Does the TV need to be on to run the renew script?
sure.. but as long as you do it using a regular crontask and start the tv once every 50 hours that should be fine.
thehhmdb @.***> schrieb am Mo., 28. Juni 2021, 21:03:
Does the TV need to be on to run the renew script?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/webosbrew/dev-manager-desktop/issues/2#issuecomment-869943975, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPGGE2O2GS2ULENVGYNI2TTVDBRJANCNFSM47CD6HYQ .
No. It doesn't have to be on. The script will try to save developer mode token.
@mariotaku when I run the script it won't work. what can I do to create a working "/tmp/webos_privkey_tv" ?
Load key "/tmp/webos_privkey_tv": invalid format
[email protected]: Permission denied (publickey,keyboard-interactive).
cat: /tmp/webos_devmode_token_tv.txt: No such file or directory
Unable to get token
@mariotaku any idea what I need to do?
Oh sorry, didn't in the mood for my projects for a short while. Will get back soon!
Trying to run script on windows with ubuntu as subsystem:
bash renewWebOs.sh
renewWebOs.sh: line 2: $'\r': command not found
renewWebOs.sh: line 32: $'\r': command not found
chmod: cannot access '/tmp/webos_privkey_tv'$'\r': No such file or directory
renewWebOs.sh: line 34: $'\r': command not found
: Name or service not knownname
renewWebOs.sh: line 39: -o: command not found
renewWebOs.sh: line 40: -p: command not found
cat: /var/luna/preferences/devmode_enabled: No such file or directory
renewWebOs.sh: line 53: syntax error: unexpected end of file
@matustokar I think the file has CRLF breaks, which should be converted to LF in order to run on Linux.
Sorry to replay on such on old post, but as it's still open I hope it's ok.
For some reason I have some permission errors while trying to execute. If I run the script generated by the tool I get this error:
sign_and_send_pubkey: no mutual signature supported
[email protected]: Permission denied (publickey,keyboard-interactive).
and When I try this script https://github.com/webosbrew/dev-goodies/blob/main/reset-devmode-timer.sh I get the following:
[email protected]: Permission denied (publickey,keyboard-interactive).
(I think the difference is only in the RSA key)
for both I needed to add:
-oHostKeyAlgorithms=+ssh-rsa
and
touch /tmp/webos_devmode_token_tv.txt
to fix some other incompatabilities.
Also the "renew Session" button doesn't work. It does how ever bring up the "developer mode" app.
I think I need to modify some permissions, But I don't know which one.
[edit] using the curl script only actually works, but I'm not sure what the lifetime of the sessiontoken is.