Does anyone knows how to put some login/pass to access transmission?
Topic: Asus WL600g
The content of this topic has been archived between 19 Sep 2015 and 3 May 2018. Unfortunately there are posts – most likely complete pages – missing.
Does anyone knows how to put some login/pass to access transmission?
use transmission 1.52, because 1.6 with this bug.
I'm using version 1.52. Maybe i didn't make my self clear. I want to put some security in access to transmission client.
TheDrake wrote:I think that overall disk speed is mainly limited by RAM and CPU, not buffers. Any measures about that?
one guy says that if usb mounted only with (rw) option instead (rw,sync) than write speed equal to read speed about 1.5-2MB/s
Just tried something like:
mount -o remount,async /dev/discs/disc0/part<n> /var/harddisk
and it works (mounts rw, async). It could be inserted in startup script as well. No measures jet.
TheDrake wrote:[Do you mean that firmware (or mc) needs ncurses libs?
http://downloads.x-wrt.org/xwrt/kamikaz … s/Packages
Package: mc
Version: 4.6.1-2
Depends: glib1, libncurses
With some options (-x -c) it works and function keys could be learned and could be saved somewhere in config, but I'm not convinced that is a good build.
If someone would like to test it, I'll send the preliminary build only privately.
hmm ... cfm program controls the firewall.
Try iptables -A INPUT -p tcp --dport 9091 -j ACCEPT ???@ The Drake firmware @
I propose to use a lower transmission priority using nice or renice commands.
marcinmatster999, thanks so much, below one works for me.
iptables -I INPUT -p tcp --dport 9091 -j ACCEPT
I'm using version 1.52. Maybe i didn't make my self clear. I want to put some security in access to transmission client.
Simply edit /var/harddisk/asus/transmission/.config/transmission-daemon/settings.json
"rpc-authentication-required": 1,
"rpc-enabled": 1,
"rpc-password": "your password",
"rpc-port": 9091,
"rpc-username": "your account",
"rpc-whitelist": "127.0.0.*,192.168.*.*",
"rpc-whitelist-enabled": 1,
make you stop transmission to edit config and restart, otherwise config would be overwritten after service stopped.
TheDrake wrote:AndreyPopov wrote:1. I try remove "-" not any changes
1. I can't find this bug... Hope someone could help us.
Transmission web-start problem fixed!!!!
Just change /var/harddisk/asus/etc/init.d/transmission file as follow:
#!/bin/sh logger -s $0 $1 export LD_LIBRARY_PATH=/lib:/var/harddisk/asus/lib:/var/harddisk/lib ASUSBASEPATH=/var/harddisk/asus TRANSMISSIONPATH=$ASUSBASEPATH/transmission case $1 in start) echo "16384" > /proc/sys/net/ipv4/route/max_size echo "16384" > /proc/sys/net/ipv4/netfilter/ip_conntrack_max $TRANSMISSIONPATH/bin/transmission-daemon -g $TRANSMISSIONPATH/.config/transmission-daemon ;; stop) killall -q transmission-daemon ;; *) esac exit $?
Bye,
Paolo.
i have tri tup this script as you say but it stell dont star by web star any help plese??
With some options (-x -c) it works and function keys could be learned and could be saved somewhere in config, but I'm not convinced that is a good build.
If someone would like to test it, I'll send the preliminary build only privately.
I'm always ready for test!
i have tri tup this script as you say but it stell dont star by web star any help plese??
what file system you use?
(Last edited by AndreyPopov on 13 May 2009, 09:38)
i have manage to fixe my problem
i use fat32
i have try to use ext2 but i thing a did some rong because whith ext2 i anable to longe transmission
any one whith fat32 manage to use transmission whith large files??
AndreyPopov wrote:TheDrake wrote:I think that overall disk speed is mainly limited by RAM and CPU, not buffers. Any measures about that?
one guy says that if usb mounted only with (rw) option instead (rw,sync) than write speed equal to read speed about 1.5-2MB/s
Just tried something like:
mount -o remount,async /dev/discs/disc0/part<n> /var/harddisk
and it works (mounts rw, async). It could be inserted in startup script as well. No measures jet.
it seems to me that it woun't remount till the stupid-ftpd is running.
it seems to me that it woun't remount till the stupid-ftpd is running.
remount work from startup script!
TheDrake
1. always when ADSL PPP session up in log can see:
echo "1" > /proc/sys/net/ipv4/conf/$WANIF/rp_filter
that prevent ip forwarding on LAN when PPP on WAN is UP.
can you find and stop this?
2. about SNMP
when on SNMP Web page Enable SNMP agent then snmpd daemon appear in processes and snmpd.conf in var, but after restart router only snmp client process appear in processes.
this command disable snmp:
http://<router_address>/snmpconfig.cgi?snmpStatus=0
this command:
http://<router_address>/snmpconfig.cgi?snmpStatus=1&snmpRoCommunity=public&snmpRwCommunity=private&snmpSysName=Default&snmpSysContact=unknown&snmpSysLocation=unknown&snmpTrapIp=0.0.0.0
start snmpd daemon
any idea automaticaly start snmpd daemon?
(Last edited by AndreyPopov on 13 May 2009, 17:20)
I got a problem with stupid-ftp, the prevous one works but the lastest one not..
I am using stupid-ftp in Lan works well, but when i try to use in office, logined successfully but when i execute "ls" either other command, i got 501 error "501 Error in parameters", anybody can help?
I got a problem with stupid-ftp, the prevous one works but the lastest one not..
I am using stupid-ftp in Lan works well, but when i try to use in office, logined successfully but when i execute "ls" either other command, i got 501 error "501 Error in parameters", anybody can help?
Reset router to Factory Default and config again.
royon.james wrote:I got a problem with stupid-ftp, the prevous one works but the lastest one not..
I am using stupid-ftp in Lan works well, but when i try to use in office, logined successfully but when i execute "ls" either other command, i got 501 error "501 Error in parameters", anybody can help?
Reset router to Factory Default and config again.
Hi Andrey,
Thanks and i tried again to factory default setting, still the same, probably something related stupid-ftpd has been changed in this version so right now can only support lan but wan, how is yours? can work well?
appreciate your help!
not yet test ftp on wan.
1. always when ADSL PPP session up in log can see:
echo "1" > /proc/sys/net/ipv4/conf/$WANIF/rp_filterthat prevent ip forwarding on LAN when PPP on WAN is UP.
can you find and stop this?
Found and probably defeated.
Some more time for next build. Having a very busy week.
Bye,
Paolo.
Some more time for next build. Having a very busy week.
can send MC to test?
TheDrake
may be on services page remove Start/Stop button on Thttpd? because services page can display ONLY if Thttpd run!
remain only status of thttpd.
no need command in busybox:
rpm - 492k
install - 594kand
unix2dos - 594k
dos2unix - 594ki think mke2fs, tune2fs and e2fsck more waiting?
All these cmds are applets inside busybox. It's busybox that is about 594KB, but for all applets toghether. Few KB should be saved removing these cmds.
Bye,
Paolo.
Hi TheDrake,
I have figured out the way to load my own NLS cp936 in startup script, the mount script has to be executed outside the startup script in harddisk, otherwise it would get Device or resource busy error.
startup
======
#!/bin/sh
# re-mount harddisk as netive language - cp936
insmod /var/harddisk/asus/lib/nls/nls_cp936.ko
cp /var/harddisk/asus/startup2 /var/startup2
sh /var/startup2 &
Just try this in \var\harddisk\startup:
#!/bin/sh
# re-mount harddisk as native language - cp936
logger -s remounting /var/hardisk with cp936
insmod /var/harddisk/asus/lib/nls/nls_cp936.ko
mount -o remount,codepage=936,iocharset=cp936 /dev/discs/disc0/part5 /var/harddisk
....
Let me know if it works.
Bye,
Paolo
TheDrake wrote:Some more time for next build. Having a very busy week.
can send MC to test?
Already sent e-mail with it.
Bye,
Paolo.
mke2fs, tune2fs and e2fsck
Snakus compile and insert mke2fs, tune2fs and e2fsck inside firmware. they works.
waiting for you firmware with mke2fs, tune2fs and e2fsck
How to access Transmission by WAN?
#!/bin/sh # re-mount harddisk as native language - cp936 logger -s remounting /var/hardisk with cp936 insmod /var/harddisk/asus/lib/nls/nls_cp936.ko mount -o remount,codepage=936,iocharset=cp936 /dev/discs/disc0/part5 /var/harddisk ....
Let me know if it works.
Bye,
Paolo
not works, The Drake. command executed successfully but cp936 still not take effect.
BTW, the accessing from WAN to stupid-ftp doesnot work for the build on bcm96348GW_fs_kernel_3.02L.01.-090508_2325, the previous one works, is there something changed to control from WAN, login from wan successfully, perform cd directory is fine, but ls, get and etc. From Lan, everything fine.
AndreyPopov wrote:
royon.james wrote:
I got a problem with stupid-ftp, the prevous one works but the lastest one not..I am using stupid-ftp in Lan works well, but when i try to use in office, logined successfully but when i execute "ls" either other command, i got 501 error "501 Error in parameters", anybody can help?
Reset router to Factory Default and config again.
Hi Andrey,
Thanks and i tried again to factory default setting, still the same, probably something related stupid-ftpd has been changed in this version so right now can only support lan but wan, how is yours? can work well?
appreciate your help!
How to access Transmission by WAN?
Two things you need to do.
1. open the firewall port for 9091
iptable -I INPUT -p tcp --dport 9091 -j ACCEPT
2. transmission configuration to make sure rpc opened
stop transmission and modify config at /var/harddisk/asus/transmission/.config/transmission-daemon/settings.json
"rpc-authentication-required": 1,
"rpc-enabled": 1,
"rpc-password": "your password",
"rpc-port": 9091,
"rpc-username": "your account",
"rpc-whitelist": "127.0.0.*,192.168.*.*, your wan ip address",
"rpc-whitelist-enabled": 1,