OpenBlockS266/128/16R LAN環境だけで、Lennyをいれる。。

また、いじりはじめる。600じゃないのが、ミソだな。

PLATHOMEにあるLennyには、telnetdがないのでリブート前に、telnetdを入れないと何も出来なくなります。
リブート前に、chrootして、base-configしようとしましたがbase-configがみつかりません。
apt-getは、動かせました。



設定は、初期設定からはじめる。
LANは、ETHER-0 192.168.253.254が、OpenBlocks。
192.168.253.1をMACに設定して、MACからLANで作業する。

MACでの作業。

http://www.plathome.co.jp/support/labo/obs266/から
標準版、zImage.initrd.treeboot-productを、OBS266-std-200909に名前をかえてダウンロード。

そのあと、MACFTPを立ち上げておく。

OpenBlocksに、user1でloginする。
ftpで、MACからOBS266-std-200909をOpenBlocksに取り込む。
取り込んだ後、rootになって、以下のコマンドを入力。

/usr/sbin/flashcfg -f OBS266-std-200909

# /usr/sbin/flashcfg -f OBS266-std-200909 
Load boot image to FlashROM
##################################################
###############
done

これで、アップデートは終了。

CFを初期化

# fdisk /dev/hda

The number of cylinders for this disk is set to 7899.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 4076 MB, 4076642304 bytes
16 heads, 63 sectors/track, 7899 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 
Value out of range.
Partition number (1-4): 1
First cylinder (1-7899, default 1): 
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-7899, default 7899): +2000M

Command (m for help): p

Disk /dev/hda: 4076 MB, 4076642304 bytes
16 heads, 63 sectors/track, 7899 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        3876     1953472+  83  Linux

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2^?
First cylinder (3877-7899, default 3877): 
Using default value 3877
Last cylinder or +size or +sizeM or +sizeK (3877-7899, default 7899): 
Using default value 7899

Command (m for help): p

Disk /dev/hda: 4076 MB, 4076642304 bytes
16 heads, 63 sectors/track, 7899 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        3876     1953472+  83  Linux
/dev/hda2            3877        7899     2027592   83  Linux

Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list codes): 82
Changed system type of partition 1 to 82 (Linux swap / Solaris)

Command (m for help): p

Disk /dev/hda: 4076 MB, 4076642304 bytes
16 heads, 63 sectors/track, 7899 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        3876     1953472+  82  Linux swap / Solaris
/dev/hda2            3877        7899     2027592   83  Linux

Command (m for help): a
Partition number (1-4): 2

Command (m for help): p

Disk /dev/hda: 4076 MB, 4076642304 bytes
16 heads, 63 sectors/track, 7899 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        3876     1953472+  82  Linux swap / Solaris
/dev/hda2   *        3877        7899     2027592   83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
# mke2fs -j /dev/hda2
mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
253952 inodes, 2027592 blocks
101379 blocks (5.00%) reserved for the super user
First data block=1
248 block groups
8192 blocks per group, 8192 fragments per group
1024 inodes per group
Superblock backups stored on blocks: 
	8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409, 663553, 
	1024001, 1990657

Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 36 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
# mkswap /dev/hda1
Setting up swapspace version 1, size = 2000351 kB
no label, UUID=9a3ec867-5c51-4398-b48c-416541979b22

マウントして、使えるようにする。

# mount -t ext3 /dev/hda2 /mnt
# mount
/dev/ram1 on / type ext2 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=4,mode=620)
none on /sys type sysfs (rw)
/dev/hda2 on /mnt type ext3 (rw)

NetWorkの設定。
外に出られないと、何もできない。

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.253.0   *               255.255.255.0   U     0      0        0 eth0
192.168.254.0   *               255.255.255.0   U     0      0        0 eth1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.253.194 0.0.0.0         UG    1      0        0 eth0
# route add -net default gw 192.168.253.1
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.253.0   *               255.255.255.0   U     0      0        0 eth0
192.168.254.0   *               255.255.255.0   U     0      0        0 eth1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.253.1   0.0.0.0         UG    0      0        0 eth0
default         192.168.253.194 0.0.0.0         UG    1      0        0 eth0

dnsを、/etc/resolv.confに設定する。

Flashに、ここまでをセーブ。

# /usr/sbin/flashcfg -s /etc/flashcfg 
tar: Removing leading `/' from member names
/etc/adjtime
/etc/fstab
/etc/group
/etc/hosts
/etc/hosts.allow
/etc/hosts.deny
/etc/inetd.conf
/etc/inittab
/etc/nsswitch.conf
/etc/passwd
/etc/rc.conf
/etc/rc.iptables
/etc/rc.local
/etc/resolv.conf
/etc/services
/etc/shadow
/etc/syslog.conf
/etc/netstart.local
/etc/flashcfg
/etc/FLASHCFG
/etc/dhcpd.conf
/etc/namedb/named.conf
/etc/namedb/127
/etc/namedb/localhost
/etc/namedb/loopback.v6
/etc/namedb/db/
/etc/ppp/
/etc/ppp/options
/etc/ppp/chap-secrets
/etc/ppp/pap-secrets
/etc/ppp/ppp-on
/etc/ppp/ppp-off
/etc/ppp/ppp-on-dialer
/etc/ppp/pppoe.conf
/etc/ppp/firewall-standalone
/etc/ppp/firewall-masq
/etc/mail/aliases
/etc/mail/local-host-names
/etc/mail/relay-domains
/etc/usermgmt.conf
/usr/contrib/etc/thttpd.conf
/usr/contrib/etc/openblocks.conf
/etc/vtund.conf
/etc/ntp.conf
/etc/lkm.conf
/etc/pcmcia/config.opts
Save files to FlashROM
#
done

Debian Lenny を、ftp://ftp.plathome.co.jp/pub/OpenBlockS266/misc/plathome/lenny-powerpc-obs266-20090424-0.tar.gzから、ダウンロードする。その後、展開しておきます。

#cd mnt

# ftp ftp://ftp.plathome.co.jp/pub/OpenBlockS266/misc/plathome/lenny-powerpc-obs266-20090424-0.tar.gz
Connected to download.plathome.co.jp.
220 ProFTPD 1.3.0 Server (ftp.plathome.co.jp) [219.106.247.84]
331 Anonymous login ok, send your complete email address as your password.
230 Anonymous access granted, restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
200 Type set to I
250 CWD command successful
250 CWD command successful
250 CWD command successful
250 CWD command successful
local: lenny-powerpc-obs266-20090424-0.tar.gz remote: lenny-powerpc-obs266-20090424-0.tar.gz
227 Entering Passive Mode (219,106,247,84,234,122).
150 Opening BINARY mode data connection for lenny-powerpc-obs266-20090424-0.tar.gz (56446483 bytes)
 43% |*********************************                                            | 24064 KB  511.99 KB/s    01:00 ETA# cd /mnt
# ls
100% |*****************************************************************************| 55123 KB  512.18 KB/s    00:00 ETA
226 Transfer complete.
56446483 bytes received in 01:47 (512.12 KB/s)
221 Goodbye.

# ls
lenny-powerpc-obs266-20090424-0.tar.gz	lost+found

# tar zxpf lenny-powerpc-obs266-20090424-0.tar.gz 

# ls
bin   dev  home					   lib	  lost+found  mnt  proc  sbin	  srv  tmp  var
boot  etc  lenny-powerpc-obs266-20090424-0.tar.gz  lib64  media       opt  root  selinux  sys  usr


設定を変更しておく。

# cat /mnt/etc/fstab 
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/dev/hda1	swap	swap	defaults	0	0
/dev/hda2	/	ext3	defaults	1	1
proc		/proc	proc	defaults	0	0

# cat /mnt/etc/network/interfaces 
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
	address 192.168.253.254
	netmask 255.255.255.0
	gateway 192.168.253.1

auto eth1
iface eth1 inet static
	address 192.168.254.254
	netmask 255.255.255.0

# cp /etc/resolv.conf /mnt/etc/resolv.conf

# mount -t proc none /mnt/proc 
# chroot /mnt

# cat /etc/apt/sources.list
deb http://ftp.jp.debian.org/debian lenny main contrib non-free
deb-src http://ftp.jp.debian.org/debian lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib

# apt-get update
Get:1 http://ftp.jp.debian.org lenny Release.gpg [1032B]
Get:2 http://ftp.jp.debian.org lenny Release [73.6kB]                                                
Ign http://ftp.jp.debian.org lenny/main Packages/DiffIndex                                                  
Get:3 http://ftp.jp.debian.org lenny/contrib Packages [77.7kB]                                              
Get:4 http://ftp.jp.debian.org lenny/non-free Packages [97.6kB]                                                        
Get:5 http://ftp.jp.debian.org lenny/main Sources [2982kB]                                                             
Get:6 http://ftp.jp.debian.org lenny/contrib Sources [46.2kB]                                                          
Get:7 http://ftp.jp.debian.org lenny/non-free Sources [58.5kB]                                                         
Get:8 http://security.debian.org lenny/updates Release.gpg [835B]                                                      
Get:9 http://volatile.debian.org lenny/volatile Release.gpg [189B]                                                     
Get:10 http://ftp.jp.debian.org lenny/main Packages [6825kB]                                                           
Get:11 http://security.debian.org lenny/updates Release [40.8kB]                             
Get:12 http://volatile.debian.org lenny/volatile Release [40.7kB]                                                
Get:13 http://security.debian.org lenny/updates/main Packages [293kB]                                               
Get:14 http://volatile.debian.org lenny/volatile/main Packages [7550B]                                                 
Get:15 http://volatile.debian.org lenny/volatile/contrib Packages [20B]                                                
Get:16 http://volatile.debian.org lenny/volatile/main Sources [2240B]                                                  
Get:17 http://volatile.debian.org lenny/volatile/contrib Sources [20B]                                                 
Get:18 http://security.debian.org lenny/updates/contrib Packages [20B]                                                 
Get:19 http://security.debian.org lenny/updates/non-free Packages [20B]                                                
Get:20 http://security.debian.org lenny/updates/main Sources [72.3kB]                                                  
Get:21 http://security.debian.org lenny/updates/contrib Sources [20B]                                                  
Get:22 http://security.debian.org lenny/updates/non-free Sources [20B]                                                 
Fetched 10.6MB in 60s (176kB/s)                                                                                        
Reading package lists... Done

# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
  apt apt-utils base-files dhcp3-client dhcp3-common gnupg gpgv libnewt0.52 libsasl2-2 libssl0.9.8 perl-base tzdata
  wget whiptail
14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 8348kB of archives.
After this operation, 49.2kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://ftp.jp.debian.org lenny/main base-files 5lenny4 [60.5kB]
Get:2 http://ftp.jp.debian.org lenny/main perl-base 5.10.0-19lenny2 [1046kB]                                         
Get:3 http://security.debian.org lenny/updates/main libnewt0.52 0.52.2-11.3+lenny1 [71.9kB]                         
Get:4 http://volatile.debian.org lenny/volatile/main tzdata 2009l-0lenny1.1 [772kB]                                 
Get:5 http://ftp.jp.debian.org lenny/main apt 0.7.20.2+lenny1 [1707kB]                     
Get:6 http://security.debian.org lenny/updates/main wget 1.11.4-2+lenny1 [624kB]        
Get:7 http://ftp.jp.debian.org lenny/main gpgv 1.4.9-3+lenny1 [154kB]           
Get:8 http://ftp.jp.debian.org lenny/main gnupg 1.4.9-3+lenny1 [2000kB]   
Get:9 http://ftp.jp.debian.org lenny/main apt-utils 0.7.20.2+lenny1 [212kB]         
Get:10 http://ftp.jp.debian.org lenny/main dhcp3-client 3.1.1-6+lenny3 [241kB]      
Get:11 http://ftp.jp.debian.org lenny/main dhcp3-common 3.1.1-6+lenny3 [305kB]        
Get:12 http://ftp.jp.debian.org lenny/main libsasl2-2 2.1.22.dfsg1-23+lenny1 [120kB]       
Get:13 http://ftp.jp.debian.org lenny/main libssl0.9.8 0.9.8g-15+lenny3 [1000kB]    
Get:14 http://security.debian.org lenny/updates/main whiptail 0.52.2-11.3+lenny1 [36.4kB]                              
Fetched 8348kB in 22s (364kB/s)                                                                                        
Preconfiguring packages ...
(Reading database ... 8306 files and directories currently installed.)
Preparing to replace base-files 5lenny2 (using .../base-files_5lenny4_powerpc.deb) ...
Unpacking replacement base-files ...
Processing triggers for man-db ...
Setting up base-files (5lenny4) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 8306 files and directories currently installed.)
Preparing to replace perl-base 5.10.0-19 (using .../perl-base_5.10.0-19lenny2_powerpc.deb) ...
Unpacking replacement perl-base ...
Processing triggers for man-db ...
Setting up perl-base (5.10.0-19lenny2) ...
(Reading database ... 8306 files and directories currently installed.)
Preparing to replace apt 0.7.20.2 (using .../apt_0.7.20.2+lenny1_powerpc.deb) ...
Unpacking replacement apt ...
Processing triggers for man-db ...
Setting up apt (0.7.20.2+lenny1) ...
Installing new version of config file /etc/cron.daily/apt ...
gpg: key 6070D3A1: "Debian Archive Automatic Signing Key (4.0/etch) <ftpmaster@debian.org>" not changed
gpg: key ADB11277: "Etch Stable Release Key <debian-release@lists.debian.org>" not changed
gpg: key BBE55AB3: "Debian-Volatile Archive Automatic Signing Key (4.0/etch)" not changed
gpg: key F42584E6: "Lenny Stable Release Key <debian-release@lists.debian.org>" not changed
gpg: key 55BE302B: "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" not changed
gpg: key 6D849617: "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" not changed
gpg: Total number processed: 6
gpg:              unchanged: 6
(Reading database ... 8306 files and directories currently installed.)
Preparing to replace gpgv 1.4.9-3 (using .../gpgv_1.4.9-3+lenny1_powerpc.deb) ...
Unpacking replacement gpgv ...
Processing triggers for man-db ...
Setting up gpgv (1.4.9-3+lenny1) ...
(Reading database ... 8306 files and directories currently installed.)
Preparing to replace gnupg 1.4.9-3 (using .../gnupg_1.4.9-3+lenny1_powerpc.deb) ...
Unpacking replacement gnupg ...
Processing triggers for man-db ...
Setting up gnupg (1.4.9-3+lenny1) ...
(Reading database ... 8306 files and directories currently installed.)
Preparing to replace tzdata 2008h-2 (using .../tzdata_2009l-0lenny1.1_all.deb) ...
Unpacking replacement tzdata ...
Setting up tzdata (2009l-0lenny1.1) ...

Current default timezone: 'Asia/Tokyo'
Local time is now:      Wed Oct 21 14:49:02 JST 2009.
Universal Time is now:  Wed Oct 21 05:49:02 UTC 2009.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

(Reading database ... 8312 files and directories currently installed.)
Preparing to replace apt-utils 0.7.20.2 (using .../apt-utils_0.7.20.2+lenny1_powerpc.deb) ...
Unpacking replacement apt-utils ...
Preparing to replace dhcp3-client 3.1.1-6 (using .../dhcp3-client_3.1.1-6+lenny3_powerpc.deb) ...
Unpacking replacement dhcp3-client ...
Preparing to replace dhcp3-common 3.1.1-6 (using .../dhcp3-common_3.1.1-6+lenny3_powerpc.deb) ...
Unpacking replacement dhcp3-common ...
Preparing to replace libnewt0.52 0.52.2-11.3 (using .../libnewt0.52_0.52.2-11.3+lenny1_powerpc.deb) ...
Unpacking replacement libnewt0.52 ...
Preparing to replace libsasl2-2 2.1.22.dfsg1-23 (using .../libsasl2-2_2.1.22.dfsg1-23+lenny1_powerpc.deb) ...
Unpacking replacement libsasl2-2 ...
Preparing to replace libssl0.9.8 0.9.8g-15 (using .../libssl0.9.8_0.9.8g-15+lenny3_powerpc.deb) ...
Unpacking replacement libssl0.9.8 ...
Preparing to replace wget 1.11.4-2 (using .../wget_1.11.4-2+lenny1_powerpc.deb) ...
Unpacking replacement wget ...
Preparing to replace whiptail 0.52.2-11.3 (using .../whiptail_0.52.2-11.3+lenny1_powerpc.deb) ...
Unpacking replacement whiptail ...
Processing triggers for man-db ...
Setting up apt-utils (0.7.20.2+lenny1) ...
Setting up dhcp3-common (3.1.1-6+lenny3) ...
Setting up dhcp3-client (3.1.1-6+lenny3) ...
Setting up libnewt0.52 (0.52.2-11.3+lenny1) ...
Setting up libsasl2-2 (2.1.22.dfsg1-23+lenny1) ...
Setting up libssl0.9.8 (0.9.8g-15+lenny3) ...
Setting up wget (1.11.4-2+lenny1) ...
Setting up whiptail (0.52.2-11.3+lenny1) ...

# aptitude update 
Writing extended state information... Done
Hit http://ftp.jp.debian.org lenny Release.gpg
Hit http://ftp.jp.debian.org lenny Release                                 
Ign http://ftp.jp.debian.org lenny/main Packages/DiffIndex                                      
Ign http://ftp.jp.debian.org lenny/contrib Packages/DiffIndex                               
Ign http://ftp.jp.debian.org lenny/non-free Packages/DiffIndex                              
Ign http://ftp.jp.debian.org lenny/main Sources/DiffIndex                                   
Ign http://ftp.jp.debian.org lenny/contrib Sources/DiffIndex                                
Ign http://ftp.jp.debian.org lenny/non-free Sources/DiffIndex                                                           
Hit http://volatile.debian.org lenny/volatile Release.gpg                                                               
Hit http://ftp.jp.debian.org lenny/main Packages                                                                        
Hit http://ftp.jp.debian.org lenny/contrib Packages
Hit http://ftp.jp.debian.org lenny/non-free Packages
Hit http://ftp.jp.debian.org lenny/main Sources
Hit http://ftp.jp.debian.org lenny/contrib Sources
Hit http://security.debian.org lenny/updates Release.gpg
Hit http://ftp.jp.debian.org lenny/non-free Sources
Hit http://volatile.debian.org lenny/volatile Release
Hit http://security.debian.org lenny/updates Release
Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/contrib Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
Ign http://volatile.debian.org lenny/volatile/contrib Sources/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Sources/DiffIndex
Hit http://volatile.debian.org lenny/volatile/main Packages
Hit http://volatile.debian.org lenny/volatile/contrib Packages
Hit http://volatile.debian.org lenny/volatile/main Sources
Hit http://security.debian.org lenny/updates/main Packages
Hit http://security.debian.org lenny/updates/contrib Packages
Hit http://security.debian.org lenny/updates/non-free Packages
Hit http://security.debian.org lenny/updates/main Sources
Hit http://security.debian.org lenny/updates/contrib Sources
Hit http://volatile.debian.org lenny/volatile/contrib Sources
Hit http://security.debian.org lenny/updates/non-free Sources
Reading package lists... Done   

# aptitude upgrade
W: The "upgrade" command is deprecated; use "safe-upgrade" instead.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done
Reading task descriptions... Done  
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done
Reading task descriptions... Done 

# aptitude install telnetd    
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done
Reading task descriptions... Done  
The following NEW packages will be installed:
  openbsd-inetd{a} telnetd 
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 84.7kB of archives. After unpacking 295kB will be used.
Do you want to continue? [Y/n/?] 
Writing extended state information... Done
Get:1 http://ftp.jp.debian.org lenny/main openbsd-inetd 0.20080125-2 [38.3kB]
Get:2 http://ftp.jp.debian.org lenny/main telnetd 0.17-36 [46.4kB]
Fetched 84.7kB in 0s (121kB/s)
Selecting previously deselected package openbsd-inetd.
(Reading database ... 8312 files and directories currently installed.)
Unpacking openbsd-inetd (from .../openbsd-inetd_0.20080125-2_powerpc.deb) ...
Selecting previously deselected package telnetd.
Unpacking telnetd (from .../telnetd_0.17-36_powerpc.deb) ...
Processing triggers for man-db ...
Setting up openbsd-inetd (0.20080125-2) ...
Stopping internet superserver: inetd.
Not starting internet superserver: no services enabled.
Setting up telnetd (0.17-36) ...
Adding user telnetd to group utmp
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done

/etc/inetd.confを確認。

telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd

が、あればおk。

/etc/hosts.allowに、in.telnetd: ALLを追加。denyには、ALL: PARANOIDを追加。

adduserをしておきます。rootじゃはいれないかもなので。。

その後、chrootは抜けて、bootをCFにして、リブート。。

# exit
# umount /mnt/proc
# umount /mnt
# flashcfg -c hda2
Boot device change to hda2

# reboot

Broadcast message from root (pts/0) (Fri Oct  9 23:39:56 2009):

The system is going down for reboot NOW!

telnetで、無事、loginできました。。。

kanrisha-no-macbook:~ guutara$ telnet 192.168.253.254
Trying 192.168.253.254...
Connected to 192.168.253.254.
Escape character is '^]'.
Password: 
Linux LinuxServer 2.6.16 #2 Tue Sep 8 19:43:02 JST 2009 ppc

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
guutara@LinuxServer:~$ su -
Password: 
LinuxServer:~# base
base64    basename  
LinuxServer:~# base-config
-su: base-config: command not found

||

base-configは、ないみたいですね。。