Using PCMCIA IDE Flash with qnx4?

Hello, how can I run Socklet and ifconfig when I have two ethernet cards ?

I run :

Net &
Net.ether2100 -l1 &
Net.ether2100 -l2 & ( or Net.rtl -l2 &)

Socklet hostname1 &

when I run
Socklet hostname2 &
I get
Socklet: unable to attach name: /qnx/socklet

Thanks
David

Hello, how can I run Socklet and ifconfig when I have two ethernet cards ?

I run :

Net &
Net.ether2100 -l1 &
Net.ether2100 -l2 & ( or Net.rtl -l2 &)

Socklet hostname1 &

when I run
Socklet hostname2 &
I get
Socklet: unable to attach name: /qnx/socklet

Thanks
David

Hello, how can I run Socklet and ifconfig when I have two ethernet cards ?

I run :

Net &
Net.ether2100 -l1 &
Net.ether2100 -l2 & ( or Net.rtl -l2 &)

Socklet hostname1 &

when I run
Socklet hostname2 &
I get
Socklet: unable to attach name: /qnx/socklet

Thanks
David

Hello, how can I run Socklet and ifconfig when I have two ethernet cards ?

I run :

Net &
Net.ether2100 -l1 &
Net.ether2100 -l2 & ( or Net.rtl -l2 &)

Socklet hostname1 &

when I run
Socklet hostname2 &
I get
Socklet: unable to attach name: /qnx/socklet

Thanks
David

Hello, how can I run Socklet and ifconfig when I have two ethernet cards ?

I run :

Net &
Net.ether2100 -l1 &
Net.ether2100 -l2 & ( or Net.rtl -l2 &)

Socklet hostname1 &

when I run
Socklet hostname2 &
I get
Socklet: unable to attach name: /qnx/socklet

Thanks
David

Hello, how can I run Socklet and ifconfig when I have two ethernet cards ?

I run :

Net &
Net.ether2100 -l1 &
Net.ether2100 -l2 & ( or Net.rtl -l2 &)

Socklet hostname1 &

when I run
Socklet hostname2 &
I get
Socklet: unable to attach name: /qnx/socklet

Thanks
David

Hello, how can I run Socklet and ifconfig when I have two ethernet cards ?

I run :

Net &
Net.ether2100 -l1 &
Net.ether2100 -l2 & ( or Net.rtl -l2 &)

Socklet hostname1 &

when I run
Socklet hostname2 &
I get
Socklet: unable to attach name: /qnx/socklet

Thanks
David

Hello , thanks
It was stupid idea run two Socklets. :astonished:)
Now I have this setting and it works.

nameloc -p10 &
Net &
Net.ether2100 -S0 -l1 &
Net.ether2100 -S1 -l2 &
Socklet hostname1 &
ifconfig en2 hostname2
ifconfig en1 hostname1
inetd

Note:

  1. Net.ether2100 must be with -l and -S parameter too)
  2. When I have
    ifconfig en1 hostname1
    ifconfig en2 hostname2
    ifconfig en2 stop or write " hostname2: bad value"
    (hostname1 , 2 are in /etc/hosts)

Must be: ???
ifconfig en2 hostname2
ifconfig en1 hostname1

David

“Ryan J. Allen” <ryallen@qnx.com> píse v diskusním príspevku
news:em8unt$4hm$1@inn.qnx.com

David,

One instance of the TCP/IP stack (Socklet) should enumerate both NICs.
You can configure both interfaces using ifconfig (en1 and en2).


Ryan J. Allen
ryallen@qnx.com


David Brdièka wrote:
Hello, how can I run Socklet and ifconfig when I have two ethernet cards
?

I run :

Net &
Net.ether2100 -l1 &
Net.ether2100 -l2 & ( or Net.rtl -l2 &)

Socklet hostname1 &

when I run
Socklet hostname2 &
I get
Socklet: unable to attach name: /qnx/socklet

Thanks
David
\