Showing posts with label Other. Show all posts
Showing posts with label Other. Show all posts

Wednesday, December 06, 2006

SMC Skype Phone WSKP100 試用心得

想了很久終於買了 SMC Skype Phone
開始脫離用耳機講電話的日子

試用的結果 感覺很簡單容易上手
就好像是在用一般手機一樣
唯一不同的是 我們是用來講 Skype
只是很好笑的是 在設定的過程中
我發現我過去做了一件蠢事
我以前居然是把無線 AP 當作無線 HUB 來用
我把中華電信的線路接到 LAN Port 了
要不是 SMC SKype Phone 無法撥接
否則我真的就這樣一直用下去

這一支真的覺得不錯用 按鍵的觸感也不錯
適合想給爸媽 或是不太懂電腦的人用
誠心推薦大家 難得好用的國產品

Thursday, November 23, 2006

vsftpd 使用 xinetd 限制 ip 連線的方法

vsftpd 要限制特定 ip 連線必須使用 xinetd

1. 編輯 vsftpd.conf
/etc/vsftpd/vsftpd.conf


1. listen=NO
2. tcp_wrappers=YES



2. 編輯 xinetd 的 vsftpd
# vi /etc/xinetd.d/vsftpd


# default: off
# description: The vsftpd FTP server serves FTP connections. It uses \
# normal, unencrypted usernames and passwords for authentication.
service ftp
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/vsftpd
server_args = /etc/vsftpd/vsftpd.conf
nice = 10
only_from = 127.0.0.1 192.168.0.1 192.168.0.2
}

3. 將舊的停掉
cd /etc/init.d/
mv vsftpd vsftpd.old

4. 重新啟動服務
chkconfig vsftpd on
service vsftpd start

Sunday, July 30, 2006

sim: set snmp location

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1025761

Tuesday, July 18, 2006

procmail msql

http://pank.org/blog/archives/000882.html

http://mt.freebsd.org.hk/archives/000029.html

Monday, July 17, 2006

php mail2db

#!/usr/local/bin/php -q

$fd = fopen("php://stdin","r");
while (!feof($fd)) {
$data = fgets($fd, 4096);

if ( eregi("^From:",$data) ) {

$email = eregi_replace( "From: ", "", $data);
$email = str_replace ("\n", "", "$email");
}

if ( eregi("^Subject:",$data) ) {

$subject = eregi_replace( "Subject: ", "", $data);
$subject = str_replace ("\n", "", "$subject");
}

if ( eregi("^Reply-To:",$data) ) {

$replyto = eregi_replace( "Reply-To: ", "", $data);
$replyto = str_replace ("\n", "", "$replyto");
}

if ( eregi("^To:",$data) ) {

$autoresponder = eregi_replace( "To: ", "", $data);
$autoresponder = eregi_replace( "<", "", $autoresponder); $autoresponder = eregi_replace( ">", "", $autoresponder);
$autoresponders = strstr($autoresponder, "@");
$id = str_replace ("$autoresponders", "", "$autoresponder");
}

$testdata = "$testdata$data";

}

fclose ($fd);

$body = strstr ($testdata, "\n\n");

Sunday, July 09, 2006

二孔插座的火線與地線

一般家庭的電源插座為二孔,且有可能插座上的標示是錯的,
一般水線的洞比較大,火線的洞比較小,
但因為施工單位有時不會注意施工品質而亂放

不知道是火線還是地線,去買驗電筆來測
使用方式:手碰驗點筆"最末端的金屬",
前端插入插座內驗電筆會發光表示那個是火線(有電),
另一個則是地線了~~

Sunday, April 09, 2006

小畫家武功秘笈

如果不喜歡複雜的繪圖軟體 有個 阿 Q 先生特別將他小畫家的武功秘笈貢獻給大家

http://home.kimo.com.tw/q3dc.tw/index.htm

其實看了真是不錯喔

對於不喜歡 Photoshop 圖層概念的人 小畫家功能雖少可是也是可以做很多效果喔

Ultimate Boot CD

Do you forget password on your windows box ?

Or you may need some diagnostic tools into one bootable CD.

Ultimate Boot CD can match your need!

Saturday, April 08, 2006

SSL-Explorer

SSL-Explorer is a web-based SSL VPN server and is provided by 3SP Ltd.

You can download GPL version at SourceForge web.

http://sourceforge.net/projects/sslexplorer/

You can install SSL-Explorer on Microsoft Windows XP/2000/2003 and Red Hat Linux 8.0.

It can support Active Directory authentication and UNIX authentication, or you can use Built-in database authentication if you want to manage accounts by yourself.

Monday, April 03, 2006

The first blog!

I would like write something about computer technology in this blog.