{"action":"created","issue":{"url":"https://api.github.com/repos/MightyPirates/OpenComputers/issues/781","labels_url":"https://api.github.com/repos/MightyPirates/OpenComputers/issues/781/labels{/name}","comments_url":"https://api.github.com/repos/MightyPirates/OpenComputers/issues/781/comments","events_url":"https://api.github.com/repos/MightyPirates/OpenComputers/issues/781/events","html_url":"https://github.com/MightyPirates/OpenComputers/issues/781","id":53307528,"number":781,"title":"Wake on LAN (and/or Redstone), Reboot after Power Failure, Reboot after Error","user":{"login":"Hotrian","id":580880,"avatar_url":"https://avatars.githubusercontent.com/u/580880?v=3","gravatar_id":"","url":"https://api.github.com/users/Hotrian","html_url":"https://github.com/Hotrian","followers_url":"https://api.github.com/users/Hotrian/followers","following_url":"https://api.github.com/users/Hotrian/following{/other_user}","gists_url":"https://api.github.com/users/Hotrian/gists{/gist_id}","starred_url":"https://api.github.com/users/Hotrian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hotrian/subscriptions","organizations_url":"https://api.github.com/users/Hotrian/orgs","repos_url":"https://api.github.com/users/Hotrian/repos","events_url":"https://api.github.com/users/Hotrian/events{/privacy}","received_events_url":"https://api.github.com/users/Hotrian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MightyPirates/OpenComputers/labels/feature","name":"feature","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/MightyPirates/OpenComputers/milestones/14","labels_url":"https://api.github.com/repos/MightyPirates/OpenComputers/milestones/14/labels","id":935277,"number":14,"title":"v1.4.5","description":"","creator":{"login":"fnuecke","id":514903,"avatar_url":"https://avatars.githubusercontent.com/u/514903?v=3","gravatar_id":"","url":"https://api.github.com/users/fnuecke","html_url":"https://github.com/fnuecke","followers_url":"https://api.github.com/users/fnuecke/followers","following_url":"https://api.github.com/users/fnuecke/following{/other_user}","gists_url":"https://api.github.com/users/fnuecke/gists{/gist_id}","starred_url":"https://api.github.com/users/fnuecke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnuecke/subscriptions","organizations_url":"https://api.github.com/users/fnuecke/orgs","repos_url":"https://api.github.com/users/fnuecke/repos","events_url":"https://api.github.com/users/fnuecke/events{/privacy}","received_events_url":"https://api.github.com/users/fnuecke/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":7,"state":"open","created_at":"2015-01-14T16:15:18Z","updated_at":"2015-01-16T00:34:41Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2015-01-03T16:00:42Z","updated_at":"2015-01-16T00:49:18Z","closed_at":"2015-01-15T19:03:12Z","body":"I am requesting these features I haven't seen discussed anywhere\r\nEach of these features would either have to be enabled manually by lua script, in some manner similar to setting a BIOS flag; Or these options could physically exist in the BIOS code and require recrafting the EEPROM to change. An example of this might be `computer.setBiosFlag( option, value)`, though I don't know if BIOS flags already exist. There should also exist a server config option to globally disable each of these, in which case attempting to use or set them would always return nil or false.\r\n\r\n* Wake on LAN (and/or Redstone)\r\n* Reboot after Power Failure\r\n* Reboot after Error (Kernel Panic)\r\n\r\n**Wake on LAN** and/or **Wake on Redstone**\r\nThe [wikipedia](http://en.wikipedia.org/wiki/Wake-on-LAN) explains this feature well. This is a typical feature of real computers.\r\nThis feature would allow one computer to remotely power on another computer, provided it has the exact and complete machine address, is connected via LAN, and the remote computer has been configured to do so. I'm not sure if this feature is technically possible with the current setup, or if it is even possible at all. Alternatively, **Wake on Redstone** would allow a computer to be remotely started when it receives a vanilla Redstone signal, provided it has been configured to do so. Both features would require their respective cards, either a Network Card (Not Wireless) or a Redstone Card (not sure which tier). Robots might be allowed to use these too if that fits the theme.\r\n\r\n**Reboot after Power Failure** (Restore Power State after Power Restore)\r\nThis feature would allow a computer to reboot automatically when power is restored if it has been configured to do so. This is a typical feature of real computers. The manual for my motherboard explains the options well:\r\n\r\n>When set to [Power Off], the system goes into off state after an AC power loss. When set\r\nto [Power On], the system will reboot after an AC power loss. When set to [Last State], the\r\nsystem goes into either off or on state, whatever the system state was before the AC power\r\nloss.\r\nConfiguration options: [Power Off] [Power On] [Last State]\r\n\r\nRobots could be allowed to use this as they could run out of power next to a charger that doesn't have enough power, only to later be charged, or someone could build a charger line next to them.\r\n\r\n**Reboot after Error** (Kernel Panic)\r\nThis feature would be similar to a [Kernel Panic](http://en.wikipedia.org/wiki/Kernel_panic) that features automatic rebooting. This is a typical feature of real computers. This would allow computers that have encountered a fatal error to automatically reboot and resume operation if they had been configured and programmed successfully to do so. Preferably, and unlike real computers, an alternate setting would cause all errors to be treated as fatal errors. If this setting was not enabled, a fatal error must be thrown to auto reboot. Regular errors would drop back to the shell as usual. If this feature is seen as too overpowered, perhaps the Kernel Panic could take a bit of time (as they often do), and/or energy. Non-fatal errors should take less time to recover/reboot from. Optionally they could dump a stacktrace and additional information as real Kernel Panic's often do. The reboot wouldn't fail if the disk drive was full, but it wouldn't generate a dump. Each Kernel Panic would set a flag that must be cleared by the OS that prevents a Kernel Panic from getting stuck rebooting the OS and failing forever. Alternatively, an automatic reboot cannot occur twice within some set period of time, say 30 seconds. Robots could use this feature if that wasn't seen as too overpowered.\r\n\r\nEach of these features could be seen as overpowered depending on how they're used, but these are real features that exist in real computers. It may be possible to write these from the LUA side, but I haven't seen or heard of such.\r\n\r\nSorry if these features already exist or are available and I am just unaware."},"comment":{"url":"https://api.github.com/repos/MightyPirates/OpenComputers/issues/comments/70191071","html_url":"https://github.com/MightyPirates/OpenComputers/issues/781#issuecomment-70191071","issue_url":"https://api.github.com/repos/MightyPirates/OpenComputers/issues/781","id":70191071,"user":{"login":"fnuecke","id":514903,"avatar_url":"https://avatars.githubusercontent.com/u/514903?v=3","gravatar_id":"","url":"https://api.github.com/users/fnuecke","html_url":"https://github.com/fnuecke","followers_url":"https://api.github.com/users/fnuecke/followers","following_url":"https://api.github.com/users/fnuecke/following{/other_user}","gists_url":"https://api.github.com/users/fnuecke/gists{/gist_id}","starred_url":"https://api.github.com/users/fnuecke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnuecke/subscriptions","organizations_url":"https://api.github.com/users/fnuecke/orgs","repos_url":"https://api.github.com/users/fnuecke/repos","events_url":"https://api.github.com/users/fnuecke/events{/privacy}","received_events_url":"https://api.github.com/users/fnuecke/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T00:49:18Z","updated_at":"2015-01-16T00:49:18Z","body":"Yes, it takes any integer. Even negative if you really want to ;-)"}}