zljjg2000
solaris 9以上版本,请问如何启用tftp server?
我将/etc/inetd.conf中,改为
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
然后重启/usr/lib/inet/inetd进程 :kill -1
创建/tftpboot目录,并touch file1,
然后chmod 777 /tftpboot
chmod 777 file1
然后登陆到路由器上,执行copy running-config t[url]ftp://10.10.10.2[/url]
发现不能成功,出现........,
而如果我用一个solaris 8以下版本的tftp server,则可以tftp成功,
请问还需要修改什么吗?
谢谢!
briangao
Solaris 9 uses the same procedure to enable tftp as Solaris 8 does. If it doesn't work, it must be something else such as security setting etc.
For Solaris to
1. create a file, say /var/tmp/file1 and add the floowing line:
tftp dgram udp6 wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot
2. Run /usr/sbin/inetconv -i /var/tmp/file1
3. svcs -a |grep tftp to make sure tftp service is online
By the way, you should chmod 755 /tftpboot. Never set permission of a file or directory on a Unix machine to 777