Dear Marcelo,
If I want to use different USB flash/HDD, do I need to do all the installation again or can I just copy files from installed USB to the new one?
It would be nice if you can guide about this process.
Thanks.
Posted: Fri Sep 05, 2014 7:13 Post subject: Transmission error - 'no data found! set data location.....'
Hello!
going to post about this on the transmission forums too, but here as well, due to msantos' good support.
my xmission suffers from this issue - if i put something on DL at night, in the morning when i check, its stopped/paused, with the error mentioned in the subject. this doesn't happen during DLs in the daytime, if any. my guess is that, my ISP resets the connection before 0800 hrs (to reduce the speed), and after that, the storage flash-drive and the optware flash-drive don't get mounted to their mount-points automatically. here's the dmesg output:
however, if i manually reboot/start the router, the flash-drives mount correctly. the flash-drive with optware on it is sda1, and its mounted as:
Code:
--- /dev/sda1
Block device, size 509.8 MiB (534610944 bytes)
Ext3 file system
Volume name "OPTWARE"
UUID 008B8A38-DE5A-9D03-C0A2-228EB756E700 (MS GUID)
Last mounted at "/media/ohtiam/OPTWARE"
Volume size 509.8 MiB (534610944 bytes, 522081 blocks of 1 KiB)
/dev/sda1 mounted to /opt
the storage flash-drive, where the downloads go to, is sdb1, and it is mounted as:
Code:
--- /dev/sdb1
Block device, size 29.69 GiB (31876694016 bytes)
Ext3 file system
Volume name "Router-storage"
UUID F0DF8F16-77B4-CE01-605E-8E1677B4CE01 (NCS)
Volume size 29.69 GiB (31876694016 bytes, 15564792 blocks of 2 KiB)
/dev/sdb1 mounted to /tmp/mnt/sdb1
judging by the above output, could someone experienced in ddwrt/linux please indicate where the problem could be lying? banking on msantos and others here.
thanks!
P.S. - also, here's the start-up script that i use:
Code:
#!/bin/sh
/sbin/swapon /dev/sda2
sleep 10
sleep 5
umount /opt
sleep 10
mkdir /tmp/mnt/sda1
sleep 2
mount -t ext3 /dev/sda1 /tmp/mnt/sda1
if [ -f /tmp/mnt/sda1/optware.enable ]; then
sleep 2
mount -o bind /tmp/mnt/sda1/etc /etc
sleep 1
mount -o bind /tmp/mnt/sda1/root /tmp/root
sleep 1
mount -o bind /tmp/mnt/sda1/opt /opt
sleep 2
else
exit
fi
if [ -d /opt/usr ]; then
export LD_LIBRARY_PATH='/opt/lib:/opt/usr/lib:/lib:/usr/lib'
export PATH='/opt/bin:/opt/usr/bin:/opt/sbin:/opt/usr/sbin:/bin:/sbin:/usr/sbin:/usr/bin'
else
exit
fi
In recent times, I have been interested in possibilities of installing pyLoad on my WDR-4300. So far, none of the possibilities works.
Two days ago I also found post you sent me. However, this also doesn´t work. I was unable to install pyLoad package ("opkg_install_cmd: Cannot install package pyload") probably because of missing dependencies for some library ("Cannot satisfy the following dependencies for libleptonica: giflib *")
My attempt failed even if I was trying to install package with force-depends flag.
Maybe everything is due to some differencies in each of builds (I am currently running build 23838 and the guy, who created the already mentioned topic, is using 24461 build)
I would definitely appreciate, if somenone coud try it with the same build (24461) as the guy in his topic. (Now, I dont have physical access to router, so I can´t try it out)
Posted: Thu Sep 11, 2014 7:36 Post subject: Re: Transmission error - 'no data found! set data location..
hello all!
in response to my earlier post, glad to tell you all that the issue seems to have been resolved! no more download pauses or errors seen in xmission in the morning. i ran fsck on the optware as well as the storage flash-drives, and indeed that seems to have cured the malady. now remains rescheduling the checks and altering the mount-counts.
(for anyone who might be wanting to run fsck but not knowing where to start from, this is what i did:
- connected each flash-drive to my Ubuntu-VM
- check the mount-points by issuing the cmd
Code:
mount
- note the partition/mount-point of your flash-drive
- issue the unmount cmd
Code:
umount /dev/sdb1
[where, supposing, /dev/sdb1 is the partition of the flash-drive to be unmounted]
- then, typed the code
Code:
fsck.ext3 -y -v -f -C 0 /dev/sdb1
[my flash-drive has ext3 filesystem; use 'fsck.ext2' in the cmd, or simply, 'fsck', if your flash-drive has ext2 FS or anything else]
- one could also use the code
Code:
fsck.ext3 -v -C 0 /dev/sdb1
[this will just check the filesystem for any errors, and if none encountered, will cease the operation; to anyway continue even if the filesystem is clean, include the '-f' parameter too in the cmd, and to answer 'yes' to go ahead with each step for which fsck will ask you permission for, also include the '-y' parameter in the cmd]
but one thing which i have not been able to rectify still. my first download that i did with transmission, it keeps adding back to the daemon even if deleted and trashed alongwith the data, everytime (done manually too, using WinSCP). this started after i upgraded xmission from v2.82 to v2.84. to do that, i had first uninstalled (not purged; just removed using the 'opkg remove <pkg>' cmd on optware) the earlier version, then installed the latest version. any suggestions on how to rectify that?
Posted: Fri Sep 19, 2014 20:33 Post subject: why ntfs?!
Hello Marcelo!
a small, quick doubt! could you please tell why you chose the FS as NTFS, instead of ext3, in your guide posted on the first page of this thread? i wish to prepare a fresh flash-drive/optware installation, and was thinking on what FS to choose this time (as the fsck checks/mount-counts had given me a headache with ext3 in my existing optware-drive).