Context: We are developing a Network Bridge Card for Cable-TV to Ethernet
running on QNX 4.24. Our driver interfaces with Net via Net.fd
Symptom: We are unable to run both ethernet and Our driver. Though both
drivers run (listed by ps), and though netinfo shows correct configuration
information for both interfaces, ifconfig of en1 fails with IOCTL error: no
such interface.
Details: Basic network installation works:
\
Cable & Ethernet
Net &
Net.ether82557 -p0 &
Net.ether82557 -p1 &
mynet_driver &
Net.fd -c -a $MAC_ADDRESS -h -l 2 /dev/MyNet_fd &
netmap -f
Socket MyHostName &
ifconfig en1 xxx.xxx.xxx.xxx up
ifconfig en2 xxx.xxx.xxx.xxx up
error message:
Send(): Register with Net Manager failed
ifconfig: ioctl (SIOCGIFFLAGS): no such interface
Does this work with only 1 other device? Are you sure you are
registered with Net?
netmap -f
If this is a standalone device I would omit this. The drivers will register
their MAC addresses with Net and they will be added. If a card/MAC
changes and you load this here you will override what Socket sees as
the MAC addresses and will arp wrong information.
Socket MyHostName &
If this is done before the Net.* interfaces are stable you will only
get what was stable/registered… best to delay some before you
do this (In Nto you could wait for the devices…)
ifconfig en1 xxx.xxx.xxx.xxx up
ifconfig en2 xxx.xxx.xxx.xxx up
Again… too close behind ‘Socket &’ - you need to wait for it to come
up.