Hello
We are setting up QNX 4.25 on a Parvus 4200 PC/104 CPU, which has 2 RTL8139 Ethernet controllers. We would like to use both ports on this node for communication, but we are unable to configure both ports.
We defined two IP addresses, one for each port, and started the driver for both as well (settings given by the ‘nettrap -v’ command):
Net &
Net.rtl -pfc00 -i9 -I0 -l1 &
Net.rtl -pf800 -i9 -I1 -l2 &
We then call netstart, which is configured as follows:
#!/bin/sh
/bin/sleep 2
export SOCK=$NODE
/bin/slay -f Socket Socklet;
/bin/prefix -D /dev/console >/dev/null 2>&1;
/bin/prefix -A /dev/console=/dev/con1;
# start up Socket: assume hostnames are defined as 'node#'
# Note: if not using NFS, use Socklet instead
/usr/ucb/Socket mynode1 &
/usr/ucb/Socket mynode2 &
# Note: assuming ethernet interface on logical LAN 1
/usr/ucb/ifconfig en1 mynode1 up
/usr/ucb/ifconfig en2 mynode2 up
/usr/ucb/ifconfig lo0 localhost up
/usr/bin/syslogd
# Note: to act as an NFS server, uncomment the next line
# /etc/nfsstart
# Note: to act as a TCP/IP server, uncomment the next line
/usr/ucb/inetd
When calling netstart, we get the following message:
Socket: Unable to attach name: /qnx/socket
ifconfig: ioctl (SIOCAIFADDR): File exists
After that only the first port works, but not the second.
Would anyone have some suggestions for my problem?
Thanks in advance.