NOTE! This site uses cookies and similar technologies.

If you not change browser settings, you agree to it.

I understand

Welcome, Guest
Username: Password: Remember me

TOPIC: Adding packages/terminal command to build

Adding packages/terminal command to build 4 years 8 months ago #1

  • DLogic
  • DLogic's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
New user here. Love OpenELEC so far and it's very compatible with the formats I have. I do need a bit of help.

I currently have my Pi powered by my provider's set-top box and it's on 24/7. I recently learned that the build has a SSH terminal, which is good for what I need. The only thing is that I haven't been able to find the common commands to send WoL packets to other computers on my LAN and noticed that Busybox wasn't compiled with it. So, my question is: is there a way to send WoL signals thru build r11439 and if not, how do I add a command or package to be able to do so? Or is there a way to add it to the source and rebuild? I don't think the XBMC addon for WoL is what I need. Any help is appreciated.
The administrator has disabled public write access.

Re: Adding packages/terminal command to build 4 years 8 months ago #2

  • lrusak
  • lrusak's Avatar
I'm thinking the only way to do this is going to be by installing the Advanced WOL plugin. I don't know if it has all the functionality though.

EDIT: yes it is what you are looking for. though I don't know if it will work on the pi
forum.xbmc.org/showthread.php?tid=121142


EDIT2: if that doesn't work then you can just use this script to send magic packets.
wiki.xbmc.org/index.php?title=HOW-TO:Set_up_Wake-On-Lan_(Ubuntu)#The_script:_wake-on-lan
Last Edit: 4 years 8 months ago by lrusak.
The administrator has disabled public write access.

Re: Adding packages/terminal command to build 4 years 8 months ago #3

  • DLogic
  • DLogic's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
I do have it installed. Is there a way to get it to work on the terminal command line?
The administrator has disabled public write access.

Re: Adding packages/terminal command to build 4 years 8 months ago #4

  • lrusak
  • lrusak's Avatar
Yes, see the second link
The administrator has disabled public write access.

Re: Adding packages/terminal command to build 4 years 8 months ago #5

  • DLogic
  • DLogic's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
awesome... its a step in the right direction! ill give it a try tonight! Thanks!
The administrator has disabled public write access.

Re: Adding packages/terminal command to build 4 years 8 months ago #6

  • lrusak
  • lrusak's Avatar
DLogic wrote:
awesome... its a step in the right direction! ill give it a try tonight! Thanks!

note, you can install nano via the program addons within openelec if you hate vi, just make sure to reboot after installing.

If you are wanting to send WOL packets when it boots we can setup a autostart.sh script to run a boot time, then depending on what you want to do we can work on it.
The administrator has disabled public write access.

Re: Adding packages/terminal command to build 4 years 8 months ago #7

  • DLogic
  • DLogic's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
i was able to get it done with the script from the 2nd link! just what i needed! i got it onto the Pi by uploading it thru SSH.

now... im in the process of searching the boards for the next issue:
where in the source do i change the default ssh password?! lol
The administrator has disabled public write access.

Re: Adding packages/terminal command to build 4 years 8 months ago #8

  • lrusak
  • lrusak's Avatar
you can't at this moment
The administrator has disabled public write access.

Re: Adding packages/terminal command to build 4 years 8 months ago #9

  • DLogic
  • DLogic's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
i think i found it actually... wouldn't it be editing "ROOT_PASSWORD" in /OpenELEC.tv/projects/RPi/options ?
The administrator has disabled public write access.

Re: Adding packages/terminal command to build 4 years 8 months ago #10

  • lrusak
  • lrusak's Avatar
yea if you want to compile from source :)
The administrator has disabled public write access.

Re: Adding packages/terminal command to build 4 years 8 months ago #11

  • gunja99
  • gunja99's Avatar
  • Offline
  • Senior Boarder
  • Posts: 125
  • Thank you received: 7
  • Karma: 2
Just wondered with WoL, can you get XBMC to run other programs (such as WoL), on other events other than start up.

The reason I ask, is that my Pi is powered by my TV, so turns on whenever the TV turns on. Obviously I won't always be wanting to use the Pi (PVR, Xbox, BD, TV, etc). So I would like to set a WoL command to be sent to the NAS when I press a command on my remote (in my case using web interface on mobile, not an IR remote).

I know it's not an rPi specific question, but would be doing it on the pi in this instance (I use WoL to wake up my other XBMC install anyways, which sends a WoL to the NAS).
The administrator has disabled public write access.

Re: Adding packages/terminal command to build 4 years 8 months ago #12

  • lrusak
  • lrusak's Avatar
Yes, gunja99 you can do this.

try and get WOL working via command line first, then message me here or in IRC if you need help setting it up. You could start a new thread about it also.
The administrator has disabled public write access.