Transmission on GCONNECT

Transmission bittorrent client runs natively on multiple operating systems. Why not on GCONNECT ?





1 - Install Transmission:

# ipkg list | grep transmission                                                                                                        
transmission - 2.82-1 - Lightweight BitTorrent client and daemon, with web interface bundled.                                                  
transmissiond - 1.42-1 - lightweight BitTorrent daemon with CGI WWW interface

I installed the package called transmission, there's another called transmissiond. pay attention on that!

# ipkg install transmission

2 - Set up Transmission:
That's the original settings.json:

settings.json                                                              
{                                                                                                                          
  "alt-speed-down": 50,                                                                                                  
  "alt-speed-enabled": false,                                                                                            
  "alt-speed-time-begin": 540,                                                                                           
  "alt-speed-time-day": 127,                                                                                             
  "alt-speed-time-enabled": false,                                                                                       
  "alt-speed-time-end": 1020,                                                                                            
  "alt-speed-up": 50,                                                                                                    
  "bind-address-ipv4": "0.0.0.0",                                                                                        
  "bind-address-ipv6": "::",                                                                                             
  "blocklist-enabled": false,                                                                                            
   "blocklist-url": "http://www.example.com/blocklist",                                                                    
  "cache-size-mb": 4,                                                                                                    
  "dht-enabled": true,                                                                                                   
  "download-dir": "/root/Downloads",                                                                                     
  "download-queue-enabled": true,                                                                                        
  "download-queue-size": 5,                                                                                              
  "encryption": 1,                                                                                                       
  "idle-seeding-limit": 30,                                                                                              
  "idle-seeding-limit-enabled": false,                                                                                   
  "incomplete-dir": "/root/Downloads",                                                                                   
  "incomplete-dir-enabled": false,                                                                                       
  "lpd-enabled": false,                                                                                                  
  "message-level": 2,                                                                                                    
  "peer-congestion-algorithm": "",                                                                                       
  "peer-id-ttl-hours": 6,                                                                                                
  "peer-limit-global": 200,                                                                                              
  "peer-limit-per-torrent": 50,                                                                                          
  "peer-port": 51413,                                                                                                    
  "peer-port-random-high": 65535,                                                                                        
  "peer-port-random-low": 49152,                                                                                         
  "peer-port-random-on-start": false,                                                                                    
  "peer-socket-tos": "default",                                                                                          
  "pex-enabled": true,                                                                                                   
  "port-forwarding-enabled": true,                                                                                       
  "preallocation": 1,                                                                                                    
  "prefetch-enabled": 1,                                                                                                 
  "queue-stalled-enabled": true,                                                                                         
  "queue-stalled-minutes": 30,                                                                                           
  "ratio-limit": 2,                                                                                                      
  "ratio-limit-enabled": false,                                                                                          
  "rename-partial-files": true,                                                                                          
  "rpc-authentication-required": false,                                                                                  
  "rpc-bind-address": "0.0.0.0",                                                                                         
  "rpc-enabled": true,                                                                                                   
  "rpc-password": "{858fc9ae62af9b3d7243de99e06dc7ab0b1075b3FuvD/4lg",                                                   
  "rpc-port": 9091,                                                                                                      
  "rpc-url": "/transmission/",                                                                                           
  "rpc-username": "",                                                                                                    
  "rpc-whitelist": "127.0.0.1",                                                                                          
  "rpc-whitelist-enabled": true,                                                                                         
  "scrape-paused-torrents-enabled": true,                                                                                
  "script-torrent-done-enabled": false,                                                                                  
  "script-torrent-done-filename": "",                                                                                    
  "seed-queue-enabled": false,                                                                                           
  "seed-queue-size": 10,                                                                                                 
  "speed-limit-down": 100,                                                                                               
  "speed-limit-down-enabled": false,                                                                                     
  "speed-limit-up": 100,                                                                                                 
  "speed-limit-up-enabled": false,                                                                                       
  "start-added-torrents": true,                                                                                          
  "trash-original-torrent-files": false,                                                                                 
  "umask": 18,                                                                                                           
  "upload-slots-per-torrent": 14,                                                                                        
  "utp-enabled": true                                                                                                    
}


That's my changed settings.json:

{                                                                                                                          
  "alt-speed-down": 50,                                                                                                  
  "alt-speed-enabled": false,                                                                                            
  "alt-speed-time-begin": 540,                                                                                           
  "alt-speed-time-day": 127,                                                                                             
  "alt-speed-time-enabled": false,                                                                                       
  "alt-speed-time-end": 1020,                                                                                            
  "alt-speed-up": 50,                                                                                                    
  "bind-address-ipv4": "0.0.0.0",                                                                                        
  "bind-address-ipv6": "::",                                                                                             
  "blocklist-enabled": false,                                                                                            
   "blocklist-url": "http://www.example.com/blocklist",                                                                    
  "cache-size-mb": 4,                                                                                                    
  "dht-enabled": true,                                                                                                   
  "download-dir": "/mnt/eSata/transmission/Downloads",                                                                   
  "download-queue-enabled": true,                                                                                        
  "download-queue-size": 5,                                                                                              
  "encryption": 1,                                                                                                       
  "idle-seeding-limit": 30,                                                                                              
  "idle-seeding-limit-enabled": false,                                                                                   
  "incomplete-dir": "/mnt/eSata/transmission/Incomplete",                                                                
  "incomplete-dir-enabled": false,                                                                                       
  "lpd-enabled": false,                                                                                                  
  "message-level": 2,                                                                                                    
  "peer-congestion-algorithm": "",                                                                                       
  "peer-id-ttl-hours": 6,                                                                                                
  "peer-limit-global": 200,                                                                                              
  "peer-limit-per-torrent": 50,                                                                                          
  "peer-port": 51413,                                                                                                    
  "peer-port-random-high": 65535,                                                                                        
  "peer-port-random-low": 49152,                                                                                         
  "peer-port-random-on-start": false,                                                                                    
  "peer-socket-tos": "default",                                                                                          
  "pex-enabled": true,                                                                                                   
  "port-forwarding-enabled": true,                                                                                       
  "preallocation": 1,                                                                                                    
  "prefetch-enabled": 1,                                                                                                 
  "queue-stalled-enabled": true,                                                                                         
  "queue-stalled-minutes": 30,                                                                                           
  "ratio-limit": 2,                                                                                                      
  "ratio-limit-enabled": false,                                                                                          
  "rename-partial-files": true,                                                                                          
  "rpc-authentication-required": true,                                                                                   
  "rpc-bind-address": "0.0.0.0",                                                                                         
  "rpc-enabled": true,                                                                                                   
  "rpc-password": "{f6e019c4b25a0464df54a86bc7375372cadbc15atyPOU.Zj",                                                   
  "rpc-port": 9091,                                                                                                      
  "rpc-url": "/transmission/",                                                                                           
  "rpc-username": "admin",                                                                                               
  "rpc-whitelist": "127.0.0.1,192.168.*.*",                                                                              
  "rpc-whitelist-enabled": true,                                                                                         
  "scrape-paused-torrents-enabled": true,                                                                                
  "script-torrent-done-enabled": false,                                                                                  
  "script-torrent-done-filename": "",                                                                                    
  "seed-queue-enabled": false,                                                                                           
  "seed-queue-size": 10,                                                                                                 
  "speed-limit-down": 100,                                                                                               
  "speed-limit-down-enabled": false,                                                                                     
  "speed-limit-up": 100,                                                                                                 
  "speed-limit-up-enabled": false,                                                                                       
  "start-added-torrents": true,                                                                                          
  "trash-original-torrent-files": false,                                                                                 
  "umask": 18,                                                                                                           
  "upload-slots-per-torrent": 14,                                                                                        
  "utp-enabled": true                                                                                                    
}

The differences between those two (diff):

15c15                                                                                                                      
<     "download-dir": "/mnt/eSata/transmission/Downloads",                                                                 
---                                                                                                                        
>     "download-dir": "/root/Downloads",                                                                                   
21c21                                                                                                                      
<     "incomplete-dir": "/mnt/eSata/transmission/Incomplete",                                                              
---                                                                                                                        
>     "incomplete-dir": "/root/Downloads",                                                                                 
43c43                                                                                                                      
<     "rpc-authentication-required": true,                                                                                 
---                                                                                                                        
>     "rpc-authentication-required": false,                                                                                
46c46                                                                                                                      
<     "rpc-password": "{f6e019c4b25a0464df54a86bc7375372cadbc15atyPOU.Zj",                                                 
---                                                                                                                        
>     "rpc-password": "{858fc9ae62af9b3d7243de99e06dc7ab0b1075b3FuvD/4lg",                                                 
49,50c49,50                                                                                                                
<     "rpc-username": "admin",                                                                                             
<     "rpc-whitelist": "127.0.0.1,192.168.*.*",                                                                            
---                                                                                                                        
>     "rpc-username": "",                                                                                                  
>     "rpc-whitelist": "127.0.0.1",

3 - Changing the password of WEB GUI:
Do these things in the exact order:

  1. Shutdown Transmission
  2. Write the rpc-password in the settings.json file, in double-quotes.
  3. Save that file
  4. Start Transmission
  5. Login to the page, it's at port 9091 (In my environment http://gconnect.local:9091/transmission/web/)
  6. Type in your password.

4 - Starting Transmission:
#/opt/bin/transmission-daemon -g /home/admin/.config/transmission-daemon/

OBS: /home/admin/.config/transmission-daemon/ is the place where I save the settings.json

To access the WEB GUI type http://<< IP of GCONNECT>>:9091/transmission/web/ in your browser: