|
發表於 2010-2-9 00:44:11
|
顯示全部樓層
<P>原帖由 <I>mp3clock</I> 於 2010-2-7 19:57 發表 <A href="http://www.hd.club.tw/redirect.php?goto=findpost&pid=408923&ptid=28916" target=_blank><IMG border=0 alt="" src="http://www.hd.club.tw/images/common/back.gif"></A> HD300A-FW-3.28 可以看網路電視 root 密碼:ka8.us 下載網址 , http://webhd.xuite.net/_oops/aszcc/vwo ROM減肥 , 空出64MB 空間.. Filesystem & ... </P>
<P> </P>
<P>空出64MB的用途..打造專業的NAS</P>
<P> </P>
<P><STRONG><FONT size=5>TELNET HD300A-IP</FONT></STRONG></P>
<P> </P>
<P>mount -o,remount,rw /<BR>mkdir -p /opt/tmp;cd /opt/tmp<BR>wget <A href="http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-13_mipsel.ipk">http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-13_mipsel.ipk</A><BR>ipkg-cl install uclibc-opt_0.9.28-13_mipsel.ipk<BR>wget <A href="http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ipkg-opt_0.99.163-10_mipsel.ipk">http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ipkg-opt_0.99.163-10_mipsel.ipk</A><BR>ipkg-cl install ipkg-opt_0.99.163-10_mipsel.ipk<BR>rm *<BR>cd /opt/bin;./ipkg update<BR>./ipkg install nano</P>
<P>./ipkg install vsftpd;cd /opt/etc<BR>echo "ftp stream tcp nowait root /opt/sbin/vsftpd /opt/etc/vsftpd.conf" >>/etc/inetd.conf</P>
<P> </P>
<P> </P>
<P><FONT style="FONT-SIZE: 10pt"><STRONG>修改啟動設置 /usr/local/etc/profile</STRONG></FONT></P>
<P> </P>
<P>./nano /usr/local/etc/profile<BR></P>
<OL>
<LI>尋找
<LI># Path manipulation<BR>if [ `id -u` = 0 ]; then<BR> pathmunge /sbin<BR> pathmunge /usr/sbin<BR> pathmunge /usr/local/sbin<BR>fi
<LI>改為
<LI># Path manipulation<BR>if [ `id -u` = 0 ]; then<BR> pathmunge /opt/bin<BR> pathmunge /opt/sbin<BR> pathmunge /sbin<BR> pathmunge /usr/sbin<BR> pathmunge /usr/local/sbin<BR> pathmunge /opt/etc/init.d<BR>fi
<LI>--------------------
<LI>尋找
<LI>#export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC<BR>export PATH HOSTNAME HISTSIZE TERM
<LI>改為
<LI>HOME=/opt<BR>#export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC<BR>export PATH HOSTNAME HISTSIZE TERM HOME<BR>export TERMINFO=/opt/share/terminfo<BR>export TERM="xterm"
<LI>
<LI>尋找
<LI>alias open="eject /dev/cdroms/cdrom0"<BR>alias close="eject -t /dev/cdroms/cdrom0"
<LI>改為
<LI>alias open="eject /dev/cdroms/cdrom0"<BR>alias close="eject -t /dev/cdroms/cdrom0"<BR>alias mc="mc -c"
<LI>
<LI>按 F3儲存 , Ctrl+X 離開</LI></OL>
<P><FONT face=Tahoma></FONT> </P>
<P><FONT face=Tahoma>reboot</FONT><BR></P>
<P><STRONG><FONT size=3>安裝一些常用套件</FONT></STRONG></P>
<OL>
<LI>mount -o,remount,rw /
<LI>ipkg install busybox
<LI>ipkg install cron
<LI>ipkg install transmisson
<LI>mkdir /opt/etc/transmission
<LI>/opt/bin/transmission-daemon -g /opt/etc/transmission
<LI>killall transmission-daemon
<LI>nano /opt/etc/transmission/settings.json<BR>************<BR>"rpc-whitelist": "127.0.0.1;192.168.*.*",<BR>這行加入區網網段 <BR>按 F3儲存 , Ctrl+X 離開</LI></OL>
<P> </P>
<P><STRONG>啟動 SAMBA</STRONG></P>
<P>mount -o,remount,rw /<BR>cd /usr/local/etc/samba/smbd<BR>./rc.smbd start 2>/dev/null</P>
<P> </P>
<P><STRONG>transmission啟動方式</STRONG></P>
<P>/opt/bin/transmission-daemon -g /opt/etc/transmission</P>
<P> </P>
<P>接下來應該還有40mb左右的空間..約可再裝10多套ipkg軟體..</P>
<P><BR> </P>
<P> </P> |
|