I personally use another method and maybe it can help you.
- download the torrent with uTorrent on the PC
- start the same torrent with transmission to let create the needed directory / files
- stop the torrent in transmission
- copy all the files from the PC to the correct transmission sub folder
- restart the torrent in transmission
transmission will check the torrent integrity an after start the seeding
Happy seeding![]()
I still have an issue accessing my folders shared with samba from my laptop.
I tryed several solutions but none worked.
I can access the shared folders from any PC, PDA, but not from my laptop, the difference is that it is on a windows domain, and I can't change that, beeing my work computer.
Any ideea what I should try?
If I put on my WL-500gP the original firmware, I can access the shared folders on my HDD from that laptop, but when I change to oleg's firmware it doesn't work.
So, my question is: what is the difference between those two firmware regarding the share issue?
I've just discovered that these scripts are called with the disc's id string as a parameter. This makes it possible to avoid having disc checks rerun when another drive (e.g. a USB memory stick) is plugged in. My pre-mount script is now:
and my post-mount script is:Code:#!/bin/sh logger -t $0 "$*" if [ $1 = "152d/2338/100" ]; then # mounting the usb system drive # turn on swap swapon -a # check file systems for i in `awk '/ext3/{print($1)}' /etc/fstab`; do if [ -b $i ]; then grep -q $i /proc/mounts || e2fsck -p $i 2>&1 | logger -t e2fsck else logger -t fstab "$i is not attached" fi done # create mount points for i in `awk '/ext3/{print($2)}' /etc/fstab`; do mkdir -p $i done fi
Obviously you need to substitute your disc id for the string "152d/2338/100".Code:#!/bin/sh logger -t $0 "$*" if [ $1 = "152d/2338/100" ]; then # mounting the usb system drive /opt/etc/init.d/rc.unslung start fi
Edit: to obtain the disc id, modify your pre-mount or post-mount script to include the line, do the flashfs save & commit, reboot and have a look at the syslog.Code:logger -t $0 "$*"
Last edited by jim-easterbrook; 09-07-2008 at 20:31. Reason: Added how to get disc id
Thanks for this hint
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)
sory, is it that mean that i lost all data on my hdd??
and the router will check again and again this errors ??
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: USB Model: Storage Rev: 1.04
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 234441648 512-byte hdwr sectors (120034 MB)
Partition check:
/dev/scsi/host0/bus0/target0/lun0:SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
I/O error: dev 08:00, sector 0
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
I/O error: dev 08:00, sector 2
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
I/O error: dev 08:00, sector 4
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
I/O error: dev 08:00, sector 6
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
I/O error: dev 08:00, sector 0
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
I/O error: dev 08:00, sector 2
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
I/O error: dev 08:00, sector 4
SCSI disk error : host 0 channel 0 id 0 lun 0 return code = 70000
I/O error: dev 08:00, sector 6
unable to read partition table
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
usb.c: USB disconnect on device 01:03.2-2 address 2
Device 08:00 not ready.
I/O error: dev 08:00, sector 2
EXT3-fs: unable to read superblock
MSDOS FS: Using codepage 950
MSDOS FS: IO charset cp950
Device 08:00 not ready.
I/O error: dev 08:00, sector 0
FAT: unable to read boot sector
FAT: freeing iocharset=cp950
Device 08:00 not ready.
I/O error: dev 08:00, sector 0
FAT: unable to read boot sector
Device 08:00 not ready.
I/O error: dev 08:00, sector 0
NTFS: Reading super block failed
Device 08:00 not ready.
I/O error: dev 08:00, sector 0
Device 08:00 not ready.
I/O error: dev 08:00, sector 0
hub.c: connect-debounce failed, port 2 disabled
hub.c: connect-debounce failed, port 2 disabled
hub.c: connect-debounce failed, port 2 disabled
Device 08:00 not ready.
data is (still) not lost.
some informations needed:
- attach the hdd and post results of:- which filesystem are you using?Code:ls -la /dev/discs/disc0/ ls -la /dev/discs/ mount
if fat: connect your hdd to your windows pc.
if ext2/3: try e2fsck.
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)
After a couple restarts it's stand up again... and every think runs on
[admin@Morph root]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 2880 2880 0 100% /
/dev/root 2880 2880 0 100% /
/dev/discs/disc0/part2
16199952 203248 15173776 2% /opt
/dev/discs/disc0/part3
95121256 218356 90070952 1% /tmp/harddisk
[admin@Morph root]$ umount -l /opt
[admin@Morph root]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2880 2880 0 100% /
/dev/discs/disc0/part3 95121256 218356 90070952 0% /tmp/harddisk
[admin@Morph root]$ umount -l /tmp/harddisk/
[admin@Morph root]$ df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2880 2880 0 100% /
[admin@Morph root]$ e2fsck -py /dev/discs/disc0/part2
e2fsck: Only one the options -p/-a, -n or -y may be specified.
[admin@Morph root]$ e2fsck -p /dev/discs/disc0/part2
/dev/discs/disc0/part2: recovering journal
e2fsck: while trying to re-open /dev/discs/disc0/part2
[admin@Morph root]$ e2fsck -p /dev/discs/disc0/part3
/dev/discs/disc0/part3: recovering journal
e2fsck: while trying to re-open /dev/discs/disc0/part3
[admin@Morph root]$ ls -la /dev/discs/disc0/
drwxr-xr-x 1 admin root 0 Jan 1 1970 .
drwxr-xr-x 1 admin root 0 Jan 1 1970 ..
brw------- 1 admin root 8, 0 Jan 1 1970 disc
brw------- 1 admin root 8, 1 Jan 1 1970 part1
brw------- 1 admin root 8, 2 Jan 1 1970 part2
brw------- 1 admin root 8, 3 Jan 1 1970 part3
[admin@Morph root]$ ls -la /dev/discs/
drwxr-xr-x 1 admin root 0 Jan 1 1970 .
drwxr-xr-x 1 admin root 0 Jan 1 1970 ..
lr-xr-xr-x 1 admin root 31 Jan 1 1970 disc0 -> ../scsi/host0/bus0/target0/lun0
[admin@Morph root]$
[admin@Morph root]$ ps
PID Uid VmSize Stat Command
1 admin 652 S /sbin/init
2 admin SW [keventd]
3 admin RWN [ksoftirqd_CPU0]
4 admin SW [kswapd]
5 admin SW [bdflush]
6 admin SW [kupdated]
7 admin SW [mtdblockd]
59 admin 308 S telnetd
64 admin 448 S httpd vlan1
71 admin 368 S klogd
72 nobody 488 S dnsmasq
77 admin SW [khubd]
91 admin 320 S infosvr br0
92 admin 492 S watchdog
95 admin 340 S ntp
99 admin SW [usb-storage-0]
103 admin SW [scsi_eh_0]
110 admin 480 S dropbear
153 admin 432 S udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcp
164 admin SW [kjournald]
165 admin SW [kjournald]
167 admin 412 S stupid-ftpd
169 admin 1004 S /usr/sbin/nmbd -D
171 admin 1012 S /usr/sbin/smbd -D
198 admin 396 S /sbin/syslogd -m 0 -O /opt/var/log/syslog.log -S -l 7
211 admin 420 S /usr/sbin/busybox_httpd -c /opt/etc/httpd.conf -p 800
250 admin 1564 S N transmissiond -p 65534 --nat-traversal -w 300 -u -1 -
253 admin 1564 S N transmissiond -p 65534 --nat-traversal -w 300 -u -1 -
254 admin 1564 S N transmissiond -p 65534 --nat-traversal -w 300 -u -1 -
308 admin 756 S dropbear
309 admin 580 S -sh
421 admin 508 S upnp -D -L br0 -W vlan1
485 admin 404 R ps
[admin@Morph root]$ fdisk -l
Disk /dev/scsi/host0/bus0/target0/lun0/disc: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/scsi/host0/bus0/target0/lun0/part1 1 513 4120641 82 Linux swap
/dev/scsi/host0/bus0/target0/lun0/part2 514 2562 16458592+ 83 Linux
/dev/scsi/host0/bus0/target0/lun0/part3 2563 14593 96639007+ 83 Linux
but if i do flashfs save && flashfs commit && flashfs enable && reboot
its gone again and sometimes starts but sometimes doesnt.
kernel :wrong partition table.
Last edited by Syl; 11-07-2008 at 09:50.
save your data!
it seems you hdd begins to crash.
wengi
PS: you can attach the hdd to a winPC and use the manufacturers utils to test it. (you need to know the brand of the hdd)
Ü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,
Looking at my transmission graph it looks like it has moments when the downloading/uploading speed drops to 0 and then it resume downloading/uploading.
It is normal or it is something else?
What is the max number of torrents that I can seed at one time?
Thank you
Last edited by bogd_A; 16-07-2008 at 17:42.
the stopping of the download is quite normal for you lol
max up: 800
max down: 1400
crazy man...
what happens is this:
too many ppl with incomplete files waiting for seeders, when you downloaded everything available at that time, your downloading stops...
as soon as someone starts to seed the files your missing and your download begins again
optic fiber internet?
Hi,
In think there are some issues with the new trans version (1.22-3)
- after pushing a torrent to start it takes a long time to start, longer than with the previous version
- when a torrent changes his state from active to seeding, the other downloading/uploading torrents stops, the downloading/uploading resumes after pressing "Watchdog"
- the overal speed is lower than the one I had with the previous version (1.22-2).
- I have one torrent that it was checked, and it stays at 100% for some hours now, and if I start a new torrent it automatically checking it, and it wont start unless the first one finishes.
Is there a way to install the previous verssion?
Last edited by bogd_A; 20-07-2008 at 19:18.
I'm not using Transmission, but I'd like to set up log rotation. Can someone tell me which part of this guide in chapters 9/9b is relevant to me if I only want to set up log rotation? I'd like to make it save logs into a subdirectory on /tmp/harddisk (while still keep the current method of sending logs into the PC in my LAN; my current ps axf regarding syslogd says: syslogd -m 0 -O /tmp/syslog.log -S -l 7 -R 192.168.XX.XX -L )