找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 31425|回复: 95

tomato 8MB版本的USB脱机ghost包(更新)

[复制链接]
本帖最后由 stick008 于 2010-2-4 15:02 编辑

虽然我很菜,做的包也不成熟,也可能会被这里的大虾不屑甚至鄙视,但我会与大家分享,独乐乐不如众乐乐,有问题也可以一起改进,何乐而不为!
目前我正在下BBC之行星地球720P电驴版,好大哦,2.1G*11 不急,反正脱机嘛,宽带又不限时,你下你的,我忙我的哦


我机子刷的是tomato1.23.0432 8MB版本(其他非8MB版本同样可以用,只是要自己安装SAMBA和FTP服务器),8Mb版本自带USB驱动和自动挂载硬盘,及SAMBA、FTP服务器等。本Ghost包可实现开机时有选择启动:
1.集成的东东:
mldonkey 2.9.2
lighttpd
php
PHP-fcgi
MySQL
rtorrent (nTorrent控制或WEB监控)
amule 2.2.6
128MB swap

2. 应用包下载地址:
ftp://stick008.dns66.net           在文件夹tomato 刷机包内

用ghost32(可在windows下运行的ghost)将脱机包中的tomato bak.gho恢复到需要用的U盘或硬盘中;硬盘或U盘需要事先删除所有分区,电脑的工作组设为workgroup。
ftp站内有ghost32 11.5  下载
进入TTDW的网页管理界面,在“系统管理”->“脚本管理”贴上开机脚本和防火墙脚本。(刷机包里也有)


注:我也是刚接触没多久,有不对的地方还请指教,谢谢!
 楼主| | 显示全部楼层
本帖最后由 stick008 于 2010-2-4 15:04 编辑

请使用已更新的脚本,此本作废
sleep 10
mount -o bind /mnt/disc0_1/opt /opt
sleep 3
/bin/busybox swapon /mnt/disc0_1/swapfile
sleep 30
/opt/etc/init.d/mlnet
sleep 3
/opt/etc/init.d/S80lighttpd start

#/opt/bin/rtorrent -n -o import=/opt/root/.rtorrent.rc
#/opt/etc/init.d/S57amuled start
我的开机脚本没有加载USB驱动和挂载硬盘,因为8MB版本自带了USb驱动,支持多种分区格式(包括ext2、ext3,fat16/31、NTFS等,还可以自动挂在硬盘,所以开机脚本我就没贴上去了,需要启动电驴的把#号去掉,加上sleep 3就可以了,其他类似(不要启动太多,死机别怪我)
以下是防火墙脚本:
iptables -I INPUT -p tcp --dport 4662 -j ACCEPT
iptables -I INPUT -p udp --dport 4662 -j ACCEPT
iptables -I INPUT -p tcp --dport 4665 -j ACCEPT
iptables -I INPUT -p udp --dport 4665 -j ACCEPT
iptables -I INPUT -p udp --dport 4672 -j ACCEPT
iptables -I INPUT -p tcp --dport 4672 -j ACCEPT
iptables -I INPUT -p udp --dport 5765 -j ACCEPT
iptables -I INPUT -p tcp --dport 5761 -j ACCEPT
iptables -I INPUT -p tcp --dport 6881 -j ACCEPT
iptables -I INPUT -p tcp --dport 6882 -j ACCEPT
iptables -I INPUT -p tcp --dport 11259 -j ACCEPT
iptables -I INPUT -p udp --dport 11259 -j ACCEPT
iptables -I INPUT -p udp --dport 19700 -j ACCEPT
iptables -I INPUT -p tcp --dport 19700 -j ACCEPT
iptables -I INPUT -p tcp --dport 6885 -j ACCEPT
iptables -I INPUT -p udp --dport 6885 -j ACCEPT
iptables -I INPUT -p tcp --dport 51777:51780 -j ACCEPT
iptables -I INPUT -p udp --dport 51777:51780 -j ACCEPT
回复

使用道具 举报

感谢 不知道分区是ext3么
回复

使用道具 举报

 楼主| | 显示全部楼层
我的系统分区是ext2,下载分区时ext3
回复

使用道具 举报

思考一下 楼主带宽多少 下载速度如何 稳定性?
回复

使用道具 举报

不知道32或者64m内存的路由能不能用
回复

使用道具 举报

老大 你的ftp是不是路由器啊 速度超慢 最快只有15k
回复

使用道具 举报

 楼主| | 显示全部楼层
是路由器的FTP,不过我测试了速度还可以啊,可能我正在下东西,哈哈,64m内存的路由没问题的
防火墙稍改了下,这下Mldonkey可以连4到5个服务器而且全是High ID。2MB ADSl稳定在160KB左右,最高时200KB/s
iptables -I INPUT -p tcp --dport 4662 -j ACCEPT
iptables -I INPUT -p udp --dport 4662 -j ACCEPT
iptables -I INPUT -p udp --dport 4665 -j ACCEPT
iptables -I INPUT -p tcp --dport 4665 -j ACCEPT
iptables -I INPUT -p udp --dport 4672 -j ACCEPT
iptables -I INPUT -p tcp --dport 4672 -j ACCEPT

iptables -I INPUT -p tcp --dport 6885 -j ACCEPT
iptables -I INPUT -p udp --dport 6885 -j ACCEPT
iptables -I INPUT -p tcp --dport 51777:51780 -j ACCEPT
iptables -I INPUT -p udp --dport 51777:51780 -j ACCEPT

iptables -I INPUT -p tcp --dport 6881 -j ACCEPT
iptables -I INPUT -p tcp --dport 6882 -j ACCEPT
iptables -I INPUT -p tcp --dport 15169 -j ACCEPT
iptables -I INPUT -p udp --dport 15173 -j ACCEPT
iptables -I INPUT -p tcp --dport 14656 -j ACCEPT
iptables -I INPUT -p udp --dport 14656 -j ACCEPT
iptables -I INPUT -p udp --dport 12447 -j ACCEPT
回复

使用道具 举报

 楼主| | 显示全部楼层
提醒下,我的包里面有tomato_dual_1.23.0432版本固件,想要的可以下
回复

使用道具 举报

这个Ghost包好,顶。
回复

使用道具 举报

思考下!!!!
回复

使用道具 举报

头像被屏蔽
虽然不用t的固件 但还是顶下楼主 辛苦了 要是能做个dd的包多好啊 z大的太老
回复

使用道具 举报

东西收下,顶一个。
回复

使用道具 举报

速度还是不行啊 郁闷
回复

使用道具 举报

tomato_dual_1.23.0432,为什么不压成包,下载老半天都下不来
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-15 05:56

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表