Jump to content
XPEnology Community

pmchan

Member
  • Posts

    213
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by pmchan

  1. WOL finally works!

    I've created a short script saved in a file I named ETH0wake.sh and placed it in usr/local/etc/rc.d, along with S99PowersavingIntel.sh and S99ZZZ_Shutdown.sh.

    The content is very simple,  enables (at boot and stop) the wakeup flag of the Q1900 LAN which was always "disabled" for me, you can test by typing: 

    cat /sys/class/net/eth0/device/power/wakeup

     

    and the "ethtool -s eth0 wol g" to force enable WOL at boot and stop.

     

    I really suck at scripts and I know it's not a good idea to put sudo command, but it works for me, so you could try on your own Q1900 or other hardware if WOL is not working. If someone with good knowledge can make it better, that would be awesome!

    so, go to the rc.d folder by ssh, then "vi ETH0wake.sh", type "i" to switch to edit mode and copy/paste the following content:

    #!/bin/sh
    
    case $1 in
        start)
               sudo sh -c "echo enabled >  /sys/class/net/eth0/device/power/wakeup "
               sudo ethtool -s eth0 wol g
                        ;;
                            stop)
               sudo sh -c "echo enabled >  /sys/class/net/eth0/device/power/wakeup "
               sudo ethtool -s eth0 wol g
                                            ;;
                                            esac

    then hit "ESC", type ":wq" and give 755 permissions to the file.

     

    It works for me, I did test with DS Finder on my smartphone but I suppose it works too with my tomato router WOL menu, hope it will be the same for other Q1900 owners.

    • Like 1
  2. 11 hours ago, Bonebreaker777 said:

    Working perfectly fine for me on my N3150-ITX board from AsRock. On both SATA controllers too, I might add. 6.1.3-15152

    Working on my Q1900-ITX too (6.1.3 U3), but some apps, like Plex, may prevent HDD hibernation. If it's the reason why yours can't hibernate, you could create scheduled tasks to stop and launch those apps during the night so HDDs can sleep too :smile: I did it for Plex and the logs clearly list HDD hibernation few minutes after it stopped.

  3. I didn't change the SataPortMap, just plugged 2 SATA drives and it worked (lucky me), but I suppose you found the real culprit with this power issue.

     

    Regarding the CPU power states, I followed the S99PowersavingINTEL howto and it seems to work as it should, it varies from 1993Mhz to 1328Mhz and I set speedstep to enable, C State to C1 and C1E enabled, don't know if il was the right thing to do..?

    The last thing not working is WOL and I didn't look the powerswitch script yet... But so far, so good!

  4. Hello, noob here,  I already have un Synology Nas and never had the courage to try xpenology... Until some days ago, after reading this very helpful topic and decided to buy a cheap Q1900-ITX to give it a try.
    I've installed 6.1.3 on a new disk and migrated those of the original Synology Nas I own, following Polanskiman "howto" and everything seems OK for now, but I have a question regarding CPU power management. For now, I disabled all the Bios settings regarding CPU power (speedstep, C7, CE1...). If I enable these features in Bios, will it work with Xpenology 6.1.3 or do I have to rely on the "S99PowersavingINTEL" script? If this script is the only option working, do I have to let the CPU power options in Bios disabled or enabled? Thank you for any help you could provide.


    @Jurai: I have 2 disks plugged on a SYBA SY-PEX40039 (ASMedia 1061 chipset) working good on 6.1.3.

×
×
  • Create New...