Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm following instructions about Installing and setting TFTPD in Ubuntu. It asks to

Create /etc/xinetd.d/tftp and put this entry:

service tftp
{
protocol        = udp
port            = 69
socket_type     = dgram
wait            = yes
user            = nobody
server          = /usr/sbin/in.tftpd
server_args     = /tftpboot
disable         = no
}

What does it mean to create? Is there any command I need to type? And "put this entry" - it means to type in one line all the lines above? I don't know Linux & I need your help please.

share|improve this question

3 Answers 3

You need to create a (text) file with the given path (/etc/xinetd.d/tftp).

To do so:

  1. Press Alt + F2 to open the Run Application dialog
  2. Type gksu gedit /etc/xinetd.d/tftp and click on Run
  3. Now type your password and the text editor gedit should start, with the new (empty) file already opened
  4. Finally, copy and paste the lines from the guide to the new file and save it
share|improve this answer

Try

sudo nano /etc/xinetd.d/tftp

in terminal to edit that file. nano will automatically create that file, or open previous version of it already exists. You have to enter your password when sudo asks it, with something like

[sudo] password for :

You can exit nano (very simple text editor) by pressing ctrlx. It'll then ask whether you want to save, press Y to save (or N to discard your changes).

share|improve this answer

You need to create a file at location /etc/xinetd.d/tftp and insert text into that file.

gksudo gedit /etc/xinetd.d/tftp

would open gedit. Enter text and save file.

share|improve this answer
    
gedit is for editing an existing file- how do i create new file? –  Shira Feb 27 '11 at 11:14
    
Hi - i've tried it- & got an error message- "couldn't find the file /etc/xinetd.d/tftp please check that you typed the location correctly and try again"- what do i need to do? –  Shira Feb 27 '11 at 11:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.