Workable firmware: 3.0.0.4.374_257
Situation: When WAN is disconnected at any reason, any http connection will redirect to ASUS default error page, you will lost the original url.
Solution:
1. For any other version may work : please follow this link
http://www.smallnetbuilder.com/forums/showthread.php?p=129368
2. For the workable firmware and any other official or merlin firmwares, try below command:
1. Enable telnet at Admin console and login telnet with the same id/password
2. Make sure you have the possible supported firmware, check by nvram:
1. nvram show | grep direct
web_redirect=3
2. find / -name wanduck
/sbin/wanduck
3. Execute command to change redirect value
1. nvram set web_redirect=0
2. nvram commit
4. restart wanduck
1. ps | grep wanduck
849 admin 2188 S /sbin/wanduck
859 admin 1536 S grep wanduck
2. kill -9 849
3. /sbin/wanduck &
3. OK now you disable the error page. If you are using IE7/8, make sure you clear the cache then close all IE then try again.
PS.
1. This method only disable at run time, will be restore when AP restart, if anyone willing to let me know where's the source code....:P
2. I dig this out by AsusMerlin, seems the source of official version but not sure yet.
rotalume wrote:
Workable f...(恕刪)
的確是很好的己決方案 不過有些人應該看不懂 這邊我來簡單翻譯一下
這邊其實是在講 在N66U解決一旦網際網路斷線時 電腦的網頁會自動跳到ASUS錯誤訊息的解決方法
而目前測試過OK的韌體是3.0.0.4.374_257版
解決方法
1. 如果你是其他版本的N66U 可以到這個網頁找到解決方法
2. 如果你剛好是3.0.0.4.374_257版的官方韌體或是基於這個版本下去修改的merlin版韌體
那麼你可以照以下步驟來做
a. 使用Telnet登入路由器 帳號密碼分別為妳在網頁登入時的帳號密碼
b. 先檢查你的韌體是否可以支援這個做法 先輸入
nvram show | grep direct
如果顯示出來的是web_redirect=3 表示OK
再輸入
find / -name wanduck
如果顯示 /sbin/wanduck 表示支援
c. 執行以下指令
nvram set web_redirect=0
nvram commit
d. 接著將wanduck做重置動作
ps | grep wanduck
會顯示類似以下的資訊
849 admin 2188 S /sbin/wanduck
859 admin 1536 S grep wanduck
注意看/sbin/wanduck那一行開頭的號碼是多少 接著輸入
kill -9 <開頭號碼>
接著 再輸入
/sbin/wanduck &
e. 到此 設定就完成了 如果你是使用IE的話 請確保將IE快取整個清除+IE關掉重開
P.S 1:目前這個方法只有在這次路由器開機的時候才有效 一旦路由器重開機 就得再執行一次
(可能要找個方法將這些指令寫入到開機指令中)
P.S 2:樓主表示他是從Merlin版的韌體發現這個解決方法 他表示他雖然不確定 但應該跟原廠韌體一樣才是
And you can check the link, someone has mentioned this issue but I cant write it into jffs folder and could not find rc.d or init.d. But maybe crondtab is a way that you can do it day or some sorts of that.
AKSN74 wrote:
的確是很好的己決方案...(恕刪)
內文搜尋

X