Auto Shutdown / Restart

Discussion in 'Cisco/Linksys Network Storage Devices' started by Banditz71, Oct 7, 2007.

  1. Banditz71

    Banditz71 LI Guru Member

    I have my NSLU2 set to shutdown at 10p.....which it does......I have it set to restart at 6:45a.....which it doesn't. Any ideas why?

    Firmware = V2.3R73

  2. d__l

    d__l Network Guru Member

    Restart doesn't mean start up from a powered off condition such as a "morning wake up call", but instead the NSLU2 restart should be thought as meaning a system reboot.

    If you use the shut down command of the NSLU2, then that is it for any standby actions until you manually power it back up with the front panel switch. There is no standby power to its motherboard except for the battery-powered clock circuit.
  3. Banditz71

    Banditz71 LI Guru Member

    OH, OK.....makes sense. I "was" sort of wondering how it could re-start if it were completely powered down.......thanks!
  4. d__l

    d__l Network Guru Member

    That automatic restart function is extremely useful if you leave your NSLU2 on 24/7 and it is having a lot of files written to it continuously. There seems to be a "scratch" memory area that gets filled up after about 8-10K file writes and the read performance of the unit really deteriorates after this limit has been exceeded. A system reboot seems to erase that memory area and restore the maximum possible read performance.

    It should be noted that I'm using a flash drive when I see this performance drop off after that file number limit has been exceeded and I don't know if this would be observed while using an HD instead of a flash drive. So I have my system reboot every morning at 1 AM to maximize the unit's read perfomance.
  5. Abandonflip

    Abandonflip LI Guru Member

    It is possible to have the Slug shut down and restart using a timer on the power supply, but this requires a mod to the hardware - easy enough to do, so long as you are brave enough to take your Slug apart and solder a wire in.

    I did this to mine because we regularly suffer power cuts "out in the sticks" and the Slug is difficult to get to in its current location.

    So far (after 2 years) it has suffered no ill effects, shutting down every night and re-starting every morning.
  6. d__l

    d__l Network Guru Member

    It is rather simple to solder two wires to the pins for the regular switch on the PCB and connect them to a second switch. Then you run the wires outside of the case to an external remote switch.

    For the remote switch, I use an X10 Universal Module that is controllable via ethernet through my housewide X10 system. This way I can re-power my NSLU2 whenever I want. Also I have a second module that controls power to a hard drive connected to the NSLU2 so that it can be accessed at any time, but does not need to be left running continuously.

    I suppose the remote switch could be a simple timer too if you didn't want use X10 or incur the additional cost of that set up. There are also industrial power relays that are directly controlled over ethernet available for about $110 to 140 that could be substituted for the remote switch.

    All this works great. I've been using it for several years now without a problem.
  7. Abandonflip

    Abandonflip LI Guru Member

    A remote switch sounds quite a nice option, but mine is a whole lot simpler - I've added a wire from the DC input to pin 1 of the 'disk 1' USB port. This forces the unit to boot immediately power is applied and, for some time (before I could obtain a timer with a battery backup for its internal clock) I ran the Slug 24/7 in this form.

    Total cost - 4" piece of wire and half an hour of soldering.

    The only downside is that you can't shut the unit down totally from the web interface, but on the few occasions I've needed to do so I just make the effort to get to it.

    BTW whilst inside the box, I overclocked the Slug too and, again, with no ill effects thus far.
  8. d__l

    d__l Network Guru Member

    If you solder a wire to the two mounting pins of the power switch on the back side of the PCB as shown in the photo, you are all set for a remote switch option. Those two wires only have to be shorted briefly to boot the NSLU2. Shorting those pins is exactly what pushing the power button does so there is no unusual electrical operation on the unit. That means you thread the other ends of the wire out of the case at your chosen exit point and plug them into a remote timer.

    Total cost: two pieces of wire (they don't have to be the colors shown and those aren't necessarily the correct polarity colors) in a length of your choice, a few minutes of soldering, and your chosen remote timer device. Piece of cake. :)

    Attached Files:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice