Jump to content

Ubuntu as a TFTP server


wildweaselmi
 Share

Recommended Posts

One of the easiest ways to copy files from a Cisco IOS switch you don't have the ability to make changes on is to send files using TFTP.



Here is how you get TFTP Server installed, up and running on your reliable Ubuntu Server.


sudo apt-get install xinetd tftpd tftp


sudo nano /etc/xinetd.d/tftp





ADD to this new file:

service tftp

{

protocol = udp

port = 69

socket_type = dgram

wait = yes

user = nobody

server = /usr/sbin/in.tftpd

server_args = /tftpboot

disable = no

}


CREATE directory
sudo mkdir /tftpboot

sudo chmod -R 777 /tftpboot

sudo chown -R nobody /tftpboot[/code]


ADD to startup

sudo /etc/init.d/xinetd start


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...