ref: 1. http://abintech.azhai.org/2007/06/debian.html 2. http://ywwang.myweb.hinet.net/linkstation-debian-howto.pdf 3. http://www.kurobo...
ref:
1. http://abintech.azhai.org/2007/06/debian.html
2. http://ywwang.myweb.hinet.net/linkstation-debian-howto.pdf
3. http://www.kurobox.info/document/linkstation-hg-debian-howto.pdf
首先下載 debian
cd /mnt
wget http://downloads.linkstationwiki.net/LSHG_PPC/Distributions/Debian/debian-sarge_powerpc-hdhglan-1.11.tar.bz2
解壓縮
bunzip2 debian-sarge_powerpc-hdhglan-1.11.tar.bz2
tar xvf debian-sarge_powerpc-hdhglan-1.11.tar
rm -f debian-sarge_powerpc-hdhglan-1.11.tar
切換 root 位置
chroot /mnt /bin/bash
設定密碼
passwd
設定任何網域能存取 LSHG
echo "ALL : ALL" >> /etc/hosts.allow
修改登入後狀態
vi /etc/init.d/utelnetd
改為內容如下
#/bin/sh
/sbin/utelnetd -l /bin/login &
exit 0;
這裡要修改 resolv.conf(更改過程, 不能連網)
vi /etc/resolv.conf
修改更新套件位置
vi /etc/apt/sources.list
改為內容如下
deb-src ftp://opensource.nchc.org.tw/debian/ stable main
deb ftp://debian.linux.org.tw/debian/ stable main
deb-src ftp://debian.linux.org.tw/debian/ stable main
deb ftp://opensource.nchc.org.tw/debian/ stable main
deb-src ftp://opensource.nchc.org.tw/debian/ stable main
deb http://security.debian.org/ stable/updates main
更新套件
apt-get update
apt-get upgrade
apt-get install ssh (每加裝套件, 都要執行apt-get update, apt-get upgrade)
apt-get install locales (畫面如下)
接著做更新 kernel 2.4 -> kernel 2.6, 請參考下面的做法.
[LinkStation HG] 更新 kernels 至 2.6 版