Open emise opened 3 years ago
http://TV_IP:9991/webos_rsa
ares-setup-device
(-a
may need to be replaced with -m
if device named webos
is already configured)
PASSPHRASE
is the 6-character passphrase printed on screen in developer mode app
ares-setup-device -a webos -i "username=prisoner" -i "privatekey=/path/to/downloaded/webos_rsa" -i "passphrase=PASSPHRASE" -i "host=TV_IP" -i "port=9922"
ssh-keygen
)id_rsa.pub
) to /home/root/.ssh/authorized_keys
on TVares-setup-device
(-a
may need to be replaced with -m
if device named webos
is already configured)
ares-setup-device -a webos -i "username=root" -i "privatekey=/path/to/id_rsa" -i "passphrase=SSH_KEY_PASSPHRASE" -i "host=TV_IP" -i "port=22"
Note: @webosose/ares-cli doesn't need to be installed globally - you can use a package installed locally after npm install
in this repo by just prefixing above commands with local path, like so: node_modules/.bin/ares-setup-device ...
Thank you! One thing for me - somehow the private key path was already configured to the default ~/.ssh
path, so I moved the file there and referenced only the filename rather than the entire path.
this explanation has to be added into the installation guide. was very helpful!
btw this is outdated; the official CLI from LG is required in order to not run into permission issues while installing. See this https://forum.webostv.developer.lge.com/t/an-error-appears-when-im-trying-to-install-ipk-file/2345
To install this on the LG TV, we need to install
ares-novacom
which is not in the open source version of ares cli. This is so we can connect to the TV via the--getkey
command.To make it work on LG TV, all the commands need to include
--device <device_name>
because the LG version of ares cli doesn't have a default setting. I've also discovered that you can only install on the profile with ip address+port 9922, not the default emulator profile with port 6622.Just a suggestion to add some more documentation on these workarounds. Thanks a bunch for creating and sharing this!