|
前段时间买了个7231-4p/4m/64m/usb,一直没空玩,昨天玩了一天,感觉还不错
首先这个路由器就是一个微型的linux
1、telnet后用help查看的命令只是一部分,全部的命令在/bin下面,如ls,rm,top,vi
这是top看到的情况:
Mem: 15676K used, 46972K free, 0K shrd, 1984K buff, 6432K cached
CPU: 2.1% usr 7.0% sys 0.0% nice 90.7% idle 0.0% io 0.0% irq 0.0% softirq
Load average: 0.10 0.05 0.01
PID PPID USER STAT VSZ %MEM %CPU COMMAND
151 1 root S 1852 2.9 3.5 httpd -p 80
3198 3194 root R 1108 1.7 2.1 top
669 1 root S 1100 1.7 0.7 telnetd
886 1 root S 1636 2.6 0.0 pppd file /tmp/ppp/options.pppoe
868 1 root S 1532 2.4 0.0 dropbear -b /tmp/loginprompt -r /tmp/r
891 1 root S 1204 1.9 0.0 /tmp/ppp/redial 30
13 1 root S 1204 1.9 0.0 watchdog
1 0 root S 1168 1.8 0.0 /sbin/init noinitrd
896 1 root S 1168 1.8 0.0 ttraff
1039 1 root S 1168 1.8 0.0 process_monitor
1228 1 root S 1164 1.8 0.0 wland
3194 669 root S 1120 1.7 0.0 -sh
681 1 root S 812 1.2 0.0 dnsmasq --conf-file=/tmp/dnsmasq.conf
858 1 root S 700 1.1 0.0 cron
3 1 root SWN 0 0.0 0.0 [ksoftirqd_CPU0]
9 1 root SW 0 0.0 0.0 [mtdblockd]
79 1 root SWN 0 0.0 0.0 [jffs2_gcd_mtd4]
2 1 root SW 0 0.0 0.0 [keventd]
5 1 root SW 0 0.0 0.0 [bdflush]
6 1 root SW 0 0.0 0.0 [kupdated]
4 1 root SW 0 0.0 0.0 [kswapd]
软件的web界面应该就是httpd了,telnet的就是我telnet进去的进程
2、软件的安装使用ipkg,和freebsd的pkg有点象
ipkg的参数如下:
ipkg: ipkg must have one sub-command argument
usage: ipkg [options...] sub-command [arguments...]
where sub-command is one of:
Package Manipulation:
update Update list of available packages
upgrade Upgrade all installed packages to latest version
install <pkg> Download and install <pkg> (and dependencies)
install <file.ipk> Install package <file.ipk>
install <file.deb> Install package <file.deb>
remove <pkg> Remove package <pkg>
Informational Commands:
list List available packages and descriptions
files <pkg> List all files belonging to <pkg>
search <file> Search for a packaging providing <file>
info [pkg [<field>]] Display all/some info fields for <pkg> or all
status [pkg [<field>]] Display all/some status fields for <pkg> or all
depends <pkg> Print uninstalled package dependencies for <pkg>
Options:
-d <dest_name> Use <dest_name> as the the root directory for
-dest <dest_name> package installation, removal, upgrading.
<dest_name> should be a defined dest name from t
he
configuration file, (but can also be a directory
name in a pinch).
-o <offline_root> Use <offline_root> as the root for offline insta
llation.
-offline <offline_root>
Force Options (use when ipkg is too smart for its own good):
-force-depends Make dependency checks warnings instead of error
s
-force-defaults Use default options for questions asked by ipkg.
(no prompts). Note that this will not prevent
package installation scripts from prompting.
update就是更新软件包列表,list查看安装的软件
7231的cpu有200,内存64m的话,这个配置安装很多软件都可以的了
听说discuz能搞,应该是用的apache+mysql,当然有php,如此说来,一般linux或unix能用的软件,比如wiki,只要有简化版,都可以安装(纯猜测,哪位大大验证过?)
3、拆开了7231,研究了下天线,路由器提供的天线接头是“N公头”,天线的远端是“h.fl”
百度了下,h.fl接头的图
要接大天线的话,要搞个一头是h.fl,另一头是SMA或TNC的线
SMA接头就是下图右侧带铜的接头(引用了ink 大大的图,在此表示感谢)
上面是一天的部分感想,有错漏请各位大大指正
最后问下个问题,接天线的馈线的损耗的公式是如何计算的(3m减1db吗?),接头的损耗又如何计算呢
[ 本帖最后由 bluematch 于 2008-10-19 10:32 编辑 ] |
|