richliu's blog

Linux, 工作, 生活.

richliu's blog header image 4

[Linux] 使用 hinet IPv6 的服務

七月 30th, 2010 · 1 Comment

這邊使用的是 Hinet Tunnel Broker 的服務.
不過 Hinet 只有提供 Windows 的範例, 那 Linux 呢?

Tags: hinet, IPv6, Linux, tunnel broker, ubuntu

[Read more →]

Tags: IPv6 · Linux

U-boot 下如何計算傳輸檔案的 crc32

七月 30th, 2010 · No Comments

常常會在 u-boot 下使用 TFTP 傳檔案, 但是怎麼知道傳檔的 crc32 是正確的?

Tags: crc32, u-boot, ubuntu

[Read more →]

Tags: 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 的用法了.
不過這是 [...]

[Read more →]

Tags: Hardware · Ubuntu

[筆記] ubuntu 裝 RVDS.

六月 7th, 2010 · 1 Comment

* 要使用 User right 安裝, 不能 sudo install
* 直接用 ISO file 似乎會有問題
安裝完以後, 在 ubuntu 10.04 的環境下要另外安裝 Openmotif

# wget http://mirrors.kernel.org/ubuntu/pool/multiverse/o/openmotif/libmotif3_2.2.3-4_i386.deb
# sudo dpkg -i libmotif3_2.2.3-4_i386.deb

這樣就可以了 .

Tags: openmotif, RVDS, ubuntu

[Read more →]

Tags: ARM · Ubuntu

Sharp ARM Base Netbook PC-Z1 NetWalker

九月 28th, 2009 · 3 Comments

最近 Sharp 開始出售第一台 ARM Base 的 Netbook , 取名 NetWalker
不過說他是 Netbook 我個人覺得這一台的定位比較像是放在比電子字典更強一點點的功能.

Tags: arm, netbook, PC-Z1, SHARP, ubuntu

[Read more →]

Tags: Hardware · Linux

[新聞][想法] Ubuntu announces ARM port

十一月 21st, 2008 · 1 Comment

原文在 http://linuxdevices.com/news/NS9527593286.html
節錄如下:
Canonical announced it will port Ubuntu Desktop Linux to the ARMv7 architecture. Targeted at netbooks, the Ubuntu ARM distribution could set the stage for Intel to lose the 『software advantage』 that has enabled x86 to shrug off attacks from other architectures for the last 30 years.
沒有想到 ARM netbook 來的這麼快, OLPC 的構想, eeePC 的成功, 到現在 [...]

[Read more →]

Tags: Embedded · Hardware · Ubuntu

Trace32 在 Ubuntu 上執行的問題

四月 7th, 2008 · 1 Comment

Trace32 在 ubuntu 上會抓不到 USB device, 在 Gentoo 上並沒有這樣的問題.
這是因為 ubuntu USB device 預設不會建立相容目錄 /proc/bus/usb .
這時候就要修改 /etc/init.d/mountdevsubfs.sh , 找到

#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs 『』 /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount –rbind /dev/bus/usb /proc/bus/usb

將最後四行的 『#』 unmark 掉.
然後建立 system group 給 usb 的使用者
sudo addgroup –system usbusers
# Output GID 128
# 加入 USER 到 usbusers [...]

[Read more →]

Tags: Embedded · Hardware · UNIX