關於我
2008/12/31
2008/12/29
Multiplexing ssh connnection
For record... we can configured OpenSSH to make shared connections (ie. 1 connection, many ssh shell)
http://linuxtoday.com/news_story.php3?ltsn=2008-12-29-003-35-OS-HL
Basically add 3 lines in /etc/ssh/ssh_config only:
Host *
ControlMaster auto
ControlPath ~/.ssh/master-%r@%h:%p
Of course, we can set it to use multiplexing on some domains/hosts only by not using "Host *".
http://linuxtoday.com/news_story.php3?ltsn=2008-12-29-003-35-OS-HL
Basically add 3 lines in /etc/ssh/ssh_config only:
Host *
ControlMaster auto
ControlPath ~/.ssh/master-%r@%h:%p
Of course, we can set it to use multiplexing on some domains/hosts only by not using "Host *".
2008/12/26
家庭樂之澳門之旅
今天和媽媽妹妹到澳門遊覽,可謂一波三折,首先八時在家出發,先吃早餐,再到港澳碼頭。
買了十時半的票,但因為船期有一點延誤,加上碼頭員工的錯誤指引,呆等了一會才知道船已經開了,結果十一時半才上了另一班船(多謝劃位的小姐肯給位)。
十二時半到了澳門,因為假期,超級多人,又錯排了一條看來很少人,但其實很慢的一條隊,一時半才正式入境,原定去吃好東西,因為太遲只能吃茶餐廳。
午餐後到了漁人碼頭參觀,上次來的時候沒有看,原來風景也不錯的。
接著去了金沙娱樂場,我們一家人都很節儉,只玩了100元,不過媽媽玩 “老虎機” 超開心!後來
到了媽祖廟,逛了一會就回去了,太多人啦。
然後我們自己坐巴士到大三巴看,媽媽在照片看得多了,還是第一次真的來呢,逛了一會,我們就到了十月初五街買手信,手信買了200多元而已,媽媽終於可以 “去遊埠回來派手信” 啦。
最後到了上次跟同事吃的帆船萄國菜,點太多了,吃不完,不過我們都很滿意。
八時左右,回程時,到碼頭竟然買不到船票,最早也要明天早上!很害怕...
幸好找到 “黃牛票”,雖然貴了一半,但是能九時上船也不錯。
船程很快,一小時就到,但是風浪很大,拋得很利害,很多人嘔吐呢。
終於十一時回到家休息了。
買了十時半的票,但因為船期有一點延誤,加上碼頭員工的錯誤指引,呆等了一會才知道船已經開了,結果十一時半才上了另一班船(多謝劃位的小姐肯給位)。
十二時半到了澳門,因為假期,超級多人,又錯排了一條看來很少人,但其實很慢的一條隊,一時半才正式入境,原定去吃好東西,因為太遲只能吃茶餐廳。
午餐後到了漁人碼頭參觀,上次來的時候沒有看,原來風景也不錯的。
接著去了金沙娱樂場,我們一家人都很節儉,只玩了100元,不過媽媽玩 “老虎機” 超開心!後來
到了媽祖廟,逛了一會就回去了,太多人啦。
然後我們自己坐巴士到大三巴看,媽媽在照片看得多了,還是第一次真的來呢,逛了一會,我們就到了十月初五街買手信,手信買了200多元而已,媽媽終於可以 “去遊埠回來派手信” 啦。
最後到了上次跟同事吃的帆船萄國菜,點太多了,吃不完,不過我們都很滿意。
八時左右,回程時,到碼頭竟然買不到船票,最早也要明天早上!很害怕...
幸好找到 “黃牛票”,雖然貴了一半,但是能九時上船也不錯。
船程很快,一小時就到,但是風浪很大,拋得很利害,很多人嘔吐呢。
終於十一時回到家休息了。
2008/12/25
Updating BIOS without Floppy
My desktop doesn't have floppy drive (and I think most of the people don't have too).
But my desktop BIOS has update, how to update it without using floppy?
We can use GRUB to load the disk image into ram disk to run the BIOS update. Method is:
http://www.thinkwiki.org/wiki/BIOS_Upgrade#Updating_via_Grub_and_a_Floppy_Image
Bascially GRUB will assign a ram disk and fill with the image file, and then boot using that as if it is a floppy disk.
But my desktop BIOS has update, how to update it without using floppy?
We can use GRUB to load the disk image into ram disk to run the BIOS update. Method is:
http://www.thinkwiki.org/wiki/BIOS_Upgrade#Updating_via_Grub_and_a_Floppy_Image
Bascially GRUB will assign a ram disk and fill with the image file, and then boot using that as if it is a floppy disk.
2008/12/24
2008/12/20
Eee PC 操作系統 1.7 版本搶先看
剛剛收到的 1.7 版本預覽版本,先看一下圖片!
光碟的開機畫面,可以選擇安裝或者直接使用(Live 模式)
可支援各個型號的 Eee PC
可支援各大語系
開始使用
網際網路
工作
學習
娱樂
設定
版本為 1.7.0.22
這個版本主要特色是:
推出日期未定,期待!
光碟的開機畫面,可以選擇安裝或者直接使用(Live 模式)
可支援各個型號的 Eee PC
可支援各大語系
開始使用
網際網路
工作
學習
娱樂
設定
版本為 1.7.0.22
這個版本主要特色是:
- 支援各種語系
- 支援各大 Eee PC 型號
- 可轉換背景和主題,不只是顏色!
- 可以在 Eee PC 上跑,也可以在虛擬機器例如 QEMU, VirtualBox 中跑,這裡的圖片是在 KVM 中跑的
推出日期未定,期待!
2008/12/14
<海天一色> BBQ
2008/12/12
Macau trip
Had a very simple trip to Macau, arrived Macau at 10am, originally I assume I have to work until 5-6pm for setting up the most complicated thing - Satellite server.
The machine is very very fast and the longest process, originally need 3-4 hours, finished in 2 hours, so lucky!
Finally I can leave at 4:30pm, far earlier than expected.
The machine is very very fast and the longest process, originally need 3-4 hours, finished in 2 hours, so lucky!
Finally I can leave at 4:30pm, far earlier than expected.
2008/12/01
Postfix with multiple relay hosts
As I have my mailbox collected in home server, I also have setup SMTP service using postfix on the home server for outgoing email.
Netvigator limited the outgoing SMTP port connectivity, I can only connect to smtp.netvigator.com, but for company email, I have to use the company SMTP server in order to send to mailing list addresses.
After some trial and error, I failed to set multiple outgoing relay hosts, but finally found a method to do that, by "transpot_maps" parameters and define some addresses/domain vs smtp server hosts, so that postfix will connect to different hosts according to the receiver addresses.
http://www.postfix.org/postconf.5.html#transport_maps
Netvigator limited the outgoing SMTP port connectivity, I can only connect to smtp.netvigator.com, but for company email, I have to use the company SMTP server in order to send to mailing list addresses.
After some trial and error, I failed to set multiple outgoing relay hosts, but finally found a method to do that, by "transpot_maps" parameters and define some addresses/domain vs smtp server hosts, so that postfix will connect to different hosts according to the receiver addresses.
http://www.postfix.org/postconf.5.html#transport_maps
訂閱:
文章 (Atom)