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 0s (292kB/s) Selecting previously deselected package inetutils-ftpd. (Reading database ... 14410 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 # run this only on machines acting as "boot servers." #: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 ftp stream tcp nowait root /usr/sbin/tcpd ftpd hackkit:~#
hackkit:~# kill -HUP `cat /var/run/inetd.pid ` hackkit:~#
yasunari@sil:~$ ftp 192.168.2.44 Connected to 192.168.2.44. 220 hackkit FTP server (GNU inetutils 1.5) ready. Name (192.168.2.44:yasunari): yasunari 331 Password required for yasunari. Password: 230- Linux hackkit 2.6.16.16-arm1 #132 Mon Aug 4 13:52:40 JST 2008 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> ls 200 PORT command sucessful. 150 Opening ASCII mode data connection for '/bin/ls'. total 16 -rw------- 1 yamasita 15 Aug 15 18:43 .bash_history -rw-r--r-- 1 yamasita 220 Aug 15 18:37 .bash_logout -rw-r--r-- 1 yamasita 414 Aug 15 18:37 .bash_profile -rw-r--r-- 1 yamasita 2227 Aug 15 18:37 .bashrc 226 Transfer complete. ftp> bye 221 Goodbye. yasunari@sil:~$ログインできれば設定完了です。
|
楽天市場
livedoor デパート Sofmap TSUKUMO ネットショップ TWO TOP Yahoo!ショッピング パソQ ムラウチドットコム ヤマダ電機WEB アット・ニフティストア Joshin インターネットショッピング |
← 開発環境のインストール |
LS-HGL ハックキット LinkStation/玄箱をハックしよう |
→ dhcp サーバ |