Choose style:

Author Topic: Auto boot of os (SOLVED)  (Read 1368 times)

0 Members and 1 Guest are viewing this topic.

Offline miles207

  • Newly Subscribed
  • *
  • Posts: 4
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Auto boot of os (SOLVED)
« on: May 14, 2015, 10:19:39 am »
Hi, wondering if anyone can point me in the right direction. The idea was to use an old machine as a server, I have installed peppermint 5, with samba and serviio and all is working fantasticly and does exactly what I want it to.  I don't want this machine to be running 24/7 and would like to either:
Have the machine boot up at specific times/days, or
Boot up when other devices on the network are switched on and shut down when they are turned off.

Is this possible?

Cheers, Miles
« Last Edit: May 20, 2015, 06:07:56 am by miles207 »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Auto boot of os
« Reply #1 on: May 14, 2015, 11:14:39 am »
Wake on LAN is probably what you're after .. but the BIOS/NIC must support it

https://help.ubuntu.com/community/WakeOnLan
« Last Edit: May 14, 2015, 11:17:06 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline miles207

  • Newly Subscribed
  • *
  • Posts: 4
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Auto boot of os
« Reply #2 on: May 15, 2015, 07:20:25 am »
Many thanks for getting back, I have tried that option but the device I want to wake the pc with is a smart TV which has no options for sending a WoLAN message. Is there any software that controls the time/ date a PC if booted and shut down?

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Auto boot of os
« Reply #3 on: May 15, 2015, 07:43:56 am »
Can't be done because the PC would need to be running to monitor the timing software.

Theoretically you could use a low power device such as a RasPi to run a script that say pings the TV and when it receives a response, sends a wake-on-lan event to the PC, and when the ping ceases to respond sends a shutdown signal.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline miles207

  • Newly Subscribed
  • *
  • Posts: 4
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Auto boot of os
« Reply #4 on: May 15, 2015, 09:00:48 am »
Now there is a thought, cracking idea, I will give it a go.

many thanks

Offline miles207

  • Newly Subscribed
  • *
  • Posts: 4
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Auto boot of os
« Reply #5 on: May 20, 2015, 06:02:31 am »
Well, I tried the wake on LAN option using a raspberry pi and the server started brilliantly. In fact I have been playing with all sorts of options. turning on different machines using the pi and an android phone/tablet - it's been a great learning curve. Unfortunately, and I'm not sure I will ever get past this, when the TV is turned on, the pi fires up (as the power is via a USB from the TV) this then sends the wake on LAN packet to the server which powers up. By this time the TV has stopped looking for a server and doesn't list it as a media option. Thanks for the help though, it has been fun.