找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
楼主: su***

Buffalo G300nh2 dd-wrt 官方合作版 transmission 脱机下载傻瓜攻略

[复制链接]
 楼主| | 显示全部楼层
swf3000 发表于 2013-6-1 19:48
root@DD-WRT:~# cd /mnt
root@DD-WRT:/tmp/mnt# cd /
root@DD-WRT:/# cd /mnt

本来就是这样,按照教程一步步走就可以了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

本帖最后由 swf3000 于 2013-6-1 21:09 编辑
suyab 发表于 2013-6-1 20:49
本来就是这样,按照教程一步步走就可以了


root@DD-WRT:~# cd /mnt
root@DD-WRT:/tmp/mnt# mkdir /sda_part1
mkdir: can't create directory '/sda_part1': Read-only file system
root@DD-WRT:/tmp/mnt# mkdir sda_part1
root@DD-WRT:/tmp/mnt# cd /mnt/sda_part1
root@DD-WRT:/tmp/mnt/sda_part1# mkdir etc opt root
root@DD-WRT:/tmp/mnt/sda_part1# touch optware.enable
root@DD-WRT:/tmp/mnt/sda_part1# chmod 755 etc opt root
root@DD-WRT:/tmp/mnt/sda_part1# mkdir opt/lib
root@DD-WRT:/tmp/mnt/sda_part1# chmod 755 opt/lib
root@DD-WRT:/tmp/mnt/sda_part1# cp -a /etc/* /mnt/sda_part1/etc/
root@DD-WRT:/tmp/mnt/sda_part1# mount -o bind /mnt/sda_part1/etc /etc
root@DD-WRT:/tmp/mnt/sda_part1# mount -o bind /mnt/sda_part1/opt /jffs
root@DD-WRT:/tmp/mnt/sda_part1# cd /tmp
root@DD-WRT:/tmp# wget http://downloads.openwrt.org/attitude_adjustment/12.09-rc
1/ar71xx/generic/packages/libc_0.9.33.2-1_ar71xx.ipk
Connecting to downloads.openwrt.org (78.24.191.177:80)
libc_0.9.33.2-1_ar71 100% |*******************************|   218k  0:00:00 ETA
root@DD-WRT:/tmp# wget http://downloads.openwrt.org/attitude_adjustment/12.09-rc
1/ar71xx/generic/packages/opkg_618-2_ar71xx.ipk
Connecting to downloads.openwrt.org (78.24.191.177:80)
opkg_618-2_ar71xx.ip 100% |*******************************| 57343   0:00:00 ETA
root@DD-WRT:/tmp# ipkg install libc_0.9.33.2-1_ar71xx.ipk opkg_618-2_ar71xx.ipk
ERROR: File not found: //usr/local/lib/ipkg/lists/whiterussian
       You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/non-free
       You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/backports
       You probably want to run `ipkg update'
/bin/ipkg: line 1184: sort: not found
Unpacking libc...Done.
Configuring libc...Done.
ERROR: File not found: //usr/local/lib/ipkg/lists/whiterussian
       You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/non-free
       You probably want to run `ipkg update'
ERROR: File not found: //usr/local/lib/ipkg/lists/backports
       You probably want to run `ipkg update'
/bin/ipkg: line 1184: sort: not found
Unpacking opkg...Done.
Configuring opkg...Done.
root@DD-WRT:/tmp# cat > /etc/opkg.conf << EOF
> src/gz snapshots http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ar
71xx/generic/packages
> dest root /opt
> dest ram /opt/tmp
> lists_dir ext /opt/tmp/var/opkg-lists
> EOF
root@DD-WRT:/tmp# umount /jffs
root@DD-WRT:/tmp# mount -o bind /mnt/sda_part1/root /tmp/root
root@DD-WRT:/tmp# mount -o bind /mnt/sda_part1/opt /opt
root@DD-WRT:/tmp# export LD_LIBRARY_PATH='/opt/lib:/opt/usr/lib:/lib:/usr/lib'
root@DD-WRT:/tmp# opkg update
Downloading http://downloads.openwrt.org/att ... ckages/Packages.gz.
Inflating http://downloads.openwrt.org/att ... ckages/Packages.gz.
Updated list of available packages in /opt/tmp/var/opkg-lists/snapshots.
root@DD-WRT:/tmp#
root@DD-WRT:/tmp# cat > /mnt/sda_part1/root/.profile << EOF
> export LD_LIBRARY_PATH='/opt/lib:/opt/usr/lib:/lib:/usr/lib:/opt/usr/local/lib
'
> export PATH='/sbin:/opt/bin:/opt/usr/bin:/opt/sbin:/opt/usr/sbin:/bin:/usr/bin
:/usr/sbin:/opt/usr/local/bin'
> export PS1='\[\033[01;31m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]'
> export TERMINFO='/opt/usr/share/terminfo'
> EOF
进入DD-WRT web设置界面,找到Administration->Commands,在命令窗口输入以下命令,然后点击Save Startup:
root@DD-WRT:/tmp# reboot


重启之后出错了

root@DD-WRT:~# opkg update
-sh: opkg: not found
root@DD-WRT:~# opkg install libgcc
-sh: opkg: not found
root@DD-WRT:~# wget http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/a
r71xx/generic/packages/libc_0.9.33.2-1_ar71xx.ipk
Connecting to downloads.openwrt.org (78.24.191.177:80)
libc_0.9.33.2-1_ar71 100% |*******************************|   218k  0:00:00 ETA
root@DD-WRT:~# opkg install ./libc_0.9.33.2-1_ar71xx.ipk
-sh: opkg: not found


我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
swf3000 发表于 2013-6-1 21:04
root@DD-WRT:~# cd /mnt
root@DD-WRT:/tmp/mnt# mkdir /sda_part1
mkdir: can't create directory '/ ...

不要在出了错的系统上重复执行命令,重新格式化硬盘后全新安装
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

suyab 发表于 2013-6-1 21:31
不要在出了错的系统上重复执行命令,重新格式化硬盘后全新安装

谢谢楼主,已经搞定了
移动硬盘自动加载为:/tmp/mnt/discsda/

不运行前面的
mkdir /sda_part1
cd /mnt/sda_part1
把sda_part1全部改为discsda,问题解决
再次感谢suyab的解答。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
swf3000 发表于 2013-6-1 21:45
谢谢楼主,已经搞定了
移动硬盘自动加载为:/tmp/mnt/discsda/

什么硬盘那么奇特?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

谢谢楼主,学习了!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

suyab 发表于 2013-6-1 21:51
什么硬盘那么奇特?

西部数据的My Passport,USB3.0,可惜g300nh2的usb接口是2.0,速度是usb1.0。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
swf3000 发表于 2013-6-2 05:40
西部数据的My Passport,USB3.0,可惜g300nh2的usb接口是2.0,速度是usb1.0。

估计是大品牌的硬盘盒默认修改了盘符的缘故

其实路由器的usb口速度都是软肋,华硕的N16也好不到哪里去。apple的airport extreme的usb口倒是能跑到20M/s以上,就是价钱也翻倍了。

追求速度的话还是上NAS最稳妥
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

suyab 发表于 2013-6-2 11:45
估计是大品牌的硬盘盒默认修改了盘符的缘故

其实路由器的usb口速度都是软肋,华硕的N16也好不到哪里去 ...

楼主你好! 我用的是TP-LINK的WDR3600路由器 跟你的同样是Atheros芯片组的
我照dd-wrt论坛上的步骤倒腾了好久才勉强装上了optware
不知道为何我的路由无法通过SSH连接 即便我在设置里面把SSHd以及SSH连接都激活了
迫于无奈只好telnet上去完成了后面的步骤 但是因为我是小白 不熟悉linux的指令 所以看到您这个教程以后 到了用winscp修改transmission的配置文件那里就卡了一下 说是read-only  
只好先chmod 755 然后再用cat > << EOF 来改 最后还是成功了

上了transmission-daemon的web界面 看不到Network的属性  这个要怎么看呢?
然后就是我把我的移动硬盘按照dd-wrt的教程格成了ext3 并且分配了四个区 -> 1. /mnt,2.swap, 3./jffs 4. data 我想问那这个transmission到时候是会把文件下载到哪个分区的呢
而且还有就是如何实现透过迅雷离线把文件脱机下载到连接路由器的那个硬盘上面去啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
LoafingNick 发表于 2013-6-17 15:31
楼主你好! 我用的是TP-LINK的WDR3600路由器 跟你的同样是Atheros芯片组的
我照dd-wrt论坛上的步骤倒腾 ...

有个torrents文件夹设置步骤就是用来指定transmission的下载文件位置的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

请教lz,最近使用transmission经常莫名其妙的停止,重启后总有几个文件就自动重新下载了,需要校验后才能恢复正常。有什么可以解决的办法吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
insulin2k7 发表于 2013-6-24 21:55
请教lz,最近使用transmission经常莫名其妙的停止,重启后总有几个文件就自动重新下载了,需要校验后才能恢 ...

是transmission自动退出还是找不到硬盘?如果transmission出问题,有可能跟下载种子数量有关。

路由器的硬件配置较弱,不能处理过多的P2P链接。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

transmission 的 port is closed  怎么解决 啊   ddwrt 都设置UPnP服务启用了啊  怎么端口还是关闭啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

折腾了几天,成功在Buffalo WZR-HP-AG300H上安装了Transmission,哈哈。

执行完opkg install transmission-web,运行transmission-daemon时报错“can't load library xxxxxx”,这是因为一些组件没有安装,可以通过“opkg install <组件名>安装”,下面是启动transmission-daemon需要安装的组件:

libpthread
zlib
libopenssl
libcurl
libevent2
librt
libminiupnpc
transmission-daemon
transmission-web

通过opkg install下载安装组件时,可能是由于服务器网络原因经常中断下载,可以手动中止(Ctrl+C)该任务再重新下载安装。我试了好多次才把上面的组件安装上。应该也可以把组件的ipk包下载到本地通过"ipkg install <组件包名>"安装,不过我没有尝试这种方法。

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
baggiook 发表于 2013-7-23 07:41
折腾了几天,成功在Buffalo WZR-HP-AG300H上安装了Transmission,哈哈。

执行完opkg install transmissi ...

前面几位用AG300H的似乎没有遇到你这样的问题。

确定没有漏掉教程里哪个步骤?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 02:55

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表