#1 2011-12-21 00:07:41
RT-N16 官方新版韌體 ASUSWRT RT-N16_3.0.0.x
何謂 ASUSWRT?
過去 ASUS 所推出的韌體常讓使用者詬病,常被抱怨的不是 bug 多就是穩定性不夠,相對也造就了使用者買了ASUS 的路由器卻跑去刷用第三方韌體的怪現象。若有開發過軟體經驗的朋友都知道,程式除錯的過程不如想像中的容易,常常為了修改某一個錯誤,卻又不小心多跑出了兩三個錯誤來,恨不得把整段砍掉從頭再練,難怪程式設計師的頭髮總是白得快、掉得更快。
為此 ASUS 為旗下的路由器制定了一套統一規格的程式碼,這個規格涵蓋了使用者管理介面及韌體基本功能等都使用同一套標準程式碼,他們把這套標準程式碼稱之為 ASUSWRT,並且把他公開 GPL 開放程式碼。就如同刷用 OpenWrt 或 DD-WRT 等第三方韌體的路由器,每一台機器都有著相同的操作介面及功能,雖然這些路由器使用的核心處理器是來自不同的廠家的晶片,主要原因就是在韌體開發時期,除了晶片核心驅動程式之外,都使用相同的標準程式模組。這樣的目的有很大的優勢,日後當有新產品推出時就可以馬上使用 ASUSWRT 模組,一方面 ASUSWRT 版本經過密集的更新維護,穩定性更勝以往。二來新產品使用 ASUSWRT 模組即可完成大半的開發工作,只要針對新增新的功能模組即可,無須從零開始,大幅縮短韌體開發時程。第三個好處是降低韌體維護成本,因為除錯工作負擔減少了,相對地延續產品的市場生命週期,所以即便是三年前推出的 RT-N16 長青機種,現在仍然可以享受韌體更新的服務。
自韌體版本 3.0.0.X 之後,ASUS 旗下主要的無線路由器如 RT-N16、RT-N66U 等皆改用 ASUSWRT 韌體介面,不僅操作介面煥然一新,功能也都全面翻新,經過密集更新維護,現階段的 ASUSWRT 的穩定性已有大幅的提升了。
ASUSWRT RT-N16_3.0.0.3
網路地圖:可以直接看到路由器網際網路的連線狀況、無線網路安全等級、目前已連線到這台路由器的電腦清單以及 USB 裝置連結的有無等資訊。
PPPoE Relay:因應少數特殊需求,區網內的電腦若需要取得外部 IP 時,PPPoE Relay 是個非常實用的功能。
IPv6:IPv4 的發放已使用殆盡,新推出的路由器支援 IPv6 已是勢在必行的一個功能。
家長電腦控制程式:家中小孩的用戶,若是想要限制家中小朋友上網的時間,則可以先選定電腦再進入時間管理的頁面來安排上網時間。
QoS 流量管理:流量管理頁面內具有自動模式與使用者自動 QoS 規則兩種選擇。在自動模式裡,使用者只需要打開 QoS 的選項開關,並設定想要限制的上傳或是下載頻寬的數值。
即時流量圖:不必羨慕 DD-WRT 或 Tomato,ASUSWRT 也已提供精美的即時流量圖。
運作模式:RT-N16 內建提供了無線路由器模式及無線 AP(Access Point) 模式。
IPTV:這一版本的 ASUSWRT 以支援 IPTV 功能,家裡有 MOD 的朋友,可以試試看這個功能。
可以指定 IPTV STB 使用哪些 port。
PPTP VPN Server:支援 PPTP VPN 功能,對於常出差的朋友,可以在遠端透過 internet 連回家裡存取重要資料,這是一個方便好用的功能。
UPnP 媒體伺服器:可以透過支援 DLNA 多媒體功能的設備(如 PS3、XBox 或智慧型電視等設備)播放 RT-N16 外接 USB 硬碟上的多媒體檔案。
支援 3G 上網備援:RT-N16 上的 USB 介面除了連接外接式硬碟或多功能事務機外,若外接 USB 3G 網卡,則可以做為備援連線裝置。
Web 版 Download Master,終於可以丟掉視窗版 Download Master 了。
連訊息都很 RTN66U
telnet 進去看各項資訊
RT-N16 login: admin
Password:
ASUSWRT RT-N16_3.0.0.3 Fri Dec 9 10:54:55 UTC 2011
admin@RT-N16:/# cat /proc/cpuinfo
system type : Broadcom BCM4716 chip rev 1 pkg 10
processor : 0
cpu model : MIPS 74K V4.0
BogoMIPS : 239.20
wait instruction : no
microsecond timers : yes
tlb_entries : 64
extra interrupt vector : no
hardware watchpoint : yes
ASEs implemented : mips16 dsp
shadow register sets : 1
VCED exceptions : not available
VCEI exceptions : not available
unaligned_instructions : 6
dcache hits : 2147483648
dcache misses : 2122177023
icache hits : 2147483648
icache misses : 3127232953
instructions : 2147483648
admin@RT-N16:/# cat /proc/meminfo
MemTotal: 126556 kB
MemFree: 88436 kB
Buffers: 5528 kB
Cached: 16048 kB
SwapCached: 0 kB
Active: 11772 kB
Inactive: 13576 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 126556 kB
LowFree: 88436 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 3780 kB
Mapped: 3544 kB
Slab: 7324 kB
SReclaimable: 1092 kB
SUnreclaim: 6232 kB
PageTables: 412 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 63276 kB
Committed_AS: 10668 kB
VmallocTotal: 1015800 kB
VmallocUsed: 4688 kB
VmallocChunk: 1009112 kB
admin@RT-N16:/# cat /proc/version
Linux version 2.6.22.19 (root@asus) (gcc version 4.2.4) #1 Fri Dec 9 19:06:30 CST 2011
admin@RT-N16:/# cat /proc/partitions
major minor #blocks name
31 0 256 mtdblock0
31 1 32384 mtdblock1
31 2 17302 mtdblock2
31 3 14080 mtdblock3
31 4 128 mtdblock4
admin@RT-N16:/# ps
PID USER VSZ STAT COMMAND
1 admin 1844 S /sbin/init noinitrd
2 admin 0 SW< [kthreadd]
3 admin 0 SWN [ksoftirqd/0]
4 admin 0 SW< [events/0]
5 admin 0 SW< [khelper]
17 admin 0 SW< [kblockd/0]
44 admin 0 SW [pdflush]
45 admin 0 SW< [kswapd0]
46 admin 0 SW< [aio/0]
90 admin 0 SW< [mtdblockd]
107 admin 0 SW< [kmmcd]
284 admin 608 S hotplug2 --persistent --no-coldplug
330 admin 1832 S console
331 admin 1504 S /bin/sh
337 admin 0 SW< [khubd]
456 admin 1840 S ots
519 admin 1004 S lpd
544 admin 1840 S ntp
604 admin 1840 S usbled
643 admin 1892 S /sbin/wanduck
658 nobody 1236 S dnsmasq -c 1500 --log-async -n
659 admin 1924 S httpd
660 admin 916 S /usr/sbin/infosvr br0
663 admin 1840 S watchdog
665 admin 952 S rstats
671 admin 980 S lld2d br0
733 admin 884 S udhcpc -i eth0 -p /var/run/udhcpc0.pid -s /tmp/udhcpc
945 admin 908 S /bin/eapd
948 admin 1236 S nas
949 admin 1764 S /bin/wps_monitor
960 admin 912 S networkmap
962 admin 1936 S u2ec
968 admin 1936 S u2ec
969 admin 1936 S u2ec
1084 admin 1492 S syslogd -m 0 -S -O /tmp/syslog.log -s 256 -l 7
1086 admin 1492 S /sbin/klogd
1096 admin 1496 S telnetd
1102 admin 1508 S -sh
1253 admin 0 SW< [scsi_eh_0]
1254 admin 0 SW< [usb-storage]
1307 admin 2344 S nmbd -D -s /etc/smb.conf
1310 admin 3208 S N smbd -D -s /etc/smb.conf
1372 admin 1392 S vsftpd /etc/vsftpd.conf
1377 admin 5232 S minidlna -f /etc/minidlna.conf
1378 admin 5232 S minidlna -f /etc/minidlna.conf
1379 admin 2132 S mt-daapd -m
1381 admin 908 S mDNSResponder 192.168.1.1 thehost RT-N16 _daap._tcp. 3689
1382 admin 5232 S N minidlna -f /etc/minidlna.conf
1383 admin 2132 S mt-daapd -m
1384 admin 2132 S mt-daapd -m
1385 admin 2132 S mt-daapd -m
3152 admin 0 SW [pdflush]
4987 admin 10868 S ./dm2_amuled -c /opt/etc/dm2_amule/
4988 admin 428 S ./dm2_snarfmaster
4990 admin 4596 S ./dm2_transmission-daemon -w /tmp/mnt/sda1/Download2/Complete -g /tmp/mnt/sda1/Download2/config -G /tmp/mnt/sda1/Download2/ --incomplete-dir /tmp/mnt/sda1/Downlo
4991 admin 7752 S ./dm2_nzbget -D
4992 admin 4416 S ./dm2_lighttpd -Df /opt/etc/dm2_lighttpd.conf
4997 admin 4596 S ./dm2_transmission-daemon -w /tmp/mnt/sda1/Download2/Complete -g /tmp/mnt/sda1/Download2/config -G /tmp/mnt/sda1/Download2/ --incomplete-dir /tmp/mnt/sda1/Downlo
4998 admin 4596 S ./dm2_transmission-daemon -w /tmp/mnt/sda1/Download2/Complete -g /tmp/mnt/sda1/Download2/config -G /tmp/mnt/sda1/Download2/ --incomplete-dir /tmp/mnt/sda1/Downlo
5002 admin 7752 S ./dm2_nzbget -D
5003 admin 7752 S ./dm2_nzbget -D
5004 admin 7752 S ./dm2_nzbget -D
5007 admin 4596 S ./dm2_transmission-daemon -w /tmp/mnt/sda1/Download2/Complete -g /tmp/mnt/sda1/Download2/config -G /tmp/mnt/sda1/Download2/ --incomplete-dir /tmp/mnt/sda1/Downlo
5009 admin 7752 S ./dm2_nzbget -D
5010 admin 10868 S ./dm2_amuled -c /opt/etc/dm2_amule/
5012 admin 10868 S ./dm2_amuled -c /opt/etc/dm2_amule/
5014 admin 10868 S ./dm2_amuled -c /opt/etc/dm2_amule/
6232 admin 740 S miniupnpd -f /etc/upnp/config
10938 admin 1496 R ps
admin@RT-N16:/#
內建ipkg
admin@RT-N16:/# ipkg
ipkg: ipkg must have one sub-command argument
ipkg version 0.99.163
usage: ipkg [options...] sub-command [arguments...]
where sub-command is one of:
..........
regexp could be something like 'pkgname*' '*file*' or similar
eg: ipkg info 'libstd*' or ipkg search '*libop*' or ipkg remove 'libncur*'
admin@RT-N16:/# ipkg list_installed
downloadmaster - 2.1.0.35 -
ipkg-opt - 0.99.163-10 - The Itsy Package Manager
libcurl - 7.21.7-1 - Curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FI
libevent - 2.0.11-1 - libevent to implement an event loop
libpar2 - 0.2-5 - A library for performing common tasks related to PAR recovery sets
libsigc++ - 2.2.3-1 - libsigc++ implements a typesafe callback system for standard C++.
libuclibc++ - 0.2.2-9 - C++ standard library designed for use in embedded systems
libxml2 - 2.7.8-1 - Libxml2 is the XML C parser and toolkit developed for the Gnome project.
ncurses - 5.7-1 - NCurses libraries
openssl - 0.9.7m-5 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari
pcre - 8.20-1 - Perl-compatible regular expression library
spawn-fcgi - 1.6.3-1 - spawn-fcgi is used to spawn fastcgi applications
uclibc-opt - 0.9.28-13 - micro C library for embedded Linux systems
zlib - 1.2.5-1 - zlib is a library implementing the 'deflate' compression system.
Successfully terminated.
admin@RT-N16:/# ipkg update
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/optware.oleg
Downloading http://dlcdnet.asus.com/pub/ASUS/wireless/ASUSWRT/Packages.gz
wget: server returned error: HTTP/1.1 404 Not Found
An error ocurred, return value: 1.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget -q -P /opt/ipkg-CrS4md http://dlcdnet.asus.com/pub/ASUS/wireless/ASUSWRT/Packages.gz'
admin@RT-N16:/#
syslog
Jan 1 00:00:11 syslogd started: BusyBox v1.17.4
Jan 1 00:00:11 kernel: klogd started: BusyBox v1.17.4 (2011-12-09 18:54:53 CST)
Jan 1 00:00:11 kernel: Linux version 2.6.22.19 (root@asus) (gcc version 4.2.4) #1 Fri Dec 9 19:06:30 CST 2011
Jan 1 00:00:11 kernel: CPU revision is: 00019740
Jan 1 00:00:11 kernel: Determined physical RAM map:
Jan 1 00:00:11 kernel: memory: 07fff000 @ 00000000 (usable)
Jan 1 00:00:11 kernel: Zone PFN ranges:
Jan 1 00:00:11 kernel: Normal 0 -> 32767
Jan 1 00:00:11 kernel: HighMem 32767 -> 32767
Jan 1 00:00:11 kernel: early_node_map[1] active PFN ranges
Jan 1 00:00:11 kernel: 0: 0 -> 32767
Jan 1 00:00:11 kernel: Built 1 zonelists. Total pages: 32767
Jan 1 00:00:11 kernel: Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200
Jan 1 00:00:11 kernel: Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Jan 1 00:00:11 syslog: module ledtrig-usbdev not found in modules.dep
Jan 1 00:00:11 syslog: module leds-usb not found in modules.dep
Jan 1 00:00:11 kernel: CPU: BCM4716 rev 1 pkg 10 at 480 MHz
Jan 1 00:00:11 kernel: Using 240.000 MHz high precision timer.
Jan 1 00:00:11 kernel: console [ttyS0] enabled
Jan 1 00:00:11 kernel: Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Jan 1 00:00:11 kernel: Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Jan 1 00:00:11 kernel: Memory: 126292k/131068k available (2411k kernel code, 4636k reserved, 504k data, 124k init, 0k highmem)
......
Jan 1 00:00:11 kernel: IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Jan 1 00:00:11 kernel: TCP established hash table entries: 4096 (order: 3, 32768 bytes)
Jan 1 00:00:11 kernel: TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
Jan 1 00:00:11 kernel: TCP: Hash tables configured (established 4096 bind 4096)
......
Jan 1 00:00:11 kernel: HDLC line discipline: version $Revision: 4.8 $, maxframe=4096
Jan 1 00:00:11 kernel: N_HDLC line discipline registered.
Jan 1 00:00:11 kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
Jan 1 00:00:11 kernel: serial8250: ttyS0 at MMIO 0xb8000300 (irq = 8) is a 16550A
Jan 1 00:00:11 kernel: PPP generic driver version 2.4.2
Jan 1 00:00:11 kernel: MPPE/MPPC encryption/compression module registered
Jan 1 00:00:11 kernel: NET: Registered protocol family 24
Jan 1 00:00:11 kernel: PPPoL2TP kernel driver, V0.18.3
Jan 1 00:00:11 kernel: PPTP driver version 0.8.5
......
Jan 1 00:00:11 kernel: Creating 5 MTD partitions on "Physically mapped flash":
Jan 1 00:00:11 kernel: 0x00000000-0x00040000 : "pmon"
Jan 1 00:00:11 kernel: 0x00040000-0x01fe0000 : "linux"
Jan 1 00:00:11 kernel: 0x0013a800-0x01220000 : "rootfs"
Jan 1 00:00:11 kernel: 0x01220000-0x01fe0000 : "jffs2"
Jan 1 00:00:11 kernel: 0x01fe0000-0x02000000 : "nvram"
Jan 1 00:00:11 kernel: Found an serial flash with 0 0KB blocks; total size 0MB
Jan 1 00:00:11 kernel: sflash: found no supported devices
Jan 1 00:00:11 kernel: _nvram_init: allocat header: 2165702656, size= 32768
Jan 1 00:00:11 kernel: sdhci: Secure Digital Host Controller Interface driver
Jan 1 00:00:11 kernel: sdhci: Copyright(c) Pierre Ossman
Jan 1 00:00:11 kernel: u32 classifier
Jan 1 00:00:11 kernel: OLD policer on
Jan 1 00:00:11 kernel: Netfilter messages via NETLINK v0.30.
Jan 1 00:00:11 kernel: nf_conntrack version 0.5.0 (1024 buckets, 8192 max)
......
Jan 1 00:00:11 kernel: net/ipv4/netfilter/tomato_ct.c [Dec 9 2011 19:05:54]
......
Jan 1 00:00:11 kernel: eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.100.138.9
Jan 1 00:00:11 kernel: Algorithmics/MIPS FPU Emulator v1.5
Jan 1 00:00:11 kernel: wl_module_init: passivemode set to 0x0
Jan 1 00:00:11 kernel: eth1: Broadcom BCM4329 802.11 Wireless Controller 5.100.138.9
......
Jan 1 00:00:12 kernel: Initializing USB Mass Storage driver...
Jan 1 00:00:12 kernel: usbcore: registered new interface driver usb-storage
Jan 1 00:00:12 kernel: USB Mass Storage support registered.
Jan 1 00:00:12 kernel: ufsd: driver 8.5 (U85_S[2011-11-01-13:41:37]) LBD=ON with ioctl loaded at c020c000
Jan 1 00:00:12 kernel: NTFS support included
Jan 1 00:00:12 kernel: Built_for__asus_n66u_2011-10-27
Jan 1 00:00:12 kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Jan 1 00:00:12 kernel: ehci_hcd 0000:00:04.1: EHCI Host Controller
Jan 1 00:00:12 kernel: ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 1
Jan 1 00:00:12 kernel: ehci_hcd 0000:00:04.1: EHCI Fastpath: New EHCI driver starting
......
Dec 20 03:21:23 iTunes Server: daemon is started
Dec 20 03:21:23 mt-daapd[1379]: Starting signal handler
Dec 20 03:21:24 mt-daapd[1379]: Loading playlists
Dec 20 03:21:24 mt-daapd[1379]: Initializing database
Dec 20 03:21:24 mt-daapd[1379]: Starting mp3 scan
Dec 20 03:21:25 mt-daapd[1379]: Starting web server from /rom/etc/web on port 3689
Dec 20 03:21:25 mt-daapd[1379]: Scanned 11 songs in 2 seconds
......
Dec 20 03:32:30 transmission-daemon[4990]: Transmission 2.21 (11855) started (session.c:723)
韌體下載:http://www.asus.com/tw/Networking/RTN16 … t_Download
使用心得:
1.Download Master 已改用 Transmission,可以準備移除視窗版 Download Master 了
2.有 RT-N66U 的影子
3.開始用 Tomato 原始碼
4.套用變更設定時,等待時間明顯縮短有 Tomato 的 Fu
官方體驗網站:http://event.asus.com/2012/nw/dummy_ui/en/
技術問題請於論壇上集眾人之力公開討論,感恩
離線
#3 2011-12-21 05:37:09
Re: RT-N16 官方新版韌體 ASUSWRT RT-N16_3.0.0.x
ASUS 早該這樣幹了,希望ASUS也能對Tomato有所回饋。
記得ASUS先前的官方韌體版本,有一大幅勝出各家第三方韌體之處,就是WAN to LAN Throughput,不知道這官方新版表現如何。
而且在網路速度5M/5M下,ASUS Download Master(其實是Transmission),竟然有上下傳都達450KBps(參考http://klseet.com/index.php?option=com_ … Itemid=115)。以前我用optware裝Transmission 在N-16跑熱門檔速度都很悲劇,而且Loading 很重,後來我都不這樣做,寧願用NAS or PC快太多了。
離線
相關討論主題
主題 | 回覆 | 點閱 | 最後發表 |
---|---|---|---|
置頂 |
132 | 372836 | 2022-06-07 10:13:50 作者 dennys |
Asuswrt 迅雷會員下載要怎樣做? 作者 wongon
|
0 | 6262 | 2015-08-28 16:54:18 作者 wongon |
2 | 15877 | 2013-11-09 01:58:33 作者 Xvon |