寶貝日記 - 散熱法

6月 30th, 2006 Comments Off

夏天到了,天氣熱的要死
每隻貓都有他們的 “散熱方法“

首先是 Jiji 的腹部貼平地面法:
消暑良方

消暑良方

再來是 Lio 的腹站朝上法?
消暑良方

最後是咪咪的淑女側躺法:
消暑良方

看完我都不知道到底哪種方法比較涼快了…XD

PS. 謎之聲,巴比,把冷氣打開最涼快啦…Orz

軟體更新: iTunes 6.0.5 and iPod Updater 2006-06-28

6月 30th, 2006 Comments Off

有了 iTunes 6,您可以預覽、購買和下載 iTunes Music Store 中的音樂錄影帶、短片和熱門電視節目,而且還可以將您的音樂和購買的視訊同步到 iPod 以便隨處攜帶享用。

使用 iTunes 6.0.5,您可以將 Nike + iPod 體能訓練資料同步到 nikeplus.com,這樣您就可以輕鬆記錄進度、設定訓練目標、挑戰其他訓練,以及使用其他更多功能。您可以參訪 iTunes Music Store 中的 Nike Sport Music 區域,下載體能訓練的綜合資料、Athlete Inspiration(運動員精神鼓舞)播放列表、Nike podcast,以及其他更多內容。

注意:當您使用 iTunes 6 或以上版本從 iTunes Music Store 購買音樂之後,您其他從 iTunes Music Store 購買音樂的電腦也必須升級至 iTunes 的最新版本。

iPod Updater 2006-06-28 包含以下項目:

新“iPod 軟體 1.1.2”(適用於 iPod)
新“iPod 軟體 1.2”(適用於 iPod nano)
新“iPod 軟體 1.1.4”(適用於 iPod shuffle)
iPod Updater 2006-06-28 包含與 iPod Updater 2006-03-23 相同的軟體版本,適用於其他所有 iPod 機型。

重要事項:下載完“iPod 更新程式”軟體後,請將您的 iPod 連接到電腦並啟動“iPod 更新程式”應用程式。若“iPod 更新程式”確定需要更新您的 iPod,請按“更新”按鈕一下來將最新的軟體安裝在 iPod 上。

適用於 iPod 的“iPod 軟體 1.1.2”的功能:

錯誤修正
適用於 iPod nano 的“iPod 軟體 1.2”的功能:

Nike + iPod 支援
錯誤修正
適用於 iPod shuffle 的“iPod 軟體 1.1.4”的功能:

音量限制
錯誤修正
注意:要為 iPod shuffle 設定最大音量限制,需使用 iTunes 6.0.5 或以上版本。若需關於設定最大音量限制的相關資訊,請打開 iTunes,然後選擇“輔助說明”>“iTunes 和 Music Store 輔助說明”。

Ubuntu 上的 NetworkManager

6月 29th, 2006 Comments Off

困擾我許久的問題
同一台機器上,用 FC5 or SuSE 10.1,NetworkManager 都運作很正常,無線網卡也抓得到
唯獨 Ubuntu 上的就找不到
問了估狗大神後,終於找到答案了

因為 Debian and Ubuntu 有改過 NetworkManager 的程式碼,所以…
因此,傳統的 ifconfig or NetworkManager 只能二選一
若要用 ifconfig 來設定網路,那在 /etc/network/interfaces 裡就會有:

auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
wireless-essid myap

若這樣,NetworkManager 就不會去管 eth0 eth1 這兩張網卡了

因此,若你想要讓 eth1 這張無線網卡交給 NetworkManager 來管理
就要把 eth1 的部份註解掉

#auto eth1
#iface eth1 inet dhcp
#wireless-essid myap

我的無線網卡終於出現了…Orz

NetworkManagerFAQ:
Debian and Ubuntu modified NetworkManager so that it would not manage any devices listed in /etc/network/interfaces. If you open this file and comment out the lines for the interfaces you want to manage and reboot NetworkManager will see them. **Do not comment out l0**

Ubuntu NetworkManager WifiDocs
Devices which are automatically configured on boot will not be available in NetworkManager. To allow network manager to use all of your devices remove instances of auto in /etc/network/interfaces. (apart from the “auto lo” line, which is needed for the loopback interface)

軟體更新: QuickTime 7.1.2

6月 29th, 2006 Comments Off

QuickTime 7.1.2 解決了關於預覽 iDVD 計畫案的問題。建議所有 QuickTime 7 的使用者皆安裝此更新項目。

致 QuickTime 專業版使用者的重要告示
安裝 QuickTime 7 將會停用舊版 QuickTime(例如 QuickTime 5 或 QuickTime 6)裡的“QuickTime 專業版”功能。若您要繼續此安裝,您必須購買一個新的“QuickTime 7 專業版”註冊碼來重新使用“QuickTime 專業版”的功能。安裝好之後,請參訪 www.apple.com.tw/quicktime 以購買“QuickTime 7 專業版”的註冊碼。

Smart Package Manager

6月 28th, 2006 Comments Off

The Smart Package Manager project has the ambitious objective of creating smart and portable algorithms for solving adequately the problem of managing software upgrading and installation. This tool works in all major distributions, and will bring notable advantages over native tools currently in use (APT, APT-RPM, YUM, URPMI, etc).

smart 是一個支援各種協定(apt apt-rpm yum urpmi 等等)的一個套件管理工具
會玩 smart 主要也是因為在 SuSE 上的 zen-updater Yast2 等套件管理的功能實在 ooxx
上網問到的答案,就是改用 smart…..XD
因此,也稍微玩了一下 smart,算是一個不錯的套件管理工具,在 SuSE、FC5、Ubuntu 裡都可以使用

* for SuSE:
先把 smart smart-gui 給裝起來,在 SuSE 的安裝光碟裡就有了
$ sudo yast -i smart smart-gui

圖形介面的 smart,可以直接執行
$ sudo smart –gui
或是到選單中執行:
應用程式-系統-組態-智慧型

接下來就是要加入 Channels 了
先到選單中的 “Edit-Channels”
可以新增 Channels
我找到的一些常用的 Channels 整理如下:

SuSE 10.1 -- Main (inst-source)
type yast2:
ftp://ftp.cs.pu.edu.tw/Linux/OpenSuse/distribution/SL-10.1/inst-source
SuSE 10.1 -- Extras (non-oss-inst-source)
type yast2:
ftp://ftp.cs.pu.edu.tw/Linux/OpenSuse/distribution/SL-10.1/non-oss-inst-source
SuSE 10.1 -- Update
type rpm-md:
ftp://ftp.cs.pu.edu.tw/Linux/SuSE/suse/update/10.1/
Packman to the rescue - MULTIMEDIA codecs/programs are HERE!
type rpm-md:
http://packman.mirrors.skynet.be/pub/packman/suse/10.1/
Guru's repository
Here you can find a lot of thing for example many oss programs,
amarok beta packages, fonts and themes plus much more.
type rpm-md:
http://ftp.skynet.be/pub/suser-guru/rpm/10.1/RPMS/
usr-local-bin.org
- Created by James Ogley, contains mainly GNOME packages, but also other packages...
type yast:
ftp://ftp.gwdg.de/pub/linux/usr-local-bin/10.1
Latest Mozilla.org packages
type rpm-md:
ftp://ftp.suse.com/pub/projects/mozilla/10.1
Latest KDE applications
type rpm-md:
http://software.opensuse.org/download/KDE:/Backports/SUSE_Linux_10.1
XGL + Compiz
type rpm-md:
http://software.opensuse.org/download/Compiz-Quinn/SUSE_Linux_10.1

* for FC5
先把 smart 裝起來,在 Fedora Extras 中有
$ sudo yum install smart smart-gui smart-update
執行圖形化介面:
$ sudo smart-root
或到選單中去選:
應用程式-系統工具-Smart Package Manager

一些我常用的 Channels 整理如下:
底下都是使用 yum 所以 type=rpm-md

fedora-core     ftp://cle.linux.org.tw/pub/fedora/core/5/i386/
fedora-extras   ftp://cle.linux.org.tw/pub/fedora/extras/5/i386/
fedora-updates  ftp://cle.linux.org.tw/pub/fedora/core/updates/5/i386/

cle             ftp://cle.linux.org.tw/pub/fedora/cle/5/i386/
freshrpms       ftp://cle.linux.org.tw/pub/freshrpms/ayo/fedora/linux/5/i386/freshrpms/
livna           ftp://cle.linux.org.tw/pub/livna/5/i386/

aiglx           http://download.fedora.redhat.com/pub/fedora/projects/aiglx/i386/
Xgl             http://users.telenet.be/quenta/5/i386/

* for Ubuntu 6.06
安裝 smart
$ sudo apt-get install smartpm
執行圖形化介面:
$ sudo smart –gui

* 結語
Smart Package Manager 算是一個很不錯的套件管理程式
尤其在 SuSE 中,不改用 smart 光套件更新可能就把你搞死了(慢到爆 + 有 Bugs)
而在 FC5 上,smart 的效率算是不錯,也可以整合 apt 及 yum 的 repository (yumex 的速度也是有點慢到讓我 ooxx)
而在 Ubuntu Dapper 上,Synaptic 用起來比起 SuSE or FC5 底下的套件管理程式,實在是好用許多,且速度又快效率又好
因此,要不要用 smart 看個人喜好 (我都是 aptitude or synaptic 一起在用的…^^)

Apple 軟體更新 - 10.4.7

6月 28th, 2006 Comments Off

推薦所有使用者使用“10.4.7 更新”,它包含了一般的作業系統修正,以及對以下應用程式和技術的特定修正。它包含以下修正:

- 防止發生 AFP 死結和連線斷開的情形
- 將 Adobe 和 Quark 文件儲存到 AFP 裝載的卷宗
- Bluetooth 檔案傳送、配對和連接 Bluetooth 滑鼠,以及同步至行動電話
- QuickTime、iTunes、Final Cut Pro 和 Soundtrack 應用程式中的音訊播放功能
- 當在桌面上檢視圖像時,確保圖像的間隔距離正確
- 判斷燒錄檔案夾所需的空間
- iChat 音訊和視訊連線,以及使用 AIM 建立聊天室
- 將檔案輸入到 Keynote 3
- 當使用 iCal 和 iPhoto 時的 PDF 工作流程
- 可靠地使用工作流程中的 Automator 動作
- 在“字體簿”中輸入和移除字體
- 同步位址、書籤、行事曆事件和檔案至 .Mac
- 與協力廠商應用程式和裝置的相容性
- 之前獨立的安全更新項目

如需關於此“更新”的詳細資訊,請參訪此網站:http://www.info.apple.com/kbnum/n303771-yh。

如需關於“安全更新”的詳細資訊,請參訪此網站:http://www.info.apple.com/kbnum/n61798-yh。

搞定 Ubuntu 底下的網路設定

6月 26th, 2006 Comments Off

由於我的網路服務很複雜,有用 pppoe 撥接上網,公司內部也有好幾個不同的內部網段
因此,網路設定起來就很複雜
基本上,Ubuntu 提供的那些圖形設定介面是都無法滿足我要的設定,因此,只能手動改設定檔了

NetworkManager 這套程式
在 FC5 裡,預設會裝
在 Ubuntu 6.06 裡,要手動裝 network-manager network-manager-gnome 這兩個套件
而在 SuSE 10.1 裡則是預設使用 NetworkManager 來設定網路,你也可以選擇要用 NetworkManager or 傳統的 ifup 方式 (這點 SuSE 就做得很好)

因此,我也試著來玩玩看 NetworkManager,不過,似乎沒那麼好用 (這是適合跑來跑去並使用 DHCP 方式的人)
對於我這裡複雜的網路環境,Ubuntu 上的 NetworkManager Applet 竟然直接掛給我看…XD

繞了半天,還是回來用原始的 ifup 方式比較實在

Ubuntu 網路設定檔跟 FC5 及 SuSE 完全不一樣…真是 Orz

Ubuntu(Debian) 用的是 /etc/network/interfaces

常見的 DHCP 設定方式如下:
auto eth0
iface eth0 inet dhcp

Static IP 設定方式如下:
auto eth0
iface eth0 inet static
address 10.10.10.25
netmask 255.255.255.0
gateway 10.10.10.1

而我的環境比較複雜,需要設定 Static route,則可以使用 up command 來設定,如下:
up route add -net 172.16.0.0 netmask 255.255.0.0 gw 10.10.10.254

合在一起就是:
auto eth0
iface eth0 inet static
address 10.10.10.25
netmask 255.255.255.0
gateway 10.10.10.1
up route add -net 172.16.0.0 netmask 255.255.0.0 gw 10.10.10.254

這樣,我就可以透過 10.10.10.254 這台機器連到 172.16 的網段去
另外 pre-up post-up 等就是用來在啟動這張網卡前及後要做的事

再來,我這張網卡還想要用 pppoe 來撥接上網,我沒找到圖形的設定方式,所以只好執行:
$ pppoeconf
照著指定慢慢設定,設定好後 /etc/network/interfaces 的內容會多出如下:
auto dsl-provider
iface dsl-provider inet ppp
provider dsl-provider
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf

還算方便
而我預設的 nameserver 不想用 pppoe 給的外部 name server,而是要用內部的 nameserver
因此,我把 /etc/ppp/peers/dsl-provider 裡的 usepeerdns 那行給 mark 掉:
#usepeerdns

重新啟動網路:
$ sudo /etc/init.d/networking restart

再來就是使用 dyndns 的設定:
先安裝 ddclient 套件
安裝好後就會出現設定的畫面,照著輸入相關資訊即可
然後跑一下 ddclient 就 OK 了

看起來,一切還算順利…:)

FireStats icon Powered by FireStats