這標題隨便下的, 只是一個筆記的 Note.
Tags: arm, eabi, GCC, uclibc, VFP
這邊使用的是 Hinet Tunnel Broker 的服務.
不過 Hinet 只有提供 Windows 的範例, 那 Linux 呢?
Tags: hinet, IPv6, Linux, tunnel broker, ubuntu
Tags: Linux
改用 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, 網路芳鄰
Tags: Linux
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.pl
Tags: Gentoo, vmware
Tags: Gentoo
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
Tags: 32bit, 64bit, gigabit, [...]
Tags: Linux
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 的用法了.
不過這是 [...]
在 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 ~/ARM
Tags: arm, Linux, patch, RVDS
* 要使用 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
http://lkml.indiana.edu/hypermail/linux/kernel/0405.3/1608.html
Floating point is forbidden in kernel code since the floating point
registers (and other floating point context) is not saved/restored
during system calls, for efficiency. I’m speculating here, but it
might be possible to manually save the floating point context while
doing some floating point operations. The problem arises if this code
is interrupted midway. Using a preemptive 2.6 kernel [...]
Tags: Linux