Notes: April 2005 Archives


Vote 0 Votes

SMBIOS Kernel Module provides access to the management information of SMBIOS structures in both human readable and binary form via the /proc file system.
edit Makefile, change INCLUDEDIR to your current kernel source include directory
eg. INCLUDEDIR = /usr/src/linux-2.4.30/include
# make (will generate smbios.o)
# insmod smbios.o (load module)
SMBIOS information available in /proc/smbios
ref. Wikipedia - SMBIOS

Cheap Hosting

Vote 0 Votes

GoDaddyEconomy Hosting, 一個月 USD 3.95
包含 500MB 空間、每個月傳輸量 25G, 100 個 Email, 一個 Database (MySQL or MS SQL),
有 Linux 及 Windows 平台
這個價格實在很吸引人, 於是買了一個月試看看
提供 FTP 上傳檔案, Email 有提供 POP3, SMTP
頻寬表現也不差, 在不同時間用 HiNet 及 TANET 抓檔測試, 都能得到 200-300K/s 的結果,
即 Godaddy 提供 2M 左右的上傳頻寬
MySQL 有提供 phpMyAdmin 給 user 管理
比較之下, HiNet 的 Hosting 簡直是天價, 最低檔的, 15MB, 每個月還要 NTD 800


Vote 0 Votes

DSLR or Digital SLR = Digital Single Lens Reflex, 數位單鏡反光鏡式相機, 簡言之, 就是數位單眼相機
特性和傳統單眼相機一樣, 僅儲存媒體不同
這類的相機, 都是專業級的高檔相機, 價格不斐
在 DSLR 市場, Canon 目前具領導地位
ref. Wikipedia - DSLR | 奇摩知識 - 什麼是 DSLR

Opera 在四天內下載次數超過一百萬, Opera 總裁要準備橫渡大西洋了!
Opera 網頁上的後續報導


Vote 0 Votes

上週五去拍了婚紗, 事實上, 已經延了很多次, 都不巧遇到下雨.
大部分的時間都在等 Kelly 化妝, 覺得攝影師的功力不錯, 他用的相機是用 Canon EOS D60
Kelly 的照片應該都滿好看的, 我是覺得自己笑起來很假.
外景在西湖, 還遇到某客家電視台來採訪我們! 節目主持人是小鍾
(後來查到應該是 客家玩透透 這個節目)
還好當天不是很熱, 不然一直流汗很受不了.
早上拍了兩套衣服, 下午拍外景兩套, 回來再拍三套, 7:50 拍完, 拍照過程很順利.

JOE 3.2

Vote 0 Votes

Download | Release Notes
JOE 3.2 上個月出的新版
Hex edit mode, joe -hex file, hex search, type `xff`x03 to search for FF03
xterm mouse support

World Wind Demo

Vote 0 Votes

1. 可以用 A, S, D, W 旋轉, 切換視角
2. 某些地方會有細部的空照
錄了一段 Demo (XVID MPEG4, zoom in 舊金山金門大橋), 看看吧


Vote 0 Votes

Google Dictionary

Vote 0 Votes

做了個小工具使在瀏覽器中選取英文, 按右鍵, 使用 Google 字典翻譯功能
for Internet Explorer | for Firefox
Firefox 要先裝 Context Search Extenstion

Internet Explorer screen shot

Firefox screen shot

ref. Dave's Blog - Google dictionary

Build prism54 AP

Vote 0 Votes

Please read prism54 README first, it's very clear.
The following is my notes.
My environment
Kernel: 2.4.25
Card: Corega CG-WLCB-54GT (ref. Chipsets and Wireless cards supported by the Linux prism54 driver)
eth0 as WAN, eth1 as LAN

I chose 2nd way (not patch kernel) describe in prism54 README

tar jxvf prism54-1.2.tar.bz2
cd prism54-1.2
make KDIR=/usr/src/linux-2.4.25 clean modules

then get prism54.o module

Kernel config
  Code maturity level options --->
   Prompt for development and/or incomplete code/drivers
  General setup --->
   Support for hot-pluggable devices
CONFIG_FW_LOADER: m/y (either one will work)
  Library routines --->
   Hotplug firmware loading support (EXPERIMENTAL)
  Network device support --->
   Wireless Lan (non-hamradio)
For PCMCIA Cards :
  General setup --->
   PCMCIA/CardBus support --->
   PCMCIA/CardBus support (m or y)
   [*] CardBus support (Important!)

Make new kernel (make dep && make bzImage)

Get firmware

mkdir -p /usr/lib/hotplug/firmware
cd /usr/lib/hotplug/firmware
mv isl3890

Boot with new kernel and use prism54.o module
Make sure the hotplug system has been setup properly,
otherwise you might get errors in the kernel log stating that request_firmware() has failed
  • does "cat /proc/sys/kernel/hotplug" show something like "/sbin/hotplug"?
  • is /sbin/hotplug present?
  • is the "firmware" agent is present (call /sbin/hotplug without any argument to show a list of available agents)
  • have you copied the firmware file into the folder expected by firmware.agent? (usually "/usr/lib/hotplug/firmware/")
  • for 2.6.x you need to mount sysfs!
    insmod prism54.o

    I've tried many times and got this error, maybe you never get this message.
    PCI: No IRQ known for interrupt pin A of device 0000:01:00.0.
    eth2: could not install IRQ handler

    Solution: enable ACPI and disable APM in kernel config and enable ACPI support in BIOS
    If no error occured,
    ifconfig eth2 up
    iwconfig eth2 mode master
    iwconfig eth2 essid default

    Finaly, bind eth1 and eth2 as bridge, prism54 AP should work now.

  • Firefox user 大概佔一成, IE user 已少於八成

    World Wind

    Vote 0 Votes

    World WindNASA 出的軟體, 可以從衛星的角度看地球, 1.3 版約 171MB

    ref. 竹貓星球 - 地球放大鏡

    MSN 7 為了安全因素, 對一些特定副檔名檔案作封鎖, 我覺得這實在是因噎廢食的作法
    其副檔名封鎖封是在接收端控制, 只要加入以下 registry 即可再接收已封鎖的檔案
    LowRiskFileTypes 可以自行調整

    Windows Registry Editor Version 5.00


    2005-07-07 更新
    經測試新版的 MSN (7.0.0813以後) 已不適用這個方法, 請參考 MSN Messenger 7 Remove File Transfer Protection

    Gmail Growth

    Vote 0 Votes

    Gmail 一週年, 空間再加碼, 空間正漸漸提升中(寫這篇文章時是1350MB)
    剛好 我的 Gmail 滿了, 容量來得正是時候.

    G is for growth
    Storage is an important part of email, but that doesn't mean you should have to worry about it. To celebrate our one-year birthday, we're giving everyone one more gigabyte. But why stop the party there? Our plan is to continue growing your storage beyond 2GBs by giving you more space as we are able. We know that email will only become more important in people's lives, and we want Gmail to keep up with our users and their needs. From Gmail, you can expect more.

    4/1 phpinfo()

    Vote 0 Votes

    April fools' day

    About this Archive

    This page is an archive of entries in the Notes category from April 2005.

    Notes: March 2005 is the previous archive.

    Notes: May 2005 is the next archive.

    Find recent content on the main index or look in the archives to find all content.

    Monthly Archives