|
本帖最后由 jacobhere 于 2010-6-11 13:31 编辑
华硕的RT-N16是好东西,国内卖1000多块,我80美刀拿下的。
资料列下:
BCM4716的CPU,主频高达480M,可以超频至533M
32M的Flash
128M的DDR2内存
支持高达30W的并发数
带2个USB2.0接口
官方的固件就可以ipkg安装oleg的软件包,完全不需要刷DD之类的东东
这种配置别说嵌入式Linux了,就连windows都能跑了
OK, 说说怎么刷第三方固件。
这个路由国内少见,资料也少,英文资料的思路大多是,先刷dd的mini版,然后restore factory setting。就可以刷mega版和tomato了,刷好以后还要restore factory setting。
我的做法如下:
1. 在asus的固件下刷mini版,如下
dd-wrtv24-13491_newd-2_k26_mini_rt-n16
2. Administration - Factory Defaults
3. 刷Tomato或dd mega版
dd-wrtv24-14311_newd-2_k26_big
tomato-ndusb-9042rtn16-beta02-ext
不要reload factory default否则会有各种各样的问题
这样做出来的tomato和dd mega所有功能正常,可以做repeater,可以做client,或者bridge
这是一个最新的,最简单的在路由上使用Optware的方法, 建议你使用一个带usb的路由,以及最新的DD-Wrt版本。
USB版本的用户,请不要用JFFS2,禁用它。另外有些服务很占CPU资源,比如Twonky,使用它们请确保你的硬件足够强大。
下面以DD-WRT的Mega版本为例,演示如何安装Optware。
首先,准备一个usb存储器,可以是u盘,可以是移动硬盘。格式化城ext3格式。因为这个格式支持最好。
分区格式化可以用linux系统,或者xp下用Paragon.Partition.Manager.Professional。
在Services -> USB把所有support都enable。
Disk Mount Point设置成/opt,保存重启。
telnet或者ssh进入路由,用putty工具。
执行mount,可以见到如下提示
root@DD-WRT:~#mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/scsi/host0/bus0/target0/lun0/part1 on /opt type ext3 (rw)
root@DD-WRT:~#
证明硬盘已经挂在上。
用以下命令安装Optware
wget -O /tmp/prep_optware http://wd.mirmana.com/prep_optware
sh /tmp/prep_optware
这个过程大概需要10-20分钟。
安装好后过一分钟重启路由。
启动好后一分钟后登陆ssh或者telnet
登陆后用mount查看磁盘挂载情况,用df -h查看磁盘容量。
执行service命令可以看到当前服务运行情况
service命令可带参数见下:
service - show all services (enabled/disabled)
service <service name> - if “status” parameter is supported, will show service status, otherwise will show whether specified service is running
service <service name> on - Enable the script, allowing execution (chmod +x /opt/etc/init.d/S<servicescript>)
service <service name> off - Disable the script, disallowing execution (chmod -x /opt/etc/init.d/S<servicescript>)
service <service name> start - Start/execute the script, as long as service is enabled (i.e. permissions allow execution)
service <service name> stop Stop/kill the script, if the service is running
service <service name> restart Stop/kill the script, if the service is running, and then start/execute the script, as long as service is enabled
service <service name> <parameter> - Run the script with the parameter.
我们首先要启用xinetd,这个打印服务需要
service xinetd on
service xinetd start
Twonky很占cpu,禁用之
service twonky stop
service twonky off
OK,到此为止,Optware安装完成,试试打印,bt呗~
要用打印功能,要开启Watchprinter
service watchprinter on
service watchprinter start
试用结果:
无线打印10M的PDF文件完美,BT下载全速3M/s一夜无死机,内存占用120M/128M
刚到手的华硕N16,把玩了一个晚上,自己翻译+修改了些内容,希望大家喜欢
增加:prep_optware下载:
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|