Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - FTP access to QNX host: (13 Items)
   
FTP access to QNX host  
I wonder if somebody can help me with this.

I'm having trouble sending files via FTP to a PC that runs on QNX
Momentics v6.3. I'm not connecting through a firewall or anything. The
etc/services file indicates that FTP is available (21/tcp). However, when I try to
establish an ftp connection to the QNX host from a remote computer the
host doesn't respond. (The host can be pinged successfully, though.)

Thank you.
Re: FTP access to QNX host  
Do you have the "inetd" service running on your QNX machine?
Re: FTP access to QNX host  
Yes I do.
RE: FTP access to QNX host  
Hi Gabriel:

Can you check your /etc/inetd.conf file and make sure that the "ftp" entry
isn't commented out? (Remove the "#" from the front...)

	Robert.

-----Original Message-----
From: Gabriel Aguirre-Ollinger [mailto:gaguirre@northwestern.edu] 
Sent: Tuesday, February 12, 2008 2:43 PM
To: momenticsgs-community
Subject: Re: FTP access to QNX host

Yes I do.

_______________________________________________
QNX Momentics Getting Started
http://community.qnx.com/sf/go/post4955
Re: RE: FTP access to QNX host  
The line is not commented out. This is what it looks like:
ftp    stream tcp nowait root  /usr/sbin/ftpd    in.ftpd -l
RE: RE: FTP access to QNX host  
Hmmm... From the console, can you ftp 127.0.0.1?  What output do you get?

-----Original Message-----
From: Gabriel Aguirre-Ollinger [mailto:gaguirre@northwestern.edu] 
Sent: Tuesday, February 12, 2008 3:12 PM
To: momenticsgs-community
Subject: Re: RE: FTP access to QNX host

The line is not commented out. This is what it looks like:
ftp    stream tcp nowait root  /usr/sbin/ftpd    in.ftpd -l

_______________________________________________
QNX Momentics Getting Started
http://community.qnx.com/sf/go/post4961
RE: RE: FTP access to QNX host  
Are you using IPV6 or IPV4, there are two lines in the inetd.conf file, one
for each version of the stack that you are using.  Also are you trying to
connect with a root user?  If you are make sure that the /etc/ftpusers file
does not contain an entry for root.  Root will also need a password. 

Rodney


-----Original Message-----
From: Gabriel Aguirre-Ollinger [mailto:gaguirre@northwestern.edu] 
Sent: Tuesday, February 12, 2008 3:12 PM
To: momenticsgs-community
Subject: Re: RE: FTP access to QNX host

The line is not commented out. This is what it looks like:
ftp    stream tcp nowait root  /usr/sbin/ftpd    in.ftpd -l

_______________________________________________
QNX Momentics Getting Started
http://community.qnx.com/sf/go/post4961
Re: RE: RE: FTP access to QNX host  
Thats it! 
I was trying to connect with 'root', but it was included in /etc/ftpusers.
Thank you all for your help.
Re: FTP access to QNX host  
On Tue, Feb 12, 2008 at 02:34:56PM -0500, Gabriel Aguirre-Ollinger wrote:
> I wonder if somebody can help me with this.
> 
> I'm having trouble sending files via FTP to a PC that runs on QNX
> Momentics v6.3. I'm not connecting through a firewall or anything. The
> etc/services file indicates that FTP is available (21/tcp). However, when I try to
> establish an ftp connection to the QNX host from a remote computer the
> host doesn't respond. (The host can be pinged successfully, though.)

If you wait does it connect eventually?
ftpd will try to do a reverse name lookup on the
client so make sure you have DNS set up correctly or
not at all.  To test try to 'ping' the client from
the server vs 'ping -n'.

-seanb
Re: FTP access to QNX host  
> I wonder if somebody can help me with this.
> 
> I'm having trouble sending files via FTP to a PC that runs on QNX
> Momentics v6.3. I'm not connecting through a firewall or anything. The
> etc/services file indicates that FTP is available (21/tcp). However, when I 
> try to
> establish an ftp connection to the QNX host from a remote computer the
> host doesn't respond. (The host can be pinged successfully, though.)
> 
> Thank you.


Hi, 

I have the same problem.

I am working on Windows XP SP2, PC and QNX is running virtually by VMWare.
I have some  obect and executable files which were executed by Momentics IDE windows version, and want to send these 
files to QNX by using FTP or anyother option.

I am conncting to QNX as a root user, in /etc/inetd.conf file the line ftp is commented out and in /etc/ftpusers file 
the line root is commented.
Still I am unable to connect to the PC from QNX.

(My intension is to send files from windows OS to virtual QNX. How do i do this ?  )



Regards,
Lakshmi.


RE: FTP access to QNX host  
Hi Lakshmi:
	If there's no response from QNX then either inetd isn't running (as
root run /usr/sbin/inetd) or it isn't on the network (does ping work for
you?).

If that doesn't work for you can you provide the output from:

ifconfig

pidin -p io-net mem

	Thanks
		Robert.


-----Original Message-----
From: Lakshmi Narasaiah [mailto:clakshminarasaiah@yahoo.co.in] 
Sent: Friday, March 21, 2008 3:23 AM
To: momenticsgs-community
Subject: Re: FTP access to QNX host

> I wonder if somebody can help me with this.
> 
> I'm having trouble sending files via FTP to a PC that runs on QNX
> Momentics v6.3. I'm not connecting through a firewall or anything. The
> etc/services file indicates that FTP is available (21/tcp). However, when
I 
> try to
> establish an ftp connection to the QNX host from a remote computer the
> host doesn't respond. (The host can be pinged successfully, though.)
> 
> Thank you.


Hi, 

I have the same problem.

I am working on Windows XP SP2, PC and QNX is running virtually by VMWare.
I have some  obect and executable files which were executed by Momentics IDE
windows version, and want to send these files to QNX by using FTP or
anyother option.

I am conncting to QNX as a root user, in /etc/inetd.conf file the line ftp
is commented out and in /etc/ftpusers file the line root is commented.
Still I am unable to connect to the PC from QNX.

(My intension is to send files from windows OS to virtual QNX. How do i do
this ?  )



Regards,
Lakshmi.




_______________________________________________
QNX Momentics Getting Started
http://community.qnx.com/sf/go/post6027
Re: RE: FTP access to QNX host  
Hi Robert,

Now its working fine,

Thanks..

Regards,
Lakshmi.
Re: RE: FTP access to QNX host  
Hi,
also I have the same intention (copy file from Windows to QNX which is running with WMware).
Inetd and the Ftp service are running on VM, but when I try to connect with WinSCP it is able to connect but while is 
'waiting for welcome message', timeout expires, so I cannot establish the ftp connection.

This is what appears when I digit: ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
        inet 127.0.0.1 netmask 0xff000000
en0: flags=80008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,SHIM> mtu 1500
        address: 00:0c:29:f4:ea:47
        media: Ethernet 10baseT full-duplex
        status: active
        inet 192.168.163.128 netmask 0xffffff00 broadcast 192.168.163.255

and this when I digit: pidin -p io-net mem
     pid tid name               prio STATE            code  data        stack

could you help me?