Here is the command line to use if you wanna create a torrent:
transmission-create -o /tmp/mnt/PMD/your_futur.torrent -c "your comments here" -t udp://tracker.openbittorrent.com:80 -t udp://open.demonii.com:1337 /tmp/mnt/PMD/your_file_you_wanna_share.zip
Then you need to:
- move your
your_file_you_wanna_share.zip
in your transmission download folder
- add the created torrent
your_futur.torrent
in your transmission using the web interface by example.
- in transmission web interface, right click on the torrent, and choose "verify local data".
You are set to share your file(s) !
Router is running Tomato by Shibby.
First install Optware (see how to install here steps 1 to 6).
Then install msmtp:
ipkg install msmtp
Edit the configuration file (you may have to install nano "ipkg install nano
"):
nano /opt/etc/msmtprc
account default
host smtp.gmail.com
port 587
auth on
user account@gmail.com
password password
auto_from on
from account@gmail.com
tls on
tls_starttls on
#tls_trust_file /opt/etc/ca-certificates.crt
# Use "tls_certcheck off" if you don't have ca-certificates.crt file.
tls_certcheck off
# Log to a separate file; use with no options to disable this feature
# logfile /opt/logs/msmtp
# Uncomment if you want to log to syslog facility, which is disabled by default
syslog LOG_MAIL
Test it:
echo -e "Subject: subject \n\nThis is the body" | msmtp anotheraccount@gmail.com
Done :)
If you use Gmail you might need to allow less secure apps: https://myaccount.google.com/lesssecureapps
How to set up Optware on WRT3500L with firmware Tomato Firmware 1.28.0000 MIPSR2-138 K26 USB miniVPN by shibby.
How to install Transmission BitTorrent client on external drive plug on USB of WNR3500L.
First, you should have a partition in ext2/ext3 in order to be able to install Optware on it (you cannot install optware directly on you router memory neither on FAT and NTFS partitions).
In administration interface of your router, go to section "USB and NAS >> USB Support". Make sure ext2/ext3 File Systems Support is checked.
I plugged in my router one HDD of 250GB. 249GB formatted in NTSF. 1GB formatted in ext3 called <harddisk label> where I will install different packages such as Transmission.
Procedure:
1. make sure mounted usb harddisk is detected. ls /tmp/mnt/<harddisk>
should be present
2. cd /tmp/mnt/<harddisk>
3. mkdir /tmp/mnt/<harddisk>/opt
4. mount -o bind /tmp/mnt/<harddisk>/opt /opt
5. cd /opt
6. install your optware, sh /usr/sbin/optware-install.sh
7. update optware, ipkg update
and ipkg upgrade
8. install transmission, ipkg install transmission
9. you can list all packages available with ipkg list
Then, go enable BitTorrent in router adminitration, section "USB and NAS >> BitTorrent Client".
Once it's started you can monitor Transmission via http :

Et voila !