To show how many blocks is reserved type:
tune2fs -l /dev/sdb1 | grep "Reserved block count"
To disable reserved blocks (and free space) type:
tune2fs -m 0 /dev/sdb1
collection
To show how many blocks is reserved type:
tune2fs -l /dev/sdb1 | grep "Reserved block count"
To disable reserved blocks (and free space) type:
tune2fs -m 0 /dev/sdb1
Create following file in this path: /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla
[Actions for erol user] Identity=unix-user:erol Action=org.freedesktop.upower.*;org.freedesktop.consolekit.system.*;org.freedesktop.udisks.* ResultAny=yes ResultInactive=yes ResultActive=yes
Please edit this file: /usr/lib/pm-utils/sleep.d/LCDd and make it executable chmod +x LCDd.
#!/bin/sh # If we are running LCDd stop and restart # Otherwise lirc_* modules won't get unloaded and # they do not work properly with suspend/resume . "${PM_FUNCTIONS}" suspend_lcd() { if [ -x /etc/init.d/LCDd ]; then /etc/init.d/LCDd stop 2>&1 > /dev/null fi } resume_lcd() { if [ -x /etc/init.d/LCDd ]; then /etc/init.d/LCDd start 2>&1 > /dev/null fi } case "$1" in hibernate|suspend) suspend_lcd ;; thaw|resume) resume_lcd ;; *) exit $NA ;; esac
Download and compile libtorrent
sudo wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.12.6.tar.gz sudo tar zxfv libtorrent-0.12.6.tar.gz cd libtorrent-0.12.6 sudo ./configure sudo make sudo make install
Download and compile xmlrpc-c
sudo svn checkout http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable xmlrpc-c cd xmlrpc-c/ sudo ./configure sudo make sudo make install
Download and compile rtorrent
sudo wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.8.6.tar.gz sudo tar zxfv rtorrent-0.8.6.tar.gz cd rtorrent-0.8.6 sudo ./configure --with-xmlrpc-c sudo make sudo make install
First install package “etherwake” with command:
opkg install etherwake
You have to find out what is the host MAC address you want to wake up. Look for it in:
/etc/config/dhcp
Then use etherwake to wake the host f.e.:
etherwake -D -b -i br-lan 00:1d:60:56:5c:4e