ref: http://david.thg.se/n2100/ http://www.cyrius.com/debian/iop/n2100/install.html 這個屬於破壞式安裝, 會失去保固, 不建議對於 Linux 不熟之朋友使用. [安裝前認知] 確定跳針在 J3/...
ref:
這個屬於破壞式安裝, 會失去保固,
不建議對於 Linux 不熟之朋友使用.
[安裝前認知]
- 確定跳針在 J3/J4 在 J3 位置
- 安裝 Debian 會 Format 全部的硬碟空間
- 會置換 thecus 原廠的 firmware
[安裝 Debian 前動作]
- 更新 thecus 至最新 firmware 2.1.05
http://www.thecus.com/Downloads/1u4500upgrade.2.00.01.bin
這是為了避免發生問題, 仍可以透過 Reboot 模式登入 thecus - 並將 thecus ip 設為 192.168.1.100
[開始安裝 Debian]
- 透過 browse 存取 http://192.168.1.100
- 帳/密 admin/admin
- 並將 thecus ip 設為 192.168.1.100
- 更新 thecus 為 Debian firmware
http://ftp.uk.debian.org/debian/dists/etch/main/installer-arm/current/images/iop32x/netboot/n2100.bin - 更新 ok, reboot 後
- 請透過 ssh 或 putty 存取 thecus (192.168.1.100)
- 帳 root
- 這裡就完成最基礎的 Debian 安裝
[解決會發生之問題]
- 先確認
symlink from /dev/rtc to /dev/rtc0 - 再執行
hwclock --systohc - 為解決時間不準之問題
vi /etc/udev/n2100-rtc.rules
內容如下
# The rtc-dev module registers a rtcN device; link the first to /dev/rtc. KERNEL=="rtc0", SYMLINK+="rtc" GROUP="audio" - 接著
cd /etc/udev/rules.d
ln -s ../n2100-rtc.rules z60_n2100-rtc.rules - ok
[控制風扇轉動]
- 停用風扇
echo 0 > /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm2
echo 0 > /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm1 - 全速風扇(建議用這個)
echo 255 > /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm1
echo 255 > /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm2
[目前有的問題]
- halt = (重新開機)
- shutdown now = (關機)