http://god5230.myweb.hinet.net/193tw_ok.img 台版193 加入 /opt
星期二在pchome 敗回家後...
出機的版本是 1.7.6 ...這個算是比較ok的版本 ~~
但是 smb 的功能,傳到一半就當機了....
就順手更新了 1.8 版...
惡夢的開始... =.= 結果我裝的硬碟抓不到..但可以格式化...太好笑了
原本在 1.7.6 抓的到
後來在討論區看到國外網站有1.9x ....
更新後目前ok ....可以開始來玩了
製作 firmware
參考用指令
unsquashfs squashfs1.img 解壓
mksquashfs squashfs-root squashfs1.img -b 65536 壓縮
請參上之前的文章~~ 要注意squashfs請用3.0 版本...
被3.4 , 4.0 玩了一個晚上=.=
我是抓 1.92 版 Beta2
我有打包 已經加入 /opt 和 /etc/hosts 加入 主機IP
網址 http://cid-ee21f390ceb213f2.office.live.com/self.aspx/ZP-600t%20ISO/install^51.92^6.img
其他的請自行安裝
因為我比較想要用 proftpd 和 bt 和 wget 抓youtube 影片 自己放到 硬碟功能
安裝
mkdir /tmp/hdd/root/opt <---建立目錄
chmod 777 opt <-- 最大權限
mount -o bind /tmp/hdd/root/opt /opt <--把硬碟mount 到 /opt
cd /opt
開始安裝ipkg 套件
用 wget 抓檔
wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-13_mipsel.ipk
安裝
ipkg-cl install uclibc-opt_0.9.28-13_mipsel.ipk
裝完刪除
rm uclibc-opt_0.9.28-13_mipsel.ipk
用 wget 抓檔
wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ipkg-opt_0.99.163-10_mipsel.ipk
安裝
ipkg-cl install ipkg-opt_0.99.163-10_mipsel.ipk
裝完刪除
rm ipkg-opt_0.99.163-10_mipsel.ipk
更新清單
/opt/bin/ipkg update
安裝proftpd
/opt/bin/ipkp install proftpd
/opt/etc # cat /etc/hosts <--檢查設定檔
127.0.0.1 localhost
192.168.1.11 Venus
一定要在hosts 加入自己的ip名字 proftp 才能起動
vi /opt/etc/proftpd.conf 修改設定檔
ServerType standalone
<Anonymous /tmp/hdd/volumes/HDD1> <---我的硬碟
<Limit WRITE>
Allowall
</Limit>
加入自動開機
vi /usr/local/etc/rcS 修改開機檔
sleep 15
mount -o bind /tmp/hdd/root/opt /opt
/opt/sbin/proftpd -c /opt/etc/proftpd.conf
測試proftpd ...速度大約在3.5M左右...
100M的環境

BT 功能
我查了一下 網頁的目錄放了一隻程式...
/tmp/www/cgi-bin # ls -l
-rwxr-xr-x 1 608 500 336 Apr 26 2010 sum.cgi
-rwxr-xr-x 1 608 500 63724 Apr 26 2010 webtorrent.cgi
參考網站
http://squashfs.sourceforge.net/


