Set it as the homepageBookmark this site

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย

 Retrieve your password
 Sign up now
img_loading
Intelligent detection

QQ login

Just one step, get started quickly

Search
Ad delivery contact QQ68610888Ad delivery contact QQ68610888
glinet
View: 2579|Reply: 2

Pls that advanced tomato's firmware has tr,

[Copy link]
Posted at 2016-4-2 13:21 | Show all floors |Reading mode
Does that firmware have transminssion? The router is hg320, and I haven't found it now, but also please know the way, thank you.
16/256

Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
Posted on 2016-4-2 19:23 | Show all floors
You can plug it yourself

--============
Transmission Installation Steps:
1. Partition of mobile hard disk: It is recommended to divide it into two areas, one small and one large, the small partition is used to put the software, the size is about 500M, and the large partition is used to put the files downloaded by yourself. Formatted as an ext3 partition. Connect the mobile hard disk to the computer and format it with a partitioning tool such as winpm, and format it without a volume label.
You can also connect the hard disk to the router and format it with the fdisk partition and mkfs.ext3
telnet 192.168.1.1 login to see which partitions the hard drive has can be used with the following command
fdisk -l /dev/sda

Format the first hard drive partition to ext3 command
mkfs.ext3 /dev/sda1

If you want to repartition your hard drive
fdisk /dev/sda

2. Router settings: Connect the mobile hard disk on the router and turn it on. Open the Internet Explorer browser on your computer, enter the IP address of 192.168.1.1 in the address bar, and set up the router. The samba service is started, auto-share is set to read/write, and SSH is enabled.
In the USB application settings, check USB2.0, Enable USB devices, Automatically mount HDD to /mnt, and ext3 partitions.
Once the settings are saved, in the USB settings, check the connected devices to see if the two partitions of the hard drive have been successfully mounted to /tmp/mnt/sda1 and /tmp/mnt/sda2.
Because /mnt is already connected to /tmp/mnt, /tmp/mnt can be simplified to /mnt in the future.
If the mount is successful, create an opt directory in the first partition. telnet 192.168.1.1 login, enter the command:
mkdir  /mnt/sda1/opt
Then run the script after mounting:
mount -o bind /mnt/sda1/opt /opt
Run the script before uninstalling to add:
killall transmission-daemon
sleep 3
swapoff /mnt/sda1/swapfile
umount /opt
Save the settings and restart the router.
Because the Samba service is enabled, it is normal to see the two partitions of the shared portable hard drive on the network of the client Windows 7 computer (there is the network at the bottom of the explorer window). Windows XP is the online neighbor.
Before unplugging the hard drive from the router, click Uninstall the connected device in the USB settings of the router, and then pull out the portable hard drive.

3. Install winSCP on the windows computer, because it will be used to modify the transmission configuration file later. Download:http://winscp.net/download/winscp429setup.exe
Installation is simple. Once the installation is complete, open the software, hostname: 192.168.1.1. Port number: 22. Username: root Password: admin. Note that the file protocol has been changed to SCP.

4. Create a swap area: The swap area is equivalent to the virtual memory of the Windows system.  (Large memory can not be selected)
On the client Windows computer, log in to telnet 192.168.1.1 and create a swap file:
dd if=/dev/zero of=/mnt/sda1/swapfile bs=1024 count=65536
mkswap /mnt/sda1/swapfile
I set the swap area to 64M.
In order to load the swap swap area at boot, add swapon /mnt/sda1/swapfile and run the script after mounting.
The final post-mount run script is:
mount -o bind /mnt/sda1/opt /opt
sleep 3
/opt/bin/transmission-daemon -g /opt/data/torrents/.config/transmission-daemon
swapon /mnt/sda1/swapfile
Save the settings and restart the router.
Run the free command to check whether it is hung up.
5. Transmission installation:
Log in to Telnet 192.168.1.1 and run the following commands:
wget http://bbs.dualwan.cn/downloads/optware-install.sh -O - | tr -d '\r' > /tmp/optware-install.sh
sh /tmp/optware-install.sh
/opt/bin/ipkg update
/opt/bin/ipkg install transmission After waiting for some time. See the word finished.

Before you can run transmission, you need to manually add the base file for transmission. Enter a command
mkdir -p /opt/data/torrents (path variable) and run the program to let it automatically create the base file, enter the command:
/opt/bin/transmission-daemon -g /opt/data/torrents/.config/transmission-daemon

Once the base file is established, it still needs to be modified, because transmission-daemon has just been started and now you need to close it with the input command
killall transmission-daemon and then use WINSCP to go to the /opt/data/torrents/.config/transmission-daemon directory (note: this is a hidden directory) and edit the settings.json
The configuration file is as follows
"download-dir": "/mnt/sda2/1 ", #//Download directory settings, modify according to your own situation.
"peer-port":51422, #//This is the port configuration, change it according to your own situation
"rpc-port": 9091, #//Set your login port here
127.0.0.1 read *.*.*.*
When you're done editing, save your changes. (Note: The Chinese characters above are only for my explanation, do not keep them)
The startup command is /opt/bin/transmission-daemon -g /opt/data/torrents/.config/transmission-daemon
Firewall Scripts:
iptables -I INPUT -p udp --dport 51422 -j ACCEPT
iptables -I INPUT -p tcp --dport 51422 -j ACCEPT

6. Install the transmission remote control software on the Windows computer:

Transmission-remote-gui:http://code.google.com/p/transmisson-remote-gui/downloads/list
It is also possible to install another remote control software, Transmission-remote-dotne. The default control port is 9091
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
Landlord| Posted at 2016-4-2 22:24 | Show all floors
Thank you very much for the guidance
Only talk about technology, don't talk about politics! (Click for details) | Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.
You'll need to be logged in to reply to posts login | Sign up now

This version of the points rules

Shut down

Welcome to the Enshan Wireless Forum

Only talk about technology, don't talk about politics! Don't spread rumors! For you and for others.
Only talk about technology, don't talk about politics! (Click for details) Remember not to spread rumors at will, just live your life in peace, for your own good and for the good of everyone. Enshan Wireless Forum welcomes your visit, please respect each other, friendly exchanges, it is recommended to keep a normal mind to look at the comments of netizens, do not overreact.

View »

If in doubt, add an administrator QQ86788181|Mobile version|Little dark house|Archiver|Enshan Wireless Forum (Changzhou Enshan Computer Development Co., Ltd. All rights reserved) ( Su ICP No. 05084872 )

GMT+8, 2025-5-31 00:31

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

| Jiangsu Provincial Internet Harmful Information Reporting Center Report mailbox: js12377 | @jischina.com.cn Report Tel: 025-88802724 Bad content report mailbox on this site: 68610888@qq.com

Quick reply Back to top Return to the list