Jump to content

dlmh

Members
  • Posts

    206
  • Joined

  • Last visited

Posts posted by dlmh

  1. hmm that looks like a big fat no then, unless you want to go paying extra money for a NAT firewall :-(

     

    https://support.purevpn.com/how-to-get-ports-opened

     

    my advise, dump purevpn and go airvpn or pia.

     

    Thanks, this fixed the issue! Torrents are also uploading, does this mean the incoming port works? Speeds are 300-600 kbps (on popular torrents) which is nothing compared to the 14 MB/s I get using newsgroups. Maybe I'll try PIA for a month and see if speeds improve.

     

    Thank you very much!

     

    [edit]

    I'm getting about 7 MB/s with PIA :). Too bad about the remaining 4 months @ PureVPN though ;)

  2. It sounds like the route (I assume in iptables) that the script is trying to add is failing to add and as binhex mentioned if the VPN connection fails this docker will not download anything as a protection measure for the user so you aren't downloading anything without the protection of the VPN.

    Yes, this is what I gathered from the error in the log. Is it possible to somehow get some more debugging info? I enabled debug in the settings hoping I would get a more verbose log, but nothing changed. I also tried attaching to the Docker container, but I cannot get a terminal.

  3. Hi!

     

    Thanks for this great docker container! It installed correctly and after tweaking the config (and finding the correct credentials for my PureVPN provider) the container starts and I can access the Deluge webui.

     

    However, I cannot get Deluge to download torrents. They are stuck at 0% and 0.0 kbps. When I look at the log I find these lines suspect, but don't know how to fix it.

     

    2016-04-30 08:42:03,190 DEBG 'start-script' stderr output:
    RTNETLINK answers: File exists
    
    2016-04-30 08:42:03,191 DEBG 'start-script' stdout output:
    Sat Apr 30 08:42:03 2016 ERROR: Linux route add command failed: external program exited with error status: 2
    
    Sat Apr 30 08:42:03 2016 Initialization Sequence Completed
    
    2016-04-30 08:42:03,575 DEBG 'webui-script' stdout output:
    [info] Starting Deluge webui...

     

    Any suggestions?

  4. Guys,

     

    I can get a Nexus Edge pretty cheap. It has 9 5.25" bays, but they are tool-less, meaning I will have to attach those sliders to the harddisk bays. Does any one know if that will work? In general, or specific to this case.

     

    I got those ridiculously cheap Norco 5-in-3 non-hotswapping bays, which where a pita to mount in my Lian Li PC-A17 case.

  5. Hi Starcat,

     

    I'm currently also looking into sleeping my unRAID server and (remotely) waking it up when requested. My server "only" consumes around 50W when idle, but it still allows for a nice energy saving ;).

     

    The problem I ran into was that my Airport Extreme won't allow an incoming packet (from the internet) to be sent to the broadcasting address on the subnet (xxx.xxx.xxx.255), so the Magic Packet can't be broadcasted. This is necessary because the TCP/IP stack in the router will only remember the path to the computer for a short while when it's gone to sleep, so broadcasting is the only way to wake it up after it's lost it's path.

     

    The great thing about Snow Leopard is the addition of Wake-on-demand, a feature that must be supported by the router (currently only the Airport Express and Extreme support his). The way it works that there's a special entry in the mDNS responder that says the computer is WoD-compatible. When the router receives a request for the WoD-enabled computer, be it HTTP, VNC, iTunes, AFP, SMB, or whatever, it checks if the computer responds and if not, it will send a magic packet to wake it up.

     

    This seems fairly simple, and it is! The guys from Avahi picked this up and are currently working to implement this. This will add an entry to the mDNS responder of the zeroconf service by Avahi and the Airport will pick this up. If you require external access, you only have to port forward the specific ports for that service.

  6. I've attached an updated version of the sleep script. The main aim was to repackage the various bits of functionality that different people have proposed already. There's little new functionality, but everything has been nicely parameterized for easy configuration. It should also be easy to re-code the central activity checks.

     

    The central logic of the script is that countdown to server sleep proceeds in three consecutive steps

     

    0) unRAID puts the HDDs to sleep, absent access to their (uncached) content

    1) a timeout after last HDD goes to sleep [original sleep counter]

    2) a timeout after last external activity, currently

        * TCP access over some 30sec window within the current 1-minute countdown tick

        * ping of specific IP addresses, to ascertain whether media players, etc., are online

    -) the countdown may be suspended altogether at certain hours.

     

    If any previously timed-out conditions are re-activated, subsequent time-out counters are reset.

     

    The attached script should make it straightforward to configure whether and how to do each of these and for how long, and whether to re-new DHCP and re-negotiate for a gigabit connection upon wake-up, and more.

     

     

    This is great, just what I needed! Thanks! :)

  7. I put my notes on getting sleep and wake on lan working in the wiki under the 'How-Tos' section.  This way the smart people can go in and make edits and hopefully make it more useful. 

     

    Link: http://lime-technology.com/wiki/index.php/Setup_Sleep_%28S3%29_and_Wake_on_Lan_%28WOL%29

     

    In the notes, I reference my batch file for sending the magic packet and also my s3.sh file that is called from the 'go' script.  Copies of those files are attached to this post.

     

    Hope there's something useful in there for someone. 

     

    AGW

     

    The script for automatic sleep works like a charm on my system. Only my Intel Pro 1000 GT (PCI) does not wake up the system, although WOL is enabled. The onboard RTL8169 works on that department, but fails in most others ;-). Know how to switch eth0 with eth1?

  8. That does help a bit.  Essentially you are using the 'echo' command to "apply" a value of 3 to /proc/acpi/sleep . . . I guess.

     

    What I've done so far is taken OMV's updated bash script that is designed to suspend the machine after a preset period of spindown time, and created a file called s3.sh, using wordpad, that contains OMV's script.   Then I try to call that file from the go script using nohup, but it doesn't work.  I get: "No such file or directory".

     

     

    I suspect that I'm missing something very basic in the process of creating a useable script file.

    You should make the script executable:

    chmod +x [filename]

    .

×
×
  • Create New...