這標題隨便下的, 只是一個筆記的 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
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 上上 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
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
Tags: Linux
以前都習慣用 printk 和 /proc 做輸入輸出的動作, 不過 debugfs 看起來是 User space 和 kernel space 交流更好的選擇.
Tags: debugfs, kernel, linux kernel
Tags: Linux
最近在測 mdadm raid 5, raid 6, 順手記錄一下相關指令
Kernel 設定部份及 Application 太簡單, 不再贊述.
Tags: mdadm, raid 5, raid 6
Tags: Linux