LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-26-2005, 11:08 PM   #1
jdraper
LQ Newbie
 
Registered: Jun 2005
Posts: 6

Rep: Reputation: 0
UDP not loading; need for tftp


I'm on RH9 and I am trying to start tftp using xinet. The problem is that udp fails to load. I want a tftp server for saving router configurations. This should work.

Both nmap and netstat show that nothing is happening on port 69.

What's stopping udp from loading so tftp can listen on port 69?

Jerry

Here's a frag of my system log:

Jul 24 12:53:32 LINUXPC xinetd[14841]: Bad socket type: dgram^M [line=3]
Jul 24 12:53:32 LINUXPC xinetd[14841]: Error parsing attribute socket_type - DISABLING SERVICE [line=3]
Jul 24 12:53:32 LINUXPC xinetd[14841]: Protocol udp^M not in /etc/protocols [line=4]
Jul 24 12:53:32 LINUXPC xinetd[14841]: Error parsing attribute protocol - DISABLING SERVICE [line=4]
Jul 24 12:53:32 LINUXPC xinetd[14841]: Bad value for wait: yes^M [line=5]
Jul 24 12:53:32 LINUXPC xinetd[14841]: Error parsing attribute wait - DISABLING SERVICE [line=5]
Jul 24 12:53:32 LINUXPC xinetd[14841]: Unknown user: root^M [line=6]
Jul 24 12:53:32 LINUXPC xinetd[14841]: Error parsing attribute user - DISABLING SERVICE [line=6]
Jul 24 12:53:32 LINUXPC xinetd[14841]: Server /usr/sbin/in.tftpd^M is not executable [line=7]
Jul 24 12:53:32 LINUXPC xinetd[14841]: Error parsing attribute server - DISABLING SERVICE [line=7]
Jul 24 12:53:32 LINUXPC xinetd[14841]: Bad value: no^M [line=9]
Jul 24 12:53:32 LINUXPC xinetd[14841]: Error parsing attribute disable - DISABLING SERVICE [line=9]
Jul 24 12:53:33 LINUXPC xinetd[14841]: xinetd Version 2.3.11 started with libwrap loadavg options compiled in.
Jul 24 12:53:33 LINUXPC xinetd[14841]: Started working: 1 available service
Jul 24 12:53:35 LINUXPC xinetd: xinetd startup succeeded

Here's my tftp file in /etc/xinetd.d:

service tftp

{

socket_type = dgram

protocol = udp

wait = yes

user = root

server = /usr/sbin/in.tftpd

server_args = -c -s /tftpboot

disable = no

per_source = 11

cps = 100 2
flags = IPv4

}
 
Old 07-27-2005, 12:12 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
It looks like the file may have been created/edited on a windows machine. The ^M characters are carriage returns in the file. Try running a utility like 'dos2unix' on the file.
 
Old 07-27-2005, 08:17 AM   #3
jdraper
LQ Newbie
 
Registered: Jun 2005
Posts: 6

Original Poster
Rep: Reputation: 0
resolved

Resolved:

I was loading tftp instead of tftp-server.

There is a difference.

Relief.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RFC 868 udp 37 time-udp gpl SUSE / openSUSE 2 03-31-2005 10:07 AM
How to receive UDP and ICMP packets, by one UDP socket(PMTUD) myself_rajat Linux - Networking 0 05-28-2004 05:43 AM
Startup error loading iptables (UDP) linuxnuby Linux - Networking 2 01-28-2004 01:55 PM
TFTP-Problem: TFTP timed out Bikerpete Linux - General 2 08-14-2003 05:25 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration