扫描二维码关注官方公众号
12下一页
返回列表 发布新帖

[巴法络] Transmission 在LinkStation上安装详解(有图有真相)

15748 20
发表于 2009-10-26 23:00:19 | 查看全部 阅读模式

来吧兄弟,一起玩一起讨论!

您需要 登录 才可以下载或查看,没有账号?注册

×
Transmission的安装和调测进入Telnet或者SSH(前面有详细讲解,不累述)。我选择的是已经调测好的SSH。没有任何悬念的开始安装。命令为 ipkg install transmission
root@LS-QL3B8:/mnt/disk1/Download# ipkg install transmission                                      
Installing transmission (1.76-1) to root...
Downloading http://ipkg.nslu2-linux.org/feed ... sion_1.76-1_arm.ipk
Configuring transmission
Successfully terminated.
瞧,安装完了。现在的版本是1.76-1的。
按照官方的安装指南,这里需要在路由器对NAS端口进行映射:51413
这一步十分重要!!!创建非root用户,用这个用户建立BT下载的目录。如果root用户创建目录以后,这个目录的文件是不能被修改的。我看大多数教程里面没有提到这步。希望用户们小心。建议和web登录的用户一致吧,用户名:admin,密码:admin(后来系统说我密码太简单,我没有理它)
创建用户的命令:useradd {用户名},建立用户密码的命令:passwd {用户名}

root@LS-QL3B8:/mnt/disk1/Download# useradd admin
useradd: user admin exists
root@LS-QL3B8:/mnt/disk1/Download# passwd admin
Changing password for admin
Enter the new password (minimum of 5, maximum of 127 characters)
Please use a combination of upper and lower case letters and numbers.
New password:
Bad password: too simple.
Warning: weak password (enter it again to use it anyway).
New password:
Re-enter new password:
Password changed.
这样,一个非root用户建立好了。可以查看一下用户列表:cat /etc/passwd
root@LS-QL3B8:/mnt/disk1/Download# cat /etc/passwd
root:x:0:0:root:/root:/bin/sh
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
halt:x:7:0:halt:/sbin:/sbin/halt
ftp:x:14:50:FTP User:/home:/sbin/nologin
rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
admin:x:52:52:Linux User,,,:/home:/bin/sh
sshd:x:74:74:Linux User,,,:/var/empty/sshd:/sbin/nologin
nobody:x:99:99:Linux User,,,:/home:/bin/sh
guest:x:20:21:Linux User,,,:/home:/bin/sh
nas:x:1000:1000::/home/users/nas:/bin/bash
然后用这个新的用户登录SSH,执行以下命令行:mkdir -p /mnt/disk1/Download 建立一个新的下载目录。如果已经有目录了,可以跳过这一步。
/mnt/disk1/.optware/bin/transmission-daemon -w /mnt/disk1/Download 指定BT下载的目录
transmission-daemon -a {你电脑的ip,或者你这个网段的ip:192.168.0.115, 192.168.*.*} 添加可以远程登录软件端口的IP地址
transmission-daemon -f 启动软件包
-sh-3.2$ transmission-daemon -f
[22:51:51.748] Couldn't create "/home/.config": Permission denied
[22:51:51.750] Couldn't create "/home/.config": Permission denied
[22:51:51.753] Couldn't bind port 51413 on 0.0.0.0: Address already in use
[22:51:51.777] Couldn't create "/home/.config": Permission denied
[22:51:51.778] RPC Server: Adding address to whitelist: 127.0.0.1
[22:51:51.782] RPC Server: Serving RPC and Web requests on port 9091
[22:51:51.784] RPC Server: Whitelist enabled
[22:51:51.785] Transmission 1.76 (9395) started
[22:51:52.167] Port Forwarding (NAT-PMP): initnatpmp succeeded (0)
[22:51:52.167] Port Forwarding (NAT-PMP): sendpublicaddressrequest succeeded (2)
[22:51:54.182] Port Forwarding (UPnP): Found Internet Gateway Device "http://192.168.0.1:80/upnp/control3"
[22:51:54.183] Port Forwarding (UPnP): Local Address is "192.168.0.150"
[22:51:54.193] Port Forwarding (UPnP): Port forwarding through "http://192.168.0.1:80/upnp/control3", service "urn:schemas-upnp-org:service:WANIPConnection:1".  (local address: 192.168.0.150:51413)
[22:51:54.193] Port Forwarding (UPnP): Port forwarding successful!
[22:51:54.193] Port Forwarding: Forwarded
[22:59:28.540] Couldn't open "/home/.config/transmission-daemon/settings.json": No such file or directory
[22:59:28.540] Saved "/home/.config/transmission-daemon/settings.json"
[22:59:28.542] Couldn't open "/home/.config/transmission-daemon/stats.json": No such file or directory
[22:59:28.542] Port Forwarding: Stopped
[22:59:28.550] Port Forwarding (UPnP): Stopping port forwarding through "http://192.168.0.1:80/upnp/control3", service "urn:schemas-upnp-org:service:WANIPConnection:1"
[22:59:28.550] Port Forwarding: Not forwarded
Closing transmission session... done.
在这里,程序总会因为进程问题不能执行。看似没有反应。这时需要强制停止:Ctrl+C,然后停止所有该命令的进程:killall transmission-daemon
重新开始执行transmission -f 吧。
在你的电脑打开web页面 http://你机器的IP:9091/
这是应该看到的是一个显示完整操控界面的BT下载!

下载个PT的种看看。我是HDchina的会员,这次可以不开机下载了!

在安装Windows下的远程控制界面试试看。先下载文件,安装 http://transmission-remote-dotnet.googlecode.com/files/transmission-remote-dotnet-3.11-installer.exe
打开后,点击连接,创建和NAS的连接。因为你这个机器的IP已经被Transmission认证了,所以不用其他的设置。直接登录好了。
注意端口为9091。

一些细节的设置,等待你自己慢慢摸索了。此篇安装使用PT的Transmission完毕!

评论20

neso303030 发表于 2009-10-27 00:06:05 | 查看全部
I created this debrick list for my office and thought I'd share it. Nearly all of the information was created from various posts already on the nas-central.org forum.

1. Download a TFTP server software (TFTPD32 is an example: http://tftpd32.jounin.net/tftpd32_download.html)
2. Download acp_commander.jar to the directory of your choice: (http://buffalo.nas-central.org/download/TO ... COMMANDER/)
3. Download and install java (http://www.java.com)
4. Download and extract the latest firmware to the directory of your choice
5. Rename initrd.img to initrd.zip and hddrootfs.img to hddrootfs.zip
6. Unzip both zip files to the same directory as the extracted firmware files, by using one of the following passwords:
1NIf_2yUOlRDpYZUVNqboRpMBoZwT4PzoUvOPUp6l
aAhvlM1Yp7_2VSm6BhgkmTOrCN1JyE0C5Q6cB3oBB
YvSInIQopeipx66t_DCdfEvfP47qeVPhNhAuSYmA4
IeY8omJwGlGkIbJm2FH_MV4fLsXE8ieu0gNYwE6Ty
7. Connect the TSP directly to your computer via the ethernet port (you might need a crossover cable)
8. Change the computer’s ethernet IP settings to 192.168.11.1 - 255.255.255.0
9. Setup the TFTP server directory to your directory of choice (the same directory as the unzipped firmware files in point 4. above)
10. Disable all firewalls on your computer and start the TFTP server program
11. Turn on (reboot) your TSP
12. While booting up your TSP should automatically request two files: initrd.buffalo and uImage.buffalo. If your TSP does not request these files and continues to display boot errors check all of your connectivity and IP settings and ensure that the lan led light on the TSP is on. If you are still getting boot errors you will most likely need to rebuild your disk partitions (jump to point 25. below)
13. If your TSP boots, it might enter into Emergency Mode “EM” (the TSP will contain EM towards the end of its host name) try running the TSUpdater.
14. If the update still fails try editing the file lsupdater.ini by adding at the end of the file:
[SpecialFlags]
Debug = 1
15. You can also try changing:
[Flags]
VersionCheck = 1
to
[Flags]
VersionCheck = 0
16. Run TSUpdater and right click the taskbar icon of the updater program. Click on Debug for more options. Try forcing the update by selecting the force update option.
17. If the update is still not working try using acp_commanger by opening a command (prompt) window and running the following command from the same directory as the acp_commander.jar file):
java -jar acp_commander.jar -t 192.168.11.150 –cb
(you might have to repeat the above command a couple of times until you see confirmation of success) and try running TSUpdater again
18. If the TSP is still not working you will most likely need to rebuild your disk partitions but before embarking on this endeavour you should probably quickly verify the disks (you can also jump directly to point 25. to rebuild your disks). Open a command (prompt) window and run the following command from the same directory as the acp_commander.jar file):
java -jar acp_commander.jar -t 192.168.11.150 –o
(you might have to repeat the above command a couple of times until you see confirmation of success)
19. Telnet to the TSP by running the following command from the command prompt:
telnet 192.168.11.150
Login using the username
root
there is no password, just hit enter
20. Check your partitions by typing the following command
fdisk –l
(If the list of partitions are all empty jump to point 25.)
sda1 should be bootable and formatted ext3
sda2 should be formatted xfs
21. Check the partition usage as sda1 may contain too many files by running
df –h
(the –h is optional)
22. Check if sda1 contains the 2 files initrd.buffalo and uImage.buffalo:
mount -t ext3 /dev/sda1 /boot
cd /boot
ls
23. Check if sda2 contains a whole bunch of files and folders:
mount -t xfs /dev/sda2 /rootfs
cd /rootfs
ls
24. Try running the TSUpdater again (sda1 might be full as per point 21. above. Try deleting all files except initrd.buffalo and uImage.buffalo in the /boot directory)
25. If you are still experiencing problems you will need to rebuild your disk(s). To rebuild your disk you will need to connect your disk to a PC running Ubuntu, Knoppix or similar. These two programs offer a downloadable bootable CD which you can use on most computers. Simply install/connect the TSP disk to your computer and boot up your computer with the bootable Ubuntu or Knoppix CD. The information below is based on commands used on a computer running Ubuntu. Please remember that you will require all the files you extracted from the firmware file in the directory of your choice once you have booted with Ubuntu. A USB memory stick is quite useful for this purpose.
26. Once booted with Ubuntu, create a directory on your desktop called tsp (right click the desktop and choose new folder). Copy all the firmware files, including the unzipped password protected files to the tsp directory on your desktop.
27. Open a terminal window from the applications menu at the top left hand side of the screen and type:
sudo –s -H
fdisk –l
(you should see the name of your disk, probably something like /dev/hda or /dev/hdb or /dev/sda or /dev/sdb. If you have more than one disk you might be able to differentiate them by size)
28. Once you know the name of your disk type:
cfdisk /dev/???
(replace ??? with the three letter code of your disk. We will use sda as the three letter code for the following example)
29. If there are any existing partitions delete all of them using the up and down arrow and the delete menu at the bottom of the screen
30. Create the following partitions using the arrow keys and the menus on the bottom of the screen:
sda1 Bootable Primary Linux 205MB
sda2 Primary Linux 500MB
sda5 Extented Linux/Swap 510MB (might be optional)
sda6 Extended Linux XXXXMB (remainder of the disk – might be optional)
(If you are planning on "customising" your unit, you should consider increasing the sda2 partition size)
31. Write the changes before you exit cfdisk
32. You should now format your partitions:
mkfs.ext3 /dev/sda1
mkfs.xfs /dev/sda2
mkfs.xfs /dev/sda6
mkswap –c /dev/sda5
(the –c is optional)
33. Mount the /boot and /rootfs file systems:
mount –t ext3 /dev/sda1 /boot
mount –t xfs /dev/sda2 /rootfs
34. Copy the files initrd.buffalo and uImage.buffalo to /boot:
cd /home/ubuntu/Desktop/tsp/
cp initrd.buffalo /boot
cp uImage.buffalo /boot
35. Extract the content of hddrootfs.buffalo.updated to /rootfs:
cd /rootfs
tar zxvf /home/ubuntu/Desktop/tsp/hddrootfs.buffalo.updated
36. Unmount the 2 file systems:
umount /dev/sda1
umount /dev/sda2
37. Disconnect the disk from your computer and reinstall the disk in the TSP
38. Turn on (reboot) your TSP
39. Your TSP should boot normally and you should see Loading Kernel on the LCD display, try running the TSUpdater again as per points 13. through to 17. above
40. If you are still having problems, rebuild all remaining TSP disk in the same manner as described in points 28. through to 36. And try the TSUpdater again as per points 13. through to 17. above
回复 点赞

使用道具 举报

neso303030 发表于 2009-10-27 00:06:45 | 查看全部
本帖最后由 neso303030 于 2009-10-27 00:15 编辑

能把这篇文章翻译一下吗,谢谢

我也用的linkstation quad,原机是4块250G的硬盘,被我升级成4块1T的。机器进入到EM模式,但在运行LSUpdater.exe(在debug模式下)升级固件的时候提示ACP_STATE_FAILURE出错,升级中止,Failed to formatting. (ACP_STATE_FAILURE) Updating is aborted.
看到论坛上有人写了解决办法,如下:
1.进入EM模式.
2,通过acp_commander.jar ,telnet到机器.
3.手动建立各分区,并复制启动文件进去,建立磁盘阵列.
4.重启进入EM模式,写入固件即可.

请问3.手动建立各分区,并复制启动文件进去,建立磁盘阵列.具体都是哪些命令啊?启动文件是哪些文件?
第3步没有写详细,以上我发的英语文章就是第3步所要做的吧?
回复 点赞

使用道具 举报

lbyu楼主Lv.5 发表于 2009-10-27 11:47:15 | 查看全部
抱歉,我还没有研究到那个层面。
不过你找的文章应该是对的。
还有一个文章供参考: http://buffalo.nas-central.org/i ... m9_box_from_scratch
关于LS Quad的文章不多,但是此系列的芯片组和LS Pro、LS Live都一致。所以多看看那些文章。
附:芯片与硬件列表:http://www.dcitizen.com/http:/ww ... af%94%e8%a1%a8.html
回复 点赞

使用道具 举报

neso303030 发表于 2009-10-27 12:26:56 | 查看全部
嗯,谢谢啦!
回复 点赞

使用道具 举报

momoVIP互助团队 发表于 2009-10-27 13:38:46 | 查看全部
不错很详细。支持下
回复 点赞

使用道具 举报

neso303030 发表于 2009-10-28 08:18:16 | 查看全部
本帖最后由 neso303030 于 2009-10-28 12:57 编辑

lbyu 能不能把你的linkstation quad的第1块硬盘抽出来把boot做ghost档?
我的机器搞不好啦,按照上面英文的步骤还是开机就红灯,看来不适合quad机器,郁闷啊
回复 点赞

使用道具 举报

neso303030 发表于 2009-10-28 12:46:39 | 查看全部
麻烦telnet看一下你quad第1硬盘 都有哪些目录?
回复 点赞

使用道具 举报

lzbnetLv.3 发表于 2009-10-29 12:05:11 | 查看全部
不错,长见识了。
回复 点赞

使用道具 举报

lbyu楼主Lv.5 发表于 2009-10-29 16:20:51 | 查看全部
麻烦telnet看一下你quad第1硬盘 都有哪些目录?

root@LS-QL3B8:/mnt/disk1# ls -la
drwxrwxrwx    9 root     root          100 Oct 27 00:08 .
drwxrwxrwx   14 root     root         4096 Oct 27 22:57 ..
drwxr-xr-x   20 root     root         4096 Oct 27 23:44 .optware
drwxrwxrwx    9 root     root         4096 Oct 28 01:54 Movie
drwxrwxrwx   12 root     root         4096 Oct 15 22:02 Music
drwx------    2 root     root           22 Oct 13 22:56 mt-daapd
drwxrwxrwx    4 root     root           89 Oct 26 17:13 share
drwxrwxrwx    6 root     root           50 Oct 16 01:35 spool
drwxrwxrwx    7 root     root          127 Oct 15 01:09 瀹跺涵鐓?[0m

没有什么帮助吧?变砖恢复的帖子很多了,仔细找找看。Quad没有人用啊,曲高和寡。我也想入手Pro弄弄的。Quad不好卖。
回复 点赞

使用道具 举报

neso303030 发表于 2009-10-29 20:56:05 | 查看全部
本帖最后由 neso303030 于 2009-10-29 21:05 编辑

谢谢lbyu!我是要看boot目录,哈哈 你把个人目录都搞出来啦。
终于解决啦,运行LSUpdater.exe在debug模式配置里把Rebuild partition table选中,其它选项全部取消。
回复 点赞

使用道具 举报

lbyu楼主Lv.5 发表于 2009-10-30 12:34:24 | 查看全部
呵呵,露馅了。我才刚开始玩这个东东。
回复 点赞

使用道具 举报

neso303030 发表于 2009-10-30 16:37:32 | 查看全部
{:5_118:}{:5_118:}
回复 点赞

使用道具 举报

fttbcmLv.8 发表于 2009-11-20 20:20:12 | 查看全部
本帖最后由 fttbcm 于 2010-1-1 14:21 编辑

支持呀,终于我也搞定了http://www.gebi1.com/thread-37-1-1.html
回复 点赞

使用道具 举报

chkai1981Lv.2 发表于 2010-3-15 16:07:34 | 查看全部
不错,长见识了。
回复 点赞

使用道具 举报

zww 发表于 2010-3-23 16:51:03 | 查看全部
{:4_103:}哈哈,学习了
回复 点赞

使用道具 举报

zy24Lv.4 发表于 2011-1-3 02:26:48 | 查看全部
看看先···········································
回复 点赞

使用道具 举报

zy24Lv.4 发表于 2011-1-3 02:43:32 | 查看全部
有点看不明白··························
回复 点赞

使用道具 举报

82911 发表于 2011-1-15 23:38:03 | 查看全部
好文章 學習了。{:3_69:}
回复 点赞

使用道具 举报

lbyu楼主Lv.5 发表于 2012-1-14 10:28:23 | 查看全部
想不起来transmission怎么安装了,搜索到自己的老帖。
真是惭愧了!
回复 点赞

使用道具 举报

回复

懒得打字嘛,点击右侧快捷回复 【本站酷狼4T,750元】
您需要登录后才可以回帖 登录 | 注册

本版积分规则

淘宝小店

邀请码

VIP会员

微信客服

公众号

微信群

投诉/建议联系

support@gebi1.cn

未经授权禁止转载,复制和建立镜像,
如有违反,追究法律责任
  • 关注公众号
  • 添加微信客服
Copyright © 2001-2024 隔壁网 版权所有 All Rights Reserved. 粤ICP备14056481号-1
关灯 在本版发帖
扫一扫添加微信客服
返回顶部
快速回复 返回顶部 返回列表