Help setting up FTP between two computers

I would like to set up a ftp link between my RTP system and an embedded
system running QNX4 (I want to download the qnxrtp.tar.F file to the
QNX4 system
and upgrade it). I have a null modem cable connection made between the
two systems which seems to work ok (can type and see it on both systems
in qtalk). I
should preface my remarks by noting that I have basically zero
experience configuring a TCP/IP connection. I have added the following
to the /etc/hosts file on both
systems:

192.9.200.2 qnxhost
192.9.200.1 ntohost

I can do a ifconfig lo0 qnxhost and ifconfig ppp0 qnxhost on the qnx
system (what is lo0? is it a real interface?) and then netstat -in shows
that the interface has been
added:

Name Mtu Network Address
lo0 1536 192.9.200 192.9.200.2
ppp0* 1500 192.9.200.2

Aren’t I just making a connection from the qnx system to itself by doing
this? Anyway, I can’t seem to get ifconfig to add any connections on
the neutrino system. Can someone walk me through this? I can’t find
anything in the RTP documentation which is step-by-step. Thanks.

Look at pppd on both systems. It will negotiate
the address and configure the interface appropriately.

-seanb


Bruce Davis <bruce.r.davis@boeing.com> wrote:
: I would like to set up a ftp link between my RTP system and an embedded
: system running QNX4 (I want to download the qnxrtp.tar.F file to the
: QNX4 system
: and upgrade it). I have a null modem cable connection made between the
: two systems which seems to work ok (can type and see it on both systems
: in qtalk). I
: should preface my remarks by noting that I have basically zero
: experience configuring a TCP/IP connection. I have added the following
: to the /etc/hosts file on both
: systems:

: 192.9.200.2 qnxhost
: 192.9.200.1 ntohost

: I can do a ifconfig lo0 qnxhost and ifconfig ppp0 qnxhost on the qnx
: system (what is lo0? is it a real interface?) and then netstat -in shows
: that the interface has been
: added:

: Name Mtu Network Address
: lo0 1536 192.9.200 192.9.200.2
: ppp0* 1500 192.9.200.2

: Aren’t I just making a connection from the qnx system to itself by doing
: this? Anyway, I can’t seem to get ifconfig to add any connections on
: the neutrino system. Can someone walk me through this? I can’t find
: anything in the RTP documentation which is step-by-step. Thanks.

I tried that. One of the problems is that there is no ppp0 interface on the
neutrino side, and I can’t get it to create one. I am hoping someone can give
me a step-by-step on setting up the link. Thanks.

Sean Boudreau wrote:

Look at pppd on both systems. It will negotiate
the address and configure the interface appropriately.

-seanb

Bruce Davis <> bruce.r.davis@boeing.com> > wrote:
: I would like to set up a ftp link between my RTP system and an embedded
: system running QNX4 (I want to download the qnxrtp.tar.F file to the
: QNX4 system
: and upgrade it). I have a null modem cable connection made between the
: two systems which seems to work ok (can type and see it on both systems
: in qtalk). I
: should preface my remarks by noting that I have basically zero
: experience configuring a TCP/IP connection. I have added the following
: to the /etc/hosts file on both
: systems:

: 192.9.200.2 qnxhost
: 192.9.200.1 ntohost

: I can do a ifconfig lo0 qnxhost and ifconfig ppp0 qnxhost on the qnx
: system (what is lo0? is it a real interface?) and then netstat -in shows
: that the interface has been
: added:

: Name Mtu Network Address
: lo0 1536 192.9.200 192.9.200.2
: ppp0* 1500 192.9.200.2

: Aren’t I just making a connection from the qnx system to itself by doing
: this? Anyway, I can’t seem to get ifconfig to add any connections on
: the neutrino system. Can someone walk me through this? I can’t find
: anything in the RTP documentation which is step-by-step. Thanks.

A little more detail on this - based on other postings, I thought I should use
the big stack and so execute the following at the command line (again let me
point out I really don’t know what I’m doing):

slay io-net
io_net -ptcpip

Then I try to create ppp0: (question - what addresses should I use here?)

ifconfig ppp0 192.9.200.2 or ifconfig ppp0 10.0.0.1

both give the error “ifconfig: SIOCGIFFLAGS ppp0: no such device or address”

then I try to launch pppd:

pppd /dev/ser1

which gives the error “pppd - sorry, this system lacks PPP kernel support”

so at this point I am stumped. The QNX4 side seems to be working ok but I am
apparently doing something wrong on the neutrino side. Also, if I do get the
ppp link working, can I use ftp to transfer the file, or is there some other
command? Another thing that is strange to me is that qcp exists in neutrino
but doesn’t seem to work. Mario Charest said in an earlier posting that it
had not been ported. If so, why is it there? Really appreciate some help on
this. Thanks.

Sean Boudreau wrote:

Look at pppd on both systems. It will negotiate
the address and configure the interface appropriately.

-seanb

Bruce Davis <> bruce.r.davis@boeing.com> > wrote:
: I would like to set up a ftp link between my RTP system and an embedded
: system running QNX4 (I want to download the qnxrtp.tar.F file to the
: QNX4 system
: and upgrade it). I have a null modem cable connection made between the
: two systems which seems to work ok (can type and see it on both systems
: in qtalk). I
: should preface my remarks by noting that I have basically zero
: experience configuring a TCP/IP connection. I have added the following
: to the /etc/hosts file on both
: systems:

: 192.9.200.2 qnxhost
: 192.9.200.1 ntohost

: I can do a ifconfig lo0 qnxhost and ifconfig ppp0 qnxhost on the qnx
: system (what is lo0? is it a real interface?) and then netstat -in shows
: that the interface has been
: added:

: Name Mtu Network Address
: lo0 1536 192.9.200 192.9.200.2
: ppp0* 1500 192.9.200.2

: Aren’t I just making a connection from the qnx system to itself by doing
: this? Anyway, I can’t seem to get ifconfig to add any connections on
: the neutrino system. Can someone walk me through this? I can’t find
: anything in the RTP documentation which is step-by-step. Thanks.

on the rtp side start:

io-net -ptcpip -ppppmgr

pppd

the ppp0 will be created when you start pppd.

once you can ping the other side, you should be able to
ftp…

-seanb


Bruce Davis <bruce.r.davis@boeing.com> wrote:
: A little more detail on this - based on other postings, I thought I should use
: the big stack and so execute the following at the command line (again let me
: point out I really don’t know what I’m doing):

: slay io-net
: io_net -ptcpip

: Then I try to create ppp0: (question - what addresses should I use here?)

: ifconfig ppp0 192.9.200.2 or ifconfig ppp0 10.0.0.1

: both give the error “ifconfig: SIOCGIFFLAGS ppp0: no such device or address”

: then I try to launch pppd:

: pppd /dev/ser1

: which gives the error “pppd - sorry, this system lacks PPP kernel support”

: so at this point I am stumped. The QNX4 side seems to be working ok but I am
: apparently doing something wrong on the neutrino side. Also, if I do get the
: ppp link working, can I use ftp to transfer the file, or is there some other
: command? Another thing that is strange to me is that qcp exists in neutrino
: but doesn’t seem to work. Mario Charest said in an earlier posting that it
: had not been ported. If so, why is it there? Really appreciate some help on
: this. Thanks.

: Sean Boudreau wrote:

:> Look at pppd on both systems. It will negotiate
:> the address and configure the interface appropriately.
:>
:> -seanb
:>
:> Bruce Davis <bruce.r.davis@boeing.com> wrote:
:> : I would like to set up a ftp link between my RTP system and an embedded
:> : system running QNX4 (I want to download the qnxrtp.tar.F file to the
:> : QNX4 system
:> : and upgrade it). I have a null modem cable connection made between the
:> : two systems which seems to work ok (can type and see it on both systems
:> : in qtalk). I
:> : should preface my remarks by noting that I have basically zero
:> : experience configuring a TCP/IP connection. I have added the following
:> : to the /etc/hosts file on both
:> : systems:
:>
:> : 192.9.200.2 qnxhost
:> : 192.9.200.1 ntohost
:>
:> : I can do a ifconfig lo0 qnxhost and ifconfig ppp0 qnxhost on the qnx
:> : system (what is lo0? is it a real interface?) and then netstat -in shows
:> : that the interface has been
:> : added:
:>
:> : Name Mtu Network Address
:> : lo0 1536 192.9.200 192.9.200.2
:> : ppp0* 1500 192.9.200.2
:>
:> : Aren’t I just making a connection from the qnx system to itself by doing
:> : this? Anyway, I can’t seem to get ifconfig to add any connections on
:> : the neutrino system. Can someone walk me through this? I can’t find
:> : anything in the RTP documentation which is step-by-step. Thanks.

Well, I tried this and ppp0 was NOT created on the RTP machine. And when I ping,
what host name should I use? This is sort of becoming a big problem, I need to get
RTP installed on the target machine so I can establish hardware compatibility.
Thanks for your help.

Sean Boudreau wrote:

on the rtp side start:

io-net -ptcpip -ppppmgr

pppd <desired options

the ppp0 will be created when you start pppd.

once you can ping the other side, you should be able to
ftp…

-seanb

Bruce Davis <> bruce.r.davis@boeing.com> > wrote:
: A little more detail on this - based on other postings, I thought I should use
: the big stack and so execute the following at the command line (again let me
: point out I really don’t know what I’m doing):

: slay io-net
: io_net -ptcpip

: Then I try to create ppp0: (question - what addresses should I use here?)

: ifconfig ppp0 192.9.200.2 or ifconfig ppp0 10.0.0.1

: both give the error “ifconfig: SIOCGIFFLAGS ppp0: no such device or address”

: then I try to launch pppd:

: pppd /dev/ser1

: which gives the error “pppd - sorry, this system lacks PPP kernel support”

: so at this point I am stumped. The QNX4 side seems to be working ok but I am
: apparently doing something wrong on the neutrino side. Also, if I do get the
: ppp link working, can I use ftp to transfer the file, or is there some other
: command? Another thing that is strange to me is that qcp exists in neutrino
: but doesn’t seem to work. Mario Charest said in an earlier posting that it
: had not been ported. If so, why is it there? Really appreciate some help on
: this. Thanks.

: Sean Boudreau wrote:

:> Look at pppd on both systems. It will negotiate
:> the address and configure the interface appropriately.
:
:> -seanb
:
:> Bruce Davis <> bruce.r.davis@boeing.com> > wrote:
:> : I would like to set up a ftp link between my RTP system and an embedded
:> : system running QNX4 (I want to download the qnxrtp.tar.F file to the
:> : QNX4 system
:> : and upgrade it). I have a null modem cable connection made between the
:> : two systems which seems to work ok (can type and see it on both systems
:> : in qtalk). I
:> : should preface my remarks by noting that I have basically zero
:> : experience configuring a TCP/IP connection. I have added the following
:> : to the /etc/hosts file on both
:> : systems:
:
:> : 192.9.200.2 qnxhost
:> : 192.9.200.1 ntohost
:
:> : I can do a ifconfig lo0 qnxhost and ifconfig ppp0 qnxhost on the qnx
:> : system (what is lo0? is it a real interface?) and then netstat -in shows
:> : that the interface has been
:> : added:
:
:> : Name Mtu Network Address
:> : lo0 1536 192.9.200 192.9.200.2
:> : ppp0* 1500 192.9.200.2
:
:> : Aren’t I just making a connection from the qnx system to itself by doing
:> : this? Anyway, I can’t seem to get ifconfig to add any connections on
:> : the neutrino system. Can someone walk me through this? I can’t find
:> : anything in the RTP documentation which is step-by-step. Thanks.

Tried it again, actually ppp0 is created momentarily, then (a minute or so later) is no
longer listed when I type netstat -in.

Bruce Davis wrote:

Well, I tried this and ppp0 was NOT created on the RTP machine. And when I ping,
what host name should I use? This is sort of becoming a big problem, I need to get
RTP installed on the target machine so I can establish hardware compatibility.
Thanks for your help.

Sean Boudreau wrote:

on the rtp side start:

io-net -ptcpip -ppppmgr

pppd <desired options

the ppp0 will be created when you start pppd.

once you can ping the other side, you should be able to
ftp…

-seanb

Bruce Davis <> bruce.r.davis@boeing.com> > wrote:
: A little more detail on this - based on other postings, I thought I should use
: the big stack and so execute the following at the command line (again let me
: point out I really don’t know what I’m doing):

: slay io-net
: io_net -ptcpip

: Then I try to create ppp0: (question - what addresses should I use here?)

: ifconfig ppp0 192.9.200.2 or ifconfig ppp0 10.0.0.1

: both give the error “ifconfig: SIOCGIFFLAGS ppp0: no such device or address”

: then I try to launch pppd:

: pppd /dev/ser1

: which gives the error “pppd - sorry, this system lacks PPP kernel support”

: so at this point I am stumped. The QNX4 side seems to be working ok but I am
: apparently doing something wrong on the neutrino side. Also, if I do get the
: ppp link working, can I use ftp to transfer the file, or is there some other
: command? Another thing that is strange to me is that qcp exists in neutrino
: but doesn’t seem to work. Mario Charest said in an earlier posting that it
: had not been ported. If so, why is it there? Really appreciate some help on
: this. Thanks.

: Sean Boudreau wrote:

:> Look at pppd on both systems. It will negotiate
:> the address and configure the interface appropriately.
:
:> -seanb
:
:> Bruce Davis <> bruce.r.davis@boeing.com> > wrote:
:> : I would like to set up a ftp link between my RTP system and an embedded
:> : system running QNX4 (I want to download the qnxrtp.tar.F file to the
:> : QNX4 system
:> : and upgrade it). I have a null modem cable connection made between the
:> : two systems which seems to work ok (can type and see it on both systems
:> : in qtalk). I
:> : should preface my remarks by noting that I have basically zero
:> : experience configuring a TCP/IP connection. I have added the following
:> : to the /etc/hosts file on both
:> : systems:
:
:> : 192.9.200.2 qnxhost
:> : 192.9.200.1 ntohost
:
:> : I can do a ifconfig lo0 qnxhost and ifconfig ppp0 qnxhost on the qnx
:> : system (what is lo0? is it a real interface?) and then netstat -in shows
:> : that the interface has been
:> : added:
:
:> : Name Mtu Network Address
:> : lo0 1536 192.9.200 192.9.200.2
:> : ppp0* 1500 192.9.200.2
:
:> : Aren’t I just making a connection from the qnx system to itself by doing
:> : this? Anyway, I can’t seem to get ifconfig to add any connections on
:> : the neutrino system. Can someone walk me through this? I can’t find
:> : anything in the RTP documentation which is step-by-step. Thanks.

Sounds like the negotiation with the other end is failing.

You can run 'pppd debug ’ and post the output
from the syslog.

Is this to QNX4 over a null modem cable? Do you start pppd
on the QNX4 side at the same time?

-seanb


Bruce Davis <bruce.r.davis@boeing.com> wrote:
: Tried it again, actually ppp0 is created momentarily, then (a minute or so later) is no
: longer listed when I type netstat -in.

: Bruce Davis wrote:

:> Well, I tried this and ppp0 was NOT created on the RTP machine. And when I ping,
:> what host name should I use? This is sort of becoming a big problem, I need to get
:> RTP installed on the target machine so I can establish hardware compatibility.
:> Thanks for your help.
:>
:> Sean Boudreau wrote:
:>
:> > on the rtp side start:
:> >
:> > # io-net -ptcpip -ppppmgr
:> > # pppd
:> >
:> > the ppp0 will be created when you start pppd.
:> >