Power-saving suspend file server with
After an eternal now time for me ran a 24x7 server, I've decided to phase out this now and to build a more energy-efficient option. Can aim was to have a file server, using wake-on-the LAN to wake up and do not run constantly. Was important to me as quickly as possible and wake up the server, who wants to wait long to access documents.
To solve the problem now is running a Debian Lenny with latest kernel from backports.
puppy: ~ # uname-r 2.6.32-amd64-bpo.5
Only the kernel upgrade has reduced the power saving features enabled (especially cpufreq) consumption by about 20 watts.
In addition, I want the server is not always manually shut down to, so I went in search of an already existing checker which checks on the one hand if someone is connected via SSH, on the other hand the network, the usual suspects for activity checks to ensure that the server is not shut down when needed.
I found what I was in the "server-sleepd", was apparently built by the part time Heise find the shell script is under http://mercurial.intuxication.org/hg/server-sleepd .
Within the script can be distinguished what to do with the server when shutting down, in my case, "pm-suspend" is called to put him to sleep.
I had problems but the WOL, I was not waking up the server again. The error is simply a deaktiverem WOL on the NIC and the deaktivertem wakeup event for the network card to search in ACPI.
Should all look as follows:
puppy: ~ # cat / proc / acpi / wakeup Device S-state Status Sysfs node PS2K S4 disabled pnp: 00:0 a UAR1 S4 disabled pnp: 00:0 b NSMB S4 disabled pci: 0000:00: 01.1 USB0 S4 disabled pci: 0000:00: 02.0 USB2 S4 disabled pci: 0000:00: 02.1 NMAC S5 enabled pci: 0000:00: 07.0 P0P1 S4 disabled pci: 0000:00: 04.0 HDAC S4 disabled pci: 0000:00: 05.0 BR10 S4 disabled pci: 0000:00: 09.0 BR12 S4 disabled pci: 0000:00:0 c.0 BR11 S4 disabled pci: 0000:00:0 b.0 puppy: ~ # ethtool eth0 Settings for eth0: Supported ports: [MII] Half 10baseT / Full Supported link modes: 10baseT / 10baseT Half / Full Full 100baseT / 100baseT Half / Full 1000baseT / Full Supports auto-negotiation: Yes Half 10baseT / Full Advertised link modes: 10baseT / 10baseT Half / Full Full 100baseT / 100baseT Half / Full 1000baseT / Full Advertised auto-negotiation: Yes Speed: 1000Mb / s Duplex: Full Port: MII PHYAD: 1 Transceiver: external Auto-negotiation: on Supports Wake-on: g Wake-on: g Link detected: yes
Important here is that in / proc / acpi / wakeup in the respective network card is "enabled" appears in the status, otherwise events from this source is not used to wake up.
The correct PCI ID of the network map can be found via "lspci".
Is the whole set with me in / etc / network / interfaces when starting the network connections.
up ethtool-s eth0 want g gt; / proc / acpi / wakeup up echo NMAC & gt; / proc / acpi / wakeup
SLES11 Mirror
Similar to the SLES10 Mirror offers the UNI Regensburg again for all the packages SLES11.
To find the mirror is under http://demeter.uni-regensburg.de
Alix 2D13 as a firewall
Recently, I run a firewall on my Alix 2d13 than on Entertain connection.
I ordered the part as a bundle consisting of the Alix, housing, CF card and power supply on the Varia-Store . As I have firewall distribution for IPFire decided reason for this was the native Alix and VDSL with VLAN7 support for IPTV and 8, in addition, there is a package for the necessary igmpproxy.
The whole thing works! Really just perfect and the performance of the VPN is much better than my previous router or telecom gefritzten version of it. Installation is even step by step in the documentation described.
The last major update to 2.7 from 2.5 has IPFire while requires a little time to install but works in total without error, speaks thus of great quality work in the distribution IPFire
All in all a good package and to recommend any of a knack for hardware and Linux.





