April 2011 Archives

前幾天才發現 Google Apps 只提供 50 個免費帳戶 (應該改很久了)
早上收到 Google 通知(如下)要改成 10 個, 已經申請的上限數不變,
有需要此服務的趕快申請吧, 2011-05-10 前申請還有 50 個免費帳號。

Hello,

We recently announced upcoming changes to the maximum number of users for Google Apps.
We want to let you know that, as a current customer, the changes will not affect you.

As of May 10, any organization that signs up for a new account will be required to use the paid Google Apps for Business product in order to create more than 10 users.
We honor our commitment to all existing customers and will allow you to add more than 10 users to your account for yourdomain.com at no additional charge,
based on the limit in place when you joined us.

Sincerely,

The Google Apps Team

擋壹電視網樂通

user-pic
Vote 0 Votes

由於 網樂通 會吃掉很大的上傳頻寬, 這不是 MIS 或網管人員所樂見的,
有時是有必要擋掉以維護網路品質
經抓封包測試只要擋 63.221.156.0/24 就可以讓網樂通無法註冊, 此網段是位於香港 PCCW
一般的網樂通點播是走 UDP Unicast, Source Port 1248,
若網樂通正在點播影片, 擋 Source Port 1248 會改走其他 Port, 擋 UDP 會改走 TCP,
擋 Server Source IP 會找其他 IP 區段的 Server, 一直擋下去,
就可以得到所有的 IP 區段, 為了設定方便, 直接用 /24, /23, 實際上的 Server 區段應該是沒那麼大
63.221.156.0/24
80.77.6.0/24
203.69.108.0/23
203.192.135.0/24
203.208.204.0/24
若要擋澈底, 就把上面的網段全擋
這個結果和 Mobile01 關於網樂通吃頻寬問題 有人提到區段是一樣的

另外有人問到網樂通在國外是否可以用? 答案是可以的,
經測試確定沒有鎖台灣 IP, 至少寫這篇文章時是如此,
不過網樂透有使用 P2P, 能否使用還是要看當地的網路環境

播放 RMVB 出現細條紋

user-pic
Vote 0 Votes

環境 Windows 7 SP1 64 bit, 顯示卡 ASUS NVIDIA 9800GT 使用 270.61 WHQL Driver
試過很多播放軟體在播 RMVB 檔時都會出現細條紋(沒有固定位置, 看起來像雜訊), 其他格式則正常
解決方法: 把 NVIDIA 3D Driver uninstall 就正常了,
這裡的 3D Driver 是指顯示器 3D 輸出的 Driver, 並不會影響玩遊戲.

Google Apps 免費版本最多提供 50 個使用者帳戶。
想要享有更多使用者帳戶或是其他進階功能嗎?歡迎免費試用 Google Apps for Business
記得本來不是免費 200 個嗎?
Google Apps for Business 每個帳號要 50 美元,
100 個帳號就要 5000 美元, 這個價位不算是很便宜, 若能降價一定會有更多人想採用.

Intel 320 SSD 120G

user-pic
Vote 0 Votes

買 Intel 320 這顆 SSD 是要來當桌機系統碟用的,
320 算是 Intel 第三代的 SSD, 這次換了個比較容易記的數字編號.
官方循序讀寫的數據是 270/130 (PDF)

實測後很接近官方的數據

使用起來頗滿意, 開機速度變快, 啟動軟體的速度也比硬碟快很多,
應用程式幾乎是一點就開啟了, Windows 7 的主要硬碟分數由本來的 5.9 拉到 7.6

DavMail Gateway

user-pic
Vote 0 Votes

DavMail Gateway 可以把 Exchange Service 轉成標準的 POP3/SMTP
不用 Outlook 可以收 Exchange 的信.

DavMail 需要 Java
設定很簡單, 設好 OWA (Exchange) URL 及 Service Port 即可,
單機使用的話把 POP3/SMTP 設定 localhost

Advanced 可以設定成 Server Mode,
設定 Bind address 及勾選 Allow Remote Connections
Client 端就可以設這台當 POP3/SMTP

MinGW

user-pic
Vote 0 Votes

MinGW 是 "Minimalist GNU for Windows" 的縮寫,
簡單講它就是 Linux GCC 移植到 Windows 下的 C/C++ Compiler
Cygwin 不同的是, 編好的執行檔不需要其他的 DLL 檔
來個 hello, world 測一下
#include

int main() {
printf("hello, world\n");
}

C:\MinGW\bin>gcc hello.c -o hello.exe

C:\MinGW\bin>hello.exe
hello, world

Linux 程式移植到 Windows, 會有一些地方需要改,
例如 #include <sys/socket.h> 要改成 #include <Winsock2.h>

ref. MinGW 與 Cygwin 的不同處

aliases include format

user-pic
Vote 0 Votes

list: :include:/etc/postfix/list

Email in /etc/postfix/list, one per line
newaliases to take effect.

Google Dictionary

user-pic
Vote 0 Votes

4/12 開始 Google Dictionary 的原來網址
http://dictionary.google.com
http://www.google.com/dictionary
開始不能用
其實 Google Dictionary 並沒有消失,
若要連到原來的頁面, 可以用 http://www.google.com/dictionary?

隨身碟量產一般都是做成二個 Partition, 一個放 ISO, 剩餘的當一般空間使用
試了好幾支 Phison 晶片的隨身碟,
量產後在 Linux 下都會看到 Partition Table 錯亂的狀況,
fdisk -l 會看到類似這樣
Disk /dev/sdb: 3762 MB, 3762290688 bytes
116 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 7192 * 512 = 3682304 bytes

This doesn't look like a partition table
Probably you selected the wrong device.

Device Boot Start End Blocks Id System
/dev/sdb1 ? 108195 266915 570754815+ 72 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(357, 116, 40) logical=(108194, 75, 11)
Partition 1 has different physical/logical endings:
phys=(357, 32, 45) logical=(266914, 0, 51)
Partition 1 does not end on cylinder boundary.
/dev/sdb2 ? 23456 292648 968014120 65 Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(288, 115, 43) logical=(23455, 18, 47)
Partition 2 has different physical/logical endings:
phys=(367, 114, 50) logical=(292647, 8, 42)
Partition 2 does not end on cylinder boundary.
/dev/sdb3 ? 259995 529187 968014096 79 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(366, 32, 33) logical=(259994, 74, 30)
Partition 3 has different physical/logical endings:
phys=(357, 32, 43) logical=(529186, 63, 39)
Partition 3 does not end on cylinder boundary.
/dev/sdb4 ? 401235 401243 27749+ d Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(372, 97, 50) logical=(401234, 100, 25)
Partition 4 has different physical/logical endings:
phys=(0, 10, 0) logical=(401242, 67, 33)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

導致在 Linux 下無法 mount, 當然也無法正常使用,
神奇的是在 Windows 看下是正常的, 使用也正常
要在 Linux 下正常使用必需用 fdisk 把 Partition 1-4 刪除, 重建後再用 mkfs.vfat format

Teamviewer 也可以像 VNC 一樣使用 IP 來連線,
在被控端沒有網路連線能力時也可以啟動此功能
其他 / 選項 / 一般 / 區域網路連線(透過IP位址)
預設值是「已停用」, 改成「接受」
使用的 Port 是 TCP 5938

ref. How to use TeamViewer on your local network

Imation Nano Pro 8GB 量產

user-pic
Vote 0 Votes


Imation Nano Pro 8GB 的晶片是 Phison 2251-50
大致上跟 TDK 量產差不多, 可參考「TDK Trans-IT mini 8GB 量產成功
最好使用 MPALL v3.20
若遇到「IDBLK file Version check error」可參考 這篇

2011-04-10 Update

Imation Swivel 8G 的晶片是 Phison 2251-33, 也可用 MPALL v3.2.0 成功量產

CentOS 5.6 Released

user-pic
Vote 0 Votes

CentOS-5.6-i386-bin-DVD.torrent
CentOS-5.6-x86_64-bin-DVD.torrent

2011-04-09 Update: 官方更新了 x86_64 的 ISO
參考: Why we needed to reissue the CentOS-5.6/x86_64 ISOs
md5sum.txt
6dce642fb9b9158f9ce18411127399e6 CentOS-5.6-x86_64-bin-1of8.iso
73b16680a9411f5397b289b419b34b03 CentOS-5.6-x86_64-bin-2of8.iso
b0fdc4f0098a648ea5fc27e26b2f1b26 CentOS-5.6-x86_64-bin-3of8.iso
f71c1c0c3ca2d19a6c48a938252b631d CentOS-5.6-x86_64-bin-4of8.iso
09bb8351e4799c0c122d451c670359b3 CentOS-5.6-x86_64-bin-5of8.iso
c90a9de29c7c6708b396760007d0942e CentOS-5.6-x86_64-bin-6of8.iso
0456cb515be6f3f2a0fa6e8be45d66b5 CentOS-5.6-x86_64-bin-7of8.iso
83c61f38fea4f22033dedc746c2bb67b CentOS-5.6-x86_64-bin-8of8.iso
b37209879c0fb158fac25045527241ee CentOS-5.6-x86_64-bin-DVD-1of2.iso
3eb277f8ca8d49cc8fcaf76d647169c4 CentOS-5.6-x86_64-bin-DVD-2of2.iso
02cf3a5e32aaa5eed27af775ad292beb CentOS-5.6-x86_64-netinstall.iso

已經安裝的人無需重裝, 因為只修正 eclipse-ecj rpm 而已,
有用到 eclipse 的人去抓沒問題的 eclipse-ecj 重裝即可.

Ergotech VR70 Review

user-pic
Vote 0 Votes

行車記錄器這塊市場, 一直都沒有大廠投入, 真是滿奇怪的,
目前市面上的產品, 高清的都不廣角, 廣角的解析度都很差, 有軌跡記錄的都很貴,
實在沒一個很理想的,
理想的行車記錄器, 應是具備導航機的部份功能
1. 軌跡記錄
2. 時速記錄
導航機+行車記錄器二合一的產品, 應該是最理想的, 一台車只要裝一台機器就好了
覺得行車記錄器是滿重要的設備, 所以還是先買了140度廣角平價的 人因 VR70
拍得到比拍得清楚重要, 所以還是優先考慮廣角
VR70 影片格式是 AVI, Size 有三種
1280x960(每五分鐘約為1.2GB), 使用 32G 記憶卡可以錄 130 分鐘 (2時10分)
720x480 每五分鐘約為350MB), 使用 32G 記憶卡可以錄 455 分鐘 (7時35分)
640x480 每五分鐘約為300MB, 使用 32G 記憶卡可以錄 530 分鐘 (8時50分)
循環錄影有2分鐘、5分鐘、15分鐘三種
移動偵測功能有問題, 因為常常誤判而停止錄影,
明明車子有在動, 畫面也有在動, 但就是一直停止錄影又開始錄影
這台的畫質算差的, Sample 影片如下:
陰天

夜間

DreamHost Scripts and Tips

user-pic
Vote 0 Votes

DreamHost Scripts and Tips
這個站提供一些便利的 Script for DreamHost User
例如可以自訂 php.ini, 安裝 XCache 等

直達車是指只停一站的

台中-台北
08-11:15,39 (指8-11點的15及39分)
12-16:15
17-21:15,39

台北-台中
06:36
07-10:30,54
11-16:30
17-20:30,54
21:30
22:12 (此班次是唯一只停桃園, 不停板橋)

假日還有加開一些班次

Batch FTP in Windows

user-pic
Vote 0 Votes

Put file Example: (7777 is password)

ftp -in somehost.com << EOF
user foobar 7777
cd aaa
bin
put photo.jpg
bye
EOF

CentOS 抓不到 Atheros AR8131 這張網卡,
需另外裝 Driver
wget http://elrepo.org/linux/elrepo/el5/x86_64/RPMS/kmod-atl1e-1.0.1.14-1.el5.elrepo.x86_64.rpm
(bakcup link http://pank.org/ftp/linux/kmod-atl1e-1.0.1.14-1.el5.elrepo.x86_64.rpm)
rpm -ivh --nodeps kmod-atl1e-1.0.1.14-1.el5.elrepo.x86_64.rpm
然後重開機就行了, 會載入 atl1e 這個 module

Atheros AR8121/AR8113/AR8114 也可以使用此 Driver

ref. Atheros AR8131 ethernet driver install in CentOS 5.4 x86_64

About this Archive

This page is an archive of entries from April 2011 listed from newest to oldest.

March 2011 is the previous archive.

May 2011 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives