I want to use wake on lan with my LG TV but it is only supported via cable connection. Is it possible to connect small computer (Orange Pi) directly to the TV via cable and send Wake packets directly?
etherwake, which are probably available in whatever distribution you’re using. You can then wake the TV up by specifying its MAC address:
(You’ll need to run
etherwake as root;
wakeonlan can be run as a regular user.)
You might want to look into HDMI CEC as an alternative to wake your TV up, over an HDMI connection rather than an Ethernet connection. The Raspberry Pi supports this, see this page for details; your distribution probably has
libcec too, along with the Python bindings (
python-libcec). I don’t know whether the Orange Pi supports CEC (apparently it does), and more importantly whether any available software supports CEC on the Orange Pi (see here).
I found the below link about Raspberry Pi, but the same applies to Orange Pi also.
You'll have to use the following command to install WOL:
sudo apt-get install etherwake
and you can wake your machine with
etherwake -i eth0 AA:BB:CC:DD:EE:FF
where AA:BB:CC:DD:EE:FF is target Ethernet address.