2007年10月19日
使用QNAP TS-109 NAS設備的心得
為了解決光碟日益增加而增添的繁瑣尋找時間,也為了能做更好的組織與加快存取速度,經過比較幾款NAS設備後,最後因為公司和QNAP公司(威聯通科技)有業務來往而以較優惠的價格採買了其TS-109 NAS設備(TS是Turbo Station的縮寫),除了擴充硬碟儲存空間,白天也能養養小動物,稍稍提升家裡的12M/1M ADSL線路的利用率。本文記錄為了配合TS-109的進駐而產生的變動與設定;另外,本篇是個人的使用經驗談,並無任何廣告或業務性質(還是先聲明較好,免得被讀者誤會是推銷文了)。
TS-109的安裝與基本設定請參考[NAS開箱+測試]QNAP TS-109(多圖),或照著快速安裝指引按部就班就能輕易地完成了。
接著再簡單介紹一下我的網路環境,我使用的是中華電信的ADSL(非固定式IP),由小烏龜接線連結一台用了兩年的54M無線基地台,原本只有一部筆記型電腦以無線網卡做DHCP連線。在接上TS-109後,區域網路配置如下:
為了方便出門在外時也能連線回家,因此先到非固定制固定IP配發服務申請把原本的8個浮動式IP換成一個固定IP和7個浮動式IP,這樣就能確保中華電信配發的是不會變動的固定IP。中華電信的這個服務是2M以上的用戶就可以申請,申請好後會收到隨機配發的IP,以後仍然用PPPoE連線方式上網,但使用的帳號要由原來的8xxxxxxx@hinet.net變成8xxxxxxx@ip.hinet.net。若過了幾分鐘仍收不到HiNet的mail時,務必記得到垃圾郵件匣裡找看看,我使用的GMail就把它當成垃圾郵件了(HiNet的郵件惡名昭彰?)。
假定我配發到的外部IP是123.123.123.123,這個IP就是無線基地台的IP,當我們由外部要連到TS-109時,必須透過無線基地台轉向(Forward)到TS-109。TS-109的管理網頁埠號使用的是8080,在外部要開啟管理網頁須使用http://123.123.123.123:8080/,而TS-109的網站伺服器(Web Server)使用的是80埠,SSH連線又要用22,針對這些通訊,我們做了新的網路配置變動如下:
亦即指定無線基地台的特定埠號轉向到192.168.0.3,如此http://123.123.123.123:埠號/就能找到該埠號對應的TS-109服務了。由於網路僅是我的工作使用平台,並非是我的專業,因此若有說明錯誤之處,還請網路先進指正。
使用PuTTY就能做SSH連線,登入後中文都顯示成亂碼,測試後發現只要把【Window→Translation→Character Set】換成UTF-8就能在PuTTY的終端機畫面裡正常顯示中文了。
既然已經有固定IP,準備去網域名稱申請服務註冊個網域,待申請完成後再行公告。
下一篇就是使用PuTTY登入TS-109,以一窺其Linux NAS 2.6.12.6-arm1奧秘。
TS-109的安裝與基本設定請參考[NAS開箱+測試]QNAP TS-109(多圖),或照著快速安裝指引按部就班就能輕易地完成了。
接著再簡單介紹一下我的網路環境,我使用的是中華電信的ADSL(非固定式IP),由小烏龜接線連結一台用了兩年的54M無線基地台,原本只有一部筆記型電腦以無線網卡做DHCP連線。在接上TS-109後,區域網路配置如下:
| 設備 | 內部IP |
| 無線基地台 | 192.168.0.1 |
| 筆記型電腦 | 192.168.0.2 |
| TS-109 | 192.168.0.3 |
假定我配發到的外部IP是123.123.123.123,這個IP就是無線基地台的IP,當我們由外部要連到TS-109時,必須透過無線基地台轉向(Forward)到TS-109。TS-109的管理網頁埠號使用的是8080,在外部要開啟管理網頁須使用http://123.123.123.123:8080/,而TS-109的網站伺服器(Web Server)使用的是80埠,SSH連線又要用22,針對這些通訊,我們做了新的網路配置變動如下:
| 設備 | 內部IP | 外部IP | 說明 |
| 無線基地台 | 192.168.0.1 | 123.123.123.123 | 我們必須透過無線基地台依埠號做轉向 |
| TS-109 | 192.168.0.3 | 123.123.123.123:8080 | 用http://123.123.123.123:8080/顯示管理網頁 |
| TS-109 | 192.168.0.3 | 123.123.123.123:80 | 用http://123.123.123.123:80/顯示自己設置的網站 |
| TS-109 | 192.168.0.3 | 123.123.123.123:22 | 用SSH連線 |
| TS-109 | 192.168.0.3 | 123.123.123.123:6881~6889 | BT的通訊埠,打開後在外部也能使用QGet直接監控BT下載狀態。有文章指出部份ISP會限制BT的流量,建議變更此處的埠號 |
使用PuTTY就能做SSH連線,登入後中文都顯示成亂碼,測試後發現只要把【Window→Translation→Character Set】換成UTF-8就能在PuTTY的終端機畫面裡正常顯示中文了。
既然已經有固定IP,準備去網域名稱申請服務註冊個網域,待申請完成後再行公告。
下一篇就是使用PuTTY登入TS-109,以一窺其Linux NAS 2.6.12.6-arm1奧秘。
2006年03月16日
2005年09月11日
2005年08月11日
[blog] 不想寫Blog時....
看來大家都會遇到文思困窘的狀況,或許是因為心情不佳,或許是工作太忙,或許是耽於玩樂,原因會有許多,但結果都是日漸荒蕪的景象。
真的不想寫時該怎麼辦?我想,順其自然就可以了...
參考:
没有動力寫Blog該怎麼辦
保持自己時常有東西可寫的blog方式
## ...繼續閱讀
真的不想寫時該怎麼辦?我想,順其自然就可以了...
參考:
没有動力寫Blog該怎麼辦
保持自己時常有東西可寫的blog方式
## ...繼續閱讀
2005年04月18日
[轉貼CNet] 慕尼黑選擇Debian作為Linux移轉版本
在Free的Linux distributions中,Debian還是許多人的首選。
慕尼黑選擇Debian作為Linux移轉版本
CNET新聞專區:Ingrid Marson
18/4/2005
原文網址 : http://taiwan.cnet.com/news/software/0,2000064574,20098348,00.htm
Debian獲得慕尼黑市府的首肯,成了轉移Windows桌上型的Linux作業系統版本。
慕尼黑市決定將1萬4千台桌上型轉移至免費的Linux版本,而非商業版的開放原始碼作業系統。
市政府上週表示將使用針對市府作客製化的Debian Linux版本,該公司已經跟兩家德國顧問商簽約協助此次轉移計畫,兩家公司分別為Gonicus與Softcon。
先前歷經一年由IBM與SuSE所提供的試用後,慕尼黑是在去年六月正式通過將市府所採用的Windows NT作業系統PC轉移至Linux作業系統。
負責此次LiMux專案的召集人Peter Hofmann表示,去年夏天招標公告公布後,他們收到許多回應,最後經過多方比較後才決定挑選Debian。由於可選擇的方案很多,因此不選用商用版本並不會太奇怪。
Hofmann表示將在年底開始正式啟動轉移計畫。
除了慕尼黑市政府決定轉進Debian外,德國外交部與IT安全辦公室,以及維也納市(City of Vienna)也都將採用該免費的Linux版本。
慕尼黑的轉移計畫從一開始就吸引許多助益, 外界曾報導微軟執行長Steve Ballmer為此還中斷在瑞士的滑雪假期兼程趕至慕尼黑勸阻該市市長打消轉移計畫。
Hofmann也向記者表示,這期間有許多有意進行轉移的機構也都打電話來詢問相關細節。(陳奭璁)
2005年04月9日
2005年02月17日
[Linux] 安裝中文環境的KDE
GNOME只要用apt-get install gnome,安裝完畢後就是中文環境,但若直接安裝KDE則會是英文版,且在語言設定處也只有英文可選,無法設定成中文環境;以下是中文版的安裝方式:
apt-get install x-window-system-core
apt-get install kdebase
apt-get install kde-i18n-zhtw
進入後用控制中心變更語言(底端左邊往右第3個按鈕-->區域性&易用性-->國家/地區&語言)為繁體中文.
使用KDE的最大原因就是:操作介面與Windows相仿,比較容易適應。
apt-get install x-window-system-core
apt-get install kdebase
apt-get install kde-i18n-zhtw
進入後用控制中心變更語言(底端左邊往右第3個按鈕-->區域性&易用性-->國家/地區&語言)為繁體中文.
使用KDE的最大原因就是:操作介面與Windows相仿,比較容易適應。
[Linux] 如何發音?
Linux有許多縮寫字, 到底應該怎要發音才好呢? 以下是由網路上蒐集來的一些發音概要:
1. Linux: "據說"至少有三種發音; 里努克斯, 里尼克斯
Linux" is a computer operating system kernel commonly used in GNU/Linux operating system such as Debian and RedHat.
Here's the gaffer and chief kernel hacker, Linus Torvalds showing us—in his very own words (with Swedish/Finnish accent)—
how to say Linux: torvalds-says-linux.wav (81kB).
There are at least three common pronunciations, and none are authoritative. Because Linus is an ethnic Swede from Finland, he pronounces it with a short "ee" sound we don't have in English. Some people pronounce it "Line-ix" like the English version of Linus. Others pronounce it "linnix", trying to imitate the Swedish. (The last vowel, being unstressed, can sound like a short i, short u, or schwa, as is normal rules of English.)
Now that Linus has been in the US a few years, he's starting to adopt an American pronunciation. When he spoke at the LinuxWorld in ?, he pronounced his name "Line-us" and his OS "linnix". Even when he used both in the same sentence. However, he has said he doesn't care how people pronounce it. He just wants people to use it.
2.GNOME - [nom] 或 [格-nom]
GNOME stands for "GNU Network Object Model Environment". GNU stands for "GNU's Not Unix", and has always been officially pronounced "guh-NEW" to minimize confusion. Since GNU is GNOME's first name, GNOME is officially pronounced "guh-NOME".
However, many people pronounce GNOME as just "NOME" (like those short people from legend), nobody will hurt you if you find this pronunciation easier.
3.SuSE - 蘇西
SuSE stands for System und Software Entwicklung, which is German for "System and software development".
The closest English approximation to the German pronunciation is something like soo'-sah with the stress on the first syllable (that's how suse.com says to pronounce it.
Of course, that's not a natural pronunciation for a native English speaker. The only e's at the ends of English words that are not silent are long (double e's), and this influences a lot of native English speakers to pronounce SuSE like Susie.
4.Debian - 蝶比恩
Debian GNU/Linux is a free distribution of the GNU/Linux operating
system.
Debian is pronounced Deb'-ee-en, with a short e in Deb, and emphasis on the first syllable. This word is a contraction of the names of Debra and Ian Murdock, who founded the project. (Dictionaries seem to offer some ambiguity in the pronunciation of Ian (!), but Ian prefers ee'-en.)
1. Linux: "據說"至少有三種發音; 里努克斯, 里尼克斯
Linux" is a computer operating system kernel commonly used in GNU/Linux operating system such as Debian and RedHat.
Here's the gaffer and chief kernel hacker, Linus Torvalds showing us—in his very own words (with Swedish/Finnish accent)—
how to say Linux: torvalds-says-linux.wav (81kB).
There are at least three common pronunciations, and none are authoritative. Because Linus is an ethnic Swede from Finland, he pronounces it with a short "ee" sound we don't have in English. Some people pronounce it "Line-ix" like the English version of Linus. Others pronounce it "linnix", trying to imitate the Swedish. (The last vowel, being unstressed, can sound like a short i, short u, or schwa, as is normal rules of English.)
Now that Linus has been in the US a few years, he's starting to adopt an American pronunciation. When he spoke at the LinuxWorld in ?, he pronounced his name "Line-us" and his OS "linnix". Even when he used both in the same sentence. However, he has said he doesn't care how people pronounce it. He just wants people to use it.
2.GNOME - [nom] 或 [格-nom]
GNOME stands for "GNU Network Object Model Environment". GNU stands for "GNU's Not Unix", and has always been officially pronounced "guh-NEW" to minimize confusion. Since GNU is GNOME's first name, GNOME is officially pronounced "guh-NOME".
However, many people pronounce GNOME as just "NOME" (like those short people from legend), nobody will hurt you if you find this pronunciation easier.
3.SuSE - 蘇西
SuSE stands for System und Software Entwicklung, which is German for "System and software development".
The closest English approximation to the German pronunciation is something like soo'-sah with the stress on the first syllable (that's how suse.com says to pronounce it.
Of course, that's not a natural pronunciation for a native English speaker. The only e's at the ends of English words that are not silent are long (double e's), and this influences a lot of native English speakers to pronounce SuSE like Susie.
4.Debian - 蝶比恩
Debian GNU/Linux is a free distribution of the GNU/Linux operating
system.
Debian is pronounced Deb'-ee-en, with a short e in Deb, and emphasis on the first syllable. This word is a contraction of the names of Debra and Ian Murdock, who founded the project. (Dictionaries seem to offer some ambiguity in the pronunciation of Ian (!), but Ian prefers ee'-en.)

