<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">
<channel>
    <title>自爆前別忘了帶走我的青春 - Linux</title>
    <link>http://blog.sikazozo.org/</link>
    <description></description>
    <dc:language>tn</dc:language>
    <generator>Serendipity 1.5.3 - http://www.s9y.org/</generator>
    <pubDate>Sat, 19 Dec 2009 13:21:08 GMT</pubDate>

    <image>
        <url>http://blog.sikazozo.org/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: 自爆前別忘了帶走我的青春 - Linux - </title>
        <link>http://blog.sikazozo.org/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Asus 1201N wireless lan AW-NE107(Realtek 8171)</title>
    <link>http://blog.sikazozo.org/index.php?/archives/284-Asus-1201N-wireless-lan-AW-NE107Realtek-8171.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/284-Asus-1201N-wireless-lan-AW-NE107Realtek-8171.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=284</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=284</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    &lt;p&gt;AW-NE107(Realtek 8171) == Realtek 8191SE (機器背面有一個很不明顯的貼紙可以看出端倪)&lt;br /&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;64Bit Driver&lt;br /&gt;http://launchpadlibrarian.net/34090404/rtl8192se_linux_2.6.0010.1012.2009_64bit.tar.gz&lt;br /&gt;&lt;br /&gt;32Bit Driver&lt;br /&gt;http://launchpadlibrarian.net/33927923/rtl8192se_linux_2.6.0010.1012.2009.tar.gz&lt;br /&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;compile and modprobe and that&#039;s it. &lt;/p&gt; &lt;br /&gt;
&lt;p&gt;ref：&lt;a href=&quot;http://can.got7.org/2009_11_01_archive.html&quot;&gt;http://can.got7.org/2009_11_01_archive.html&lt;/a&gt;&lt;br /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Fri, 11 Dec 2009 23:25:00 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/284-guid.html</guid>
    <category>linux</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>intel GMA-500：uvesafb 1366x768</title>
    <link>http://blog.sikazozo.org/index.php?/archives/282-intel-GMA-500uvesafb-1366x768.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/282-intel-GMA-500uvesafb-1366x768.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=282</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=282</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    UPDATE 2009-12-07：很可惜，這個方法沒有辦法讓 external VGA/display 正確運作。不過至少堪用了…&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt; &lt;br /&gt;
&lt;li&gt;915resolution + patch from Arch Linux：&lt;br /&gt;&lt;a href=&quot;http://aur.archlinux.org/packages.php?ID=15486%20&quot;&gt;http://aur.archlinux.org/packages.php?ID=15486&lt;br /&gt;
&lt;/a&gt;&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;/etc/modprobe.d/uvesafb.conf ：&lt;br /&gt;&lt;strong&gt;options uvesafb mode_option=1366x768-32 scroll=ywrap&lt;/strong&gt;&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;/etc/modules：&lt;br /&gt;&lt;strong&gt;uvesafb&lt;/strong&gt;&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;/etc/default/grub：&lt;br /&gt;&lt;strong&gt;take any &amp;quot;vga=???&amp;quot; or &amp;quot;video=???&amp;quot; away from kernel parameters, comment out GFXMODE&lt;/strong&gt;&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;in /etc/grub.d, create &lt;strong&gt;01_915resolution&lt;/strong&gt; with：&lt;br /&gt;&lt;strong&gt;echo insmod 915resolution&lt;/strong&gt;&lt;br /&gt;e&lt;strong&gt;cho 915resolution 5c 1366 768 32&lt;/strong&gt;&lt;br /&gt;&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;compile kernel：&lt;br /&gt;&lt;strong&gt;do not cimpile VESA as module or into kernel.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&amp;lt;M&amp;gt;&amp;#160;&amp;#160; Userspace VESA VGA graphics support&lt;/strong&gt;&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;&lt;strong&gt;apt-get install v86d&lt;/strong&gt; &lt;br /&gt;&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;/etc/X11/xorg.conf：&lt;br /&gt;&lt;strong&gt;driver &amp;quot;fbdev&amp;quot;&lt;/strong&gt;&lt;br /&gt;&lt;/li&gt; &lt;br /&gt;
&lt;li&gt;reboot and that&#039;s it.&lt;/li&gt; &lt;br /&gt;
&lt;/ol&gt;P.S. 當 GMA500 (Poulsbo) 的 driver 在 debian 上可以輕鬆安裝的時候再來使用，否則現在如果拿 ubuntu 的 package 來搞，只是自討沒趣。&lt;br /&gt; 
    </content:encoded>

    <pubDate>Sat, 05 Dec 2009 02:37:52 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/282-guid.html</guid>
    <category>linux</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>RHEL on Virtualbox with 2 bridged NIC</title>
    <link>http://blog.sikazozo.org/index.php?/archives/280-RHEL-on-Virtualbox-with-2-bridged-NIC.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/280-RHEL-on-Virtualbox-with-2-bridged-NIC.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=280</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=280</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    &lt;p&gt;Hots：Debian amd64 with 1 NIC&lt;br /&gt;Guest：RHEL 5 UPDATE 4 x86_64&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;goal：install RHEL on Virtualbox, 2 network interfaces inside RHEL(not ip alias), basic environment to install Oracle RAC.&lt;br /&gt; &lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://blog.sikazozo.org/index.php?/archives/280-RHEL-on-Virtualbox-with-2-bridged-NIC.html#extended&quot;&gt;繼續閱讀 &quot;RHEL on Virtualbox with 2 bridged NIC&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 16 Nov 2009 02:16:39 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/280-guid.html</guid>
    <category>linux</category>
<category>oracle</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>ioi external raid MIRROR DRIVE II + udevinfo</title>
    <link>http://blog.sikazozo.org/index.php?/archives/277-ioi-external-raid-MIRROR-DRIVE-II-+-udevinfo.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/277-ioi-external-raid-MIRROR-DRIVE-II-+-udevinfo.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=277</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=277</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    &lt;p&gt;&lt;a title=&quot;ioi_2bay_raid&quot; href=&quot;http://picasaweb.google.com/dantemason/Blog#5487543257797906450&quot;&gt;&lt;img width=&quot;240&quot; height=&quot;192&quot; alt=&quot;ioi_2bay_raid&quot; src=&quot;http://lh6.ggpht.com/_ijJ6UwHcE4Y/TCerhMqiUBI/AAAAAAAABko/VLEm9Qme-4w/ioi_2bay_raid6536900645034600406.jpg&quot; /&gt;&lt;/a&gt;映奧的這台2-bay外接raid目前正在特價，新台幣2500，本人衝了兩台，目前用來沒有發現什麼問題。與先前買入的Stardom SR3620-2S-SB2相比，風扇聲音差不多，除了外型比較沒有那麼「亮」之外，真是便宜又大碗。主要的功能上，比Stardom的多了safe33,saf350，不過因為我只用到 SAFE(mirror, aka. RAID1)模式，所以這方面也沒什麼好敘述的。&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;在接上 esata 的時候，有一個問題發生了。之前用 udevinfo -a -p $(udevinfo -q path -n /dev/sd?1) 來依照一些硬體的資訊來決定哪一個外接raid要link到哪一個名字，然後配合shell script 來達成開機的時候可以自動mount到指定的位置，而不會因為kernel給的代號而造成混亂。在這兩個external raid 用udevinfo來看都是一模一樣的時候，顯然需要其他的識別資訊。&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;於是乎，從這裡找到了答案：&lt;a href=&quot;http://www.linuxquestions.org/questions/linux-hardware-18/udev-rules-fail-on-identical-sata-hard-disk-drives-584595/?highlight=udev+hard+drive+rules&quot;&gt;udev rules fail on identical sata hard disk drives&lt;/a&gt;&lt;br /&gt;&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://blog.sikazozo.org/index.php?/archives/277-ioi-external-raid-MIRROR-DRIVE-II-+-udevinfo.html#extended&quot;&gt;繼續閱讀 &quot;ioi external raid MIRROR DRIVE II + udevinfo&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 10 Oct 2009 00:50:28 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/277-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>不再使用smbpasswd更改 samba 密碼</title>
    <link>http://blog.sikazozo.org/index.php?/archives/276-smbpasswd-samba.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/276-smbpasswd-samba.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=276</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=276</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    &lt;p&gt;在 Debian sid 裡面，已經找不到 smbpasswd 這個指令來更改samba密碼了。&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;以往是包在samba-common這個套件之中，現在沒有了。(sid 的 samba 版本目前為 3.4.0)&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;取而代之的，是使用 tdbsam 作為密碼的資料庫擋。&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;所以，更改samba帳號的密碼指令變更為：&lt;strong&gt;pdbedit -a -u [account]&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 27 Sep 2009 14:59:38 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/276-guid.html</guid>
    <category>linux</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>在 Linux 上使用遠端 CUPS 的 printer</title>
    <link>http://blog.sikazozo.org/index.php?/archives/272-Linux-CUPS-printer.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/272-Linux-CUPS-printer.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=272</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=272</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    &lt;p&gt;來源：&lt;a href=&quot;http://wiki.linuxquestions.org/wiki/How_to_set_up_a_CUPS_client&quot;&gt;http://wiki.linuxquestions.org/wiki/How_to_set_up_a_CUPS_client&lt;/a&gt;&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;我還真不知道原來這麼簡單。&lt;/p&gt; &lt;br /&gt;
&lt;p&gt; 步驟：&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;1. apt-get install nmap&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;2. 然後 nmap printer-server，應該要看到 631這個 port 。如果沒看到，就要去看看 printer server 那台機器的設定了。&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;3. 編輯或是新增一個檔案：/etc/cups/client.conf&lt;br /&gt;內容只有：ServerName printer-server&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;然後不管是開 browser的列印或是 openoffice的列印，或是 leafpad的列印，都會看到可以使用 cups server 上的 printer了。&lt;/p&gt; &lt;br /&gt;
&lt;p&gt;(註：應用程式在掃描 cups server 上的 printer 的速度不一，以我的經驗，openoffice掃到的速度 &amp;gt; iceweasel &amp;gt; leafpad )&lt;br /&gt;&lt;/p&gt; 
    </content:encoded>

    <pubDate>Tue, 01 Sep 2009 23:08:35 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/272-guid.html</guid>
    <category>linux</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>用 fuse 的 encfs 來管理敏感性檔案</title>
    <link>http://blog.sikazozo.org/index.php?/archives/260-fuse-encfs.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/260-fuse-encfs.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=260</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=260</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p&gt;參考來源：&lt;a href=&quot;http://www.debuntu.org/2006/06/04/62-how-to-use-encrypted-directories-with-encfs-and-fuse&quot;&gt;How To: use encrypted directories with ENCFS and FUSE&lt;/a&gt;&lt;/p&gt;&lt;p&gt;fuse 裡面的 encfs 提供的方法，跟 cryptoFS 不一樣，不是用來對整個磁碟或分割區加密。主要是拿來對某個目錄加密。&lt;/p&gt;&lt;p&gt;像是可能有的人會把一些比較敏感性或具機密性質的資料放在一個目錄之下管理，這時候用 encfs 就是個很簡單達到目的的作法。&lt;/p&gt;&lt;p&gt;甚至隨身碟，也可以用這種方法來加強安全性，如果不小心弄丟了，至少拿走隨身碟的人不知道你的passphrase就沒有辦法輕易的取得資料內容。&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://blog.sikazozo.org/index.php?/archives/260-fuse-encfs.html#extended&quot;&gt;繼續閱讀 &quot;用 fuse 的 encfs 來管理敏感性檔案&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 20 May 2009 13:46:38 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/260-guid.html</guid>
    <category>linux</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>compiz-deskmenu</title>
    <link>http://blog.sikazozo.org/index.php?/archives/255-compiz-deskmenu.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/255-compiz-deskmenu.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=255</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=255</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p&gt;來源：&lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=874458&quot;&gt;http://ubuntuforums.org/showthread.php?t=874458&lt;/a&gt;&lt;/p&gt;&lt;p&gt;像 fluxbox or openbox 那樣的 right-click menu&lt;/p&gt;&lt;p&gt;這樣能同時有 compiz fusion 3D特效，又能有快速的選單：&lt;/p&gt;&lt;p&gt;apt-get install python-lxml libgtk2.0-dev libwnck-dev \&lt;br /&gt;libdbus-1-dev git-core compizconfig-settings-manager libdbus-glib-1-dev&lt;br /&gt;&lt;br /&gt;$ git clone git://anongit.compiz-fusion.org/users/crdlb/compiz-deskmenu&lt;br /&gt;$ cd compiz-deskmenu&lt;br /&gt;$ make&lt;br /&gt;$ make install&lt;br /&gt;&lt;br /&gt;To make this menu show up we need to make some changes in the compiz settings.&lt;br /&gt;To bring this up, simply open a terminal and enter:&lt;br /&gt;ccsm&lt;br /&gt;&lt;br /&gt;Now we just need to map this to the right mouse button.&lt;br /&gt;When in ccsm, click on general options and go under the commands tab and commands dropdown menu.Click on one of these that&#039;s unused and set it to compiz-deskmenu.Now go to Viewport switcher and set the Plugin for initiate action to &amp;quot;core&amp;quot;and the action name for initiate to &amp;quot;run_command#_key&amp;quot;,&lt;br /&gt;where # is the number of the command corresponding to compiz-deskmenu.Change initiate plugin action key to Button 3 and now the right mouse button should popup the compiz deskmenu.If you&#039;d prefer to keep the gnome right click menu, just leave initiate plugin action as button 2.To edit the menu, just click on the edit item in the menu.&lt;br /&gt;&lt;br /&gt;One quirk I&#039;ve noticed with the menu editor is that icons need to be located under /usr/share/icons/gnome/yyxyy where yy is the pixel size of the icon and for xpm files, this size needs to be set to 16x16 pixels (easily done with gimp) to be the same size as other menu items.&lt;/p&gt;&lt;p /&gt;&lt;p&gt;照著步驟很容易就完成了，但是幾分鐘之後就換回來 openbox 了…太花，沒辦法做事。&lt;/p&gt;&lt;p&gt;實在是無法習慣。&lt;/p&gt; 
    </content:encoded>

    <pubDate>Wed, 25 Mar 2009 00:13:07 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/255-guid.html</guid>
    <category>linux</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>nVidia C51G(GeForce 6100) 1280x1024</title>
    <link>http://blog.sikazozo.org/index.php?/archives/253-nVidia-C51GGeForce-6100-1280x1024.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/253-nVidia-C51GGeForce-6100-1280x1024.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=253</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=253</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    &lt;br /&gt;
1. 使用xorg帶的 opensource 版本驅動：nv&lt;br /&gt;&lt;br /&gt;2. 安裝 nVidia 官方 driver：&lt;br /&gt;bug：&lt;br /&gt;在 1280x1024 之下，畫面會黑掉，只剩下畫面最上方大約 1 pixel的橫槓。&lt;br /&gt;從 169.12 一直到現在 180.29 還是沒修好&lt;br /&gt;我看 nVidia 應該是已經不想理這個顯示晶片了&lt;br /&gt;社群有解決辦法能幫他們收爛攤子就當 bug fix 嗎？&lt;br /&gt;土砲解決辦法： &lt;br /&gt;&lt;a href=&quot;http://blog.sikazozo.org/index.php?/archives/253-nVidia-C51GGeForce-6100-1280x1024.html#extended&quot;&gt;繼續閱讀 &quot;nVidia C51G(GeForce 6100) 1280x1024&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 06 Mar 2009 17:46:49 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/253-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>ext4 on debian etch (fresh install)</title>
    <link>http://blog.sikazozo.org/index.php?/archives/251-ext4-on-debian-etch-fresh-install.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/251-ext4-on-debian-etch-fresh-install.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=251</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=251</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p&gt;First, install a basic debian etch.&lt;/p&gt;&lt;p&gt;A temporal root partition is required.&lt;/p&gt;&lt;p&gt;Prepare a partition to be mounted as ext4 root.&lt;/p&gt;&lt;p&gt;Here is my partition table：&lt;/p&gt;&lt;p&gt;/dev/sda1   /boot&lt;br /&gt;/dev/sda2           (the ext4 root)&lt;br /&gt;/dev/sda3   swap&lt;br /&gt;/dev/sda4   /       (temporal ext3 root)&lt;/p&gt;&lt;p /&gt; &lt;br /&gt;&lt;a href=&quot;http://blog.sikazozo.org/index.php?/archives/251-ext4-on-debian-etch-fresh-install.html#extended&quot;&gt;繼續閱讀 &quot;ext4 on debian etch (fresh install)&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 29 Jan 2009 23:02:11 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/251-guid.html</guid>
    <category>linux</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Routing via openvpn client</title>
    <link>http://blog.sikazozo.org/index.php?/archives/249-Routing-via-openvpn-client.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/249-Routing-via-openvpn-client.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=249</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=249</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p&gt;目的：當目的地為 10.50.0.0 或 192.168.99.0 的時候，就給我從 openvpn 的 client1 繞過去。&lt;/p&gt;&lt;p&gt;參考資料：&lt;br /&gt;1.pahud(pahudnet_at_gmail.com)&lt;br /&gt;2.&lt;a href=&quot;http://www.openvpn.net/index.php/documentation/howto.html&quot;&gt;http://www.openvpn.net/index.php/documentation/howto.html&lt;/a&gt;&lt;br /&gt; Including multiple machines on the client side when using a routed VPN (dev tun)&lt;/p&gt;&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://blog.sikazozo.org/index.php?/archives/249-Routing-via-openvpn-client.html#extended&quot;&gt;繼續閱讀 &quot;Routing via openvpn client&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 25 Dec 2008 14:18:47 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/249-guid.html</guid>
    <category>linux</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Gallery Remote</title>
    <link>http://blog.sikazozo.org/index.php?/archives/244-Gallery-Remote.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/244-Gallery-Remote.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=244</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=244</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;ol&gt;&lt;li&gt;install jdk , setup JAVA_HOME and PATH&lt;/li&gt;&lt;li&gt;mkdir $JAVA_HOME/jre/lib/fonts/fallback&lt;/li&gt;&lt;li&gt;under the &amp;quot;fallback&amp;quot; directory, ln -s &amp;lt; /path/to/chinese font &amp;gt; . &lt;br /&gt;(this will solve the problem that chinese fonts rendered as cubes)&lt;/li&gt;&lt;li&gt;download GalleryRemote.1.5.Linux.NoVM.bin&lt;/li&gt;&lt;li&gt;cp GalleryRemote.1.5.Linux.NoVM.bin GalleryRemote.1.5.Linux.NoVM.bin.orig&lt;/li&gt;&lt;li&gt;cat Gallery_Remote.original  \&lt;br /&gt;| sed &amp;quot;s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/&amp;quot;  \&lt;br /&gt;&amp;gt; GalleryRemote.1.5.Linux.NoVM.bin&lt;/li&gt;&lt;li&gt;execute GalleryRemote.1.5.Linux.NoVM.bin to install it.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;after installed, in Gallery Remote installed directory,&lt;/p&gt;&lt;ol&gt;&lt;li&gt;cp Gallery_Remote Gallery_Remote.original&lt;/li&gt;&lt;li&gt;cat Gallery_Remote.original  \&lt;br /&gt;| sed &amp;quot;s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/&amp;quot; \&lt;br /&gt;&amp;gt;Gallery_Remote&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;done.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 29 Jun 2008 23:34:48 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/244-guid.html</guid>
    <category>linux</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>Mythbuntu suspend to ram using the Power button of MCE remote control [also fix snd_hda_intel gets no sound after resume from suspend]</title>
    <link>http://blog.sikazozo.org/index.php?/archives/242-Mythbuntu-suspend-to-ram-using-the-Power-button-of-MCE-remote-control-also-fix-snd_hda_intel-gets-no-sound-after-resume-from-suspend.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/242-Mythbuntu-suspend-to-ram-using-the-Power-button-of-MCE-remote-control-also-fix-snd_hda_intel-gets-no-sound-after-resume-from-suspend.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=242</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=242</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p&gt;add these to &lt;b&gt;/etc/rc.local&lt;/b&gt;：&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;echo USB0 &amp;gt; /proc/acpi/wakeup&lt;/p&gt;&lt;p&gt;irexec -d /home/&amp;lt;USER&amp;gt;/.mythtv/lircrc&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;lt;USER&amp;gt; : the user id you are running mythfrontend.&lt;/p&gt;&lt;p&gt;add these using &lt;b&gt;visudo&lt;/b&gt; as root(must at the bottom)：&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;lt;USER&amp;gt; ALL=NOPASSWD: /sbin/alsa, /etc/acpi/*&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;lt;USER&amp;gt; : the user id you are running mythfrontend.&lt;/p&gt;&lt;p&gt;add these to /home/&amp;lt;USER&amp;gt;/.mythtv/&lt;b&gt;lircrc&lt;/b&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;begin&lt;br /&gt;    button = Power&lt;br /&gt;    prog = irexec&lt;br /&gt;    repeat = 0&lt;br /&gt;    config = sudo /etc/acpi/sleep.sh&lt;br /&gt;end&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;lt;USER&amp;gt; : the user id you are running mythfrontend.&lt;br /&gt;&lt;b&gt;If you dont&#039;t use &amp;quot;sudo&amp;quot; to run sleep.sh, resume fails.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;add these to &lt;b&gt;/etc/acpi/resume.d/67-sound.sh&lt;/b&gt;：&lt;br /&gt;(This step fixs the problem that resume from STR makes snd_hda_intel no sound.)&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;/sbin/alsa force-reload&lt;br /&gt;/usr/bin/amixer -q sset Master,0 98% unmute&lt;br /&gt;/usr/bin/amixer -q sset PCM,0 98% unmute&lt;br /&gt;/usr/bin/amixer -q sset Front,0 98% unmute&lt;br /&gt;/usr/bin/amixer -q set Headphone unmute&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Reboot and that&#039;s all.&lt;br /&gt;Suspend to ram is now working on my HTPC running mythbuntu.&lt;/p&gt;&lt;p&gt;&lt;b&gt;NOTICE：&lt;/b&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;Resume from STR not always success,  sometimes hangs with only power led lights, sometimes I have to push the power button of remote control more than one time to wake up the machine.&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;You have to set ACPI suspend mode to STR(S3) and something like &amp;quot;resume bring USB back&amp;quot; in bios.&lt;/b&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt; &lt;/p&gt;&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sun, 18 May 2008 00:52:49 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/242-guid.html</guid>
    <category>linux</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>我的第一台 HTPC (使用 mythbuntu 8.04)</title>
    <link>http://blog.sikazozo.org/index.php?/archives/241-HTPC-mythbuntu-8.04.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/241-HTPC-mythbuntu-8.04.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=241</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=241</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    &lt;br /&gt;
&lt;p&gt;由於近來實在不想因為 xbox 的硬體限制而必須使用 mencoder 把高畫質的影片轉檔變成較低畫質&lt;/p&gt;&lt;p&gt;所以決定找一個替代品。&lt;/p&gt;&lt;p&gt;其實在弄這台 HTPC 之前，我先敗了 Dvico Tvix M6500A，&lt;/p&gt;&lt;p&gt;播放高畫質影片的效果相當好，但是實在無法忍受一些我認為是很基本的基本： UTF-8 的支援。&lt;/p&gt;&lt;p&gt;什麼年代了，外掛字幕還只能用 ANSI？(除非封裝成mkv)&lt;/p&gt;&lt;p&gt;samba 還使用 2.x？ mount 出來的目錄和檔案只能 ASCII，其他都亂碼。&lt;/p&gt;&lt;p&gt;最慘的是：開機30秒&lt;/p&gt;&lt;p&gt;開機 30 秒 實在不能算是家電。&lt;/p&gt;&lt;p&gt;所以我決定自己來弄一台多媒體播放機。&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://blog.sikazozo.org/index.php?/archives/241-HTPC-mythbuntu-8.04.html#extended&quot;&gt;繼續閱讀 &quot;我的第一台 HTPC (使用 mythbuntu 8.04)&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 16 May 2008 11:11:44 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/241-guid.html</guid>
    <category>linux</category>
<creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>
<item>
    <title>upgrade lftp from 3.5.6-1(etch) to 3.7.0-1(lenny) failed !</title>
    <link>http://blog.sikazozo.org/index.php?/archives/240-upgrade-lftp-from-3.5.6-1etch-to-3.7.0-1lenny-failed-!.html</link>
            <category>Linux</category>
    
    <comments>http://blog.sikazozo.org/index.php?/archives/240-upgrade-lftp-from-3.5.6-1etch-to-3.7.0-1lenny-failed-!.html#comments</comments>
    <wfw:comment>http://blog.sikazozo.org/wfwcomment.php?cid=240</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.sikazozo.org/rss.php?version=2.0&amp;type=comments&amp;cid=240</wfw:commentRss>
    

    <author>nospam@example.com (Dante Mason)</author>
    <content:encoded>
    &lt;p&gt;&lt;br /&gt;
昨天從 etch upgrade lftp 到 lenny 的 lftp，詭異的給我出現了以下訊息：&lt;/p&gt;&lt;blockquote&gt;&lt;b&gt;No alternatives for ftp&lt;/b&gt;&lt;/blockquote&gt;&lt;p&gt;於是習慣性的 apt-get -f install還是失敗。&lt;/p&gt;&lt;p&gt;而且現在變成什麼東西都安裝不了也移除不了。&lt;/p&gt;&lt;p&gt;查了半天，原來是系統上沒有替代 lftp 指令的設定。&lt;/p&gt;&lt;p&gt;也就是 update-alternatives 跟 lftp 套件沒有配合好的問題。&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://blog.sikazozo.org/index.php?/archives/240-upgrade-lftp-from-3.5.6-1etch-to-3.7.0-1lenny-failed-!.html#extended&quot;&gt;繼續閱讀 &quot;upgrade lftp from 3.5.6-1(etch) to 3.7.0-1(lenny) failed !&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 30 Apr 2008 03:31:16 +0800</pubDate>
    <guid isPermaLink="false">http://blog.sikazozo.org/index.php?/archives/240-guid.html</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by/3.0/</creativeCommons:license>
</item>

</channel>
</rss>