[巴法络] Linkstation Live 官方固件下超快速改机,RT+ML+Chinese Locale |
本帖最后由 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 服务,命令如下:
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密码.
改密码的方法为输入 passwd,然后输入一次密码回车,再重复输入一次回车,提示成功. 4, upgrade the optware,then install few new soft to stock firmware. 更新optware 系统,然后安装一些之后要用到的程序.
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)
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
c, now use the acp_commander open telnet again,cause i didn't know that root password.
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:
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.
you should get in log: [cO] Language ZH_CN, locale UTF-8, ulimit for open files 1024 good luck & HPNY! :$ |
本帖最后由 剑二十三 于 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 进去,然后运行
也可以运行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/ |
不错不错,支持,看来buffalo牛人来了,哈哈希望楼主给大家更多buffalo的玩法啊。
|
隔壁网希捷酷狼8T硬盘,正品国行,3年换新,只需要1320元,赠送论坛邀请码和VIP!
|
最主要是在硬盘上,现在buffalo 320G的价格很便宜,可是1T的价格就贵很多,如果自己买320G装1T硬盘的话不知道怎么改机,是否能够实现。
|
隔壁网希捷酷狼8T硬盘,正品国行,3年换新,只需要1320元,赠送论坛邀请码和VIP!
|
我的Blog
https://sword-k23.rhcloud.com/blog/ |
locale.tar.gz 之前忘记传了.
共2M多,用winrar 外面又压了一遍分包.. 自己先用winrar解压缩得到 locale.tar.gz ![]() ![]() ![]() |
收到团购的货了,准备刷固件,中文网上只有pro的1.15,live只有1.02,英文网上有1.06了。
|
我的Blog
https://sword-k23.rhcloud.com/blog/ |
我的Blog
https://sword-k23.rhcloud.com/blog/ |
有个问题,装了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种 |
本帖最后由 arctg 于 2009-2-9 00:44 编辑
运行完 sh lspro-bootstrap_1.2-5_arm.xsh 命令,是否是要按指示rm掉那两个文件然后重启?那么如何restart bootstrap script? |
|
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 :) |