Omega 2 Wake on lan server
-
Hello
I'm new to development boards and i was thinking about getting a omega 2 plus (without dock)
i want to use it as a wake on lan server with something like ubuntu server as os on a micro sd card.is that possible?
Thanks in advance
-
The possibility is certainly there, especially since the kernel is Linux. However, the difficulty lies in the kernel configuration. Having an option that isn't quite right will void all efforts to reduce the power consumption. A must do for you is to test the input current to make sure that your sleep mode is really efficient. Be prepared to dig deep into the Operating System. START NOW!
Oh! And forget about Ubuntu. The Omega2 has a ready-to-use Linux kernel so you can concentrate on just the configuration issues. All servers that run under Ubuntu can run under OnionOS.
-
Sorry is there a known package to install on the omega2+ in order to perform the wake on lan package transmit ?
tried with opkg install wakeonlan and it doesn't work . . .
-
re: WOL Sender
Try to use UDP port 7 or port 9 to send a packet to the destination machine's MAC address to wake it up.
ccs_hello
-
The answer is no, and no.
First, wake-on-lan is pointless because there is NO sleep mode.
Next, you won't meaningfully be running Ubuntu on this, and you do not want to try to use a card for system files.
If that is your requirement, you should look to other platforms. On the other hand, if you need a small always-on Linux system with wifi, then if the software issues ever get sorted out, this could be a choice.
-
@Chris-Stratton said in Omega 2 Wake on lan server:
The answer is no, and no.
First, wake-on-lan is pointless because there is NO sleep mode.
Hi Chris, thanks for reply.
However, maybe I didn't explained my issue well enough.
I have several machines on my LAN; I want to use omega2+ as an "always on machine" from which to send different commands to other computers; one of the most useful is wake on lan.
As checked on the LEDE webpage this Linux OS has at least 2 packages implemented for this job - etherwake and luci-i18n-wol; what I do not get is why they are not available in the repositories of onion.
Or maybe they are available and it is only me I cannot run/install them ?
-
Etherwake is reportedly a shell script wrapper around netcat (nc).
Seems like it should be fairly straightforward to accomplish that or equivalent from source... hopefully there is a working netcat.
-
you could look at this page to hopefully get some help on your project. you might want to check which repos are currently on your repo list.
https://wiki.openwrt.org/doc/uci/etherwake
-
opkg update
opkg install luci-app-wol
. . . unknown package 'luci-app-wol''I've also asked via FAQ for this package etherwake, wol or whatever to be inserted on the official packages of onion; so curious about the result . . .
-
@the-mask
Please enable (uncomment) the lede-project.org/snapshots/packages/mipsel_24kc/packages line of the /etc/opkg/distfeeds.conf file and
opkg update
opkg install etherwake
# Omega2+ v0.1.10-b160 # you can check the 'distfeed.conf' file root@Omega-5BE1:~# cat /etc/opkg/distfeeds.conf #src/gz reboot_core http://downloads.lede-project.org/snapshots/targets/ramips/mt7688/packages #src/gz reboot_base http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base #src/gz reboot_onion http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/onion ## src/gz reboot_luci http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/luci src/gz reboot_packages http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages ## src/gz reboot_routing http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/routing ## src/gz reboot_telephony http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/telephony src/gz omega2_core http://repo.onion.io/omega2/packages/core src/gz omega2_base http://repo.onion.io/omega2/packages/base src/gz omega2_packages http://repo.onion.io/omega2/packages/packages src/gz omega2_onion http://repo.onion.io/omega2/packages/onion root@Omega-5BE1:~# opkg update Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/Packages.gz Updated list of available packages in /var/opkg-lists/reboot_packages Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/core/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_core Downloading http://repo.onion.io/omega2/packages/core/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/base/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_base Downloading http://repo.onion.io/omega2/packages/base/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/packages/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_packages Downloading http://repo.onion.io/omega2/packages/packages/Packages.sig Signature check passed. Downloading http://repo.onion.io/omega2/packages/onion/Packages.gz Updated list of available packages in /var/opkg-lists/omega2_onion Downloading http://repo.onion.io/omega2/packages/onion/Packages.sig Signature check passed. root@Omega-5BE1:~# opkg install etherwake Installing etherwake (1.09-4) to root... Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/etherwake_1.09-4_mipsel_24kc.ipk Configuring etherwake.
Similarly, you should enable LEDE's 'luci' repo to install that 'luci-app-wol' package.
BUT luci-app-wol - would you believe it? - is a luci application.
Do you know what is LuCI?
-
@György-Farkas / to all
Thank you all for support.
yes Gyorgy, you are completely correct; I did changed the sources on the /etc/opkg/distfeeds.conf by uncommenting the ones related with lede-project; however, I did this via ssh terminal on the phone and actually missed exactly the mipsel_24kc/packages
As a result, the attempt of trying to install etherwake package failed.
my next option was to enable all sources from the config file, just to be sure . . . .in the meantime I was also seeing your post and the proof that etherwake package can be installed.Now, etherwake was installed only to find out that the actual command is not working . . . .;
It took me about 1-2 hours to figure out that this package seems to work only on the RJ45 connected port , which is not the case because I only have omega2+ and the PowerDock installed on the location so without a LAN connection;Just by guessing and hoping that lede project will have similar packages implemented I've done:
opkg update
opkg install wakeonlan
downloading packages and aftel install I was able to use:
wakeonlan xx:xx:xx:xx:xx:xx
(aka the MAC address) and the LAN PC was started via Wi-Fi, without the need of having a cable connected to the device.
PS: of course, that will be an issue when some power brakes are going to be experienced by the router and the Wi-Fi connection will be messed up so for just in case I'm going to have the Ethernet expansion dock on my future setup.