How can i find out what transmission version is available for download?
Printable View
How can i find out what transmission version is available for download?
@lapcat:
http://nslu2-linux.dyoung-mirror.net.../cross/stable/
@swordfish77:
What exactly do you do? (step by step)
wengi
to Wengi,
- Create start-up script:
1.vi /opt/etc/init.d/S90transmission-daemon
2. start edit mode in vi with "I"
3.Copy ALL content of "Code"
4.Esc. ->Then i try to save all of this with "wq" : "Write error: No such file or directory" (please see the atach.)
Only with "q!" i can exit, of course without save...
Thank U!
P.S. - maybe some parameter interfer with "vi" commands?
Hi,
@ALL
one general thing to all:
If you paste scripts from the forum to the asus via putty and your lines are "shifted" like the pictures above:
The reason is because of the windows formating.
To prevent this behaviour you can copy the content to an editor that is linux capable (i.e. notepad++) and change the format to unix (i.e. notepad++: format -> convert to unix).
After this you can paste the content properly.
@swordfish77
is the file created if you touch it? (idea of al37919 above)
wengiCode:touch /opt/etc/init.d/S90transmission-daemon
@Wengi,
No, "cannot touch `/opt/etc/init.d/S90transmission-daemon': No such file or directory"
Wengi,
I still get the permission denied message:
I've also reinstalled transmission, but without result.Code:/opt/etc/init.d/S90transmission-daemon: /opt/etc/init.d/S90transmission-daemon: 36: /tmp/harddisk/transmission/config: Permission denied
I do have read/write access:
Code:$ ls -la /tmp/harddisk/transmission/config
drwxrwxrwx 5 admin root 4096 Jan 4 00:04 .
drwxrwxrwx 4 admin root 4096 Jan 3 22:42 ..
drwxrwxrwx 2 admin root 4096 Jan 12 19:27 blocklists
drwxrwxrwx 2 admin root 4096 Jan 3 23:01 resume
-rwxrwxrwx 1 admin root 497 Jan 12 19:19 settings.json
-rw-r--r-- 1 admin root 132 Jan 12 19:19 stats.json
drwxrwxrwx 2 admin root 4096 Jan 3 23:01 torrents
Code:$ ls -la /tmp/harddisk/transmission
drwxrwxrwx 4 admin root 4096 Jan 3 22:42 .
drwxr-xr-x 7 admin root 4096 Jan 4 12:05 ..
drwxrwxrwx 5 admin root 4096 Jan 4 00:04 config
drwxrwxrwx 2 admin root 4096 Jan 3 22:42 download
Also:Code:$ cat /opt/etc/init.d/S90transmission-daemon
#!/bin/sh
#
# Startup script for transmission-daemon
case $1 in
start)
# update blocklist
echo "updating blocklist, ~4MB"
cd /tmp/harddisk/transmission/config/blocklists
wget -q http://www.bluetack.co.uk/config/level1.gz
if test -f level1.gz; then
rm level1
gunzip level1.gz
chmod go+r level1
fi
# start transmission
echo "starting transmission"
/opt/bin/transmission-daemon -g
/tmp/harddisk/transmission/config
;;
stop)
if [ -n "`pidof transmission-daemon`" ]; then
kill -9 `pidof transmission-daemon`
fi
;;
restart)
$0 stop
$0 start
;;
*)
echo "usage: $0 (start|stop|restart)"
exit 1
esac
does not give any output when transmission is started usingCode:$touch /opt/etc/init.d/S90transmission-daemon
I don't know if that's a problem?Code:/opt/bin/transmission-daemon -g /tmp/harddisk/transmission/config
@swordfish77
Is your hdd mounted to /opt?
Does /opt/etc/init.d exist?
Did you use my howto from beginning?
Which firmware version?
@quazar
it is normal that
does not give an output.Code:/opt/bin/transmission-daemon -g /tmp/harddisk/transmission/config
is transmission running after that? (ps)
wengi
I don't have init.d ...:( .I use Oleg's 1.9.2.7-10 firmware. And yes, i follow your post (btw - it's gold for me! Thk.v.much!).
Thank U, it worked! Now i installed Transmission-Remote GUI and can't connect..It's something i wanna do?
Edit: I solve the problem: In Transm.Remote -GUI -> Options ->Remote host, i change "localhost" with server IP adress. And the torrents works, but not have the usual speed..maybe need some setups. What i see , at Upload tab nothing work;maybe after complete download then start upload?
the program starts, but I get the following error when I try to enter 192.168.1.1:9091Quote:
@quazar
it is normal that
Code:
/opt/bin/transmission-daemon -g /tmp/harddisk/transmission/config
does not give an output.
is transmission running after that? (ps)
I've tried changing the rpc-whitelist, in the settings.json, but without success.Code:401: Unauthorized
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.
Update 08-Mar-09: I ve got Transmission working now.
Wengi's comment:
Make sure that this is ONE line in S90transmission-daemon
made much sense; somehow both vi and nano pasted the text into two seperate lines, thatś when you get the permission denied error.Code:/opt/bin/transmission-daemon -g /tmp/harddisk/transmission/config
@swordfish77
fine :)
@quazar
Did you use my settings.json?
i enable all IPs within 129.168.*.* and 10.*.*.*
What is the IP Adress of your client?
Add this IP in settings.
wengi
I used the settings of the howto in settings.json.
My WL500W IP address is 192.168.1.1, so 192.168.*.* in the white list should work. Adding 192.168.1.1 to the settings-file does not help (as was tobe expected).
Hi, Wengi
Sorry for this stupid question, how to use clutch?
I searched google for Clutch, and found this page:http://clutchbt.com/
I downloaded the webui source. when i opened index.html, i looks the same as my transmission interface. I still can't find the information.
Can you give me more details? thanks a lot.
Hi Wengi.
Thx a lot for this awesome guide. :)
You wrote:
However, crontab is not mentioned elsewhere. It would be better if you write:Quote:
11. Logrotate for Syslog
Add the following to crontab:
Code:0 0 * * * admin /opt/sbin/logrotate -f /opt/etc/logrotate.conf &>/dev/null
Edit crontab:
and add the following:Code:vi /opt/etc/crontab
Code:0 0 * * * admin /opt/sbin/logrotate -f /opt/etc/logrotate.conf &>/dev/null
Thank you.
i changed the syslog chapter and added a hint to crontab in the cron chapter.
wengi
hi,
I've had a new problem. Recently when i use transmission, the speed became very slow (about 10kb/s), but when i use my pc (with Deluge), i have 100kb/s. What's wrong? i use this torrent http://thepiratebay.org/torrent/4654...TV_XviD-SC-SDH
BTW, how do i use Clutch?
thanks a lot
Hello,
I have one problem with Transmission, if I reboot the wl-500gp, /tmp/harddisk/transmission/config/settings.json doesn't exist anymore. And for that reason, the web gui says "401: Unauthorized Either disable the IP address whitelist or add your address to it. etc...".
So how can I get the file to stay also after rebooting the device? I've done everything as the instructions say, and Transmission works fine until reboot. Transmission is not shown if I use the ps axf command even before rebooting the device, does anyone know why?
Hi,
this is strange because you edit directly on your hdd.
And transmission should be shown by ps.
No idea why the file is deleted....
wengi
Hi,
I think it has something to do with the /tmp/ directory? Is it possible that things in /tmp gets erased or something? So would saving the file somewhere else than in /tmp resolve the problem..?
Hi,
/tmp is in memory and will be deleted if you power off / restart.
But your hdd is mounted to /tmp/harddisk (well, not really but the link shows to your hdd) and will be remounted after reboot.
You can see this if you use "mount"
wengi
Thanks for this great tutorial, I got everything I wanted running, ftp server, http server, transmission, ssh, Samba (the ones integrated to the firmware), I have write access to the USB drive, only the large files are causing me problem but I use ftp instead. I even got mediatomb working so I can stream video/audio from the PS3.
Now my problem is that none of these services are available from WAN.
When I first installed Oleg's firmware, I never went to command line and was able to access the ftp from WAN. When I started installing all the other services, I followed the tutorial step by step, but since, the ftp and the other services doesn't work from WAN (it works no problem from LAN).
The only thing I have done on the post-firewall was
#!/bin/sh
# this opens the ssh port to internet! Be sure to have strong passwords!
iptables -I INPUT -m tcp -p tcp --dport 22 -j ACCEPT
I did add the same command for the other ports, like 81 (web server), or 9091 (transmission), 20 and 21 for ftp, etc...
what am I doing wrong? why is the router blocking everything? I even tried to remove everything from the post-firewall (ftp from wan was working fine before I started touching everything).
I should mention that at one time I had the following in my post-firewall (http://www.macsat.com/php_web.php):
iptables -D INPUT -j DROP
iptables -A INPUT -p tcp --dport 81 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -t nat -A PREROUTING -i $1 -p tcp --dport 80 -j DNAT --to-destination $4:81
iptables -A INPUT -j DROP
But I removed it when trying to debug my problem.
Thanks,
Yann
Hi,
unfortunaly this is iptables-magic, which i am not used to.
I use the wl-hdd as client in my network.
Maybe any other user can help you with this
wengi
Hi Wengi,
You are right, the problem is iptable related, not with your tutorial. I just don't understand what could cause the router to reject everything from WAN when the only thing I have in my post-firewall is "accept" port 21 and 22.
How can I make sure that the post-firewall is executed at the start? the post-firewall is executable and doesn't output errors when run manually.
However, when running iptables -L, I don't see mentions of port 21 or 22 (but ftp and ssh are mentioned).
As I am a newbie and want to learn, I don't mind if I don't get the answer but some direction on debugging tips would definitely help. Could somebody point me to the right direction?
In parallel, I'm going to learn more about the iptables command.
Thanks,
Yann
I might I found my problem...Because I'm now using post-firewall, I thought it was not necessary to create virtual servers in the web interface. But since I added port 20 and 21 to route to 192.168.1.1 in the web interface, the ftp now connects from WAN. It's still times-out when trying to get the listing but that's probably a different issue. As soon as I get home today I will replace my post-firewall with
#!/bin/sh
iptables -D INPUT -j DROP
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A INPUT -p tcp --dport 21 -j ACCEPT
iptables -t nat -A PREROUTING -i vlan1 -p tcp --dport 22 -j DNAT --to-destination $4:22
iptables -t nat -A PREROUTING -i vlan1 -p tcp --dport 21 -j DNAT --to-destination $4:21
iptables -A INPUT -j DROP
Hopefully my ftp will work fine after that. When that works, I can start working on the other services.
cheers,
Yann
Hi, does anyone have vsftpd running? I tried macsat's guide http://www.macsat.com/macsat/content/view/25/29/ on my WL500w, the server seems to be running - process ok, accepts connection, but no authentication.
any ideas?Code:Connected to 10.107.115.142.
500 OOPS: vsftpd: not found: directory given in 'secure_chroot_dir':/opt/usr/sha
re/empty
500 OOPS: child died
Connection closed by remote host.
thanx
PS: I have done the whole setup from the beginning of this thread - I do have Samba with xinetd.
Hi,
I can not get ipkg to work as explained in the guide. ipkg is installed, but when I try to install eg nano,
ipkg install nano
i get "file not found". I suppose I have to download it first to the same directory, tried that, but the file has a longer name than just "nano", and I guess that's the reason it doesn't work.
What am I doing wrong? isn't all packages supposed to install to /opt/tmp ? Do I have to download each individual package and copy it to this directory?
As I am going through this great Howto, I can not get the router to ping an outside address (like google.de or its IP). Which means I can not use wget, and probably some more problems later.
My router is set as access point, in hybrid mode, wireless bridged to another router which is the home gateway. The strange thing is, I can view web pages with computers cabled to the asus router (which bridges to the home gateway). But I can not ping to wan when I use putty. I can ping to computers in lan and the home gateway.
I have forwarded port 22 on the home gateway to the asus router, but it doesn't help (but this should not be necessary i guess?). Do I have to forward some specific ports to the asus router to be able to ping from putty?
Any other tip here?
I am almost done with upgrading to oleg's firmware following this great guide, but with this problem i can not use wget for ipkg...
Oh yes some more info:
- all firewalls are disabled
- I try to ping with both ip address and domain name, none works.
- the nameserver in resolv.conf is the ip of my home gateway. what should it be?
- when I try to ping domain name, the domain name is resolved with its IP in brackets, which should mean that there is a "way" out (since it is correcly resolved).
- this issue is moved from q&a, since it is an issue following this guide.
Hi Bodvar,
The exact same thing happened to me a couple of weeks ago when I was 'experimenting' with NAT (port forwarding, port triggering and routing). on my main router (Siemens). I also use the asus as an AP-only (so it's just a client). The 'experimenting' caused that the asus was unable to get a route to the WAN (internet). after deleting all the rules which applied to the ip-address of the asus, the asus was able to get on the internet again.. It could ping and use wget. So there must be something mixed up with NAT which prevented my asus to go online.
The reason why your pc's which are wired to the asus can connect to the internet is as follows
1) if you use static ip-addresses on you pc's you've manually set the DNS server (ip-of-main-router) in the ip-settings of the pc's
2) if you use dhcp and your asus is an AP-only, then your pc's probably get the ip-address from the main routers (an in these settings the main-router also specifies the DNS
If the above is not appliable, then check your DNS settings in the asus.
HTH
One more hint to raas' reply:
check your default gateway and take a look with traceroute where your packages are going.
wengi
Thanks guys, putting the IP of the home gateway as fixed in the asus router web interface (under home gateway option) did the trick!
Now I have been through this guide until the advanced section, but here is a problem: How can I get hdd spindown to work when I have cron installed?
I use scsi_stop as explained in http://wl500g.info/showthread.php?t=7836 and cron as explained in this guide. Doesn't work, as raas also pointed out earlier. scsi-stop worked fine until I installed cron.
Is this any way to get this to work togheter? I really need to spin down the hdd...but I also want to use transmission (which requires cron i guess)? why do I need cron?
Hi,
you need cron for logrotate, not for transmission.
wengi
I removed cron and logrotate, but the disk still spins up. But when I killed transmission daemon, it stopped spinning up again. So the clue lies with transmission. Is there any way to have the daemon started/stopped only when I need to download/seed)? I don't want to manually start/stop it every time (lazy yes I know..;)) . Or any other way to solve this? What about automatically start/stop transmission daemon only when needed?
Start and stop it manually.
No other way because the daemon hosts the webinterface.
wengi
Well, hi...
i´m a new user of the forum and english is not my native language so, first of all, i apologize for that.
second of all, i have the wl500gP with oleg's firmware 1.2.9.7-10 and a Mybook 1TB witch i would like to connect to the router. My doubts starts here: i can't format the disk in ext3, can you tell me how?? and how vista can recognize that?? i know there's different ways to share de disk (ftp, samba, etc) witch is better?? witch is faster?? how to configure that?? i really really really need your help, im going nuts here with this...
what i need is a FULL tutorial since the begining, can anyone have the patience to do that??
Thanks
Bluelife
well, i've done what is in the tutorial... i've formated i've installed the tools and so and so... now in vista i dont know were to access de hdd and the OS doesnt even recognize the disk when directly connected...
thanks
Bluelife
Hi Bluelife, welcome to the forum.
This thread by wengi is probably the best tutorial you will find in this forum.
If you follow the steps exactly like they were pointed out there's 99.9% of success :D
About accessing the Harddisk.
Have you completed the whole setup from wengi? if not at which step did you stop?
If you've completed the setup, then your asus should show its harddisk in the network neighbourhood in windows. (that is, if you've configured the same 'workgroup' in vista than you have in the asus)
HTH
Hi,
there is/was (?) an issue with integrated samba and vista.
i have no vista and not the newest firmware.
Question to vista users:
Is the integrated samba working fine with vista when setup with my howto?
thanks
wengi
Thanks for the reply, i really apretiated... well i did the 2nd,4,5,6,8 and 12th points and nothing happend.. maybe i just didnt save all documents with :wq! i just did ZZ in vi editor... maybe.. i dont know... but im thinkin in something else.. what about nfs server?? isnt better? or faster?? why samba?? and can i share the hdd in ntfs with nfs server or samba?? isnt that easier??
Thanks for the help.
Bluelife