<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>stephenyeong&#039;s blog &#187; stephenyeong</title>
	<atom:link href="http://www.stephenyeong.idv.hk/wp/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stephenyeong.idv.hk/wp</link>
	<description>Blog about my IT life</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:41:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>TP-Link(s)</title>
		<link>http://www.stephenyeong.idv.hk/wp/2012/02/tp-link-s/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2012/02/tp-link-s/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 04:36:59 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[網絡]]></category>
		<category><![CDATA[TP-Link]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=1041</guid>
		<description><![CDATA[今年買了很多TPLink 的產品 5Port Giga Hubs （因為裝了BB1000加了個BBTV 要在客廳加多一個Gigabit port&#8230;) 450Mbps Dual Band Wireless PCI-E Adapter （行OpenWrt用） 3支8DBi 天線（OpenWrt 用） 300Mbps WirelessN USB Adapter （為了試300Mbps 2T2R所以買了） 其實以網絡產品而言，TP-Link算做得唔錯了。]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2012/02/tp-link-s/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>今年買了很多TPLink 的產品</p>
<ol>
<li>5Port Giga Hubs （因為裝了BB1000加了個BBTV 要在客廳加多一個Gigabit port&#8230;)</li>
<li>450Mbps Dual Band Wireless PCI-E Adapter （行OpenWrt用）</li>
<li>3支8DBi 天線（OpenWrt 用）</li>
<li>300Mbps WirelessN USB Adapter （為了試300Mbps 2T2R所以買了）</li>
</ol>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/DSC02293.jpg" rel="lightbox[1041]" title="SONY DSC"><img class="alignnone  wp-image-1042" title="SONY DSC" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/DSC02293-1024x680.jpg" alt="" width="614" height="408" /></a></p>
<p>其實以網絡產品而言，TP-Link算做得唔錯了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2012/02/tp-link-s/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>USB 3.0 on Mac</title>
		<link>http://www.stephenyeong.idv.hk/wp/2012/02/usb-3-on-mac/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2012/02/usb-3-on-mac/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 22:15:02 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[osx86]]></category>
		<category><![CDATA[PXHCD]]></category>
		<category><![CDATA[usb 3.0]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=1029</guid>
		<description><![CDATA[蘋果是沒有原生USB 3.0的，MAC要用USB 3.0只可以透過第三方的控制器。早期只有CalDigit及LaCie有PCI-E控制器，而且付有的驅動只對應自家的產品(1)。但後來有人修改了LaCie的PXHCD.Kext，令到該驅動能在其他牌子控制器上運行(2)。 Transcend SDHC 16GB Class 6 adata CF 1GB (很久以前用來裝pfSense的CF) SanDisk SDHC 16GB UEH-I 30MB/s PhotoFast 366X Professional 4GB CF Seagate 1TB SATA2 HDD in USB 3.0 External Case (日常用來BACKUP的硬碟) 由於PXHCD.Kext 未能對應USB 3.0 Hub 及其他儲存以外的裝置，Onboard  的兩個USB 3.0 口已被長期佔用。加上PXHCD.Kext 在CARD READER的支援上還有一些Plug &#38; Play 上的問題，看來還要等蘋果推出原生USB 3.0電腦 （Ivy Bridge Mac ?）及驅動了。 Link/Reference LaCie USB 3.0 Driver for [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2012/02/usb-3-on-mac/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>蘋果是沒有原生USB 3.0的，MAC要用USB 3.0只可以透過第三方的控制器。早期只有CalDigit及LaCie有PCI-E控制器，而且付有的驅動只對應自家的產品(1)。但後來有人修改了LaCie的PXHCD.Kext，令到該驅動能在其他牌子控制器上運行(2)。</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/IMG_0537-e1328132777381.jpg" rel="lightbox[1029]" title="IMG_0537"><img class="alignnone  wp-image-1034" title="IMG_0537" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/IMG_0537-e1328132777381-1024x768.jpg" alt="" width="614" height="461" /></a></p>
<p>Transcend SDHC 16GB Class 6<a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/Transcend-SDHC-Class-6.png" rel="lightbox[1029]" title="Transcend SDHC Class 6"><br />
<img class="alignnone size-full wp-image-1030" title="Transcend SDHC Class 6" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/Transcend-SDHC-Class-6.png" alt="" width="479" height="378" /></a></p>
<p>adata CF 1GB (很久以前用來裝pfSense的CF)<br />
<a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/adata-1GB-CF.png" rel="lightbox[1029]" title="adata 1GB CF"><img class="alignnone size-full wp-image-1031" title="adata 1GB CF" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/adata-1GB-CF.png" alt="" width="479" height="378" /></a></p>
<p>SanDisk SDHC 16GB UEH-I 30MB/s<br />
<a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/SanDisk-SDHC-16GB-UEH-I-30MBs.png" rel="lightbox[1029]" title="SanDisk SDHC 16GB UEH-I 30MB:s"><img class="alignnone size-full wp-image-1032" title="SanDisk SDHC 16GB UEH-I 30MB:s" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/SanDisk-SDHC-16GB-UEH-I-30MBs.png" alt="" width="480" height="588" /></a></p>
<p>PhotoFast 366X Professional 4GB CF<br />
<a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/Screen-Shot-2012-02-06-at-9.34.15-PM.png" rel="lightbox[1029]" title="Screen Shot 2012-02-06 at 9.34.15 PM"><img class="alignnone size-full wp-image-1045" title="Screen Shot 2012-02-06 at 9.34.15 PM" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/Screen-Shot-2012-02-06-at-9.34.15-PM.png" alt="" width="480" height="602" /></a></p>
<p>Seagate 1TB SATA2 HDD in USB 3.0 External Case (日常用來BACKUP的硬碟)<br />
<a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/SATA-HDD-on-USB3.png" rel="lightbox[1029]" title="SATA HDD on USB3"><img class="alignnone size-full wp-image-1033" title="SATA HDD on USB3" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/02/SATA-HDD-on-USB3.png" alt="" width="480" height="595" /></a></p>
<p>由於PXHCD.Kext 未能對應USB 3.0 Hub 及其他儲存以外的裝置，Onboard  的兩個USB 3.0 口已被長期佔用。加上PXHCD.Kext 在CARD READER的支援上還有一些Plug &amp; Play 上的問題，看來還要等蘋果推出原生USB 3.0電腦 （Ivy Bridge Mac ?）及驅動了。</p>
<p>Link/Reference</p>
<ol>
<li>LaCie USB 3.0 Driver for Mac OS® <a href="http://www.lacie.com/more/index.htm?id=10112">http://www.lacie.com/more/index.htm?id=10112<br />
</a>The LaCie USB 3.0 Driver for Mac OS® is for LaCie storage devices only. It does not support other USB 3.0 devices such as hubs, printers, scanners, or webcams.</li>
<li><strong>USB 3.0 </strong>is now supported in Mac OS X <a href="http://tonymacx86.blogspot.com/2010/11/usb-30-now-supported-in-mac-os-x.html">http://tonymacx86.blogspot.com/2010/11/usb-30-now-supported-in-mac-os-x.html</a><br />
Patch method <a href="http://www.tonymacx86.com/viewtopic.php?f=66&amp;t=7430&amp;start=30">http://www.tonymacx86.com/viewtopic.php?f=66&amp;t=7430&amp;start=30</a></li>
<li>http://www.tgdaily.com/hardware-features/58259-apple-eyes-usb-30-for-next-gen-macs</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2012/02/usb-3-on-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>過年前upgrade電腦 GA-H67N-USB3-B3 + i5 2500K</title>
		<link>http://www.stephenyeong.idv.hk/wp/2012/01/upgrade-before-lunar-new-year/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2012/01/upgrade-before-lunar-new-year/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 07:04:13 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[osx86]]></category>
		<category><![CDATA[GA-H67N-USB3-B3]]></category>
		<category><![CDATA[h67]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=1011</guid>
		<description><![CDATA[因為kkwong話多左一塊H67N-USB3可以給用, 所以就決定升級到SandyBridge。而之前的用h55 + i3 530 應該會留給同事用吧。 換板又要買CPU，這算是Intel 最近年最騙錢的行為吧. 因為Mac OS 只有HD3000的驅動，可選的Sandy Bridge 只有五粒。分別是 i3-2105, i3-2125, i5-2405S, i5-2500K, i7-2600K ，雖然Server 版Sandy Bridge E3 也有好幾粒有似HD3000的顯示功能叫HD Graphic P3000，但未見有人成功過所以無打算買。 最後選擇了i5-2500K 在升級的過程中，因為原有H55的DSDT在這板上不斷出ERROR，基本是不能進入OS (應該是之前修改過的KEXT出事)。反覆試了好幾個方法也不能進入mac os，最後只好重裝OS。重裝的過程又法生media error (用dmg轉為iso 來燒錄安裝碟證實是不可行的) 因為重裝出錯，成個system folder沒了。只好再花些時間做好隻 iATKOS L2 USB 再試。 裝完個OS後, 發現所有User document就連Desktop icon還健在。就連Application 也全部可以執行。原來MAC OSX 所有Application儲存在 /Application 目錄下，System 目錄只是Lion 本身。 最後follow tonymacx86 個walkthrough (我無用HDMI Audio, 只用customac_mini_tuneup_kit_v3.zip就可以了。 [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2012/01/upgrade-before-lunar-new-year/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>因為kkwong話多左一塊H67N-USB3可以給用, 所以就決定升級到SandyBridge。而之前的用h55 + i3 530 應該會留給同事用吧。</p>
<p>換板又要買CPU，這算是Intel 最近年最騙錢的行為吧.</p>
<p>因為Mac OS 只有HD3000的驅動，可選的Sandy Bridge 只有五粒。分別是 <a href="http://www.amazon.com/gp/product/B0051YS85O/ref=as_li_ss_tl?ie=UTF8&amp;tag=tonymacx86com-20">i3-2105</a>, <a href="http://www.amazon.com/gp/product/B005L9D5X4/ref=as_li_ss_tl?ie=UTF8&amp;tag=tonymacx86com-20">i3-2125</a>, <a href="http://www.amazon.com/gp/product/B005BMYTS6/ref=as_li_ss_tl?ie=UTF8&amp;tag=tonymacx86com-20">i5-2405S</a>, <a href="http://www.amazon.com/gp/product/B004EBUXHQ?ie=UTF8&amp;tag=tonymacx86com-20">i5-2500K</a>, <a href="http://www.amazon.com/gp/product/B004EBUXSA/ref=as_li_ss_tl?ie=UTF8&amp;tag=tonymacx86com-20">i7-2600K</a> ，雖然Server 版Sandy Bridge E3 也有好幾粒有似HD3000的顯示功能叫HD Graphic P3000，但未見有人成功過所以無打算買。</p>
<p>最後選擇了i5-2500K</p>
<p>在升級的過程中，因為原有H55的DSDT在這板上不斷出ERROR，基本是不能進入OS (應該是之前修改過的KEXT出事)。反覆試了好幾個方法也不能進入mac os，最後只好重裝OS。重裝的過程又法生media error (用dmg轉為iso 來燒錄安裝碟證實是不可行的)</p>
<p>因為重裝出錯，成個system folder沒了。只好再花些時間做好隻 iATKOS L2 USB 再試。</p>
<p>裝完個OS後, 發現所有User document就連Desktop icon還健在。就連Application 也全部可以執行。原來MAC OSX 所有Application儲存在 /Application 目錄下，System 目錄只是Lion 本身。</p>
<p>最後follow tonymacx86 個walkthrough (我無用HDMI Audio, 只用customac_mini_tuneup_kit_v3.zip就可以了。<br />
移除Null CPU Power Management Kext後，就連Sleep也能正常使用。</p>
<p>總結</p>
<ol>
<li>MAC OSX reinstall / upgrade 比Windows 好</li>
<li>要製作MAC OSX的開機/安裝碟最好用返MAC OS</li>
</ol>
<p>LINK<br />
<a href="http://www.google.com.hk/url?sa=t&amp;rct=j&amp;q=Intel%C2%AE+HD+Graphics+P3000&amp;source=web&amp;cd=1&amp;ved=0CCQQFjAA&amp;url=http%3A%2F%2Fwww.intel.com%2Fcontent%2Fwww%2Fus%2Fen%2Fprocessors%2Fxeon%2Fxeon-e3-1200-hd-graphics-guide.html&amp;ei=87MbT9bTBeK3iQfBr9n9Cw&amp;usg=AFQjCNGti70qpKx8raA5zNhQ8zXHSMO4oQ&amp;sig2=-s1vVp_T3mE7dxI58EQCVA">Intel® HD Graphics P3000 for Intel® Xeon® Processor E3-1200</a><br />
<a href="http://www.tonymacx86.com/viewtopic.php?f=168&amp;t=33412&amp;start=0">tonyosx86.com Official CustoMac Mini 2011 Guide and Notes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2012/01/upgrade-before-lunar-new-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NZXT Internal USB Expension</title>
		<link>http://www.stephenyeong.idv.hk/wp/2012/01/nzxt-internal-usb-expension/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2012/01/nzxt-internal-usb-expension/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 09:23:36 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[其他]]></category>
		<category><![CDATA[IU01]]></category>
		<category><![CDATA[Linke]]></category>
		<category><![CDATA[NZXT]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=1003</guid>
		<description><![CDATA[上網無意中發現，原來NZXT 2009年設計了一隻內罝的USB HUBs，正好用來解決我電腦onboard USB 口不足問題 (V2010 機箱用2個9pin Header, Koolance TMS-200 要用一個，但EVGA X58 Classified E760只有2個9pin)。 正當考慮由美國訂一隻返香港時，發現Linke有貨&#8230;. (水貨萬歲!!) NZXT IU01, 有3個9PIN USB Header 加 兩個USB Socket. 這個7port USB Hubs (3*x + 2 &#8211; 1x on-board = 7 port) 有跟一條 Molex 4P 轉2pin 5V 電源輸入線給一些大食的USB設備。 背面有個厚厚的雙面膠以及魔術貼。]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2012/01/nzxt-internal-usb-expension/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>上網無意中發現，原來NZXT 2009年設計了一隻內罝的USB HUBs，正好用來解決我電腦onboard USB 口不足問題<br />
(V2010 機箱用2個9pin Header, Koolance TMS-200 要用一個，但EVGA X58 Classified E760只有2個9pin)。</p>
<p>正當考慮由美國訂一隻返香港時，發現Linke有貨&#8230;. (水貨萬歲!!)</p>
<p>NZXT IU01, 有3個9PIN USB Header 加 兩個USB Socket. 這個7port USB Hubs (3*x + 2 &#8211; 1x on-board = 7 port) 有跟一條 Molex 4P 轉2pin 5V 電源輸入線給一些大食的USB設備。</p>
<p>背面有個厚厚的雙面膠以及魔術貼。</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/DSC02186s.jpg" rel="lightbox[1003]" title="SONY DSC"><img class="alignnone  wp-image-1004" title="SONY DSC" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/DSC02186s.jpg" alt="" width="737" height="490" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/DSC02187s.jpg" rel="lightbox[1003]" title="SONY DSC"><img class="alignnone  wp-image-1005" title="SONY DSC" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/DSC02187s.jpg" alt="" width="748" height="561" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Generic-USB-Hub.png" rel="lightbox[1003]" title="Generic USB Hub"><img class="alignnone size-full wp-image-1006" title="Generic USB Hub" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Generic-USB-Hub.png" alt="" width="423" height="469" /></a><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Generic-USB-Hub-2.png" rel="lightbox[1003]" title="Generic USB Hub 2"><img class="alignnone size-full wp-image-1007" title="Generic USB Hub 2" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Generic-USB-Hub-2.png" alt="" width="423" height="469" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2012/01/nzxt-internal-usb-expension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenWrt (2 SSID) + pfSense + ESXi</title>
		<link>http://www.stephenyeong.idv.hk/wp/2012/01/openwrt2ssid-pfsense-esxi/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2012/01/openwrt2ssid-pfsense-esxi/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 20:17:48 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[ESXi]]></category>
		<category><![CDATA[pfsense]]></category>
		<category><![CDATA[其他]]></category>
		<category><![CDATA[網絡]]></category>
		<category><![CDATA[OpenWrt]]></category>
		<category><![CDATA[Wireless Guest Zone]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=989</guid>
		<description><![CDATA[因為手上的Wireless LAN 卡可以開幾個SSID，所以決定玩多一樣  ﹣Guest Zone。 先在ESXi 內開多一個VMNetwork &#8211; Guest 並且設定好Security ﹣Promiscuous Mode＝Accept。 並且在現有的pfSense VM及OpenWrt VM各加多一個e1000 Network Interface 並連接到Guest Zone。 OpenWrt 設定好新增的e1000界面及開多一個Bridge Interface  br-Guest Wireless 加多一個SSID叫OpenWrtGuest，設定好一個易記的WPA Preshared Key 並開橋接到br-guest。 由於是Guest Zone，使用者不可以進入OpenWrt Web管理界面，所以Interface Protocol設定為Unmanaged pfSense方面，同樣設定好Interface。IP、DHCP Server、Proxy Server。 最後設定Firewall Rules ，Guest Network 除了不能進入LAN Network、Management界面外，其他Traffic 就Accept。 &#160; &#160; &#160;]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2012/01/openwrt2ssid-pfsense-esxi/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>因為手上的Wireless LAN 卡可以開幾個SSID，所以決定玩多一樣  ﹣Guest Zone。</p>
<p>先在ESXi 內開多一個VMNetwork &#8211; Guest 並且設定好Security ﹣Promiscuous Mode＝Accept。</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/vSwitch3-and-Guest-Zone.png" rel="lightbox[989]" title="vSwitch3 and Guest Zone"><img class="alignnone size-full wp-image-994" title="vSwitch3 and Guest Zone" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/vSwitch3-and-Guest-Zone.png" alt="" width="378" height="121" /></a></p>
<p>並且在現有的pfSense VM及OpenWrt VM各加多一個e1000 Network Interface 並連接到Guest Zone。</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/VM-pfSense.png" rel="lightbox[989]" title="VM pfSense"><img class="alignnone  wp-image-995" title="VM pfSense" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/VM-pfSense.png" alt="" width="452" height="241" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/VM-OpenWrt.png" rel="lightbox[989]" title="VM OpenWrt"><img class="alignnone  wp-image-996" title="VM OpenWrt" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/VM-OpenWrt.png" alt="" width="456" height="222" /></a></p>
<p>OpenWrt 設定好新增的e1000界面及開多一個Bridge Interface  br-Guest</p>
<p><img class="alignnone  wp-image-992" title="OpenWrt LAN Interfaces" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/OpenWrt-LAN-Interfaces.png" alt="" width="594" height="444" /></p>
<p>Wireless 加多一個SSID叫OpenWrtGuest，設定好一個易記的WPA Preshared Key 並開橋接到br-guest。</p>
<p><img class="alignnone  wp-image-991" title="OpenWrt Wireless" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/OpenWrt-Wireless.png" alt="" width="594" height="444" /></p>
<p>由於是Guest Zone，使用者不可以進入OpenWrt Web管理界面，所以Interface Protocol設定為Unmanaged</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/OpenWrt-Interface-Guest.png" rel="lightbox[989]" title="OpenWrt Interface Guest"><img class="wp-image-997  alignnone" title="OpenWrt Interface Guest" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/OpenWrt-Interface-Guest.png" alt="" width="479" height="215" /></a></p>
<p>pfSense方面，同樣設定好Interface。IP、DHCP Server、Proxy Server。</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/pfSense-Interfaces.png" rel="lightbox[989]" title="pfSense Interfaces"><img class="alignnone  wp-image-993" title="pfSense Interfaces" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/pfSense-Interfaces.png" alt="" width="673" height="442" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Screen-Shot-2012-01-12-at-3.57.10-AM.png" rel="lightbox[989]" title="DHCP Server Settings"><img class="alignnone  wp-image-998" title="DHCP Server Settings" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Screen-Shot-2012-01-12-at-3.57.10-AM.png" alt="" width="654" height="407" /></a></p>
<p>最後設定Firewall Rules ，Guest Network 除了不能進入LAN Network、Management界面外，其他Traffic 就Accept。</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Screen-Shot-2012-01-12-at-4.13.03-AM.png" rel="lightbox[989]" title="pfSense Firewall"><img class="alignnone  wp-image-999" title="pfSense Firewall" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Screen-Shot-2012-01-12-at-4.13.03-AM.png" alt="" width="571" height="261" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2012/01/openwrt2ssid-pfsense-esxi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESXi 下的Open-Wrt Access Point</title>
		<link>http://www.stephenyeong.idv.hk/wp/2012/01/openwrt-ap/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2012/01/openwrt-ap/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 02:42:19 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[ESXi]]></category>
		<category><![CDATA[網絡]]></category>
		<category><![CDATA[OpenWrt]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=973</guid>
		<description><![CDATA[首先，由openwrt.org下載 virtual disk image http://downloads.openwrt.org/backfire/10.03.1/x86_generic/openwrt-x86-generic-combined-ext2.vmdk 盡量下載最新版本，因為module 是跟版本的。試過10.02 的ath9k driver 是不能驅動TP-LINK TL-WDN4800 (AR9380) 。 Virtual Machine 建立一部VM，Other 2.6.x Linux (32bit) RAM: 32MB HDD: 直接用剛下載的vmdk, LAN: Intel e1000 PCI Device: Wireless LAN card 啟動Virtual Machine 後，如網絡環境的IP不是192.168.1.1/24，可以在Console 輸入以下command修改IP ifconfig br-lan [ip] netmask [netmask] Configuration 用Browser 進入router IP，設定 LAN IP、Netmask以及root password 作為AP，LAN的DHCP應該停用。 Network-&#62;Interface-&#62;LAN-&#62;DHCP Server, Disable DHCP for this interface [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2012/01/openwrt-ap/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p><span style="font-family: 'ＭＳ 明朝';">首先，由openwrt.org下載 virtual disk image <a href="http://downloads.openwrt.org/backfire/10.03.1/x86_generic/openwrt-x86-generic-combined-ext2.vmdk">http://downloads.openwrt.org/backfire/10.03.1/x86_generic/openwrt-x86-generic-combined-ext2.vmdk</a></span></p>
<p>盡量下載最新版本，因為module 是跟版本的。試過10.02 的ath9k driver 是不能驅動TP-LINK TL-WDN4800 (AR9380) 。</p>
<p><strong>Virtual Machine</strong></p>
<p>建立一部VM，Other 2.6.x Linux (32bit)</p>
<ul>
<li>RAM: 32MB</li>
<li>HDD: 直接用剛下載的vmdk,</li>
<li>LAN: Intel e1000</li>
<li>PCI Device: Wireless LAN card</li>
</ul>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Guest-Setting.png" rel="lightbox[973]" title="Guest Setting"><img class="alignnone  wp-image-974" style="border-style: initial; border-color: initial; border-width: 0px;" title="Guest Setting" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Guest-Setting.png" alt="" width="490" height="433" /></a></p>
<p><strong><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/vmdirectpath.png" rel="lightbox[973]" title="vmdirectpath"><img class="alignnone  wp-image-975" title="vmdirectpath" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/vmdirectpath.png" alt="" width="351" height="420" /></a></strong></p>
<p>啟動Virtual Machine 後，如網絡環境的IP不是192.168.1.1/24，可以在Console 輸入以下command修改IP</p>
<blockquote><p>ifconfig br-lan [ip] netmask [netmask]</p></blockquote>
<p><strong>Configuration</strong></p>
<p>用Browser 進入router IP，設定 LAN IP、Netmask以及root password</p>
<p><img class="alignnone  wp-image-976" title="Login" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Login.png" alt="" width="626" height="424" /></p>
<p>作為AP，LAN的DHCP應該停用。<br />
Network-&gt;Interface-&gt;LAN-&gt;DHCP Server, Disable DHCP for this interface</p>
<p><strong>Packages</strong><br />
可以REMOVE iptables 因為bridge 沒用</p>
<p>Install packages</p>
<ul>
<li>wpad-mini (WPA-PSK 必需)</li>
<li>kmod-ath9k (Wireless LAN driver，視乎用什麼卡)</li>
</ul>
<p>reboot  一次再設定Wireless Lan card</p>
<p><strong>Wireless Lan</strong></p>
<p>最基本只需要設定ESSID及Wireless Security。並且將Network 加入到 lan (bridge with LAN)</p>
<p><img class="alignnone  wp-image-977" title="Interface Config ESSID bridge LAN" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/Interface-Config-ESSID-bridge-LAN.png" alt="" width="589" height="187" /></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/WPA.png" rel="lightbox[973]" title="WPA"><img class="alignnone  wp-image-978" title="WPA" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/WPA.png" alt="" width="589" height="105" /></a></p>
<p><strong>vSwitch Security</strong></p>
<p>最後一步，就是設定vmware 的vSwitch Security頁內的Promiscuous Mode 一定要設定為Accept，否則wireless client不能Bridge 到LAN zone，全部OpenWrt MAC以外的packet會被 drop.</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/VCENTER-Screen-Capture.png" rel="lightbox[973]" title="VCENTER Screen Capture"><img class="alignnone  wp-image-982" title="VCENTER Screen Capture" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2012/01/VCENTER-Screen-Capture.png" alt="" width="527" height="221" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2012/01/openwrt-ap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>買相機</title>
		<link>http://www.stephenyeong.idv.hk/wp/2011/12/search-before-buy-dc/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2011/12/search-before-buy-dc/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 04:08:51 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[其他]]></category>
		<category><![CDATA[攝影]]></category>
		<category><![CDATA[DSLR]]></category>
		<category><![CDATA[DXOMark]]></category>
		<category><![CDATA[snapsort.com]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=961</guid>
		<description><![CDATA[因為一些原因，要買一部價錢just below $5000的相機。在沒有任何消費雜誌在手的情況下，只好上網找。 1. 先從價格入手，到www.price.com.hk 找 $5000 以下的相機。由於想質素比較好，所以只在 “DSLR 數碼單鏡反光相機” 內找。 原來這個價位最熱門的頭五位，全部是可換鏡無反相機 （無反當單反？？）。 2. 走去對比Review，Google 到一個很好的網站可以提供更多深入比對。 http://snapsort.com/compare/Olympus-E-PL3-vs-Sony-NEX-C3  這個Website 有好多平時覺得重要但沒有在產品規格上清楚列名的資訊。 例如Shutter lag, battery life, image quality 而這個Website Image quality 分數以 DXOMark 為基楚。 DXOMark - http://www.dxomark.com/index.php/About/In-depth-measurements/Measurements DXOMark 基於3個因素 Portrait Score (color depth) Landscape Score (dynamic range) Sports Score (low-light ISO) The Sensor Overall Score is an average of the Portrait Score based on color [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2011/12/search-before-buy-dc/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>因為一些原因，要買一部價錢just below $5000的相機。在沒有任何消費雜誌在手的情況下，只好上網找。</p>
<p>1. 先從價格入手，到www.price.com.hk 找 $5000 以下的相機。由於想質素比較好，所以只在 “DSLR 數碼單鏡反光相機” 內找。<br />
原來這個價位最熱門的頭五位，全部是可換鏡無反相機 （無反當單反？？）。</p>
<p>2. 走去對比Review，Google 到一個很好的網站可以提供更多深入比對。<br />
<a href="http://snapsort.com/compare/Olympus-E-PL3-vs-Sony-NEX-C3">http://snapsort.com/compare/Olympus-E-PL3-vs-Sony-NEX-C3 </a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/12/Screen-Shot-2011-12-27-at-10.51.16-AM.png" rel="lightbox[961]" title="Screen Shot 2011-12-27 at 10.51.16 AM"><img class="alignnone size-medium wp-image-962" title="Screen Shot 2011-12-27 at 10.51.16 AM" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/12/Screen-Shot-2011-12-27-at-10.51.16-AM-300x233.png" alt="" width="300" height="233" /></a></p>
<p>這個Website 有好多平時覺得重要但沒有在產品規格上清楚列名的資訊。</p>
<p>例如Shutter lag, battery life, image quality</p>
<p>而這個Website Image quality 分數以 <a title="While other websites publish information about JPEG image quality, only DxO Labs provides the first publicly-accessible database of objective and in-depth RAW sensor image quality measurements." href="http://www.dxomark.com/" rel="nofollow">DXOMark</a> 為基楚。</p>
<p><a title="While other websites publish information about JPEG image quality, only DxO Labs provides the first publicly-accessible database of objective and in-depth RAW sensor image quality measurements." href="http://www.dxomark.com/" rel="nofollow">DXOMark</a> - <a href="http://www.dxomark.com/index.php/About/In-depth-measurements/Measurements">http://www.dxomark.com/index.php/About/In-depth-measurements/Measurements</a></p>
<p>DXOMark 基於3個因素</p>
<ol>
<li>Portrait Score (color depth)</li>
<li>Landscape Score (dynamic range)</li>
<li>Sports Score (low-light ISO)</li>
</ol>
<blockquote><p>The Sensor Overall Score is an average of the <a href="http://www.dxomark.com/index.php/About/Sensor-scores/Use-Case-Scores#Portrait" target="_self">Portrait Score</a> based on color depth, the <a href="http://www.dxomark.com/index.php/About/Sensor-scores/Use-Case-Scores#Landscape" target="_self">Landscape Score</a> based on dynamic range, and the <a href="http://www.dxomark.com/index.php/About/Sensor-scores/Use-Case-Scores#Sports" target="_self">Sports Score</a> based on low-light ISO</p></blockquote>
<p>其中 Sports Score 是最高可用ISO值。定議最高能提供 30dB SNR的ISO。30dB SNR 足夠提供 9 EV Steps 及 18bit 的色深。</p>
<blockquote><p>Thus low-light ISO is the highest ISO setting for a camera that allows it to achieve an SNR of 30dB while keeping a good dynamic range of 9 EVs and a color depth of 18bits.</p></blockquote>
<p>以下是將 price.com.hk 找到$5000 以下最熱門 DSLR 中的頭3位在DxOMark.com中對比的結果。<a href="http://www.dxomark.com/index.php/Cameras/Compare-Camera-Sensors/Compare-cameras-side-by-side/(appareil1)/724|0/(brand)/Olympus/(appareil2)/763|0/(brand2)/Panasonic/(appareil3)/715|0/(brand3)/Sony">LINK</a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/12/Screen-Shot-2011-12-29-at-1.38.27-AM.png" rel="lightbox[961]" title="Screen Shot 2011-12-29 at 1.38.27 AM"><img class="alignnone  wp-image-968" title="Screen Shot 2011-12-29 at 1.38.27 AM" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/12/Screen-Shot-2011-12-29-at-1.38.27-AM.png" alt="" width="606" height="489" /></a></p>
<p>很明顯是APS-C片幅的SONY NEX-C3 在所有測試中表現最出衆，最後當然選擇了 SONY NEX-C3.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2011/12/search-before-buy-dc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free SFTP server for my goodreader</title>
		<link>http://www.stephenyeong.idv.hk/wp/2011/11/free-sftp-server-for-my-goodreader/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2011/11/free-sftp-server-for-my-goodreader/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 06:51:14 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[NAS]]></category>
		<category><![CDATA[其他]]></category>
		<category><![CDATA[軟件]]></category>
		<category><![CDATA[SFTP]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=948</guid>
		<description><![CDATA[Finally, I found a free SFTP server for my file server. http://www.k2sxs.com/silvershield/ Although it limited only one client and max 3 session on free version. However, it run as service nature and natively support file name encoding UTF8 which is enough for me. GoodReader syncing through 3G SilverSHielD Management Console screen Security Settings &#8211; anti [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2011/11/free-sftp-server-for-my-goodreader/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>Finally, I found a free SFTP server for my file server.</p>
<p><a href="http://www.k2sxs.com/silvershield/">http://www.k2sxs.com/silvershield/</a></p>
<p>Although it limited only one client and max 3 session on free version. However, it run as service nature and natively support file name encoding UTF8 which is enough for me.</p>
<p>GoodReader syncing through 3G<br />
<a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/11/20111113-1449421.jpg" rel="lightbox[948]" title="Free SFTP server for my goodreader"><img class="alignnone size-full" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/11/20111113-1449421.jpg" alt="20111113-144942.jpg" /></a></p>
<p>SilverSHielD Management Console screen</p>
<p>Security Settings &#8211; anti hammer support<br />
<a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/11/SilverSHielD_2.png" rel="lightbox[948]" title="SilverSHielD_2"><img class="alignnone size-medium wp-image-956" title="SilverSHielD_2" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/11/SilverSHielD_2-300x239.png" alt="" width="300" height="239" /></a></p>
<p>Expert Settings &#8211; just show off how many type of SFTP / encryption method supported<br />
<a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/11/SilverSHielD_1.png" rel="lightbox[948]" title="SilverSHielD_1"><img class="alignnone size-medium wp-image-957" title="SilverSHielD_1" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/11/SilverSHielD_1-300x239.png" alt="" width="300" height="239" /></a></p>
<p>Add/Edit User screen. Support Windows/AD account, command shell login<br />
<a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/11/SilverSHielD_3.png" rel="lightbox[948]" title="SilverSHielD_3"><img title="SilverSHielD_3" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/11/SilverSHielD_3-300x247.png" alt="" width="300" height="247" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2011/11/free-sftp-server-for-my-goodreader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hackintosh life</title>
		<link>http://www.stephenyeong.idv.hk/wp/2011/11/hackintosh-life/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2011/11/hackintosh-life/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 02:17:40 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[osx86]]></category>
		<category><![CDATA[其他]]></category>
		<category><![CDATA[軟件]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[Lion]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=931</guid>
		<description><![CDATA[因為ESXi 5可以裝MacOS （應該支援EFI BOOT ）所以手多多走去試。 答案原來 ESXi 5 所指可以安裝MacOS 是指MacOS X 10.5 Server. 無法對應10.6&#38;10.7 是可以Boot EFI , 可不用Boot loader, 但ESXi 無法處理DMG。 新版Mac OS 不能從IDE CD-ROM 安裝，似取消了。由於ESXi 的Virtual CD-ROM 是IDE Mode的，所以無法使用。 要解決10.7支援，要找一套叫UNLOCKER How to Install Retail OS X 10.6 "Snow" and OS X 10.7 "Lion" under VMware ESXi 5 &#8211; InsanelyMac Forum ESXi 5 Mac OS [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2011/11/hackintosh-life/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>因為ESXi 5可以裝MacOS （應該支援EFI BOOT ）所以手多多走去試。</p>
<p>答案原來</p>
<ol>
<li>ESXi 5 所指可以安裝MacOS 是指MacOS X 10.5 Server. 無法對應10.6&amp;10.7</li>
<li>是可以Boot EFI , 可不用Boot loader, 但ESXi 無法處理DMG。</li>
<li>新版Mac OS 不能從IDE CD-ROM 安裝，似取消了。由於ESXi 的Virtual CD-ROM 是IDE Mode的，所以無法使用。</li>
</ol>
<p>要解決10.7支援，要找一套叫UNLOCKER</p>
<ul>
<li><a title="How to Install Retail OS X 10.6 " href="http://www.insanelymac.com/forum/index.php?showtopic=267339" target="_blank">How to Install Retail OS X 10.6 "Snow" and OS X 10.7 "Lion" under VMware ESXi 5 &#8211; InsanelyMac Forum</a></li>
<li><a href="http://www.insanelymac.com/forum/index.php?showtopic=267296">ESXi 5 Mac OS X Unlocker &#8211; InsanelyMac Forum</a></li>
</ul>
<p>要安裝MacOS，最基本的方法就是用VMDirectPath 直接經Passthrough USB Flash或CD-ROM 來開機。但這個方法比較慢，大約只有4MB/S的傳輸速度。而且由Apple DMG來製作一定要用Mac機。<br />
最快的方法是用PREBUILD USB 來安裝。</p>
<p>最後找到一隻已完成的VMDK，但因為來源是較舊的VMware版本，要經過vmkfsutil 修正後才能使用。</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/11/3min-left_.png" rel="lightbox[931]" title="3min left_"><img class="alignnone size-medium wp-image-943" title="3min left_" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/11/3min-left_-300x234.png" alt="" width="300" height="234" /></a></p>
<p>Post installation 相對實機安裝簡單，在虛擬環境只需(只能)安裝</p>
<ol>
<li>VMware tools。<a href="http://rapidshare.com/files/829645494/darwin500.iso" target="_blank">darwin500.iso</a><br />
這個vmwaretools其實只是power state helper及修改VGA resolution。雖然不是QE／CI，但顯示反應速度在ESXi 5環境下還可接受。</li>
<li>LegacyAppleIntelPIIXATA.kext 令VM可使用IDE Virtual CD-Rom</li>
<li>Upgrade 到 Lion 10.7.2，這個Step會比較困難，因為10.7.2內的AppleLSIFusionMPT.kext 會令Mac OS 不能順利進入。解決方法有
<ul>
<li>a. 用Offline  install pack MacOSXUpdCombo10.7.2.dmg, 在安裝完成並提示要Reboot時，把舊有的AppleLSIFusionMPT.kext 回復來。最好可以用Kext Utiltiy 來Rebuild security及Extension cache</li>
<li>b. 用 10.7.1的安裝USB／Custom built CD開機，並在Terminal 回復AppleLSIFusionMPT.kext</li>
</ul>
<p>如要避免Mac OS 會使用Cache Extension, 要在Boot flag 加入 -k<br />
進入Mac OS後，再用Kext Utility 來Rebuild cache</li>
</ol>
<p>最後，啟用 OS X的Sharing內的Screen Sharing ( VNC )</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/11/VNC.png" rel="lightbox[931]" title="VNC"><img class="alignnone size-medium wp-image-944" title="VNC" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/11/VNC-300x204.png" alt="" width="300" height="204" /></a></p>
<p>Links</p>
<p><a title="How to Install Retail OS X 10.6 &quot;Snow&quot; and OS X 10.7 &quot;Lion&quot; under VMware ESXi 5 - InsanelyMac Forum" href="http://www.insanelymac.com/forum/index.php?showtopic=267339">How to Install Retail OS X 10.6 "Snow" and OS X 10.7 "Lion" under VMware ESXi 5 &#8211; InsanelyMac Forum</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2011/11/hackintosh-life/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mdaemon slow queue study</title>
		<link>http://www.stephenyeong.idv.hk/wp/2011/10/mdaemon-slow-queue-study/</link>
		<comments>http://www.stephenyeong.idv.hk/wp/2011/10/mdaemon-slow-queue-study/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 18:33:48 +0000</pubDate>
		<dc:creator>stephenyeong</dc:creator>
				<category><![CDATA[軟件]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Inbound Queue]]></category>
		<category><![CDATA[Local Queue]]></category>
		<category><![CDATA[mdaemon]]></category>
		<category><![CDATA[RAMMap]]></category>
		<category><![CDATA[slow]]></category>

		<guid isPermaLink="false">http://www.stephenyeong.idv.hk/wp/?p=917</guid>
		<description><![CDATA[After few week of Mdaemon slow queue complain, 1 week of changing hardware test and 1 week of process tracing, mail queue is now stabilized. Summarize these week study; there are few setting should help Mdaemon run faster Offload Remote Queue to other server by setting delivery options [Must] Use server 2008R2 with enough memory [...]]]></description>
			<content:encoded><![CDATA[<fb:like href='http://www.stephenyeong.idv.hk/wp/2011/10/mdaemon-slow-queue-study/' send='false' layout='standard' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida+grande'></fb:like><p>After few week of Mdaemon slow queue complain, 1 week of changing hardware test and 1 week of process tracing, mail queue is now stabilized.</p>
<p>Summarize these week study; there are few setting should help Mdaemon run faster</p>
<ol>
<li>Offload Remote Queue to other server by setting delivery options [Must]</li>
<li>Use server 2008R2 with enough memory to cache more Metafile<br />
and calculation of enough memory = 4GB + (files count * 1KB)<br />
for example, total mail store with 4 million files should have 8GB or more</li>
<li>Registry tweak  (based on Performance Tuning Guidelines for Windows Server 2008 R2)<br />
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem<br />
NtfsDisable8dot3NameCreation=1<br />
NtfsDisableLastAccessUpdate=1</li>
<li>Disk defragment (no need often defragment)</li>
<li>Application disk volume alignment, Mdaemon Application ( cfilter dir), Local Queue and User folder should be on same volume</li>
<li>CPU &#8211; higher clock / better clock efficient instead of multi core<br />
a. we tested on 8 core 16 thread machine, it use only few thread<br />
b. even average load is below 50%, you will see 2.8GHz CPU perform better than 2.4GHz CPUI think Single CPU SandyBridge 2600K server will run faster than server with Dual Socket Xeon E5625</li>
</ol>
<p>&nbsp;</p>
<p><strong>Offload Remote Queue to other server by setting delivery options</strong></p>
<p>After offload Remote Queue to another Mdaemon server, you will see Incoming Queue run faster (less lockup)</p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/Delivery-options.png" rel="lightbox[917]" title="Delivery options"><img class="alignnone size-full wp-image-920" title="Delivery options" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/Delivery-options.png" alt="" width="671" height="480" /></a></p>
<p><strong>Use server 2008R2 with enough memory to cache more Metafile</strong></p>
<p>When huge amount of files and mail box are accessed frequently, server 2008 will cache Metafile to memory.</p>
<p>for example, Mdaemon folder have 4,385,755 Files, the usage of  Metafile can reach 4.7GB.<a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/MdaemonFiles.png" rel="lightbox[917]" title="MdaemonFiles"><img class="alignnone size-full wp-image-921" title="MdaemonFiles" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/MdaemonFiles.png" alt="" width="367" height="474" /></a></p>
<p><a href="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/RamMap.png" rel="lightbox[917]" title="RamMap"><img class="alignnone size-full wp-image-922" title="RamMap" src="http://www.stephenyeong.idv.hk/wp/wp-content/uploads/2011/10/RamMap.png" alt="" width="698" height="571" /></a></p>
<p>Also, more memory also can benefit windows read cache. Equallogic SAN HQ report show the read/write ratio change from 66/33 to 15/85 after system upgraded to 16GB memory. That mean 91% of read IO saved by system cache.</p>
<p><strong>Application disk volume alignment</strong></p>
<p>After tracing server with Sysinternals&#8217; Process Monitor ( 3 minutes of event, data size 5.9GB!! ),</p>
<p>I found,</p>
<ol>
<li>Mdaemon access disk in 4KB per Read/Write, it would be fine for mail sized in KB sale. However, some user send mail in Megabyte scale.</li>
<li>Mdaemon create Local Queues and Remote Queues by coping message from Inboundfor example, a email addressed to 5 local mailbox and 5 remote mail recipient with 3 different domain will do following<br />
5 times of ( make unique per recipient mail header + copy remaining message body in 4kB per block from Inbound to Local till EOF)<br />
3 times of ( copy message in 4KB per block to Remote Queue  + create *.rte to record target recipient)</li>
<li>when process Local Queue and found user have mail forwarding setting, it will create related Local Queue and Remote Queue.<br />
And same as Inbound Queue, working in 4KB per block pattern.</li>
<li>Local Queue will do Antivirus and SpamAssassin check, file will <strong>move</strong> to Cfilter\Temp during CFilter process</li>
<li>The final local mail will <strong>move</strong> to user mailbox</li>
</ol>
<p>You will found that, file will  move between CFilter, Local Queue, and User Folder.<br />
When the folder not in same disk, Mdaemon still calling filesystem MoveFileA and move between volume handled by system.<br />
On server 2008R2, read buffer is 512KB and write block size is 64KB.</p>
<p><strong>CPU &#8211; higher clock / better clock efficient instead of multi core</strong></p>
<p>You will found that, upgrade from single Quad Core CPU to dual Quad Core CPU only have slightly improvement.</p>
<p>It is because, queue processing seems single thread (one thread scan folder, one thread move file)<br />
However,  CFEngine, Spamassassin and  Antivirus seems running in multi-thread, so, messages waiting inside Local Queue mostly are MDAV &amp; SpamD processed.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stephenyeong.idv.hk/wp/2011/10/mdaemon-slow-queue-study/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

