[ale] Ubuntu server issue: TFTP on 9.04

Jim Kinney jim.kinney at gmail.com
Mon May 17 16:40:43 EDT 2010


iptables -A -t udp -m udp --dport 69 -j ALLOW
iptables -A -t udp -m udp --sport 69 -j ALLOW

should be used in the default filter table but some distro have their own
additional table that actually does most of the heavy lifting.



On Mon, May 17, 2010 at 4:27 PM, Mills John M-NPHW64 <Jmills at motorola.com>wrote:

> Charles -
>
> Thanks for the comments. I'll go back and recheck.
>
> I also found another strange effect: the firewall prevents 'tftp' getting
> files from other servers. I conjecture that incoming UDP is not allowed on
> port 69, but I don't find a spot to enable it. If I stop the firewall I can
> 'tftp' from other hosts, but not locally.
>
>  - Mills
>
> -----Original Message-----
> From: ale-bounces at ale.org on behalf of Charles Shapiro
> Sent: Mon 5/17/2010 4:11 PM
> To: Atlanta Linux Enthusiasts - Yes! We run Linux!
> Subject: Re: [ale] Ubuntu server issue: TFTP on 9.04
>
> Stupid stuff first:  Did you make sure that tftp is correctly
> specified in /etc/services?  It probably is but will take 2 sec to
> find out (" grep tftp /etc/services" should bring up "tftp
> 69/udp\n").
>
> Are other inetd services working? "telnet localhost" should work if
> they are.  Looks like on my Karmic system inetd/xinetd aren't even
> installed, although I do have an "/etc/inetd.conf".  I can see that
> they're in the pkg manager (inetd is called "inetutils-inetd" in the
> Koala repos).  IIRC, you have to SIGHUP//restart them when you add a
> service as well.
>
> Best as I can think of in 10 minutes. Good luck.
>
> -- CHS
>
>
> On Mon, May 17, 2010 at 10:28 AM, Mills John M-NPHW64
> <Jmills at motorola.com> wrote:
> > ALErs -
> >
> > I'm having some trouble setting up TFTP service from an Ubuntu-9.04
> > 'desktop' installation. I installed 'tftpd-hpa' and have tried to
> configure
> > it, but don't get even local service to my own login.
> >
> > My '/etc/inetd.conf' includes:
> > 'tftp   dgram udp nobody /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s
> > /var/lib/tftpboot'
> >
> > Ownership and permissions on that directory are:
> > $ ls -l /var/lib
> > ...
> > drwxr-xr-x 2 nobody root ... tftpboot
> > ...
> >
> > I also have '/etc/xinetd.d/tftp-hpa' as:
> > "service tftp
> > {
> > protocol = udp
> > port = 69
> > socket_type = dgram
> > wait = yes
> > user = nobody
> > # group = nobody
> > group = root
> > server = /usr/sbin/in.tftpd
> > server_args = /var/lib/tftpboot
> > # only_from = 10.59.0.0
> > disable = no
> > }"
> >
> > Turning off the firewall is no help. Incoming 'tftp' to another server
> works
> > fine.
> >
> > Any ideas how to get this going?
> >
> > TIA.
> >  - Mills
> >
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://mail.ale.org/mailman/listinfo/ale
> > See JOBS, ANNOUNCE and SCHOOLS lists at
> > http://mail.ale.org/mailman/listinfo
> >
> >
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>


-- 
-- 
James P. Kinney III
Actively in pursuit of Life, Liberty and Happiness
Doing pretty well on all 3 pursuits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20100517/64971be6/attachment.html 


More information about the Ale mailing list