preload
九月 29

這支USB bluetooth dongle為買電腦的贈品, 實在很爛.
沒有任何品牌, 也沒給任何Driver.
上網找Driver時
發現某網站的籃牙圖片, 跟我的是一模一樣. 果然拆開後, 天線是假的….真是爛到爆.
根據該網站的作法, 我順利的裝上藍牙的Driver for XP.

在 %systemroot%\inf\bth.inf 中
找到[Sony.NT.5.1],
並新增一組
USB Bluetooth Device= BthUsb, USB\Vid_xxxx&Pid_yyyy
其中xxxx, yyyy 為這個爛bluetooth 的VID & PID

九月 29

慘劇啊~~
我賴以維生的工具jEdit 在我的MAC 升級到JAVA update 2 後再也開不起來了.
趕快找解藥啊~~
在APPLE的討論區, 立刻就有人跟我有同樣的下場了:
http://discussions.apple.com/thread.jspa?messageID=8173617
還好那裡高手多, 立刻就有補救的方法.
將/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/JavaApplicationStub 這個檔
copy 到 /Applications/JEdit.app/Contents/MacOS 中, 將此目錄中原來的jedit檔移除(或更名), 把copy過來的檔案改名為jedit即可.

呼~~ 好險, 若沒有了jEdit, 工作起來就極度不順~~

九月 23

Continue reading »

九月 22


參考:
http://www.ntu.beautifulworldco.com/weblog/?p=385

首先去修改 /etc/ssh/sshd_config ,把 PermitRootLogin 後面的 no 改成 yes,然後重新起動 sshd 就行了.
在 Solaris 10 上重新起動 sshd 的方法是 svcadm disable ssh; svcadm enable ssh

九月 22

參考:
http://blogs.sun.com/chrisg/entry/samba_meets_zfs
http://www.edplese.com/samba-with-zfs.html
http://opensolaris.org/jive/thread.jspa?messageID=190522

九月 22

Continue reading »

九月 19

我目前的想法是:
在家裏的file server(使用opensolaris and ZFS) create a ZFS Volume as iSCSI Target
然後在另外一台電腦中執行VirtualBox, 因為VirtualBox 有支援iSCSI, as Vdi disk.
嘿嘿!! 那這個Virtual Machine的Image file 就可以享受ZFS 的保護啦!!

先參考這裡:
http://breden.org.uk/2008/03/12/home-fileserver-backups/
(1) Create a ZFS Volume, then set shareiscsi=on
#zfs create -V 30G fspool/iscsi_hdd
#zfs set shareiscsi=on fspool/iscsi_hdd

(2) Enable the Solaris iSCSI Target service
# svcadm enable system/iscsitgt

(3) 用下列指令看看有沒有做成功
# iscsitadm list target -v

九月 19

我想, 對我而言, 學習opensolaris的最快方法, 就是看到什麼/想到什麼, 就趕快記下來.
所以剛剛看到一個指令:
beadm — utility for managing zfs boot environments

#man beadm
…..

九月 19

只需下列兩行指令:
#pfexec pkg refresh
#pfexec pkg image-upgrade

然後
#reboot

九月 19

參考此網站:
http://blogs.sun.com/natarajan/entry/setting_up_static_ip_and

基本上就是這句話:
- Disable Network AutoMagic(NWAM) service and enable traditional networking service
操作如下:
#svcadm enable physical:default
#svcadm disable physical:nwam

然後就可以用GUI的tool 去設定static IP address. 然後reboot
這樣可以了…….但是dns 好像還有問題.
所以就:
#cp /etc/nsswitch.dns /etc/nsswitch.conf

就OK啦!!