hackkit:~# apt-get install inetutils-ftpd Reading package lists... Done Building dependency tree... Done The following NEW packages will be installed: inetutils-ftpd 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 91.6kB of archives. After unpacking 193kB of additional disk space will be used. Get:1 http://ftp2.jp.debian.org etch/main inetutils-ftpd 2:1.5.dfsg.1-2 [91.6kB] Fetched 91.6kB in 1s (72.2kB/s) Selecting previously deselected package inetutils-ftpd. (Reading database ... 14328 files and directories currently installed.) Unpacking inetutils-ftpd (from .../inetutils-ftpd_2%3a1.5.dfsg.1-2_arm.deb) ... Setting up inetutils-ftpd (1.5.dfsg.1-2) ... hackkit:~#
hackkit:~# echo "ftp stream tcp nowait root /usr/sbin/tcpd ftpd" >> /etc/inetd.conf hackkit:~#追加できたか確認します。
hackkit:~# tail /etc/inetd.conf #:RPC: RPC based services #:HAM-RADIO: amateur-radio services #:OTHER: Other services #最後に ftp の行があればOKです。# netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/sbin/smbd rsync stream tcp nowait root /usr/sbin/tcpd /usr/bin/rsync --daemon ftp stream tcp nowait root /usr/sbin/tcpd ftpd hackkit:~#
hackkit:~# kill -HUP `cat /var/run/inetd.pid ` hackkit:~#
hackkit:~# ftp localhost Connected to localhost. 220 hackkit FTP server (GNU inetutils 1.5) ready. Name (localhost:yasunari): 331 Password required for yasunari. Password: 230- Linux hackkit 2.6.16.16-arm1 #9 Wed Mar 7 14:17:36 JST 2007 armv5tejl 230- 230- The programs included with the Debian GNU/Linux system are free software; 230- the exact distribution terms for each program are described in the 230- individual files in /usr/share/doc/*/copyright. 230- 230- Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent 230- permitted by applicable law. 230 User yasunari logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> quit 221 Goodbye. hackkit:~#ログインできれば設定完了です。
|
|
← 開発環境のインストール |
LS-GL,HS-DHGL ハックキット LinkStation LS-GL,HS-DHGL をハックしよう LinkStation/玄箱をハックしよう |
→ dhcp サーバ |