if i want to turnoff the hdd, is there any step i must do? and when i turn it on again?
how to download from a direct link?
tq
if i want to turnoff the hdd, is there any step i must do? and when i turn it on again?
how to download from a direct link?
tq
Last edited by mataanjin; 10-09-2008 at 13:43.
Do a forum search for hdd spindown.
with wget. 'wget http://www......'
wengi
Übersicht aller HowTos --- HowTo Overview (mostly german)
WL-HDD mit diesem Setup. --- WL-HDD with this setup.
Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)
Hi, I believe this is option is standard available. But, if you use the hdd for swap and/or have cron installed (which accesses the hdd every minute) the hdd doesn't have any 'inactive' time so it won't spin down. Also, from what I read from the forum is that the WiFi WLAN function causes hdd-access so it won't spin down when WLAN is enabled.
anyway, the following link should provide information: http://wlhdd.co.uk/wiki/HDD_Standby
code: (for spindown after 10 minutes)
(info taken from thread: http://www.wl500g.info/showthread.ph...highlight=spin)Code:hdparm -S 120 /dev/discs/disc0/disc
HTH
WL500g Premium v1 Oleg 1.9.2.7-10 500gb hdd [storage-disk] - 250gb hdd [download-disk]
Transmission HellaNZB mysql php lighttpd myphpadmin samba AIOCP CMSimple AmpJuke ADOS
HeadStart
How to measure Energy consumption
Hi,
I already installed Oleg, before I was using OpenWRT on my Asus wl500gp.
All works fine for me,but I have problem with permissions to /opt dir.
the same or similar when I trying:[root@WL-001BFC918B60 root]$ mkdir -p /opt/tmp
mkdir: Cannot create directory `/opt/tmp': Read-only file system
- mkdir -p /opt/tmp
- ipkg.sh install ipkg-opt
- mkdir /opt/tmp
I searched the web with google and I can't find any solution when I'm not using an external usb-hdd. I want to install ipkg, mc, nano, iptraf and maybe 4 apps more - I don't need usb-hdd.... I think
[root@WL-001BFC918B60 root]$ mount
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)thanks for your time[root@WL-001BFC918B60 root]$ df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 2.9M 2.9M 0 100% /
ps
sorry for my gramma (if there are some mistakes ), english isn't my native language, but I'm trying
when I'm looking for same solution
Last edited by r3ap3rpl; 16-09-2008 at 01:14. Reason: added errors, mount
Hi,
no need to browse the web.
Simply rtfm:
Originally Posted by the fucking manual
Check your /etc/fstab and /usr/local/.files.
wengi
Last edited by wengi; 16-09-2008 at 07:30.
Übersicht aller HowTos --- HowTo Overview (mostly german)
WL-HDD mit diesem Setup. --- WL-HDD with this setup.
Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)
yes yes I know, RTFM
I wrote, without usb-hdd, internal flash only
there's no fstab :/
in /usr/local: etc, root, sbin adn no files
In etc dir it's only dropbear dir, root is empty,
[root@WL-001BFC918B60 root]$ ls /usr/local/sbin/
post-boot post-firewall post-mount pre-mount pre-shutdown
all of this files are empty, only in post-boot is dropbear
Last edited by r3ap3rpl; 16-09-2008 at 07:42. Reason: added dirs, listings
Übersicht aller HowTos --- HowTo Overview (mostly german)
WL-HDD mit diesem Setup. --- WL-HDD with this setup.
Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)
thanks a lot wengi
I installed ver 1.9.2.7-9 (BCM47XX)
no usb-hdd no /opt, so I can't use ipkg and many other features...
It's the way to buy a usb-hdd
ok, thx
r3ap3rpl
I have transmission running using transmissioncli, but cannot get it to run correctly via the web interface. The web page comes up, but it does not trigger watchdog correctly, I think.
When I run transmission_watchdog at the telnet prompt, I get this message:
touch /.watchdog: Read-only file system
in the WEB page, I get the following when running watchdog:
touch: /.watchdog: Read-only file system BusyBox v1.1.3 (2008.03.17-18:24+0000) multi-call binary Usage: rm [OPTION]... FILE... /opt/sbin/transmission_watchdog: kill: 304: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or kill -l [exitstatus] transmissiond: option requires an argument -- i Usage: transmissiond [options] active-torrents.txt [options] Options: -h, --help Print this help and exit -v, --verbose Verbose level implies foreground (0 to 2, default = 0) -p, --port Port we should listen on (default = 51413) -u, --upload Maximum upload rate (-1 = no limit, default = 20) -d, --download Maximum download rate (-1 = no limit, default = -1) -f, --finish Command you wish to run on completion -n --nat-traversal Attempt NAT traversal using NAT-PMP or UPnP IGD -w, --watchdog Watchdog interval in seconds (default = 600) -i, --pidfile PID file path -e, --encryption Turns on encryption as preferred Signals: HUP reload active-torrents.txt and start/stop torrents USR1 write .status files into torrent directories USR2 list active torrents rm: cannot remove `/.watchdog': No such file or directory
Any ideas what I did wrong? Is there somewhere that I need to configure where the .watchdog file is located?
I am using 1.22-3 version of transmission.
Last edited by blueman2; 17-11-2008 at 02:51.
Well, I gave up on this, and downloaded the most recent version of Transmision (1.4) which integrates the web interface. It works perfectly! Just install via "ipkg install transmission", the launch with "transmission-daemon -w /path to where you want files"
Hi,
i have been away for some time.
It seems that transmissiond does not exist any longer!?!
I will figure this out when i have time for it...
wengi
EDIT: Howto will be updated in december.
Last edited by wengi; 22-11-2008 at 00:42.
Übersicht aller HowTos --- HowTo Overview (mostly german)
WL-HDD mit diesem Setup. --- WL-HDD with this setup.
Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)
Why doesn't part3 mount correctly?
Code:[admin@ASUS ipkg]$ df Filesystem 1K-blocks Used Available Use% Mounted on rootfs 3072 3072 0 100% / /dev/root 3072 3072 0 100% / /dev/discs/disc0/part2 986104 73060 862952 8% /opt /dev/discs/disc0/part3 479240116 131228 454764872 1% /tmp/mnt/disc0_3 [admin@ASUS ipkg]$ umount /tmp/mnt/disc0_3 [admin@ASUS ipkg]$ mount /dev/discs/disc0/part3 /tmp/harddisk [admin@ASUS ipkg]$ df Filesystem 1K-blocks Used Available Use% Mounted on rootfs 3072 3072 0 100% / /dev/root 3072 3072 0 100% / /dev/discs/disc0/part2 986104 73060 862952 8% /opt /dev/discs/disc0/part3 479240116 131228 454764872 1% /tmp/mnt/disc0_3
After my first installation of Oleg's FW I need some help with Transmission...
When I enter command:
as it is explained in the manual, I get:Code:transmission_watchdog
When I enter command:Code:-sh: transmission_watchdog: not found
I get:Code:ps axf
The content of the following files is:Code:[admin@WL-001BFC58826B root]$ ps axf PID TTY STAT TIME COMMAND 1 ? S 0:01 /sbin/init 2 ? S 0:00 [keventd] 3 ? SN 0:00 [ksoftirqd_CPU0] 4 ? S 0:00 [kswapd] 5 ? S 0:00 [bdflush] 6 ? S 0:00 [kupdated] 7 ? S 0:00 [mtdblockd] 59 ? S 0:00 telnetd 64 ? S 0:01 httpd vlan1 71 ? S 0:00 klogd 72 ? S 0:00 [dnsmasq] 77 ? S 0:00 [khubd] 86 ? Ss 0:00 lpd 88 ? Ss 0:00 p9100d -f /dev/usb/lp0 0 91 ? Ss 0:00 waveservermain 93 ? Ss 0:00 rcamdmain 97 ? S 0:00 [usb-storage-0] 98 ? S 0:00 [scsi_eh_0] 105 ? Ss 0:00 infosvr br0 106 ? Ss 0:00 watchdog 110 ? Ss 0:00 \_ ntp 126 ? S 0:00 udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcp 129 ? S 0:00 dropbear 130 ? Ss 0:01 \_ dropbear 189 pts/0 Ss 0:00 \_ -sh 200 pts/0 R+ 0:00 \_ ps axf 136 ? S 0:00 upnp -D -L br0 -W vlan1 152 ? S 0:00 [kjournald] 153 ? S 0:00 [kjournald] 156 ? Ss 0:00 /usr/sbin/vsftpd 183 ? S 0:00 /sbin/syslogd -m 0 -O /opt/var/log/syslog.log -S -l 7 188 ? Ss 0:00 /opt/sbin/cron
transmission.conf
crontabCode:#Uncomment the following for UPNP NAT traversal #NAT_TRAVERSAL=--nat-traversal # If the following limit is reached watchdog will not enqueue new one MAX_ACTIVE_TORRENTS=5 SYSLOG=/opt/var/log/syslog.log
logrotate.confCode:SHELL=/bin/sh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/sbin:/opt/bin MAILTO="" HOME=/ # ---------- ---------- Default is Empty ---------- ---------- # */30 * * * * admin nice transmission_watchdog 0 0 * * * admin /opt/sbin/logrotate -f /opt/etc/logrotate.conf &>/dev/null
Please, what should I do to make it working?Code:ompress /opt/var/log/syslog.log { size 1024k weekly rotate 9 postrotate killall -HUP syslogd endscript } include /opt/etc/logrotate.d
I changed the FW just for the Torrents
@ trymyluck
remove transmissiond ( the one you are using ) and install transmission instead.
the 1.4 version is stable using clutch
http://wl500g.info/showthread.php?t=15562