You did it the wrong way.
First update
Second upgrade
transmission is V1.22 atm.
Is your router setup with my howto?
What doesresult in?Code:ipkg list_installed
wengi
Printable View
You did it the wrong way.
First update
Second upgrade
transmission is V1.22 atm.
Is your router setup with my howto?
What doesresult in?Code:ipkg list_installed
wengi
[admin@WL500gP root]$ ipkg list_installed
bash - 3.2.17-1 - A bourne style shell
coreutils - 5.2.1-9 -
cron - 4.1-6 - Standard vixie cron, with cron.d addition
ctorrent - 1.3.4-2 - CTorrent is a BitTorrent client written in the C programming language.
diffutils - 2.8.1-4 - contains gnu diff, cmp, sdiff and diff3 to display differences between and among text files
expat - 2.0.1-1 - XML Parser library
findutils - 4.1.20-2 - File finding utilities
fontconfig - 2.3.2-5 - Font configuration library
freetype - 2.1.10-4 - Free truetype library
gconv-modules - 2.2.5-7 - Provides gconv modules missing from the firmware. These are used by glibc's iconv() implementation.
gnuplot - 4.2.0-5 - Command-line driven interactive data and function plotting utility
groff - 1.19.2-2 - front-end for the groff document formatting system
ipkg - 0.99.149-2 - lightweight package management system
less - 394-3 - Less file browser
libbt - 1.05-5 - a C library implementing the core BitTorrent protocol
libcurl - 7.17.0-2 - Curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FI
libevent - 1.3d-1 - libevent to implement an event loop
libgd - 2.0.35-1 - An ANSI C library for the dynamic creation of images
libiconv - 1.11-2 - Converts between character encodings.
libjpeg - 6b-2 - collection of jpeg tools
libpng - 1.2.21-1 - Portable Network Graphics Libraries
libstdc++ - 0.2.0-6 -
libuclibc++ - 0.1.12-4 - C++ standard library designed for use in embedded systems
lirc - 0.8.1-2 - Linux Infrared Remote Control (tira)
logrotate - 3.7.1-4 - Rotates, compresses, removes and mails system log files.
man - 1.5p-4 - unix manual page reader
man-pages - 2.33-3 - unix manual pages
mc - 4.1.35-3 -
nano - 2.0.6-1 - A pico like editor
ncurses - 5.6-1 - NCurses libraries
nload - 0.6.0-2 - Nload is a console application which monitors network traffic and bandwidth usage in real time
openssl - 0.9.7m-3 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari
pcre - 7.4-1 - Perl-compatible regular expression library
popt - 1.7-2 - A C library for parsing command line parameters.
readline - 5.2-2 - The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are
screen - 4.0.3-2 - A screen manager that supports multiple logins on single terminal
termcap - 1.3.1-2 - Terminal emulation library
transmission - 0.82-3 - lightweight BitTorrent client and daemon with WWW interface
unzip - 5.52-1 - A (de)compression library for the ZIP format
vsftpd - 2.0.5-1 - ftp daemon with an emphasis on speed and security
whois - 4.7.22-1 - Perform whois lookups to identify site owners
zlib - 1.2.3-2 - zlib is a library implementing the 'deflate' compression system.
Successfully terminated.
[admin@WL500gP root]$ ipkg.sh status transmission
Package: transmission
Version: 0.82-3
Depends: openssl, libevent
Suggests: gnuplot, logrotate, thttpd
Conflicts: torrent
Status: install user installed
Architecture: mipsel
i did uninstall torrent and ctorrent
i can't localise V1.22 atm at http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/
I found and install 1.22
[admin@WL500gP root]$ ipkg status transmission
Package: transmission
Version: 1.22-2
Depends: openssl, libcurl
Suggests: gnuplot, logrotate, thttpd, mini-sendmail
Conflicts: torrent
Status: install user installed
Architecture: mipsel
Installed-Time: 1215477169
but now when i starting transmission_watchdog i got this"
[admin@WL500gP root]$ transmission_watchdog
/opt/sbin/transmission_watchdog: /opt/sbin/transmission_watchdog: 304: transmissiond: not found
Hi,
you are in an old repository (http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/)
This means your complete installation is not maintained any more.
I recommend changing the complete system to the new repository.
Have a look at my howto.
I know this is much more work for you but it is wort it.
wengi
Hi
I have the following question: It is possible to download one torrent using my PC, and copy the files on my attached HDD on Wl-500gP and to seed this torrent using transmission.
I have some torrents of 60-70G, downloaded from a torrent tracker, on my PC, because WL-500gP is too weak to proper handdle those torrents, and to maintain my ratio I want to seed them (on the same tracker) from my Wl500gP +HDD which is running 24/24.
What is the max number of torrents I can seed with my WL-500gP + HDD?
Trank you,
Sorry, no idea about that.
wengi
Found it,
must keep in mind the way the files/folders are structured, so you must keep that structure for torrent files:
one dir:
one sub dir (same name as the parent dir) with the files
the torent file with *.torrent extension
Copy the parent dir in work directory of the hdd, then save the torrent file from the tracker, or other place from which you want to download, as if you would do a normal torrent download.
"update" in transmission web interface, and that's it. it starts the checkimg files process and then seeding.
The only issue is that the torrent stays in work dir and appear as active in transmission :( at least for the momment, I'll wait to see if it is seeding as it should
@Syl: fine :)
@bogd_A: Did you download the torrents on the pc with transmission or was it another torrent client?
wengi
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 :D
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 "$*"
Thanks for this hint :)
wengi
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
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.
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)
HI,
Attachment 3315
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
the stopping of the download is quite normal for you lol
max up: 800
max down: 1400:p
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?
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 )
Simply start with 9b.
insert cron entry and edit logrotate.conf.
Thats it.
wengi
Do I have to edit the line
OPTIONS="-m 0 -O $LOG_NEW/$LOGFILE -S -l 7 -s 0"
to include those extra options I have now by default?
If you are talking about syslog startup file: yes.
wengi
Is there still a package lirc or igorplususb?
I don't find them!
http://ipkg.nslu2-linux.org/feeds/op...table/Packages
not from optware.
wengi
getting error before formatting disk
[stefan@AsusServer root]$ fdisk /dev/discs/disc0/disc
Unable to open /dev/discs/disc0/disc
any idea?
Just following your how to from point 1
[stefan@AsusServer root]$ ps
PID Uid VmSize Stat Command
1 stefan 660 S /sbin/init
2 stefan SW [keventd]
3 stefan SWN [ksoftirqd_CPU0]
4 stefan SW [kswapd]
5 stefan SW [bdflush]
6 stefan SW [kupdated]
7 stefan SW [mtdblockd]
43 stefan 308 S telnetd
48 stefan 380 S httpd eth1
54 stefan 368 S klogd
55 nobody 464 S dnsmasq
56 stefan 400 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
61 stefan SW [khubd]
73 stefan 448 S watchdog
75 stefan 344 S ntp
87 stefan 480 S dropbear
95 stefan 432 S udhcpc -i eth1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc
100 stefan 748 S dropbear
101 stefan 556 S -sh
118 stefan 396 R ps
df shows 1 mount
/dev/root /
Hi,
first we need more info:
Model?
HDD?
ISE/USB?
Firmware?
is the disc present?
Any errors in syslog?
Post result ofwengiCode:ls -la /dev/discs/
df
mount
Thanks for this Tut again!!
It worked now with my 1TB HDD
but is there a possibillity you can make a tool which give me information about the Free GB's and used GB's on the HDD?
So everybody knows how much the can use anyway.
Thanks anyway for the answer
Hi,
please post result of "lsmod".
Is the above all of the syslog? There should be more....
wengi
[stefan@AsusServer root]$ lsmod
Module Size Used by
printer 12676 0 (unused)
lp 8668 0
parport_splink 2956 1
parport 25696 1 [lp parport_splink]
usb-ohci 21940 0 (unused)
usbcore 77264 1 [printer usb-ohci]
ip_nat_ftp 3944 0 (unused)
ip_conntrack_ftp 5248 1
ipt_NETMAP 992 0 (unused)
ip_nat_starcraft 2224 0 (unused)
wl 423856 0 (unused)
et 34912 0 (unused)