iptables -A -t udp -m udp --dport 69 -j ALLOW<br>iptables -A -t udp -m udp --sport 69 -j ALLOW<br><br>should be used in the default filter table but some distro have their own additional table that actually does most of the heavy lifting.<br>
<br><br><br><div class="gmail_quote">On Mon, May 17, 2010 at 4:27 PM, Mills John M-NPHW64 <span dir="ltr"><<a href="mailto:Jmills@motorola.com">Jmills@motorola.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Charles -<br>
<br>
Thanks for the comments. I'll go back and recheck.<br>
<br>
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.<br>
<font color="#888888"><br>
- Mills<br>
</font><div><div></div><div class="h5"><br>
-----Original Message-----<br>
From: <a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a> on behalf of Charles Shapiro<br>
Sent: Mon 5/17/2010 4:11 PM<br>
To: Atlanta Linux Enthusiasts - Yes! We run Linux!<br>
Subject: Re: [ale] Ubuntu server issue: TFTP on 9.04<br>
<br>
Stupid stuff first: Did you make sure that tftp is correctly<br>
specified in /etc/services? It probably is but will take 2 sec to<br>
find out (" grep tftp /etc/services" should bring up "tftp<br>
69/udp\n").<br>
<br>
Are other inetd services working? "telnet localhost" should work if<br>
they are. Looks like on my Karmic system inetd/xinetd aren't even<br>
installed, although I do have an "/etc/inetd.conf". I can see that<br>
they're in the pkg manager (inetd is called "inetutils-inetd" in the<br>
Koala repos). IIRC, you have to SIGHUP//restart them when you add a<br>
service as well.<br>
<br>
Best as I can think of in 10 minutes. Good luck.<br>
<br>
-- CHS<br>
<br>
<br>
On Mon, May 17, 2010 at 10:28 AM, Mills John M-NPHW64<br>
<<a href="mailto:Jmills@motorola.com">Jmills@motorola.com</a>> wrote:<br>
> ALErs -<br>
><br>
> I'm having some trouble setting up TFTP service from an Ubuntu-9.04<br>
> 'desktop' installation. I installed 'tftpd-hpa' and have tried to configure<br>
> it, but don't get even local service to my own login.<br>
><br>
> My '/etc/inetd.conf' includes:<br>
> 'tftp dgram udp nobody /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s<br>
> /var/lib/tftpboot'<br>
><br>
> Ownership and permissions on that directory are:<br>
> $ ls -l /var/lib<br>
> ...<br>
> drwxr-xr-x 2 nobody root ... tftpboot<br>
> ...<br>
><br>
> I also have '/etc/xinetd.d/tftp-hpa' as:<br>
> "service tftp<br>
> {<br>
> protocol = udp<br>
> port = 69<br>
> socket_type = dgram<br>
> wait = yes<br>
> user = nobody<br>
> # group = nobody<br>
> group = root<br>
> server = /usr/sbin/in.tftpd<br>
> server_args = /var/lib/tftpboot<br>
> # only_from = 10.59.0.0<br>
> disable = no<br>
> }"<br>
><br>
> Turning off the firewall is no help. Incoming 'tftp' to another server works<br>
> fine.<br>
><br>
> Any ideas how to get this going?<br>
><br>
> TIA.<br>
> - Mills<br>
><br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br>
</div></div><br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br>Actively in pursuit of Life, Liberty and Happiness <br>Doing pretty well on all 3 pursuits <br><br>