這標題隨便下的, 只是一個筆記的 Note.
[Read more →]
如何確認 uclibc 是有 VFP 最佳化的?
九月 1st, 2010 · No Comments
→ No CommentsTags: ARM · Linux
Starcraft II: Wings of Liberty Collector’s Edition 開箱文
八月 10th, 2010 · No Comments
→ No CommentsTags: 敗家誌
[Linux] 使用 hinet IPv6 的服務
七月 30th, 2010 · 1 Comment
這邊使用的是 Hinet Tunnel Broker 的服務.
不過 Hinet 只有提供 Windows 的範例, 那 Linux 呢?
[Read more →]
→ 1 CommentTags: IPv6 · Linux
U-boot 下如何計算傳輸檔案的 crc32
七月 30th, 2010 · No Comments
→ No CommentsTags: Linux
Windows 7 存取 Linux Samba 網芳的小問題.
七月 21st, 2010 · 1 Comment
改用 Windows 7 之後, 使用網芳直接用 netbios name 去存取 Server 會有問題.
雖然在網路上看的到名稱, 但是卻無法直接存取, 會出現錯誤訊息
例如
\\SERVER : Fail
\\10.1.1.254 : OK
這個時候就要直接去改 /etc/samba/smb.conf
加上一行 netbios name 就可以,
workgroup = WORKGROUP netbios name = SERVER
順便寫一下我的版本
Windows 7 64bit
Samba 3.5.4
好小的問題 -_-!
Tags: Linux, netbios name, samba, Windows 7, workgroup, 網路芳鄰→ 1 CommentTags: Linux
Gentoo 安裝 vmware-server 無法啟動
七月 21st, 2010 · No Comments
Gentoo 安裝 vmware server 算是很簡單的
不過還是會有碰到一些奇怪的問題
# emerge vmware-server --config Configuring pkg... * Running /opt/vmware/server/bin/vmware-config.pl Making sure services for VMware Server are stopped. * WARNING: vmware is already stopped Unable to stop services for VMware Server Execution aborted.
這時候只要刪掉 /etc/vmware/not_configured 後再重新啟動 /etc/init.d/vmware 就可以了
# rm -f /etc/vmware/not_configured # /etc/init.d/vmware # /opt/vmware/server/bin/vmware-config.plTags: Gentoo, vmware
→ No CommentsTags: Gentoo
mrtg 正確取得 gigabit interface 的數據
七月 20th, 2010 · No Comments
mrtg 在掃 interface 時, 預設的 interface 都是取到 Linux 下的 32bit 的 counter.
而 32bit counter 的流量, 很容易在 5 分鐘取樣一次的 mrtg 中失真.
如果要準確反映 interface 流量, 就要取用 64bits. 的數據.
如何取用 64bits 的數據呢?
以下是 mrtg 的部份設定檔
Target[localhost_eth0]: \eth0:public@localhost: SetEnv[localhost_eth0]: MRTG_INT_IP="60.125.111.222" MRTG_INT_DESCR="eth0" MaxBytes[localhost_eth0]: 12500000 Title[localhost_eth0]: 60.125.111.222 -- ms1
在Target[localhost_eth0]: \eth0:public@localhost: 後面加上 ::::2
以下就是一個 Gigabit interface.
Target[localhost_eth1]: \eth1:public@localhost:::::2 SetEnv[localhost_eth1]: MRTG_INT_IP="192.168.1.254" MRTG_INT_DESCR="eth1" MaxBytes[localhost_eth1]: 125000000 Title[localhost_eth1]: 192.168.1.254 -- ms1
Ref.
MRTG - MRTG 2.16.2 configuration reference
→ No CommentsTags: Linux
ubuntu 下安裝 Broadcom wifi driver.
七月 19th, 2010 · No Comments
Linux 下 Broadcom 的 Wifi Driver 可以在 802.11 Linux STA driver 下載到.
不過在 ubuntu 下, 其實這個工作更容易
# sudo apt-get install bcmwl-kernel-source
然後就會下載並且編好 Broadcom Wifi Driver.
會放在 /lib/modules/[kernelversion]/updates/dkms 下
以我的為例, 就會放在
# cd /lib/modules/2.6.32-23-generic-pae/updates/dkms # ls -lF -rw-r--r-- 1 root root 10812004 2010-07-01 10:16 nvidia-current.ko -rw-r--r-- 1 root root 2138420 2010-07-16 11:55 wl.ko
wl.ko 就是 Broadcom wifi 的 module 了, 接下來就是像一般 Wifi 的用法了.
不過這是 STA. 如果是 AP 的話一般人大概是拿不到的.
個人測試過 43225 w/o EEPROM 是沒有問題的.
→ No CommentsTags: Hardware · Ubuntu
Mac 的待命模式
七月 7th, 2010 · 2 Comments
Mac 預設是睡眠模式, 這個模式在電腦關機時仍然會使用電力.
如果是平時不用時進入此模式就算了, 不過有時候關機再開就會很麻煩(不希望帶著走的時候也消耗電池 XD)
一般來說 sleep 分三級
0: sleep : Suspend to RAM
1: hibernate : Suspend to Disk
3: sleep + hibernate : Suspend to RAM and Disk .
→ 2 CommentsTags: MAC
Patch RVDS 4.0 at Linux
六月 30th, 2010 · No Comments
在 Linux 上上 RVDS 4.0 的 Patch Command 如下
# ~/ARM/bin/linux-pentium/setuplinux.bin patch --source RVDS_4_0_dist_to_4-all-all_stnd.armpatch --target ~/ARMTags: arm, Linux, patch, RVDS
→ No CommentsTags: ARM · Linux




