Jump to content

Guzzi

Members
  • Posts

    219
  • Joined

  • Last visited

Posts posted by Guzzi

  1. Here's an updated version -- this one you'd have to background from the go script rather than cron-launch. 

     

    Hi,

    I modified the script to check if there is any htpc left running and this works fine. I inserted commands in the go script - this blocks my console.

    So: How do I "background" it ("launch as separate script in background"?) to keep my console free?

    Sorry for the silly question, but I am completely unexperienced with shell scripts...

    tnx,

    Guzzi

  2. Is this the same as s2ram?

     

    No.  s2ram has custom parameters for hundreds of mobos built into it, as well as additional command line parameters for special handling of ACPI and video quirks of a mobo.

     

    ok, understand - so this could help reinitializing the videocard for display.

    So I will wait if someone can compile a package for unraid - as I understood this is currently not available.

     

    @cricker: No, but google for it, can be found quickly (that's the way I did it)

  3. I do not get the screen back; this means: the box is alive, I can telnet to it, but the physical monitor does not show the console anymore. Any hints how to solve this?

     

    Sometimes there is a bios option to re-initialize the video bios after returning from sleep.

    You can check your bios and toggle the option to see if this helps.

    No, there is no such option - checked this before posting here...

  4. You can put a ping command in the script, and ping each HTPC to see if it is running.

     

     

    Thanks for the hint; could you kindly send me an example for a script, that I could integrate in the script of omv to check ip in addition of drive spin? I am not good at all in scripting....

     

    @all: I now bought a new motherboard, that properly supports wol - especially the wakeup via magicpacket. Did a testinstalltion and works fine so far, but before migrating my unraidbox I have one issue left: After the box went to S3 and waking up via magoc packet, I do not get the screen back; this means: the box is alive, I can telnet to it, but the physical monitor does not show the console anymore. Any hints how to solve this?

    thanks and regards,

    Guzzi

  5. Did some more reading and found some interesting infos: h++p://www.vdr-wiki.de/wiki/index.php/WAKE_ON_LAN

    My German is way too rusty to follow that page...care to summarizes the key bits?

     

    Actually, it's just giving several hints and some descriptions, where known problems can be found and how to solve them. There is also a linux specific part.

    I think you find the same info by searching the weg on other pages too.

    The most important for me from the article I have already written above - tried those with my boards as good as I ca, but since I am not so erperienced in Linux, I don't know where exactely I find certain things in the unraid distribution. And e.g. changing the Realtek-driver is way too hard for me also...

    I hope that we will get some improvement with next kernel release.

    for the time now, I will order another mainboard - cause I tried WOL with my htpc and this worked fine even with unraid. Will order today the same board for my unraid server ....

  6. I did some more Tests - funny, as you said, on exactly the same machine, it's working perfect under windows, but NOT under Linux/Unraid. Windows goes to standby (S3) and wakes up by MagicPacket. Unraid goes to standby (S3), but does NOT wake up.

     

    I have EXACTLY the same behavior on my test box -- a K8NE running unRAID.

     

    Did some more reading and found some interesting infos: h++p://www.vdr-wiki.de/wiki/index.php/WAKE_ON_LAN

    Did not check this stuff yet. Further I have read, that with the latest kernel release there should be some improvements with regard to powermanagement - so with a little luck we might get improvement as soon as Tom integrates latest Kernel in the unraid distribution ...

    Anyhow, I am still happy for help...

     

  7. Does anyone have any ideas how I can get the NIC to stay alive after shutdown or standby?

     

    In some cases, you have to use Windows to force the registers on the NIC.  Boot Windows, and then go to driver options for the NIC, and select all the options there.

     

    Also go to power management in the NIC, and make sure that "allow this device to bring the computer out of standby" is enabled, and disable "allow the computer to turn off this device to save power." 

     

    I know that should make a bit of difference, but some NIC drivers in Linux have some bugs when it comes to setting registers for things like WOL.... but it you do them first in Windows they will stick.

     

    Also, go to the latest unRAID beta... the .29 kernel has a number of s3 suspend improvements.  My bench machine does not suspend with unRAID 4.4.2 but does splendidly with 4.5-Beta6.

    Great Tips. I'll try the new beta first, then see if the windows tricks do any good. With the new beta, does one still have to do all tweaks to turn it on and set the card?

     

    Hi BubbaQ,

    I did some more Tests - funny, as you said, on exactly the same machine, it's working perfect under windows, but NOT under Linux/Unraid. Windows goes to standby (S3) and wakes up by MagicPacket. Unraid goes to standby (S3), but does NOT wake up.

    I used the latest beta6 for the tests.

    It seems there is some problems with the NIC driver for the realtek onboard chip - found somewhere on the web that there "might be issues" with WOL & r8169 and the recommendation to use r8168 driver instead - too hard for me, no idea how to do that...

     

    I used ethtool to set the NIC, works fine:

    Settings for eth0:

            Supported ports: [ TP MII ]

            Supported link modes:  10baseT/Half 10baseT/Full

                                    100baseT/Half 100baseT/Full

                                    1000baseT/Half 1000baseT/Full

            Supports auto-negotiation: Yes

            Advertised link modes:  10baseT/Half 10baseT/Full

                                    100baseT/Half 100baseT/Full

                                    1000baseT/Half 1000baseT/Full

            Advertised auto-negotiation: Yes

            Speed: 1000Mb/s

            Duplex: Full

            Port: MII

            PHYAD: 0

            Transceiver: internal

            Auto-negotiation: on

            Supports Wake-on: pumbg

            Wake-on: g

            Current message level: 0x00000033 (51)

            Link detected: yes

     

    I also tried "modprobe r8169 enable_wol=1"

     

    All didn't help - going to S3 works fine, but no wakeup via WOL.

     

    Any further hints how to troubleshoot the problem?

     

    Will try 2 other mainboards later if I find the time ...

     

  8. Hi all,

    unfortunately, I am not very good in programming or scripting - thus a question to you people:

    Is there any possibility to create some sort of script in the windows client ("keepalive") that prevents S3 sleep whenever the htpc is running but still allows the unraid box to fall to S3 if all htpcs are switched off?

    It sould also include the sending of the magic packet to wakre unraid box if htpc comes from S3 - via scheduler?

     

    There is something similar for the windows home server (which I do not have/use) called "lightsOut".

     

    As a result, Unraid machine would only be running, if a minimum of one htpc is running, otherwise S3.

     

    Thanks, Guzzi

    Hi Neil,

    did you find a solution for your problem? Asking, because I am facing the same problem - although enabled in the BIOS and setting driver to wake on magic packet, NIC link goes down thus not being able to wake the machine ....

    regards, Guzzi

  9. Hi all,

    unfortunately, I am not very good in programming or scripting - thus a question to you people:

    Is there any possibility to create some sort of script in the windows client ("keepalive") that prevents S3 sleep whenever the htpc is running but still allows the unraid box to fall to S3 if all htpcs are switched off?

    It sould also include the sending of the magic packet to wakre unraid box if htpc comes from S3 - via scheduler?

     

    There is something similar for the windows home server (which I do not have/use) called "lightsOut".

     

    As a result, Unraid machine would only be running, if a minimum of one htpc is running, otherwise S3.

     

    Thanks, Guzzi

×
×
  • Create New...