Hi guys,
was away some days..
/opt/etc/profile must be executable. If you get a "read only" filesystem your hdd/partition is not mounted as it should.
wengi
Hi Wengi,
I think I solved the problem! The contents of crontab defines that the script is running for admin, I had to replace that by my login name! Now I can find the cron entry (/opt/sbin/cron[214]) in the log files running. THanks alot for your help
Now I am still struggling with qos, I got wshaper running up, but I would like to use my FTP at full speed when I access my harddisc from elsewhere. DO you have any idea to get that working? I use the ftp server included in the firmware of Oleg (stupid-ftp), what would be the advantage of vsftpd (Raas, why do you prefer this program as a server?)
Thanks alot guys, I really enjoy this working toghether!!
Ecori
Hi guys,
was away some days..
/opt/etc/profile must be executable. If you get a "read only" filesystem your hdd/partition is not mounted as it should.
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)
Can you explain me please witch is the differene between Daemon and Xinetd ? Sometimes i have speed problems when i try to watch an HDD movie from the hdd of asus.
I'm using Oleg's final firmware, and i've followed your tutorial up to (including) the torrents
i'm considerring to install samba 2 or 3, but i'm afraid about the memory limits. There is some way to " renice" the included samba ? Or i must install separate one ?
Thank you for your great tutoriall !
All the best !
P.S.
I have an WL500gP
Hi,
The Deamon is allways active.
Xinetd is listening on the samba port and when there is a request on this port the deamon is started.
There should be no difference in the performance when accessing samba over deamon or xinetd.
I prefer samba2 because samba3 needs more ressources and these are limited on WL-HDD.
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 have this error when I start torrent:
log from website of transmisiion:
Starting torrent /tmp/harddisk/torrent/work/name of torrent.torrent
Mar 12 00:55:52 transmissiond[311]: Couldn't get information for file "/tmp/harddisk/torrent/.transmission/cache/6b4a3d1ee4b986d2bb3c63d708d593f0da09fd20-cgi" No such file or directory
Mar 12 00:55:52 transmissiond[311]: Couldn't get information for file "/tmp/harddisk/torrent/.transmission/cache/6b4a3d1ee4b986d2bb3c63d708d593f0da09fd20" No such file or directory
Mar 12 00:55:52 transmissiond[311]: Couldn't get information for file "/tmp/harddisk/torrent/.transmission/cache/6b4a3d1ee4b986d2bb3c63d708d593f0da09fd20-cgi" No such file or directory
Mar 12 00:55:52 transmissiond[311]: Couldn't get information for file "/tmp/harddisk/torrent/.transmission/cache/6b4a3d1ee4b986d2bb3c63d708d593f0da09fd20" No such file or directory
I have tried four times from all over begining.
2 times with hard drive and two times with pendrive.
What have I done wrong?
PS: sorry for my english.
Did you try another torrent?
e.g. OpenOffice?
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)
OpenOffice works, now I have 90% completed.
But error still occurs:
Why torrents from TorrentLeech.org doesn`t work?Mar 12 09:34:51 transmissiond[311]: Starting torrent /tmp/harddisk/torrent/work/OOo_1.1.5_Win32Intel_install.zip/OOo_1.1.5_Win32Intel_install.zip.torrent
Mar 12 09:36:25 transmissiond[311]: Couldn't get information for file "/tmp/harddisk/torrent/.transmission/cache/54644f6fcb1c3eafb0011cf3ecad5f520617301d-cgi" No such file or directory
Mar 12 09:36:25 transmissiond[311]: Couldn't get information for file "/tmp/harddisk/torrent/.transmission/cache/54644f6fcb1c3eafb0011cf3ecad5f520617301d" No such file or directory
Mar 12 09:36:25 transmissiond[311]: Couldn't get information for file "/tmp/harddisk/torrent/.transmission/cache/54644f6fcb1c3eafb0011cf3ecad5f520617301d-cgi" No such file or directory
Mar 12 09:36:25 transmissiond[311]: Couldn't get information for file "/tmp/harddisk/torrent/.transmission/cache/54644f6fcb1c3eafb0011cf3ecad5f520617301d" No such file or directory
And when I did this od my Harddrive (Seagate-Sata) I have anothers errors(on flashdrive they don`t occurs):
Mar 10 00:54:01 transmissiond[219]: Transmission daemon 1.06+ (5187) started - http://transmission.m0k.org/ at port 65534
Mar 10 00:54:01 transmission_watchdog: Transmission daemon restarted!
Mar 10 00:54:23 dropbear[188]: exit after auth (admin): Exited normally
Mar 10 00:55:01 /opt/sbin/cron[226]: (admin) CMD (run-parts /opt/etc/cron.5mins)
Mar 10 00:55:30 kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: 0x28 00 00 9b 5e 3e 00 00 08 00
Mar 10 00:55:30 kernel: Current sd08:04: sns = 70 3
Mar 10 00:55:30 kernel: ASC=11 ASCQ= 0
Mar 10 00:55:30 kernel: Raw sense data:0x70 0x00 0x03 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x11 0x00 0x00 0x00 0x00 0x00
Mar 10 00:55:30 kernel: I/O error: dev 08:04, sector 3145736
Mar 10 00:55:30 kernel: EXT3-fs error (device sd(8,4)): read_inode_bitmap: Cannot read inode bitmap - block_group = 12, inode_bitmap = 393217
Mar 10 00:55:30 kernel: EXT3-fs error (device sd(8,4)) in ext3_new_inode: IO failure
Mar 10 00:55:49 kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: 0x28 00 00 9b 5e 3e 00 00 08 00
Mar 10 00:55:49 kernel: Current sd08:04: sns = 70 3
Mar 10 00:55:49 kernel: ASC=11 ASCQ= 0
Mar 10 00:55:49 kernel: Raw sense data:0x70 0x00 0x03 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x11 0x00 0x00 0x00 0x00 0x00
Mar 10 00:55:49 kernel: I/O error: dev 08:04, sector 3145736
Mar 10 00:55:49 kernel: EXT3-fs error (device sd(8,4)): read_inode_bitmap: Cannot read inode bitmap - block_group = 12, inode_bitmap = 393217
Mar 10 00:55:49 kernel: EXT3-fs error (device sd(8,4)) in ext3_new_inode: IO failure
Mar 10 00:55:49 transmissiond[219]: Starting torrent /tmp/harddisk/torrent/work/name_of_teoorent.torrent
Mar 10 00:55:49 transmissiond[219]: 1205106949 1 dl 0.00 ul 0.00 ld 0.66
Mar 10 00:56:26 kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: 0x28 00 00 9b 5e 3e 00 00 08 00
Mar 10 00:56:26 kernel: Current sd08:04: sns = 70 3
Mar 10 00:56:26 kernel: ASC=11 ASCQ= 0
Mar 10 00:56:26 kernel: Raw sense data:0x70 0x00 0x03 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x11 0x00 0x00 0x00 0x00 0x00
Mar 10 00:56:26 kernel: I/O error: dev 08:04, sector 3145736
Mar 10 00:56:26 kernel: EXT3-fs error (device sd(8,4)): read_inode_bitmap: Cannot read inode bitmap - block_group = 12, inode_bitmap = 393217
Mar 10 00:56:26 kernel: EXT3-fs error (device sd(8,4)) in ext3_new_inode: IO failure
Mar 10 00:58:28 transmissiond[219]: Couldn't create directory /tmp/harddisk/torrent/.transmission/torrents (Input/output error)
Mar 10 00:58:28 transmissiond[219]: Couldn't create directory /tmp/harddisk/torrent/.transmission/cache (Input/output error)
Mar 10 00:58:28 transmissiond[219]: Couldn't get information for file "/tmp/harddisk/torrent/.transmission/cache/1a0cd2a540417a1b444a672b6c75acfa50b39bc4-cgi" No such file or directory
Mar 10 00:58:28 transmissiond[219]: Couldn't get information for file "/tmp/harddisk/torrent/.transmission/cache/1a0cd2a540417a1b444a672b6c75acfa50b39bc4" No such file or directory
Mar 10 00:58:28 transmissiond[219]: Could not open file (/tmp/harddisk/torrent/.transmission/torrents/1a0cd2a540417a1b444a672b6c75acfa50b39bc4-cgi) (No such file or directory)
Mar 10 00:58:28 transmissiond[219]: Couldn't get information for file "/tmp/harddisk/torrent/.transmission/cache/1a0cd2a540417a1b444a672b6c75acfa50b39bc4-cgi" No such file or directory
Mar 10 00:58:28 transmissiond[219]: Couldn't get information for file "/tmp/harddisk/torrent/.transmission/cache/1a0cd2a540417a1b444a672b6c75acfa50b39bc4" No such file or directory
Mar 10 00:58:28 transmissiond[219]: Couldn't open '/tmp/harddisk/torrent/.transmission/cache/1a0cd2a540417a1b444a672b6c75acfa50b39bc4-cgi' for writing
Mar 10 00:58:28 transmissiond[219]: Previous message repeated 1 times
Mar 10 00:58:28 transmissiond[219]: Couldn't open '/tmp/harddisk/torrent/.transmission/cache/1a0cd2a540417a1b444a672b6c75acfa50b39bc4-cgi' for writing
Mar 10 00:58:28 transmissiond[219]: Closing torrent /tmp/harddisk/torrent/work/name_of_teoorent.HDTV_XviD-FoV.torrent
Mar 10 00:58:28 transmissiond[219]: 1205107108 1 dl 0.00 ul 0.00 ld 0.53
hi,
do you use the latest version?
ipkg update && ipkg upgrade
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)
Yes, 1.06.do you use the latest version?
I have found answer why that torrent doesn`t work.
quote from transmission-forum:
what a pittyThats because they have DHT,this is not supported by Transmission
But i still have problem with this :
And evan when I use correct totrent , it works but still can`t acces those cashe files:Mar 10 00:55:30 kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: 0x28 00 00 9b 5e 3e 00 00 08 00
Mar 10 00:55:30 kernel: Current sd08:04: sns = 70 3
Mar 10 00:55:30 kernel: ASC=11 ASCQ= 0
Mar 10 00:55:30 kernel: Raw sense data:0x70 0x00 0x03 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x11 0x00 0x00 0x00 0x00 0x00
Mar 10 00:55:30 kernel: I/O error: dev 08:04, sector 3145736
Mar 10 00:55:30 kernel: EXT3-fs error (device sd(8,4)): read_inode_bitmap: Cannot read inode bitmap - block_group = 12, inode_bitmap = 393217
Mar 10 00:55:30 kernel: EXT3-fs error (device sd(8,4)) in ext3_new_inode: IO failure
Mar 10 00:55:49 kernel: scsi0: ERROR on channel 0, id 0, lun 0, CDB: 0x28 00 00 9b 5e 3e 00 00 08 00
Mar 10 00:55:49 kernel: Current sd08:04: sns = 70 3
Mar 10 00:55:49 kernel: ASC=11 ASCQ= 0
Mar 10 00:55:49 kernel: Raw sense data:0x70 0x00 0x03 0x00 0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x11 0x00 0x00 0x00 0x00 0x00
Mar 10 00:55:49 kernel: I/O error: dev 08:04, sector 3145736
Mar 10 00:55:49 kernel: EXT3-fs error (device sd(8,4)): read_inode_bitmap: Cannot read inode bitmap - block_group = 12, inode_bitmap = 393217
Mar 10 00:55:49 kernel: EXT3-fs error (device sd(8,4)) in ext3_new_inode: IO failure
And is there any other torrent client which will work on my wl-500gp and support DTH?"/tmp/harddisk/torrent/.transmission/cache/54644f6fcb1c3eafb0011cf3ecad5f520617301d-cgi" No such file or directory
Last edited by YazPL; 12-03-2008 at 13:51.
Hi,
"Mar 10 00:55:30 kernel: I/O error: dev 08:04, sector 3145736" has nothing to do with transmission. These are kernel warnings.
I think you have a HDD problem!
Do a forum search for the torrent stuff.
Or a "ipkg list | grep -i torrent"
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)
Thanks for all your help.
You were right. HDD is kaputI think you have a HDD problem!
Last edited by YazPL; 15-03-2008 at 13:14.
First of all, I need to say this is a great tutorial!
But I some problems. Everything works fine and exactly as described untill 4b. After adding the rules to post-boot as described in 4b, saving, flashfs'ing and rebooting, the trouble starts.
I can't connect to my asus via ssh anymore. Only telnet works. When I check via 'ps' I also don't see a running dropbear.
Next I check to see if the swap is correctly activated, but this does not seem the case:
Then I type 'df' and I get the following:Code:total used free shared buffers Mem: 13964 11424 2540 0 1580 Swap: 0 0 0 Total: 13964 11424 2540
It seems like post-boot is not correctly executed when rebooting or someting like this? I have followed the tutorial exactly as described, and also created the same three partitions as mentioned. The contents of my post-boot file:Code:Filesystem 1k-blocks Used Available Use% Mounted on /dev/root 3008 3008 0 100% / /dev/discs/disc0/part2 988244 16440 921604 2% /tmp/mnt/disc0_2 /dev/discs/disc0/part3 479233648 131228 454758724 0% /tmp/mnt/disc0_3
I have also copied the log-file from the web-interface and attached it to this post.Code:#!/bin/sh dropbear # test if USB disc has been attached # if not - then insert needed modules # # uncoment the following 4 lines if using an USB HDD. if [ ! -d /dev/discs ] then insmod scsi_mod && insmod sd_mod && insmod usb-storage && sleep 5s fi #Wait for /opt to mount mount /dev/discs/disc0/part2 /opt i=0 while [ $i -le 30 ] do if [ -d /opt/etc ] then break fi sleep 1 i=`expr $i + 1` done mount /dev/discs/disc0/part3 /tmp/harddisk # Activate swap swapon /dev/discs/disc0/part1 # Run all active services - active means starts with S /opt/etc/init.d/rc.unslung
Anyone has an idea on how to solve?
Thanks in advance!
Hi,
is the post-boot executable?
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)
Post-boot is executable:
When I execute post-boot manually everything seems to work ok.Code:[admin@WL-ASUSAP sbin]$ ls -al drwxr-xr-x 1 admin root 0 Mar 23 19:24 . drwxr-xr-x 1 admin root 0 Jan 1 2000 .. -rwxr-xr-x 1 admin root 575 Mar 23 19:34 post-boot -rwxr-xr-x 1 admin root 0 Mar 23 19:24 post-firewall -rwxr-xr-x 1 admin root 0 Mar 23 19:24 post-mount -rwxr-xr-x 1 admin root 0 Mar 23 19:24 pre-shutdown
When I execute post-boot whilst HDD has spinned down, I get the following (obvious) errors:
The problems described in my previous post all occured while the HDD was spinning (also after rebooting).Code:[admin@WL-ASUSAP sbin]$ post-boot insmod: A module named scsi_mod already exists mount: Mounting /dev/discs/disc0/part2 on /opt failed: No such file or directory mount: Mounting /dev/discs/disc0/part3 on /tmp/harddisk failed: No such file or directory swapon: Can't stat '/dev/discs/disc0/part1': No such file or directory /usr/local/sbin/post-boot: /usr/local/sbin/post-boot: 34: /opt/etc/init.d/rc.unslung: not found
//Edit 27-03: It seems something must have gone wrong during the preparation. After formatting again and following this tutorial twice again, now everything works fine. Thanks for your help!
Last edited by keeshardt; 27-03-2008 at 20:56.
Hi Wengi,
I tried to find the way how to have my router with FS online but sometimes to switch USB HDD with data partition. I bought USB Stick created swap 512 (part1) on it, created the IPKG partition (part3). But the postboot scrip it not working properly anymore, it looks that router cant use two different USB drives? please see my postboot:Code:#!/bin/sh dropbear # test if USB disc has been attached # if not - then insert needed modules # # uncoment the following 4 lines if using an USB HDD. if [ ! -d /dev/discs ] then insmod scsi_mod && insmod sd_mod && insmod usb-storage && sleep 5s fi #Wait for /opt to mount mount /dev/discs/disc1/part3 /opt i=0 while [ $i -le 30 ] do if [ -d /opt/etc ] then break fi sleep 1 i=`expr $i + 1` done mount /dev/discs/disc0/part1 /tmp/harddisk # Activate swap swapon /dev/discs/disc1/part1 # Run all active services - active means starts with S /opt/etc/init.d/rc.unslung
and please see my mounting after reboot:
I really dont know why its not working Could you please help ? THXCode:Filesystem 1k-blocks Used Available Use% Mounted on /dev/root 3008 3008 0 100% / /dev/discs/disc0/part1 288451232 18813544 254985208 7% /tmp/harddisk /dev/discs/disc1/disc 961528 16428 896256 2% /tmp/harddisk/part1
EDIT: When I tried to mount it manually after umounting all I have this error:
[admin@(none) sbin]$ mount /dev/discs/disc1/part3 /opt
mount: Mounting /dev/discs/disc1/part3 on /opt failed: Invalid argument
Last edited by keydee; 01-04-2008 at 23:48.