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 服务,命令如下:
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密码.
don't fotgot change the root password by passwd
改密码的方法为输入 passwd,然后输入一次密码回车,再重复输入一次回车,提示成功.
4,
upgrade the optware,then install few new soft to stock firmware.
更新optware 系统,然后安装一些之后要用到的程序.
ipkg update
ipkg upgrade
ipkg install openssh
ipkg install screen
ipkg install rtorrent
ipkg install bzip2
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.
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
cp libraries.tar /
复制代码
b,boot LSlive,catch serial watting for follow choose;
linuxrc:choose operation (timeout 4[s])
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.
java -jar acp_commander.jar -t 192.168.1.10 -o
复制代码
login to LSlive,make an sda2 mount folder then mount it.
cd/
mkdir sda2
mount /dev/sda2 /sda2
cd /sda2
now you can see the libraries.tar on / dir,then run:
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:
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.
export LANG=zh_CN.utf8
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
有个问题,装了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.
# 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?