01 五月, 2007 01:19
cloned_interfaces="carp0"
ifconfig_carp0="vhid 1 pass mypass 192.168.88.110/24"
cloned_interfaces="carp0"
ifconfig_carp0="vhid 1 advskew 100 pass mypass 192.168.88.110/24"
28 四月, 2007 05:58
今天尝试了在FreeBSD下无线上网了,呵呵。
配置使用笔记:
http://wiki.isyi.com/index.php/FreeBSD%E4%B8%8B%E4%BD%BF%E7%94%A8TP-LINK%E6%97%A0%E7%BA%BF%E7%BD%91%E5%8D%A1
25 四月, 2007 17:35
最近由于有这样的需求,找了很多短信猫相关的资料。
其中smstools,gsmlib是unix下 开源中比较好的两个短信猫接口。
我选择了smstools,它支持的硬件比较多。
http://www.meinemullemaus.de/smstools/
在笔记本上安装了smstools了,还没有短信猫,还不能进一步调试。
17 二月, 2007 17:25
要设置mrxvt的快捷键非常简单。他本身已经提供了一个默认的配置文件,但是需要我们自己手工来重新命名才能使用。
进入存放默认配置文件的目录:
cd /usr/X11R6/etc/mrxvt/
拷贝默认配置文件应用:
cp mrxvtrc.sample /root/.mrxvtrc
解决mrxvt: Could not open file default.menu 问题:
cp default.menu.sample default.menu
cp submenus.menu.sample submenus.menu
注意,这两个文件只需要在当前目录就可以了。
09 一月, 2007 06:50
http://www.nongnu.org/gcmd/keys.html
Keyboard mapping for GNOME Commander v1.2
-----------------------------------------
F1 Help
F2 Refresh files in the active file list
F3 View files
F4 Edit files
F5 Copy files
F6 Rename or move files
F7 Create directory
F8 Delete files
F9 Search
F10 Quit
ALT+1 Change left connection
ALT+2 Change right connection
ALT+F3 View with external viewer
ALT+F7 Search
ALT+F8 Open the history list for the command line
SHIFT+F2 Compare directories
SHIFT+F3 View with internal viewer
SHIFT+F4 Edit a new file
SHIFT+F5 Make a copy a file in the current directory
SHIFT+F6 Rename a file
SHIFT+F10 Bring up the context menu for the selected files
CTRL+F3 Sort by name
CTRL+F4 Sort by extension
CTRL+F5 Sort by date/time
CTRL+F6 Sort by size
CTRL+F7 Unsorted
CTRL+SHIFT+F5 Create symbolic link
= Select files using a pattern
NUM + Select files using a pattern
NUM - Unselect files using a pattern
NUM * Invert selection
NUM / Restore selection
CTRL+NUM + Select all files
CTRL+NUM - Unselect all files
CTRL+= Select all files
CTRL+- Unselect all files
ALT+NUM + Select all files with the same extension
ALT+NUM - Unselect all files with the same extension
CTRL+A Select all files
CTRL+SHIFT+A Unselect all files
INSERT Select file or directory
SPACE Select file or directory (as INSERT). If SPACE is used on an
unselected directory under the cursor, the contents in this
directory are counted and the size is shown in the "full" view
instead of the string <DIR>
ALT+ENTER Show properties for the selected file
ALT+SHIFT+ENTER The contents of all directories in the current directory are
counted. The sizes of the directories are then shown in the
"full" view instead of the string <DIR>
BACKSPACE or LEFT or CTRL+PageUp
Change to parent directory (cd ..)
ENTER Change directory or execute command line if not empty
SHIFT+ENTER Execute command line in the defined terminal and leaves the
terminal window open
RIGHT or CTRL+PageDown
Change directory
ALT+LEFT Go back to the last visited directory
ALT+RIGHT Go forward to the next visited directory
CTRL+ Go to the root directory
CTRL+` Go to the home directory
DELETE Delete files
CTRL+C Copy files to clipboard (not a global one yet)
CTRL+X Cut files to clipboard (not a global one yet)
CTRL+V Paste from clipboard to current dir (not a global one yet)
CTRL+D Open favourite directories (bookmarks)
CTRL+M Multi-Rename-Tool
CTRL+T Multi-Rename-Tool
TAB Switch between left and right file list
CTRL+U Switch between left and right file list
CTRL+. Copy the current working directory from the inactive file-list
to the active one
CTRL+SHIFT+. Copy the current working directory from the active file-list
to the inactive one
CTRL+R Refresh the active file list
CTRL+O Options dialog
CTRL+SHIFT+H Toggle hidden files on/off
CTRL+SHIFT+= Set both panels equal
CTRL+G FTP Quick Connect
CTRL+F Connect to FTP server
CTRL+SHIFT+F Disconnect from FTP server
ALT+Letter(s)
CTRL+ALT+Letter(s)
Quick search for a file name (starting with specified letter)
in the current directory
Letter Redirect to command line, cursor jumps to command line
ESC Clear the command line
CTRL+K Delete to the end of line
CTRL+W Delete the word to the left of the cursor
CTRL+T Delete the word to the right of the cursor
CTRL+P Add the full path of the current directory to the command line
CTRL+ENTER Add the file name under the cursor in the source directory
to the end of the command line
CTRL+SHIFT+ENTER
Add the file name under the cursor including its path
to the end of the command line
CTRL+DOWN or ALT+F8
A list with the latest command lines (history list) is opened.
Use the UP and DOWN cursor keys to select an entry. By pressing
the LEFT or RIGHT key, you can edit the command line. This
automatically closes the list
03 一月, 2007 09:19
02 一月, 2007 19:46
昨天看到一篇博客说gaim-2.0.0beta5直接支持qq了。
我也到posts里make了一个,果然直接就支持qq了,不需要另外再安装openq。
不过用户多个帐号登录方面,觉得不如1.5版的方便。
但是运行qq时,没有以前那么耗资源了。
01 一月, 2007 22:59
之前为在X桌面上使用支持简体中文的终端而烦恼。rxvt只支持繁体,xterm支持也不好。
有段时间用Eterm,很不幸,刚安装好,可以使用。但是重启后,就不能使用了。懒得调试,还是找个好用,稳定些的吧。
于是跑到google上搜,别说摆渡了,怕了它。通过google,找到了mrxvt 。http://materm.sourceforge.net/
看说明对简体中文支持还是不错的。于是安装使用,感觉良好。下面介绍安装和配置方法。
29 十二月, 2006 23:49
电脑: PC, CPU: AMD 1800+, MEM: 728M, DISK: IDE 7200RPM 2M, 160G
系统: FreeBSD 6.1-RELEASE-p11
软件:
Apache-2.0.59
Lighttpd-1.4.13-1
nginx-0.5.5
测试机:
电脑: Latop IBM T20, P3-700, MEM: 256M
系统: FreeBSD 6.2-PRERELEASE
软件: WebBench 1.5
查看全文
22 十二月, 2006 19:16
PHP4默认是不支持SQLITE的,虽然可以下载扩展包来安装,但是那个只是支持 Sqlite2.8.17,并不支持SQLITE3。
然而以后的主流将是SQLITE3了,当然要想办法让自己的PHP4支持SQLITE3了。
查看全文
21 十二月, 2006 06:05
今天跑了一趟中关村,在海龙转了几圈才买好。
问了好多地方,竟然都没有256M及一下的CF卡,只有512M的。只好买了一个512M的CF卡。
CF2IDE转接卡更难找,2楼3楼问了个遍,都没有,甚至还有很多人说没有这样的卡。最终在4楼的一个摊上买到。一口气买了2个,一个笔记本2.5寸接口,一个台式机3.5寸接口。
重 新制作的miniBSD已经基本完成了,基于FreeBSD6.2RC1。安装了基本系统,另外还安装了lighttpd+php, bind9.3.3 , snmp4, openvpn2.0.6 。目前共25M,压缩后14M。其中bind9就占了5M,php 占了近3M。
等测试好后,再应用到小盒子上做网关。
21 十二月, 2006 05:53
1、安装: pkg_add -rv minicom
2、安装完成后,# rehash,然后运行# minicom 进行配置。配置和使用前最好查询一下minicom的man页,学习一下
它的键盘操作命令。注意,如果在/usr/local/etc/minicom/下没有etc目录,就要新建一个,用于保存配置文件。
3、进入minocom界面后,按Ctrl+A调出命令模式后,再按o命令,进入配置菜单。主要调整两样,一个是串口号,一个是波特率。
我的配置是:串口设置填/dev/cuad0,波特率部份填9600 8N1。
4、配置后,选择“Save setup as...”把它存为cisco。用X命令退出minicom。
5、用串行线连接电脑串口与交换机的控制口(Console)后,用# minicom 进入minicom即可。
20 十二月, 2006 02:57
2、ls -G 可显示彩色,不喜欢这个配色的话可自定一个环境变量(好像是LSCOLORS),看看man 就明白了。还有一个方法就是安装 GNU ls。
28 十一月, 2006 05:54
从22号开始,将笔记本的系统换成FreeBSD6.2RC1,连续花了5天时间来配置和安装应用软件和开发环境。
今天已经开始在FreeBSD 环境里开始工作了。
安装了 OpenOffice 2.0.3
geany,bluefish,stardict2,firefox2,esvn,rapidsvn,lighttpd,mysql,php,thunderbird等等应用软件。
完整的安装配置过程,还需要时间整理出来。
小结一下,就要做好充分的心理准备,要坚持,要改变自己的习惯,去适应新的环境和工具的使用习惯。
几天下来,会发现很多要用的几乎都有,没有太大的不适应。
23 十一月, 2006 06:09
a. 修改/etc/rc.conf,添加此行
设置控制台分辨率为800x600
c. 需要在内核中加入以下选项
options VESA
options SC_PIXEL_MODE
查看全文




