AutoCAD 3DMAX C语言 Pro/E UG JAVA编程 PHP编程 Maya动画 Matlab应用 Android
Photoshop Word Excel flash VB编程 VC编程 Coreldraw SolidWorks A Designer Unity3D
 首页 > Linux

DLINK-DSL500-BusyBox on dsl-gateway-初探(二)

51自学网 http://www.51zixue.net

原帖及讨论:http://bbs.bccn.net/thread-133532-1-1.html

不知不觉已经很晚了,晚上背着本本到自习室学习了,现在的世道啊,乱 。。。
我们这楼上丢了不少本本了,个个都比我的好啊,吓得我天天背着,毕竟要靠它吃饭啊 。。。

废话不说了,接着上一篇的说,thttpd web server是个不错的东西,dsl500用它构建了一个
方便的web管理系统,这应该是好事儿,可偏偏这些娃儿们把里面的东西搞得乱七八糟,“精简”了一堆好东东,下面我们就来发现一下,还有什么在这个小adsl里面。

先登录:
BusyBox on dsl-gateway login: root
Password:

BusyBox v0.61.pre (2004.01.30-22:03+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

然后:
=============================================
# cd /usr/www/html/
# ls
adv               home              logout.html       restart.html
applycancel.html  index.html        logout.js         setup
blank.html        index1.html       postform.frm      status
defs              js                redirect.html     tools
help              logout.frm        refresh.frm
===================================================
里面的adv文件夹就是一个被隐藏的高级设置选项,
这个操作系统原来是英文版本的,里面的配置页面也一样,但现在已经被改过了,
做了汉化工作,好事情嘛,毕竟国人的英语 。。。
但里面的不少东西都被“汉”丢了,这就不好了,你看上面的index.html和index1.html
接着看另外一个地方:
cd /usr/www/html/defs/style0/menus
# ls
menu.def           menu1_help.html    menu1_setup.html   menu1_top.def
menu.html          menu1_help.js      menu1_setup.js     menu1_top.html
menu1.def          menu1_home.def     menu1_status.def   menu1_top.js
menu1.html         menu1_home.html    menu1_status.html  menu_left.html
menu1_adv.def      menu1_home.js      menu1_status.js    menu_top.html
menu1_adv.html     menu1_logout.html  menu1_tools.def
menu1_adv.js       menu1_logout.js    menu1_tools.html
menu1_help.def     menu1_setup.def    menu1_tools.js
==============================================
如果没有猜错的话,加 1 的就是原来的,于是我打开
很熟悉吧,再看那个url:


看到了吧,好像比中文的时候多了些菜单哈,上面的Advanced,tools,status,help
点开看看那些被隐藏的东东:

==============================================================

看看Access Control的内容:

================================================

再来看看tools 。。。。

郁闷了,想贴个表格,结果提示我“日志超过最大字数”,看来得写个 初探(三)了啊 。。。

 

 

 
上一篇:DLINK-DSL500-BusyBox on dsl-gateway-初探(一)  下一篇:DLINK-DSL500-BusyBox on dsl-gateway-初探(三)