天气与日历 切换到宽版
扫描二维码关注官方公众号
123下一页
返回列表 发布新帖

[巴法络] Linkstation Live 官方固件下超快速改机,RT+ML+Chinese Locale

 火..
33857 54
发表于 2009-1-16 13:44:18 | 显示全部楼层 阅读模式

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

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

×
本帖最后由 zhans 于 2009-1-18 21:26 编辑

自己给自己翻译吧... 早知道当初不偷懒了.
如下叙述并没有详细到step by step,但大概方向如此.. 具体问题大家遇时再说..

optware是一个扩展的操作系统,简单点说就是官方LSlive下的一个外挂系统.
这么改的好处是保留官方的web管理界面等等全部原厂功能,并在官方系统上安装Mldonkey(UTF8支持),Rtorrent.
从而做到对官方系统最小的更改... 简单,并且高效率... 毕竟大家主要应用也就这两方面.
而且optware是一个功能比较全面的系统,程序包很多.. 而且应用都编译好的,一个简单的命令 ipkg install 就搞定新程序安装了..
俺之前也刷lenny,但听23建议最后换回这个... 主要原因是官方的固件Samba跑的很快..千兆环境下,不做什么优化就可以写20M,读30M.

1,
LSupdater re-flash 1.15 on LSlive
(need set debug menu all to on)
假定接下来操作的LSlive是一台全新的,或者之前改过,而且还能被用官方的升级程序认的到的.
先升级,或者重新刷到 1.15 版固件.. 这个应该是目前的最新版本了. 官方有下载套升级程序.

2,
open stock LSlive firmware telnetd setvice by acp_commander
用acp_commander程序打开 telnetd 服务,命令如下:

  1. java -jar acp_commander.jar -t 192.168.1.10 -o
复制代码
user: root
pass: (enter)
(need to disable the network firewall on desktop computer)
(需要注意的是,关闭PC电脑内置的防火墙,不然可能打不开LSlive的telnetD)

3,
telnet to LSlive,then install optware,change the root password.
用telnet 连接到LSlive,然后开始安装optware系统,顺便改下root密码.

  1. mkdir /mnt/disk1/tmp
  2. cd /mnt/disk1/tmp
  3. wget http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/lspro-bootstrap_1.2-5_arm.xsh
  4. sh lspro-bootstrap_1.2-5_arm.xsh
复制代码
don't fotgot change the root password by passwd
改密码的方法为输入 passwd,然后输入一次密码回车,再重复输入一次回车,提示成功.

4,
upgrade the optware,then install few new soft to stock firmware.
更新optware 系统,然后安装一些之后要用到的程序.

  1. ipkg update
  2. ipkg upgrade
  3. ipkg install openssh
  4. ipkg install screen
  5. ipkg install rtorrent
  6. ipkg install bzip2
  7. ipkg install nano
复制代码
edit that rtorrent config files for few settings,like dir,speed... etc
then put .rtorrent.rc files to root folder.
reboot,then login by ssh client and test the rtorrent it working.

顺序逐行执行完以上命令后,系统中既安装好了
openssh 安全登陆服务器
screen 多屏幕管理程序
rtorrent 这都认识,下BT用
bzip2 *.gz 的解压缩程序,之后用的上.
nano 一个文本编辑器,我觉得比VI好用..

说rtorrent,程序安装好了要建立设置文件 .rtorrent.rc 然后放到root的根目录下.
这个配置很多例如下载保存路径,连接端口等等... 根据自己情况改,官方提供的例子见这里:
http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc?rev=latest
下载回来点下面的
Download in other formats:


另外说下,文件名前面带 . 的,默认隐藏. 所以用 ls -a 才可以看的到.

设置文件放好后,直接 rtorrent 回车就可以运行了,测试下.. 运行没问题rtorrent 就安装完成. 简单吧?
重新启动,然后用SSH客户端去连接LSlive,用户名root,密码上你步你自己设置的.

5,
install mldonkey arm last version,then untar to share folder.
(http://mldonkey.sourceforge.net/forums/viewtopic.php?p=26582)

  1. bzip2 -d mldonkey-cores-2.9.6CVS-armeabi-20080911.tar.bz2
  2. bzip2 -d libraries.taz.bz2
  3. tar xvf mldonkey-cores-2.9.6CVS-armeabi-20080911.tar
复制代码
choose any version you like,then cp mlnet file alone to /opt/bin/
the mldonkey request new lib's to run,we need copy all files on lib dir to /lib.
BUT ALL LIB'S IT ALREADY IN USE NOW!!!
so don't directly overwrite them by cp * /lib!!!
cause then you will lose all busybox command access!!

so,i switch LSlive to EM mode do this work,steps follow;

a,boot the LSlive
  1. cp libraries.tar /
复制代码
b,boot LSlive,catch serial watting for follow choose;
  1. linuxrc:choose operation (timeout 4[s])
  2. 1:RamRoot other:HddRoot  ? 1
复制代码
choose 1 for RamdiskRoot boot,then my LSlive booted to EM mode.

c,
now use the acp_commander open telnet again,cause i didn't know that root password.
  1. java -jar acp_commander.jar -t 192.168.1.10 -o
复制代码
login to LSlive,make an sda2 mount folder then mount it.

  1. cd/
  2. mkdir sda2
  3. mount /dev/sda2 /sda2
  4. cd /sda2
  5. now you can see the libraries.tar on / dir,then run:
  6. tar -C /sda2/ -xvf libraries.tar
复制代码
d,
now we almost done for mldonkey install,then reboot to hddRoot.
login by ssh to LSlive,and run once mlnet then Ctrl+c exit,it will build mldonkey settting on /root/.mldonkey
then edit /root/.mldonkey/download.ini for all mldonkey settings.
run again to see if everyhings all well.

e,
now we only one last step,that is fix the UTF-8 problem for mldonkey..  :)
cause all chinese files request UTF-8 locales,then it will write like "____.avi" :S
that reason is:

[cO] Language EN, locale ANSI_X3.4-1968, ulimit for open files 1024

so,just download my attached locale package,the put on / directory,and switch to EM mode.
as early steps,enter EM mode then mount /dev/sda2 to /sda2,and simply run:

  1. tar -C /sda2/ -xvf locale.tar.gz
复制代码
well done,reboot back to standard mode.

try 'locale -a', you should get long list of locales - all fine

then make an script or on your autoboot scripts like mldonkey-start.sh,and add follow lines on it.
  1. export LANG=zh_CN.utf8
  2. export LANGUAGE=zh_CN.utf8
复制代码
try run mldonkey-start.sh
you should get in log:

[cO] Language ZH_CN, locale UTF-8, ulimit for open files 1024

good luck & HPNY!  :$

评论54

剑二十三Lv.5 发表于 2009-1-16 15:04:49 | 显示全部楼层
本帖最后由 剑二十三 于 2009-1-16 15:14 编辑

:lol

顺便把偶写的中文版zt上来吧

1,pc机下载http://downloads.nas-central.org/TOOLS/ALL_LS_KB_ARM9/ACP_COMMANDER/acp_commander.jar
     运行java -jar acp_commander.jar -t <linkstation-ip> -o
pc机上下载 http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/stable/lspro-bootstrap_1.2-5_arm.xsh 扔到live网络邻居share里面
2,pc机  telnet 进去,然后运行
  1. mkdir /mnt/disk1/tmp
  2. cd /mnt/disk1/tmp
  3. mv /mnt/disk1/share/lspro-bootstrap_1.2-5_arm.xsh .
  4. sh lspro-bootstrap_1.2-5_arm.xsh
复制代码
3 运行
  1. ipkg update
  2. ipkg upgrade
  3. ipkg install screen
  4. ipkg install rtorrent
复制代码
4 找个rtorrent.rc 运行screen,运行rtorrent吧,是0.8.4 最新版哦,支持hbc等pt
也可以运行ipkg list列出可以安装的包
至于mldonkey,去mldonkey的官方论坛找编译好的主程序放到pro里面直接运行就可
http://mldonkey.sourceforge.net/forums/viewtopic.php?p=26582

中文问题找上面zhans要locale.tar.gz
我的Blog
https://sword-k23.rhcloud.com/blog/
回复 点赞

使用道具 举报

momoVIP互助团队 发表于 2009-1-16 21:08:42 | 显示全部楼层
不错不错,支持,看来buffalo牛人来了,哈哈希望楼主给大家更多buffalo的玩法啊。
隔壁网希捷酷狼8T硬盘,正品国行,3年换新,只需要1320元,赠送论坛邀请码和VIP!
回复 点赞

使用道具 举报

momoVIP互助团队 发表于 2009-1-17 11:24:20 | 显示全部楼层
最主要是在硬盘上,现在buffalo 320G的价格很便宜,可是1T的价格就贵很多,如果自己买320G装1T硬盘的话不知道怎么改机,是否能够实现。
隔壁网希捷酷狼8T硬盘,正品国行,3年换新,只需要1320元,赠送论坛邀请码和VIP!
回复 点赞

使用道具 举报

剑二十三Lv.5 发表于 2009-1-18 11:16:45 | 显示全部楼层
最主要是在硬盘上,现在buffalo 320G的价格很便宜,可是1T的价格就贵很多,如果自己买320G装1T硬盘的话不知道怎么改机,是否能够实现。
wickey 发表于 2009-1-17 11:24



可以实现自己换大硬盘,而且还不是很复杂
改天我写个换硬盘教程
我的Blog
https://sword-k23.rhcloud.com/blog/
回复 点赞

使用道具 举报

zhans楼主Lv.6 发表于 2009-1-18 21:02:23 | 显示全部楼层
locale.tar.gz 之前忘记传了.
共2M多,用winrar 外面又压了一遍分包..
自己先用winrar解压缩得到 locale.tar.gz

locale.tar.part1.rar (957.03 KB, 下载次数: 363) locale.tar.part2.rar (957.03 KB, 下载次数: 322) locale.tar.part3.rar (741.11 KB, 下载次数: 327)
回复 点赞

使用道具 举报

alanshuLv.2 发表于 2009-1-20 20:21:24 | 显示全部楼层
收到团购的货了,准备刷固件,中文网上只有pro的1.15,live只有1.02,英文网上有1.06了。
回复 点赞

使用道具 举报

alanshuLv.2 发表于 2009-1-21 08:52:02 | 显示全部楼层
1.06的能刷吗?在不同地区购买的?
回复 点赞

使用道具 举报

剑二十三Lv.5 发表于 2009-1-21 10:57:54 | 显示全部楼层
1.06的能刷吗?在不同地区购买的?
alanshu 发表于 2009-1-21 08:52


我的Blog
https://sword-k23.rhcloud.com/blog/
回复 点赞

使用道具 举报

chekuLv.3 发表于 2009-1-21 19:23:46 | 显示全部楼层
老大继续翻译完全啊,俺英文不行啊
回复 点赞

使用道具 举报

akaakaLv.2 发表于 2009-1-31 21:14:51 | 显示全部楼层
这个帖子里的方法能用到Linkstation Live LS-CH320L上吗?
回复 点赞

使用道具 举报

剑二十三Lv.5 发表于 2009-2-1 10:41:11 | 显示全部楼层
这个帖子里的方法能用到Linkstation Live LS-CH320L上吗?
akaaka 发表于 2009-1-31 21:14


我的Blog
https://sword-k23.rhcloud.com/blog/
回复 点赞

使用道具 举报

alanshuLv.2 发表于 2009-2-4 23:21:58 | 显示全部楼层
有个问题,装了optware之后,开了RT, 运行一段时间后,web界面会边不进去,
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.39 Server at LinkStation-LSGL Port 80.

navigator找得到,不过提示有问题,ping得通,可能是什么问题?放了3个PT种
回复 点赞

使用道具 举报

chekuLv.3 发表于 2009-2-5 09:37:06 | 显示全部楼层
楼上的把整个界面截图上来耶,这样清楚点。英文好像说日志错误
回复 点赞

使用道具 举报

alanshuLv.2 发表于 2009-2-5 11:39:57 | 显示全部楼层
就是webmin的界面,只是写了这么个错误。 

回复 点赞

使用道具 举报

arctgLv.2 发表于 2009-2-9 00:43:46 | 显示全部楼层
本帖最后由 arctg 于 2009-2-9 00:44 编辑

# sh lspro-bootstrap_1.2-5_arm.xsh
Optware Bootstrap for lspro.
Extracting archive... please wait
bootstrap/
bootstrap/bootstrap.sh
bootstrap/ipkg-opt.ipk
bootstrap/ipkg.sh
1081+1 records in
1081+1 records out
bootstrap/optware-bootstrap.ipk
bootstrap/wget.ipk
Backup your configuration settings, then type:
  rm -rf /mnt/disk1/.optware
  rm -rf /usr/lib/ipkg
This will remove all existing optware packages.
You must *reboot* and then restart the bootstrap script.
#

运行完 sh lspro-bootstrap_1.2-5_arm.xsh 命令,是否是要按指示rm掉那两个文件然后重启?那么如何restart bootstrap script?
回复 点赞

使用道具 举报

arctgLv.2 发表于 2009-2-9 13:52:36 | 显示全部楼层
这儿好像都没什么人。。。
我贴些参考的链接,省得到处放狗搜了
http://www.right.com.cn/forum/vi ... 3Ddigest&page=1
回复 点赞

使用道具 举报

pigbowlLv.2 发表于 2009-2-12 07:38:27 | 显示全部楼层
Thank you very much, zhans. This is so details and useful, I've been searching everywhere!
I'll try this out when I received my box in March :)
回复 点赞

使用道具 举报

digi-pixarLv.1 发表于 2009-2-12 20:54:20 | 显示全部楼层
牛人....
回复 点赞

使用道具 举报

8610Lv.3 发表于 2009-2-18 01:13:20 | 显示全部楼层
多谢!mark一下~
回复 点赞

使用道具 举报

回复

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

本版积分规则

投诉/建议联系

support@gebi1.cn

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