差分

移動先: 案内検索

利用者:MR G

884 バイト追加, 2007年12月23日 (日) 23:09
tftpd
Cisco電話機を動かす前にtftpサーバーを動かす必要がある。<BR>
Cisco電話機は、tftpサーバーから設定ファイル、壁紙、着信音などを引っ張ってくるからである。<BR>
 
Forneus # vi /stat/etc/rc.conf
##Configure TFTPD support
##Works the same as FTPD above.
#TFTPD=inetd  ←コメントにしたinetd  ←コメントはずした TFTPD=tftpd   ←付け足した
##TFTP Server options (flags to pass to TFTP)
##This only works in standalone TFTP server mode
#TFTPDOPTIONS="-l -s /tftpboot"
TFTPDOPTIONS="-l -s /mnt/tftp"   ←付け足した←付け足しても無視される模様動作検証は後日実施未定。<P>TFTPD=inetdにすると、TFTPDOPTIONSが無視されてしまうようだ。<BR>TFTPD=tftpdにすると、tftpd自体が動かない模様。<BR>tftpの設定も小細工が可能である。</P> /vi/etc/init.d/inet if [ "$TFTPD" -a "$TFTPD" = "inetd" ] then if [ -d /mnt/kd/tftpboot ] then ln -s /mnt/kd/tftpboot /tmp/tftpboot else mkdir /tmp/tftpboot fi echo "tftp dgram udp wait root /usr/sbin/tftpd tftpd -s /tmp/tftpboot" >> /tmp/etc/inetd.conf   ←ここの行を小細工(Before) fi }  fi echo "tftp dgram udp wait root /usr/sbin/tftpd tftpd -s /mnt/hda2/IP_Phone/" >> /tmp/etc/inetd.conf   ←ここの行を小細工(After) fi }ファイルを変更したら、再起動をかける。<BR>とりあえず動いたらしい Forneus log # ps |grep tftp 1226 root 272 S tftpd -s /mnt/hda2/IP_Phone/ 1364 root 296 S

案内メニュー

VoIp-Info.jp

HP Directplus -HP公式オンラインストア-