can we add a new tracker using transmission?
how?
Printable View
can we add a new tracker using transmission?
how?
no, you have to manually edit them...
try: http://torrenteditor.com/ (online editor)
or
http://krypt.dyndns.org:81/torrent/maketorrent/ (torrent creator/editor)
I think I've solved simply adding a new line to /opt/etc/xinetd.d/netbios-ssn:
Now everytime smbd starts, from Top i can see NI -18.Code:service netbios-ssn
{
disable = no
socket_type = stream
protocol = tcp
port = 139
user = root
wait = no
only_from = localhost 192.168.1.1/24
server = /opt/sbin/smbd
nice = -18
}
Max
Hi Wengi,
I'm planning to use an NTFS partition as the DATA partition, is this possible?
Can this be done by installing ntfs-3g driver and editing the fstab file?
Do you think my WL-520gU can handle this setup?
Thanks,
Hi,
ntfs-3g is available via ipkg. This should work in theory if the driver is loaded before the partition is mounted.
I never tried it :)
Give us a feedback if and how it works.
wengi
Have Olegs FW 1.9.2.7-10 on WL-500g Premium
When logged into the router I can ping the local IP of my printer which is 192.168.1.165
when I am on another PC (192.168.1.100) I cannot reach / ping 192.168.1.165
What is wrong in the config???
Any help much appreciated
@coolerstuff
DOUBLE POST!
Please do not use this thread.
wengi
What must press key to save and close? (vi / etc / fstab) ??
Sorry do not know very well English.
Chapter 4:
-> ESC, ":wq"Quote:
You enter the insert mode with i, you leave it with ESC.
...
After leaving the insert mode you quit and save by typing ':wq'.
wengi
Can I configure (and how) /tmp/harddisk/transmission/config/settings.json that transmission will download each torrent to separate folder.
Tedy
http://trac.transmissionbt.com/wiki/EditConfigFiles
rtfm.
I have no idea if it is possible.
wengi
I have browse this page before, but haven't found solution, so I have posted question here.
Before I have run old transmission, now I have installed new Transmission Web Interface. With old one this was done automatic.
My mistake. There is no problem with folders, I have download torrents that are pointed to one file like *.avi for example, when I download torrent that has multiple files in folders like DVD movie, they are put in seperate folders.
@wengi, i have hundreds and hundreds of messages like this. how can i stop this attacks ?Code:Nov 15 00:00:22 dropbear[851]: login attempt for nonexistent user from 61.138.179.55:57796
Nov 15 00:00:23 dropbear[851]: exit before auth: Disconnect received
Nov 15 00:00:27 dropbear[852]: login attempt for nonexistent user from 61.138.179.55:59213
Nov 15 00:00:28 dropbear[852]: exit before auth: error reading: Connection reset by peer
Nov 15 00:00:32 dropbear[853]: login attempt for nonexistent user from 61.138.179.55:60606
Nov 15 00:00:33 dropbear[853]: exit before auth: Disconnect received
Nov 15 00:00:37 dropbear[854]: login attempt for nonexistent user from 61.138.179.55:33366
Nov 15 00:00:38 dropbear[854]: exit before auth: Disconnect received
Hi
Great tutorial! I m in section 17. (Optimize performance), and I want to delete modules has unnecessary.exemple: printer.write this command "rmmod printer" and after reboot is back printer.I can delete this module forever?:D
I m sorry for my english:p
Hi,
last sentence in this chapter:So try something likeQuote:
After knowing the possible modules you can edit the post-boot and paste the unload commands.
to make it permanent.Code:echo "rmmod xxxxxx" >> /usr/local/sbin/post-boot
wengi
After a few weeks of trying I finally decided to post since I am not able to install transmission on my WL-500g.
I have a HDD attached via USB and partitioned like this:
I have installed transmission - 1.75-1. All the files seem to be ok:Code:Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 3008 3008 0 100% /
/dev/discs/disc0/part2 988244 93504 844540 10% /opt
/dev/discs/disc0/part3 479478544 144144 454978256 0% /tmp/mnt/disc0_3
My S90transmission-daemon looks like this:Code:[admin@router root]$ ls -al /opt/bin/transmission*
-rwxr-xr-x 1 admin root 619920 Sep 14 19:57 /opt/bin/transmission-daemon
-rwxr-xr-x 1 admin root 651164 Sep 14 19:57 /opt/bin/transmission-remote
-rwxr-xr-x 1 admin root 628180 Sep 14 19:57 /opt/bin/transmissioncli
Rights on these files look like this:Code:[admin@router root]$ cat /opt/etc/init.d/S90transmission-daemon
#!/bin/sh
#
# Startup script for transmission
export PATH=$PATH:/opt/bin:/opt/sbin
HOME=/tmp
case $1 in
start)
# start transmission
echo "starting transmission" >> /tmp/syslog.log
nice /opt/bin/transmission-daemon /tmp/harddisk/transmission/config
;;
stop)
if [ -n "`pidof transmission-daemon`" ]; then
echo "stopping transmission"
kill -9 `pidof transmission-daemon`
fi
;;
restart|force-reload)
$0 stop
sleep 1
$0 start
;;
*)
echo "usage: $0 (start|stop|restart|force-reload)"
exit 1
esac
But, when I run it, I get this:Code:[admin@router root]$ ls -al /opt/etc/init.d/
drwxr-xr-x 2 admin root 4096 Jan 18 10:00 .
drwxr-xr-x 11 admin root 4096 Jan 18 10:06 ..
-rwxr-xr-x 1 admin root 284 Jan 6 07:32 S10cron
-rwxr-xr-x 1 admin root 809 Sep 9 2007 S80lighttpd
-rwxr-xr-x 1 admin root 610 Jan 18 09:52 S90transmission-daemon
-rwxr-xr-x 1 admin root 522 Jun 6 2005 rc.unslung
Even if I try to start directly the transmission-daemon I get the same error, that it does not exist. The file exists, but somehow I get this error and I can't get past this.:eek:Code:[admin@router root]$ /opt/etc/init.d/S90transmission-daemon start
nice: transmission-daemon: No such file or directory
PLEASE HELP!:(
Hi,
is transmission working if you start it manually?
without nice!Code:/opt/bin/transmission-daemon /tmp/harddisk/transmission/config
wengi
Hi,
Still doesn't work:
Code:[admin@router root]$ /opt/bin/transmission-daemon /tmp/harddisk/transmission/config
-sh: /opt/bin/transmission-daemon: not found
such message:
means some library incompatibility. One or more of the libraries on which transmission depends is wrong. You might get a list of it's dependencies using ldd utility (which is a part of buildroot), or just reinstall uclibc-opt as a most likely source of the problemCode:-sh: XXX: not found
I did not built transmission on the router. I do not have uclibc-opt installed.
Code:[admin@router root]$ ipkg list_installed
bash - 3.2.17-1 - A bourne style shell
bzip2 - 1.0.4-1 - Very high-quality data compression program
cron - 4.1-6 - Standard vixie cron, with cron.d addition
e2fsprogs - 1.40.2-1 - Ext2 Filesystem Utilities
expat - 2.0.1-1 - XML Parser library
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.
gdbm - 1.8.3-2 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
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
hdparm - 6.9-1 - Linux hard drive parameter utility
ipkg - 0.99.149-2 - lightweight package management system
less - 394-3 - Less file browser
libart - 2.3.17-2 - 2-d graphics library.
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
libdb - 4.2.52-3 - Berkeley DB Libraries
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
libmemcache - 1.4.0.rc2-2 - The C API for memcached.
libpng - 1.2.21-1 - Portable Network Graphics Libraries
libuclibc++ - 0.1.12-4 - C++ standard library designed for use in embedded systems
libxml2 - 2.6.30-1 - Libxml2 is the XML C parser and toolkit developed for the Gnome project.
libxslt - 1.1.22-1 - An XML Stylesheet processor based on libxml2
lua - 5.1.2-1 - Lua is a powerful light-weight programming language designed for extending applications.
man - 1.5p-4 - unix manual page reader
man-pages - 2.33-3 - unix manual pages
mc - 4.1.35-3 -
memcached - 1.2.0-4 - memcached is a high-performance, distributed memory object caching system.
nano - 2.0.6-1 - A pico like editor
ncurses - 5.6-1 - NCurses libraries
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
php - 5.2.4-1 - The php scripting language
php-thttpd - 2.25b-5.2.4-4 - php-thttpd is thttpd webserver with php support
procps - 3.2.3-4 - PROCPS System Utilities
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
rrdtool - 1.2.23-2 - Round-Robin Database tool. Database collator and plotter
screen - 4.0.3-2 - A screen manager that supports multiple logins on single terminal
sqlite - 3.4.1-1 - SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
tar - 1.16.1-1 - heavyweight version of the Tape ARchiver
termcap - 1.3.1-2 - Terminal emulation library
transmission - 1.75-1 -
unzip - 5.52-1 - A (de)compression library for the ZIP format
zlib - 1.2.3-2 - zlib is a library implementing the 'deflate' compression system.
well, I've no idea how the rest might work without uclibc-opt. May be you just try to install it?
how to install it ? ipkg does not find it.
Well, this line:
allows me to suggest that you use wrong 'old' repository for the files. In correct setup it should be read as:Code:ipkg - 0.99.149-2 - lightweight package management system
Please, post your /opt/etc/ipkg.conf file. Read section 6 of this thread. However, after updating of the ipkg.conf you have to reinstall all packages.Code:ipkg-opt ...
this is it:
Code:[admin@router root]$ cat /opt/etc/ipkg.conf
src wl500g http://wl500g.dyndns.org/ipkg
src unslung http://ipkg.nslu2-linux.org/feeds/unslung/wl500g
dest root /
Yes, I'm right. The correct content of this file is:
However, after changing it you have to reinstall all packages. It is default repository since 1.9.2.7-8. May be you have older version of the firmware?Code:src/gz optware http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable
dest /opt/ /
Thanks al37919!
That was the main problem. I have started all over from the beginning and now it works!!! :D:D
hi ! i\m complete newbee and im trying to follow steps of this tutorial
adn here is what i get at step 4
how can i umount /tmp ?Code:[WL-001Droot]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 3072 3072 0 100% /
tmpfs 15080 148 14932 1% /tmp
[admin@WL-001D60E4B744 root]$
here is what i get from ps
wbr madaceCode:root]$ ps
PID USER VSZ STAT COMMAND
1 admin 1308 S /sbin/init
2 admin 0 SW [keventd]
3 admin 0 SWN [ksoftirqd_CPU0]
4 admin 0 SW [kswapd]
5 admin 0 SW [bdflush]
6 admin 0 SW [kupdated]
7 admin 0 SW [mtdblockd]
55 admin 1520 S telnetd
60 admin 1100 S httpd vlan1
61 admin 1524 S syslogd -m 0 -O /tmp/syslog.log -S -l 7 -b 2
64 admin 1520 S klogd
66 admin 1072 S nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
71 nobody 836 S dnsmasq
69 admin 0 SW [khubd]
90 admin 1532 S udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcp
93 admin 1264 S pppd file /tmp/ppp/options.wan0
95 admin 892 S infosvr br0
96 admin 1308 S watchdog
114 admin 1048 S upnp -D -L br0 -W ppp0
115 admin 1096 S dropbear
119 admin 1528 S -sh
121 admin 1524 R ps
Hi :)
First, THANK YOU!! GREAT Tutorial :)
I'm using a wl500gp v1, with oleg's 1.9.2.7-10, i follow the tutorial and everything is running great (i think so), i use Samba2 and transmission with no problems, my question is, when do the ls -al command i only get this:
[aesir@TSRT01 root]$ ls -al
total 0
drwx------ 1 aesir root 0 Jan 1 2000 .
drwxr-xr-x 1 aesir root 0 Jan 25 2008 ..
I read the forum and i find out that, i should get this instead:
[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
is that correct? is something missing in my config?
Thank you all, in advance
Hi,
@madace:
/tmp does NOT need to be unmounted. Everything is fine and you can simply go on with the tut.
You found a difference between the older and newer firmwares. Thats all.
I updated the Howto.
@genjuro
The listing you receive depends on the location you are.
Try the command "pwd" to see your actual loacation in the file system.
As you can see in your posting you did the ls command in the root folderwhich is the home of root.Code:aesir@TSRT01 root
The other ls is done inwhich is, i guess, /usr/local/sbin/Code:admin@WL-ASUSAP sbin
Try a "ls -ls /usr/local/sbin/" on your router :)
Btw: This is linux basics and has nothing to do with the router at all.
wengi
Hi :)
Thank you wengi, you are right :o.... i was in the wrong directory, now my output is just like the other, and the files are in another color, that should mean that they are executable :), and everything is ok...
see ya...
Dear all,
First of all.... i'm such a noob and a newbie, but, i kind of want this to work.
I am good at directions so,.. i will take good directions :D
I'm stuck at this step:
"mkdir /opt/etc
mkdir /opt/etc/init.d
vi /opt/etc/init.d/rc.unslung"
"Remark: If you get a "mkdir: Cannot create directory `/opt/etc': Read-only file system" your HDD (here the IPKG pertition) is NOT mounted."
I have this error, and i don't know what to do next! please help me!
I install TRANSMISSION from tutorial but I have this error - page is not response..I use reboot but not..http://img99.imageshack.us/img99/428...wytywanies.jpg
@adek24
check if transmission is running with ps.
If it is not running start manually. (for testing)
wengi
ok Its working when add:
Code:/opt/bin/transmission-daemon -f -g /usr/local/etc/pmp/transmi
ssion/
but I have error:
so when I replace 127.0.0.1 to *.*.*.* or enabled set false it not work.Code:403: Forbidden
Unauthorized IP Address.
Either disable the IP address whitelist or add your address to it.
If you're editing settings.json, see the 'rpc-whitelist' and 'rpc-whitelist-enabled' entries.
If you're still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details.
How know how its run ?
And how run automatic Transmission?
Hi,
check your /opt/etc/init.d/S90transmission-daemon.
This will normaly start transmission when all other services start.
Edit your conf to change the whitelist. Double check it!
What ip range do you use in the LAN?
wengi
ok its works when I execute 2 line:
so how add it to autostart?Code:nice /opt/bin/transmission-daemon -g /tmp/harddisk/transmission/config
/opt/etc/init.d/S90transmission-daemon start
when add to vi /opt/etc/init.d/S90transmission-daemon but transmission not start and must manually add 2 line ..