Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Copy files from Windows to QNX: (5 Items)
   
Copy files from Windows to QNX  
Hi guys,
I'm trying to copy some files from windows to a virtual machine where is running QNX.
The Inetd is running.
The ftp for IPv4 is enabled in file inetd.conf.
But when I try to establish a connection (using WinSCP), it is able to contact the VM, but while is 'waiting for welcome
 message', the timeout expires so the connection cannot be reached.
This is the result of running ifconfig on QNX VM:

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 is the result of ps:

      PID TTY          TIME CMD
   434196 ?        00:00:00 pterm
   196631 ?        00:00:00 login
   196632 ?        00:00:00 login
   196633 ?        00:00:00 login
   274458 ?        00:00:00 login
   348187 ?        00:00:00 pwm
   434206 ?        00:00:00 sh
   376863 ?        00:00:00 shelf
   397345 ?        00:00:00 bkgdmgr
   397346 ?        00:00:00 wmswitch
   397347 ?        00:00:00 saver
   450596 ?        00:00:01 phrelay
   446501 ?        00:00:00 inetd
   847911 ?        00:00:00 pterm
   839720 ?        00:00:00 ab
   532521 ?        00:00:00 pwm
   561194 ?        00:00:00 shelf
   581675 ?        00:00:00 bkgdmgr
   581676 ?        00:00:00 wmswitch
   581677 ?        00:00:00 saver
   847918 ?        00:00:00 sh
   872495 ?        00:00:00 ps

Could you help me?

Paolo
Re: Copy files from Windows to QNX  
I'd mount a windows shared folder from QNX using fs-cifs to copy the files, or use qconn and the Momentics IDE Target 
Filesystem View.

- Malte
Re: Copy files from Windows to QNX  
I'm trying to use fs-cifs but it doesn't seem work.

In particular:
1. I created under windows a shared folder 'MyShrdFolder' and disabled Windows Firewall. The IP of windows host is 192.
168.163.1.
2. I created a QNX folder 'shared'. Note that QNX is running on a virtual machine (VMWare) so the phisical machine of 
the two host is the same. 
3. from QNX (phindows) terminal I write the follow:
fs-cifs -vvv 192.168.163.1:/MyShrdFolder /shared

but appear the following lines:

cifs[1101873-1]: connect: Connection timed out
cifs[1101873-1]: io_mount: smb_connection failed: Bad file descriptor
io_mount: Bad file descriptor
fs-cifs: missing arguments, or all mount attempts failed.
run "use fs-cifs" or "fs-cifs -h" for help.

I think that the problem is related to network connection, so sfter this I tried to ping the windows host from QNX 
terminal and the request timed out while if I ping the QNX host from windows it was reachable. How is this possible?
 
Re: Copy files from Windows to QNX  
You missing //HOSTNAME: it is not optional

fs-cifs //HOSTNAME:IP:/MyShrdFolder /shared



On 26/08/2011 9:06 AM, Paolo Lomotti wrote:
> I'm trying to use fs-cifs but it doesn't seem work.
>
> In particular:
> 1. I created under windows a shared folder 'MyShrdFolder' and disabled Windows Firewall. The IP of windows host is 192
.168.163.1.
> 2. I created a QNX folder 'shared'. Note that QNX is running on a virtual machine (VMWare) so the phisical machine of 
the two host is the same.
> 3. from QNX (phindows) terminal I write the follow:
> fs-cifs -vvv 192.168.163.1:/MyShrdFolder /shared
>
> but appear the following lines:
>
> cifs[1101873-1]: connect: Connection timed out
> cifs[1101873-1]: io_mount: smb_connection failed: Bad file descriptor
> io_mount: Bad file descriptor
> fs-cifs: missing arguments, or all mount attempts failed.
> run "use fs-cifs" or "fs-cifs -h" for help.
>
> I think that the problem is related to network connection, so sfter this I tried to ping the windows host from QNX 
terminal and the request timed out while if I ping the QNX host from windows it was reachable. How is this possible?
>
>
>
>
> _______________________________________________
>
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post88399
>

Re: Copy files from Windows to QNX  
I've tried also using the host name:

fs-cifs -l -vvv //PaoloPC:192.168.163.1:/MyShrdFolder /shared

but the error messages are the same.

The fact that also the ping doesn't work  (only from Linux -> Windows; from Windows -> Linux the ping is ok) could be a 
signal that something else is wrong?