Nov
27
2007
從昨天下午開始把公司的 MBP 換上 Leopard, 順便把 Application 都重裝,以前常用的 Greasemonkey+Google Dilbert Comics script 現在有人寫了改良版,連結在這邊,有裝 Greasemonkey 的朋友可以試用看看,OSX 10.5(Leopard) 其實跑起來沒有想像中的慢,同事們還為了升級,還特別去買 RAM 回來加,但是我的 1G RAM 目前也跑的好好的,可能是因為系統剛剛裝完不久,效能沒有被太多東西拖垮吧!
Mar
03
2007
過年前將我的門號從遠傳 NP 到中華電信,因為過年的關係所以一直拖到明天才會生效。其實主要的目的是為了 3G,還有遠傳的網站設計跟收訊讓我一直覺得很倒彈,所以才想乾脆換一家電信業者,前兩天特地跑去中華電信的門市選購了 Nokia 6151, 拿回公司後就很興奮的開啟 Bluetooth, 哇!! 我的 Macbook Pro 可以很順利的找到 6151 的 BlueTooth device 耶,順利的第一步。接下來要作的就是去 Google 找
iSync plugin for Nokia 6151,這部分也很順利,在安裝完 plugin 以後果然就在 iSync 裡面出現手機了,看來以後要 sync 通訊錄、iCal 等也不是太大問題,現在就等著過 12 點來測試 3G 播號上網的部分囉!
整型春秋第三季今天是最後一集了,一直斷斷續續在看這部影集,其實劇情跟內容都蠻吸引我的,但是今天的結局有點太過簡單,可能是最後一集趕著收尾的一點點遺憾吧!這篇文章基本上是利用廣告時間衝到電腦前面打完的,所以如果語意上有不通順的奇怪之處還請見諒。
powered by performancing firefox
Feb
08
2007
I wanted to start the tftp service today and got this from random search in Google. There are two methods I know how to start TFTP in OSX:
- Traditional way(the old school way): Modify /etc/inetd.conf; remove the “#” in front of tftp line. Restart xinetd process. This is the same way we do in any UNIX system.
- Modern way: OSX actually uses a launchd program to control which service it should load, go check the path below:
/System/Library/LaunchDaemons/
and modify tftp.plist file, it is a config file with XML format. I provide my diff if you know how to read this:
--- /System/Library/LaunchDaemons/tftp.plist.orig 2007-02-08 20:54:33.000000000 +0800
+++ /System/Library/LaunchDaemons/tftp.plist 2007-02-08 21:01:09.000000000 +0800
@@ -4,21 +4,19 @@
Disabled
+ InitGroups
+
Label
com.apple.tftpd
ProgramArguments
/usr/libexec/tftpd
- -i
+ -u
+ root
+ -s
/private/tftpboot
+ -l
- inetdCompatibility
-
- Wait
-
-
- InitGroups
-
Sockets
Listeners
@@ -29,5 +27,10 @@
dgram
+ inetdCompatibility
+
+ Wait
+
+
save tftp.plist after you edit it, then type this command to start TFTP service:
sudo service tftp start
You can change the tftproot directory to anywhere you want to place your file, default is /private/tftproot. Any file in tftproot should be writable publicly (like the command: chmod 777 *), or you will get an error when you try to access it. Check this link to explain the modification if you cannot see my diff.