upgrade rom-monitor file ?
- to upgrade bootstrap issue the above command in privileged mode (#)
copy tftp flash:
- to copy new .bin image to flash
sh boot
TFTP on Ubuntu 16.10
TFTP is used where user authentication and directory visibility are not required.
TFTP uses -- > UDP port 69 ( lighter than TCP based FTP )
TFTP is described formally in RFC 1350.
Light and simple design >> the protocol of choice for the initial stages of any network booting strategy ( i.e.: PXE; bootp; firmware transfer; config files transfer >> network devices - switches, routers and firewalls. )
Most typically is TFTP used to transfer firmware images to network devices for upgrade or recovery purposes.
How to install & run TFTP server on Ubuntu 16.10
tftpd-hpa -- > an enhanced version of the BSD TFTP client and server. Lot of bugfixes plus enhancements over the original tftpd.All commands impersonate root:
sudo su
Configure TFTP defaults
Now we need to create the default settings that the TFTP daemon will use when the service is started. To do this we need to edit the /etc/default/tftpd-hpa file:- TFTP_USERNAME: Specify the username which tftpd will run as. The default is “nobody”.
- TFTP_DIRECTORY: Specify the root directory where files will be served from. The default is /var/lib/tftp
- TFTP_ADDRESS: Specify a specific address and port to listen on. The default is to listen to the TFTP port specified in /etc/services on all local addresses.
- TFTP_OPTIONS: Specify any additional options to run the daemon with, in this case we used the following:
- –secure: Change root directory on startup. This means the remote host does not need to pass along the directory as part of the transfer, and may add security. The use of this option is recommended for security as well as compatibility with some boot ROMs which cannot be easily made to include a directory name in its request.
- –create: Allow new files to be created. By default, tftpd will only allow upload of files that already exist.
No comments:
Post a Comment
Thank you for your comment. Will try to react as soon as possible.
Regards,
Networ King