2009년 05월 07일
solaris tftp 실행 방법
solaris tftp 실행 방법
1. vi 편집기 이용 하여 inetd.conf 파일 편집
(중략)...
# TFTPD - tftp server (primarily used for booting)
# tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
(중략)..
(중략)...
# TFTPD - tftp server (primarily used for booting)
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
(중략)..
# 제거 후 저장 하고 나옴니다.
vi 편집기 사용방법은 인터넷 찾아보시면 많이 있으니 참조하세요
2. inetd 프로세스 재실행
ps -ef | grep inetd --> 현재 돌아가는 프로세스 중 inetd 를 찾아줍니다.
# ps -ef | grep inetd
root 162 1 0 12:21:49 ? 7:50 /usr/sbin/inetd -s
root 13072 12006 0 20:08:57 pts/2 0:00 grep inetd
kill -HUP 13072 --> inetd 프로세스 의 PID 를 재실행 시킵니다.
3. tftp 정상작동 확인
재대로 동작하는지 tftp 를 통해서 cfg 파일을 다운 받아보시고 재대로 받아진다면 정상작동하는겁니다.
u10K02#dir
Directory of disk0:/
1 -rw- 28257804 Aug 15 2008 17:46:36 +09:00 ubr10k2-k9p6u2-mz.123-23.BC2.bin
2 -rw- 968 Feb 26 2009 06:54:52 +09:00 cnm-wide-3m-100m.cfg
128151552 bytes total (99889152 bytes free)
u10K02#copy tftp: disk0:
Address or name of remote host []? 192.168.44.1 --> cnr 서버의 IP 입력
Source filename []? be.cfg --> 받으려는 파일 이름
Destination filename [be.cfg]?
Accessing tftp://192.168.44.1/be.cfg...
Loading be.cfg from 192.168.44.1 (via GigabitEthernet3/0/0): !
[OK - 85 bytes]
85 bytes copied in 0.288 secs (295 bytes/sec)
u10K02#dir
Directory of disk0:/
1 -rw- 28257804 Aug 15 2008 17:46:36 +09:00 ubr10k2-k9p6u2-mz.123-23.BC2.bin
2 -rw- 968 Feb 26 2009 06:54:52 +09:00 3m-100m.cfg
3 -rw- 85 Apr 28 2009 20:12:44 +09:00 be.cfg
128151552 bytes total (99885056 bytes free)
u10K02#
# by | 2009/05/07 09:03 | network | 트랙백 | 덧글(0)


