QNX6 & dial up server

Hi All,

I have problems setting up a dial up server on QNX6
(client is Win98/WinNT):

  • /etc/hosts:
    #network cards
    192.168.100.10 server1_en0
    192.168.100.5 client1a

#serial interfaces
192.168.100.30 server_ppp0
192.168.100.31 client1b

  • server commands:
    slay io-net
    io-net -d rtl -p tcpip &
    ifconfig en0 192.168.100.10
    pppd /dev/ser1 192.168.100.30:192.168.100.31 netmask 255.255.255.0 &
    ifconfig ppp0 192.168.100.30 192.168.100.31

Previously I verified that null modem cable and serial ports
on both PCs work. QNX4 had slattach command to assign network
interface to serial port, and this has been changed to I don’t
know what (QNX6 documentation needs lots of improvements).

What’s missing here?

Thanks,

Zeljko

Your ethernet network and your PPP network shouldd have different networrk
IDs.

I.E. You can’t use 192.168.100 for both.


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net

“Zeljko Fucek” <alterlog@sympatico.ca> wrote in message
news:9sff25$da3$1@inn.qnx.com

Hi All,

I have problems setting up a dial up server on QNX6
(client is Win98/WinNT):

  • /etc/hosts:
    #network cards
    192.168.100.10 server1_en0
    192.168.100.5 client1a

#serial interfaces
192.168.100.30 server_ppp0
192.168.100.31 client1b

  • server commands:
    slay io-net
    io-net -d rtl -p tcpip &
    ifconfig en0 192.168.100.10
    pppd /dev/ser1 192.168.100.30:192.168.100.31 netmask 255.255.255.0 &
    ifconfig ppp0 192.168.100.30 192.168.100.31

Previously I verified that null modem cable and serial ports
on both PCs work. QNX4 had slattach command to assign network
interface to serial port, and this has been changed to I don’t
know what (QNX6 documentation needs lots of improvements).

What’s missing here?

Thanks,

Zeljko

Zeljko Fucek <alterlog@sympatico.ca> wrote:

Hi All,

I have problems setting up a dial up server on QNX6
(client is Win98/WinNT):

  • /etc/hosts:
    #network cards
    192.168.100.10 server1_en0
    192.168.100.5 client1a

#serial interfaces
192.168.100.30 server_ppp0
192.168.100.31 client1b

  • server commands:
    slay io-net
    io-net -d rtl -p tcpip &

try:

io-net -d rtl -p tcpip -p pppmgr &

-xtang

ifconfig en0 192.168.100.10
pppd /dev/ser1 192.168.100.30:192.168.100.31 netmask 255.255.255.0 &
ifconfig ppp0 192.168.100.30 192.168.100.31

Previously I verified that null modem cable and serial ports
on both PCs work. QNX4 had slattach command to assign network
interface to serial port, and this has been changed to I don’t
know what (QNX6 documentation needs lots of improvements).

What’s missing here?

Thanks,

Zeljko

Thanks for your replies. If I try this:

  • /etc/hosts:
    #network cards
    192.168.100.10 server1_en0
    192.168.100.5 client1a

#serial interfaces
192.168.200.30 server_ppp0
192.168.200.31 client1b

  • server commands:
    slay io-net
    io-net -d rtl -p tcpip -p pppmgr forward &
    (at this moment I have under /dev/io-net en0, ip0, ip-en, ip-ppp)
    ifconfig en0 192.168.100.10
    (after this I can ping server from Win client)
    ifconfig ppp0 192.168.100.30 192.168.100.31
    (terminates with → ifconfig: SIOCGIFFLAGS ppp0: No such device
    or address)

What’s wrong, and do I need something with QNX4’s slattach?

Zeljko

try:

io-net -d rtl -p tcpip -p pppmgr &

-xtang

ifconfig en0 192.168.100.10
pppd /dev/ser1 192.168.100.30:192.168.100.31 netmask 255.255.255.0 &
ifconfig ppp0 192.168.100.30 192.168.100.31

“Xiaodan Tang” <xtang@qnx.com> wrote in message
news:9sgqhs$lib$1@nntp.qnx.com

Zeljko Fucek <> alterlog@sympatico.ca> > wrote:
Hi All,

I have problems setting up a dial up server on QNX6
(client is Win98/WinNT):

  • /etc/hosts:
    #network cards
    192.168.100.10 server1_en0
    192.168.100.5 client1a

#serial interfaces
192.168.100.30 server_ppp0
192.168.100.31 client1b

  • server commands:
    slay io-net
    io-net -d rtl -p tcpip &

try:

io-net -d rtl -p tcpip -p pppmgr &

-xtang

ifconfig en0 192.168.100.10
pppd /dev/ser1 192.168.100.30:192.168.100.31 netmask 255.255.255.0 &
ifconfig ppp0 192.168.100.30 192.168.100.31

Previously I verified that null modem cable and serial ports
on both PCs work. QNX4 had slattach command to assign network
interface to serial port, and this has been changed to I don’t
know what (QNX6 documentation needs lots of improvements).

What’s missing here?

Thanks,

Zeljko

Sorry,

ifconfig is actually like this:

ifconfig ppp0 192.168.200.30 192.168.200.31

Zeljko

“Zeljko Fucek” <zfucek@arpeco.com> wrote in message
news:9sh0v5$gln$1@inn.qnx.com

Thanks for your replies. If I try this:

  • /etc/hosts:
    #network cards
    192.168.100.10 server1_en0
    192.168.100.5 client1a

#serial interfaces
192.168.200.30 server_ppp0
192.168.200.31 client1b

  • server commands:
    slay io-net
    io-net -d rtl -p tcpip -p pppmgr forward &
    (at this moment I have under /dev/io-net en0, ip0, ip-en, ip-ppp)
    ifconfig en0 192.168.100.10
    (after this I can ping server from Win client)
    ifconfig ppp0 192.168.100.30 192.168.100.31
    (terminates with → ifconfig: SIOCGIFFLAGS ppp0: No such device
    or address)

What’s wrong, and do I need something with QNX4’s slattach?

Zeljko

try:

io-net -d rtl -p tcpip -p pppmgr &

-xtang

ifconfig en0 192.168.100.10
pppd /dev/ser1 192.168.100.30:192.168.100.31 netmask 255.255.255.0 &
ifconfig ppp0 192.168.100.30 192.168.100.31


“Xiaodan Tang” <> xtang@qnx.com> > wrote in message
news:9sgqhs$lib$> 1@nntp.qnx.com> …
Zeljko Fucek <> alterlog@sympatico.ca> > wrote:
Hi All,

I have problems setting up a dial up server on QNX6
(client is Win98/WinNT):

  • /etc/hosts:
    #network cards
    192.168.100.10 server1_en0
    192.168.100.5 client1a

#serial interfaces
192.168.100.30 server_ppp0
192.168.100.31 client1b

  • server commands:
    slay io-net
    io-net -d rtl -p tcpip &

try:

io-net -d rtl -p tcpip -p pppmgr &

-xtang

ifconfig en0 192.168.100.10
pppd /dev/ser1 192.168.100.30:192.168.100.31 netmask 255.255.255.0 &
ifconfig ppp0 192.168.100.30 192.168.100.31

Previously I verified that null modem cable and serial ports
on both PCs work. QNX4 had slattach command to assign network
interface to serial port, and this has been changed to I don’t
know what (QNX6 documentation needs lots of improvements).

What’s missing here?

Thanks,

Zeljko
\

Zeljko Fucek <zfucek@arpeco.com> wrote:

Sorry,

ifconfig is actually like this:

ifconfig ppp0 192.168.200.30 192.168.200.31

You don’t need to ifconfig ppp0, your pppd will
create ppp0 (after run), negotiate with peer,
and set the ip for you.

-xtang

Zeljko

“Zeljko Fucek” <> zfucek@arpeco.com> > wrote in message
news:9sh0v5$gln$> 1@inn.qnx.com> …
Thanks for your replies. If I try this:

  • /etc/hosts:
    #network cards
    192.168.100.10 server1_en0
    192.168.100.5 client1a

#serial interfaces
192.168.200.30 server_ppp0
192.168.200.31 client1b

  • server commands:
    slay io-net
    io-net -d rtl -p tcpip -p pppmgr forward &
    (at this moment I have under /dev/io-net en0, ip0, ip-en, ip-ppp)
    ifconfig en0 192.168.100.10
    (after this I can ping server from Win client)
    ifconfig ppp0 192.168.100.30 192.168.100.31
    (terminates with → ifconfig: SIOCGIFFLAGS ppp0: No such device
    or address)

What’s wrong, and do I need something with QNX4’s slattach?

Zeljko

try:

io-net -d rtl -p tcpip -p pppmgr &

-xtang

ifconfig en0 192.168.100.10
pppd /dev/ser1 192.168.100.30:192.168.100.31 netmask 255.255.255.0 &
ifconfig ppp0 192.168.100.30 192.168.100.31


“Xiaodan Tang” <> xtang@qnx.com> > wrote in message
news:9sgqhs$lib$> 1@nntp.qnx.com> …
Zeljko Fucek <> alterlog@sympatico.ca> > wrote:
Hi All,

I have problems setting up a dial up server on QNX6
(client is Win98/WinNT):

  • /etc/hosts:
    #network cards
    192.168.100.10 server1_en0
    192.168.100.5 client1a

#serial interfaces
192.168.100.30 server_ppp0
192.168.100.31 client1b

  • server commands:
    slay io-net
    io-net -d rtl -p tcpip &

try:

io-net -d rtl -p tcpip -p pppmgr &

-xtang

ifconfig en0 192.168.100.10
pppd /dev/ser1 192.168.100.30:192.168.100.31 netmask 255.255.255.0 &
ifconfig ppp0 192.168.100.30 192.168.100.31

Previously I verified that null modem cable and serial ports
on both PCs work. QNX4 had slattach command to assign network
interface to serial port, and this has been changed to I don’t
know what (QNX6 documentation needs lots of improvements).

What’s missing here?

Thanks,

Zeljko
\

Sorry, but this still doesn’t work. The commands
and content of the /etc/host file I previously listed
were the only settings with respect to dial up.
I don’t have any files with settings for ppp on
QNX6 server. “HOWTO” web site would be really
beneficial for QNX6 beginners.

Zeljko

“Xiaodan Tang” <xtang@qnx.com> wrote in message
news:9shvdo$dll$1@nntp.qnx.com

Zeljko Fucek <> zfucek@arpeco.com> > wrote:
Sorry,

ifconfig is actually like this:

ifconfig ppp0 192.168.200.30 192.168.200.31

You don’t need to ifconfig ppp0, your pppd will
create ppp0 (after run), negotiate with peer,
and set the ip for you.

-xtang

Zeljko

“Zeljko Fucek” <> zfucek@arpeco.com> > wrote in message
news:9sh0v5$gln$> 1@inn.qnx.com> …
Thanks for your replies. If I try this:

  • /etc/hosts:
    #network cards
    192.168.100.10 server1_en0
    192.168.100.5 client1a

#serial interfaces
192.168.200.30 server_ppp0
192.168.200.31 client1b

  • server commands:
    slay io-net
    io-net -d rtl -p tcpip -p pppmgr forward &
    (at this moment I have under /dev/io-net en0, ip0, ip-en, ip-ppp)
    ifconfig en0 192.168.100.10
    (after this I can ping server from Win client)
    ifconfig ppp0 192.168.100.30 192.168.100.31
    (terminates with → ifconfig: SIOCGIFFLAGS ppp0: No such device
    or address)

What’s wrong, and do I need something with QNX4’s slattach?

Zeljko

try:

io-net -d rtl -p tcpip -p pppmgr &

-xtang

ifconfig en0 192.168.100.10
pppd /dev/ser1 192.168.100.30:192.168.100.31 netmask 255.255.255.0
&
ifconfig ppp0 192.168.100.30 192.168.100.31


“Xiaodan Tang” <> xtang@qnx.com> > wrote in message
news:9sgqhs$lib$> 1@nntp.qnx.com> …
Zeljko Fucek <> alterlog@sympatico.ca> > wrote:
Hi All,

I have problems setting up a dial up server on QNX6
(client is Win98/WinNT):

  • /etc/hosts:
    #network cards
    192.168.100.10 server1_en0
    192.168.100.5 client1a

#serial interfaces
192.168.100.30 server_ppp0
192.168.100.31 client1b

  • server commands:
    slay io-net
    io-net -d rtl -p tcpip &

try:

io-net -d rtl -p tcpip -p pppmgr &

-xtang

ifconfig en0 192.168.100.10
pppd /dev/ser1 192.168.100.30:192.168.100.31 netmask 255.255.255.0
&
ifconfig ppp0 192.168.100.30 192.168.100.31

Previously I verified that null modem cable and serial ports
on both PCs work. QNX4 had slattach command to assign network
interface to serial port, and this has been changed to I don’t
know what (QNX6 documentation needs lots of improvements).

What’s missing here?

Thanks,

Zeljko


\

Do I need to have npm-pppmgr.so in my build file?

“Xiaodan Tang” <xtang@qnx.com> wrote in message
news:9shvdo$dll$1@nntp.qnx.com

Zeljko Fucek <> zfucek@arpeco.com> > wrote:
Sorry,

ifconfig is actually like this:

ifconfig ppp0 192.168.200.30 192.168.200.31

You don’t need to ifconfig ppp0, your pppd will
create ppp0 (after run), negotiate with peer,
and set the ip for you.

-xtang

Zeljko

“Zeljko Fucek” <> zfucek@arpeco.com> > wrote in message
news:9sh0v5$gln$> 1@inn.qnx.com> …
Thanks for your replies. If I try this:

  • /etc/hosts:
    #network cards
    192.168.100.10 server1_en0
    192.168.100.5 client1a

#serial interfaces
192.168.200.30 server_ppp0
192.168.200.31 client1b

  • server commands:
    slay io-net
    io-net -d rtl -p tcpip -p pppmgr forward &
    (at this moment I have under /dev/io-net en0, ip0, ip-en, ip-ppp)
    ifconfig en0 192.168.100.10
    (after this I can ping server from Win client)
    ifconfig ppp0 192.168.100.30 192.168.100.31
    (terminates with → ifconfig: SIOCGIFFLAGS ppp0: No such device
    or address)

What’s wrong, and do I need something with QNX4’s slattach?

Zeljko

try:

io-net -d rtl -p tcpip -p pppmgr &

-xtang

ifconfig en0 192.168.100.10
pppd /dev/ser1 192.168.100.30:192.168.100.31 netmask 255.255.255.0
&
ifconfig ppp0 192.168.100.30 192.168.100.31


“Xiaodan Tang” <> xtang@qnx.com> > wrote in message
news:9sgqhs$lib$> 1@nntp.qnx.com> …
Zeljko Fucek <> alterlog@sympatico.ca> > wrote:
Hi All,

I have problems setting up a dial up server on QNX6
(client is Win98/WinNT):

  • /etc/hosts:
    #network cards
    192.168.100.10 server1_en0
    192.168.100.5 client1a

#serial interfaces
192.168.100.30 server_ppp0
192.168.100.31 client1b

  • server commands:
    slay io-net
    io-net -d rtl -p tcpip &

try:

io-net -d rtl -p tcpip -p pppmgr &

-xtang

ifconfig en0 192.168.100.10
pppd /dev/ser1 192.168.100.30:192.168.100.31 netmask 255.255.255.0
&
ifconfig ppp0 192.168.100.30 192.168.100.31

Previously I verified that null modem cable and serial ports
on both PCs work. QNX4 had slattach command to assign network
interface to serial port, and this has been changed to I don’t
know what (QNX6 documentation needs lots of improvements).

What’s missing here?

Thanks,

Zeljko


\