tftp server (easily found one called )
telnet client (just add it via the add / remove programs applet)
Time needed:
31.5 minutes
Commands are below:
telnet to device:
> telnet 192.168.3.5
copy config externally
> copy flash tftp
>config.text
>192.168.3.25
copy new image and leave the old one there
> archive download-sw /leave-old tftp://192.168.3.25/...tar
wait like 20 minutes and ping the device for a response and enjoy.
if you need to install a quick tftpd server on centos look below:
. do install tftp server, it will run together with xinetd services.
yum install tftp-server
2. move the tftpboot directory for your own easy maintain purpose. I
used to located all my datafile at /var/lib. So will run the command
as..
mv /tftpboot/ /var/lib/
3. Change the ownership and folder permission for tftpboot. It will run as nobody user with permission 777..
chown -R nobody:nobody /var/lib/tftpboot/
chmod 777 /var/lib/tftpboot/
4. Edit the tftp file at /etc/xinetd.d/tftp
vi /etc/xinetd.d/tftp
Then add and edit the file to have same line..
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -c -s /var/lib/tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
For the server_args, change the path to your tftpboot location. Add -c
to able creating new file if/no file exist on the tftp server.
5. Start the xinetd service
service xinetd start
6. Able to see the port 69 exist when running
netstat -ntulp