所以重灌 MS-Windows XP 以示慶祝!
喵的上完 SP2 還有 90 個 windows update 要裝... 囧rz...
Saturday, September 22, 2007
重灌 MS-Windows 最重要的事情
找個 IP 分享器擋在機器前面, 直到所有的 patch 都裝好... -_-b
Friday, September 21, 2007
CHT9100 當機的原因之一
最近我的行動電話 CHT9100 狂當機, 今天終於找到原因之一了.... SD 卡片上面有壞檔!
裝到電腦讀卡機上面做一下 Check Disk 修出一大堆 FOUND.xxx 的檔案出來, 裝回手機上似乎變正常了, 觀察一陣子看看.
裝到電腦讀卡機上面做一下 Check Disk 修出一大堆 FOUND.xxx 的檔案出來, 裝回手機上似乎變正常了, 觀察一陣子看看.
Monday, August 13, 2007
Wednesday, July 11, 2007
WM6 更新成功
HTC 發的 Windows Mobile 6 正式版安裝成功... 自賀一下! 這幾天密集操練看看 :p
Sunday, June 3, 2007
LaFonera AP 換 DD-WRT OS
因為我的 LaFonera AP 連續好長一段日子都莫名奇妙的發春, 速度慢到一個詭異的地步就算了, 還會狂掉封包, 但是 PC 跟 AP 還是好好的 associate 在一起, 不管設定怎麼改都不見好轉 (當然是用有線網路連進去改設定)... 真是詭異到爆!
最後實在是不想跟這鳥問題繼續混戰下去, 心一橫把 DD-WRT 版的 OS 換上去, 萬一失敗了大不了重新買個 AP, 反正這個 AP 現在也是處在不能用的狀態 $_$ 換完之後就... 哇! 功能好多啊! 而且運作也完全正常了, 無線上網自由自在沒有牽絆啊~ Ya! (步驟在這邊)
PS: LaFonera AP 真是無敵燙的, 不知道是設計的關係還是用料的關係, 燙到手握不太住, 網路上也是一堆人抱怨 @_@
最後實在是不想跟這鳥問題繼續混戰下去, 心一橫把 DD-WRT 版的 OS 換上去, 萬一失敗了大不了重新買個 AP, 反正這個 AP 現在也是處在不能用的狀態 $_$ 換完之後就... 哇! 功能好多啊! 而且運作也完全正常了, 無線上網自由自在沒有牽絆啊~ Ya! (步驟在這邊)
PS: LaFonera AP 真是無敵燙的, 不知道是設計的關係還是用料的關係, 燙到手握不太住, 網路上也是一堆人抱怨 @_@
PCI-BRL-04UR
前幾天在 PC Home 上面買的, 好便宜啊~~ 不過有個怪怪的 DNS 問題.
這東西 DHCP 發出來的 IP 必定會把 DNS Server 指向他自己, 然後再「DNS 伺服器轉送」出去到 ISP 真正的 DNS Server (我 WAN 端是 PPPoE). 結果他的 DNS 伺服器轉送似乎有點 bug, 會先 timeout 兩次然後才從 ISP 那邊拿到 DNS 查詢結果... 如果手動把 PC 的 DNS 設定到 ISP 的 DNS Server 就很順, 不會 timeout ....
實在是不懂為什麼不在 DHCP Server 設定的地方增加一個選項可以輸入 DNS Server IP.
這東西 DHCP 發出來的 IP 必定會把 DNS Server 指向他自己, 然後再「DNS 伺服器轉送」出去到 ISP 真正的 DNS Server (我 WAN 端是 PPPoE). 結果他的 DNS 伺服器轉送似乎有點 bug, 會先 timeout 兩次然後才從 ISP 那邊拿到 DNS 查詢結果... 如果手動把 PC 的 DNS 設定到 ISP 的 DNS Server 就很順, 不會 timeout ....
實在是不懂為什麼不在 DHCP Server 設定的地方增加一個選項可以輸入 DNS Server IP.
Saturday, May 12, 2007
微軟的新花樣, Groove 2007
這其實不是新的技術, 但是把一堆舊的技術打包起來整合起來變成一個對 end user 來說操作上步驟相對簡單的產品, 這就很棒了! 看來 MS Office 會越來越包山包海, 是好是壞呢? Microsoft Office Groove 2007 官方網頁在這邊.
Friday, April 20, 2007
FreeBSD periodic.conf for JAIL
## JAIL : disk and network ##
daily_status_disks_enable="NO"
daily_status_network_enable="NO"
## JAIL : security ##
daily_status_security_chksetuid_enable="NO"
daily_status_security_chkmounts_enable="NO"
daily_status_security_ipfwdenied_enable="NO"
daily_status_security_ipfdenied_enable="NO"
daily_status_security_pfdenied_enable="NO"
daily_status_security_ipfwlimit_enable="NO"
daily_status_security_ip6fwdenied_enable="NO"
daily_status_security_ip6fwlimit_enable="NO"
daily_status_security_kernelmsg_enable="NO"
daily_status_disks_enable="NO"
daily_status_network_enable="NO"
## JAIL : security ##
daily_status_security_chksetuid_enable="NO"
daily_status_security_chkmounts_enable="NO"
daily_status_security_ipfwdenied_enable="NO"
daily_status_security_ipfdenied_enable="NO"
daily_status_security_pfdenied_enable="NO"
daily_status_security_ipfwlimit_enable="NO"
daily_status_security_ip6fwdenied_enable="NO"
daily_status_security_ip6fwlimit_enable="NO"
daily_status_security_kernelmsg_enable="NO"
FreeBSD periodic.conf for POSTFIX
daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"
Monday, April 2, 2007
SSHGUARD helps to prevent SSH brute force attack
SSHGUARD is lightweight tools written on C to watch auth.log and react while sshd been brute force attack. the FreeBSD-ports collects "sshguard" under /usr /ports /security /sshguard.
Just issue "make config && make install clean" to install sshguard into system, and then make some modification to /etc /syslog.conf and /etc /pf.conf
/etc /syslog.conf:
/etc /pf.conf
Then, reload pf and syslogd by using,
Just issue "make config && make install clean" to install sshguard into system, and then make some modification to /etc /syslog.conf and /etc /pf.conf
/etc /syslog.conf:
auth.info;authpriv.info |exec /usr/local/sbin/sshguard
/etc /pf.conf
table <sshguard> persist
block in quick on $ext_if from <sshguard> to any label "sshguard"
Then, reload pf and syslogd by using,
/etc/rc.d/pf reload
/etc/rc.d/syslogd reload
Friday, March 30, 2007
自定 FON AP 發出來的 DNS Server 欄位
FON AP 在發 DHCP 出來的時候, 預設會把 DNS 指向 AP 自己, 更改 FON AP 上面 /etc /dnsmasq.conf 這個檔案內容就可以改變 FON AP 的 DHCP 指派出來的 DNS Server 位置, 例如下面的設定就是把 DNS 指到 HINET 的兩個 Server 去,
dhcp-option=6,168.95.1.1,168.95.192.1
Sunday, March 25, 2007
Fight SPAM by using RBL in Postfix 2.x
Postfix 2.x 使用 DNS RBL 的設定範例, 在 /usr /local /etc /postfix /main.cf 修改,
記得要先讓通過身分認證的機器 (permit_sasl_authenticated) 還有自己內網的機器 (permit_mynetworks) 通過, 再去檢查 DNS RBL 的部分, 避免砍劈到自己人 :p
另外, reject_maps_rbl 跟 maps_rbl_domains 兩個指令未來可能不再支援, 所以要用 reject_rbl_client.
smtpd_client_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_rbl_client rbl-plus.mail-abuse.org,
reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client bl.spamcop.net,
permit
記得要先讓通過身分認證的機器 (permit_sasl_authenticated) 還有自己內網的機器 (permit_mynetworks) 通過, 再去檢查 DNS RBL 的部分, 避免砍劈到自己人 :p
另外, reject_maps_rbl 跟 maps_rbl_domains 兩個指令未來可能不再支援, 所以要用 reject_rbl_client.
FreeBSD 6.x clock problem in VMware
fix slow clock problem for FreeBSD 6.x in VMware by adding following line to "/boot/loader.conf" and then reboot FreeBSD.
Sync the clock by using "/usr/sbin/ntpdate" or modify following line in the VMX file on host OS,
Update:
Thanks to jiashiun's comment.
vmtools should be installed to activate time-sync between host and client OS, after 'tools.syncTime="TRUE"' been inserted into VMX file.
there is some problem for FreeBSD to detect the clock frequency via APIC (I think), no matter there is vmtools or not. That's why we have to insert hints in "loader.conf".
hint.apic.0.disabled=1
Sync the clock by using "/usr/sbin/ntpdate" or modify following line in the VMX file on host OS,
tools.syncTime="TRUE"
Update:
Thanks to jiashiun's comment.
vmtools should be installed to activate time-sync between host and client OS, after 'tools.syncTime="TRUE"' been inserted into VMX file.
there is some problem for FreeBSD to detect the clock frequency via APIC (I think), no matter there is vmtools or not. That's why we have to insert hints in "loader.conf".
Friday, March 16, 2007
CISCO 的置入性行銷
剛剛看到 CNET 這篇:『分析:思科砸32億美元押寶網路視訊會議』突然想到幾天前我在努力追趕影集 FOX 的 24 進度的時候看到一集 (S4E21, 3:00AM - 4:00AM) 裡, 畫面帶出 Cisco Security Response System 螢幕畫面特寫, 然後 Chloe O'Brian 去找 Bill Buchanan 討論到後來說:『...the Cisco system is self-defended... blah blah...』 畫面上有個簡單的網路圖, 大概就是十來個 node 的圖, 很簡單的那種.
我可愛的老婆竟然比我先笑出來, 轉頭說:『這個是最新廣告嗎?』 XD 那一集 Cisco 的 Logo/Icon 之類的東西超大, 感覺像買下整集打廣告 $_$ 其實好像 CTU 裡面的桌面電話都是 Cisco 的 IP Phone, 行動電話好像都是 Motorola 的 :p
我可愛的老婆竟然比我先笑出來, 轉頭說:『這個是最新廣告嗎?』 XD 那一集 Cisco 的 Logo/Icon 之類的東西超大, 感覺像買下整集打廣告 $_$ 其實好像 CTU 裡面的桌面電話都是 Cisco 的 IP Phone, 行動電話好像都是 Motorola 的 :p
Wednesday, March 14, 2007
Tuesday, March 13, 2007
有朋友想去美國流浪
昨天聽到某個朋友說想要去美國流浪兩個月(還是三個月? 我忘了 :p) 問我一堆辦美簽的問題. 流浪本身還好啊, 比如說小明大人就經常去日本流浪, 把錢花完了再回來努力工作賺錢, 賺了錢又去日本流浪... 我比較驚訝的是, 這位浪人朋友的幾件事情,
1. 浪人沒去過美國
2. 浪人要租車從西岸開到東岸
3. 浪人剛拿到台灣的駕照 (實戰經驗值 == 0)
4. 浪人打算一路走到哪裡就住 Motel 到哪裡 (沒有預定旅館)
所以, 我把 MSN 的 nickname 改成 "Godspeed, Picaro!"
1. 浪人沒去過美國
2. 浪人要租車從西岸開到東岸
3. 浪人剛拿到台灣的駕照 (實戰經驗值 == 0)
4. 浪人打算一路走到哪裡就住 Motel 到哪裡 (沒有預定旅館)
所以, 我把 MSN 的 nickname 改成 "Godspeed, Picaro!"
Wednesday, February 14, 2007
UTF7-IMAP to BIG5
隨便寫來應急一下...
#!/usr/local/bin/php
<?php
if($argc<2) {
fprintf(STDOUT,
"Usage:\n\t %s utf7-imap-string [...]\n\n",
$argv[0]);
exit;
}
for($i=1; $i<$argc; $i++) {
fprintf(STDOUT, "%s\n",
mb_convert_encoding(trim($argv[$i]),
"BIG-5", "UTF7-IMAP"));
}
exit;
?>
Tuesday, February 6, 2007
Google Calendar 通知變成中文的
今天收到的 Google Calendar 每日行程通知竟然變成中文的, 嚇!!
Thursday, February 1, 2007
Airline deals could be grounded (US Airways / Dleta Airlines)
CNN Reports "Airline deals could be grounded"
"US Air said to consider raising bid for Delta as it faces deadlines over next two weeks; talk of other deals could die if Delta avoids takeover."
實在可惜啊~~~
"US Air said to consider raising bid for Delta as it faces deadlines over next two weeks; talk of other deals could die if Delta avoids takeover."
實在可惜啊~~~
Subscribe to:
Posts (Atom)