Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] tftp issue


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
geisj at pagestation.com
Guest





PostPosted: Mon Apr 28, 2008 10:07 am    Post subject: [asterisk-users] tftp issue Reply with quote

I have xinet tftp running on centos 5.1

It seems to be running on the local network eht0 fine. My box has 2 nics.
however when I connect to eth1 for tftp I get:

in.tftpd[5084]: tftpd: read(ack): Connection refused

How can I get tftp working on BOTH eth0 and eth1 for my phone config files.

man page for in.tftpd says it automatically runs for all local networks
on port 69.
Is eth1 not a local network? How do I get tftp to response on eth1?

Thanks,

Jerry
Back to top
stotaro at totarotechn...
Guest





PostPosted: Mon Apr 28, 2008 10:43 am    Post subject: [asterisk-users] tftp issue Reply with quote

On Mon, Apr 28, 2008 at 11:07 AM, Jerry Geis <geisj at pagestation.com> wrote:
Quote:
I have xinet tftp running on centos 5.1

It seems to be running on the local network eht0 fine. My box has 2 nics.
however when I connect to eth1 for tftp I get:

in.tftpd[5084]: tftpd: read(ack): Connection refused

How can I get tftp working on BOTH eth0 and eth1 for my phone config files.

man page for in.tftpd says it automatically runs for all local networks
on port 69.
Is eth1 not a local network? How do I get tftp to response on eth1?

Thanks,

Jerry


Sounds like a firewall issue.

Thanks,
Steve Totaro
Back to top
bails at westcomuk.com
Guest





PostPosted: Mon Apr 28, 2008 11:28 am    Post subject: [asterisk-users] tftp issue Reply with quote

Jerry Geis wrote:
Quote:
I have xinet tftp running on centos 5.1

It seems to be running on the local network eht0 fine. My box has 2 nics.
however when I connect to eth1 for tftp I get:

in.tftpd[5084]: tftpd: read(ack): Connection refused

How can I get tftp working on BOTH eth0 and eth1 for my phone config files.

Does netstat -anp |grep :69 show a 0.0.0.0 ?

Quote:
man page for in.tftpd says it automatically runs for all local networks
on port 69.
Is eth1 not a local network? How do I get tftp to response on eth1?

Thanks,

Jerry

Bails

Quote:

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Back to top
asteriskator at gmail.com
Guest





PostPosted: Mon Apr 28, 2008 11:31 am    Post subject: [asterisk-users] tftp issue Reply with quote

Try having a look at the settings by running 'lokkit' or
'system-config-security-level-tui' from the command lin - ensure that
the firewall is disabled from there also, and turn off SELinux and see
if that makes any difference.

Robert

On Mon, Apr 28, 2008 at 9:11 AM, Jerry Geis <geisj at pagestation.com> wrote:
Quote:



On Mon, Apr 28, 2008 at 11:07 AM, Jerry Geis <geisj at pagestation.com>
wrote:
Quote:
I have xinet tftp running on centos 5.1

It seems to be running on the local network eht0 fine. My box has 2 nics.
however when I connect to eth1 for tftp I get:

in.tftpd[5084]: tftpd: read(ack): Connection refused

How can I get tftp working on BOTH eth0 and eth1 for my phone config
files.
Quote:

man page for in.tftpd says it automatically runs for all local networks
on port 69.
Is eth1 not a local network? How do I get tftp to response on eth1?

Thanks,

Jerry


Sounds like a firewall issue.
Steve,

I have tried it with and without the firewall. Behavior is the same.
service iptables stop is what I did.

Anything else to try or look at?

Jerry

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
geisj at pagestation.com
Guest





PostPosted: Mon Apr 28, 2008 11:33 am    Post subject: [asterisk-users] tftp issue Reply with quote

The netstat show 0.0.0.0

netstat -anp | grep :69
udp 0 0 0.0.0.0:69
0.0.0.0:* 4007/xinetd

----------------------
cat /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file
transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware
printers, \
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -v -v -v -v -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}

I dont see any specific binding.

I have not been able to find a way to get tftp to work on both eth0 and
eth1.
Thanks,

Jerry
Back to top
geisj at pagestation.com
Guest





PostPosted: Mon Apr 28, 2008 11:36 am    Post subject: [asterisk-users] tftp issue Reply with quote

Quote:
Try having a look at the settings by running 'lokkit' or
'system-config-security-level-tui' from the command lin - ensure that
the firewall is disabled from there also, and turn off SELinux and see
if that makes any difference.

Robert

Robert,

I have turned off "service iptables stop" and I am running with
selinux=off or disabled in the config file.

jerry
Back to top
brent at texascountryt...
Guest





PostPosted: Mon Apr 28, 2008 1:24 pm    Post subject: [asterisk-users] tftp issue Reply with quote

Jerry Geis wrote:
Quote:
The netstat show 0.0.0.0

netstat -anp | grep :69
udp 0 0 0.0.0.0:69
0.0.0.0:* 4007/xinetd

----------------------
cat /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file
transfer \
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware
printers, \
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -v -v -v -v -s /tftpboot
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}



I dont see any specific binding.

I have not been able to find a way to get tftp to work on both eth0 and
eth1.
Thanks,

Jerry
Check your /etc/xinetd.conf file and see if the bind= line is blank or
contains only one interface by some chance. Blank should cause xinetd
to bind to all interfaces. Also, do you bring up eth1 at startup or do
you bring it up manually after boot? If it's brought up after boot,
then you may need to restart xinetd (and any other process than needs to
bind both nics) before it will see both interfaces.

-Brent
Back to top
geisj at pagestation.com
Guest





PostPosted: Mon Apr 28, 2008 1:33 pm    Post subject: [asterisk-users] tftp issue Reply with quote

Quote:

Check your /etc/xinetd.conf file and see if the bind= line is blank or
contains only one interface by some chance. Blank should cause xinetd
to bind to all interfaces. Also, do you bring up eth1 at startup or do
you bring it up manually after boot? If it's brought up after boot,
then you may need to restart xinetd (and any other process than needs to
bind both nics) before it will see both interfaces.

-Brent
Brent, below is the file. Looks good to me... Also Both networks start
at boot. Nothing is manual on this box at all.

----------------------------------

# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}

includedir /etc/xinetd.d
Back to top
brent at texascountryt...
Guest





PostPosted: Mon Apr 28, 2008 2:10 pm    Post subject: [asterisk-users] tftp issue Reply with quote

Jerry Geis wrote:
Quote:

Brent, below is the file. Looks good to me... Also Both networks start
at boot. Nothing is manual on this box at all.

----------------------------------

# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}

includedir /etc/xinetd.d

Looks good to me. Try this: after doing the service iptables stop do
the following and see if there are any rules left:

iptables -L
iptables -t nat -L
iptables -t mangle -L

if there are any rules at all listed, replace the -L with -F and re-run
the commands.

-Brent
Back to top
geisj at pagestation.com
Guest





PostPosted: Mon Apr 28, 2008 2:22 pm    Post subject: [asterisk-users] tftp issue Reply with quote

Quote:

Looks good to me. Try this: after doing the service iptables stop do
the following and see if there are any rules left:

iptables -L
iptables -t nat -L
iptables -t mangle -L

if there are any rules at all listed, replace the -L with -F and re-run
the commands.

-Brent

Ran each of the command and all three had no entries.

Jerry
Back to top
f6hqz-m at hamwlan.net
Guest





PostPosted: Mon Apr 28, 2008 2:31 pm    Post subject: [asterisk-users] tftp issue Reply with quote

Hi men,
What happens after restarted xinetd ?
Only one Eth access again or suddently the two ?

Francois


-----Message d'origine-----
De : asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com]De la part de Jerry Geis
Envoy? : lundi 28 avril 2008 20:33
A : asterisk-users at lists.digium.com
Objet : Re: [asterisk-users] tftp issue


Quote:

Check your /etc/xinetd.conf file and see if the bind= line is blank or
contains only one interface by some chance. Blank should cause xinetd
to bind to all interfaces. Also, do you bring up eth1 at startup or do
you bring it up manually after boot? If it's brought up after boot,
then you may need to restart xinetd (and any other process than needs to
bind both nics) before it will see both interfaces.

-Brent


Brent, below is the file. Looks good to me... Also Both networks start
at boot. Nothing is manual on this box at all.

----------------------------------

# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}

includedir /etc/xinetd.d


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.5/1400 - Release Date: 27/04/2008 09:39
Back to top
steven.kurylo at aviaw...
Guest





PostPosted: Mon Apr 28, 2008 3:10 pm    Post subject: [asterisk-users] tftp issue Reply with quote

Jerry Geis wrote:
Quote:
I have xinet tftp running on centos 5.1

It seems to be running on the local network eht0 fine. My box has 2 nics.
however when I connect to eth1 for tftp I get:

in.tftpd[5084]: tftpd: read(ack): Connection refused

How can I get tftp working on BOTH eth0 and eth1 for my phone config files.

man page for in.tftpd says it automatically runs for all local networks
on port 69.
Is eth1 not a local network? How do I get tftp to response on eth1?
Which networks are connected to each card? What is the IP/subnet of the
client?

You could be connecting through eth1 to tftpd, but the server is sending
the packet back out eth0. The client would then refuse the connection
as its coming from the IP address of eth0.
Back to top
geisj at pagestation.com
Guest





PostPosted: Tue Apr 29, 2008 7:38 am    Post subject: [asterisk-users] tftp issue Reply with quote

Jerry Geis wrote:
Quote:
I have xinet tftp running on centos 5.1

It seems to be running on the local network eht0 fine. My box has 2 nics.
however when I connect to eth1 for tftp I get:

in.tftpd[5084]: tftpd: read(ack): Connection refused

How can I get tftp working on BOTH eth0 and eth1 for my phone config
files.

man page for in.tftpd says it automatically runs for all local
networks on port 69.
Is eth1 not a local network? How do I get tftp to response on eth1?

Thanks,

Jerry

Sorry - I got I first have to do "yum install tftp-server" this installs
xinetd...
Its still early....

Jerry
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services