Disabling a built-in enet controller

I just installed Momentics NC on a machine that’s got a motherboard with
a built-in ethernet controller. For whatever reason, the built-in
interface didn’t quite work. (It would work for awhile, then stall,
presumably because io-net has either exited or been killed.)

Maybe I’ll work on that problem some other time, but, as a workaround, I
bought a $9 RTL8139-based enet card and put it in the machine. Upon
reboot, the phlip utility showed both NICs, but neither of them would
work. I found I could manually set up the RTL card by doing:

slay io-net

io-net -ptcpip -drtl

After doing this, phlip only showed the RTL card (as en0), which is
exactly what I want.

What is the best way to set up the machine so that it automatically
assigns the RTL card to en0, and completely ignores the built-in enet
controller?

Edit /etc/system/enum/devices/net, remove the vendor ID and device ID of
your BAD NIC from the device list.


“David Wolfe” <da5id@LUVSPAMwolfe.name> wrote in message
news:b0mg3i$gdo$1@inn.qnx.com

I just installed Momentics NC on a machine that’s got a motherboard with
a built-in ethernet controller. For whatever reason, the built-in
interface didn’t quite work. (It would work for awhile, then stall,
presumably because io-net has either exited or been killed.)

Maybe I’ll work on that problem some other time, but, as a workaround, I
bought a $9 RTL8139-based enet card and put it in the machine. Upon
reboot, the phlip utility showed both NICs, but neither of them would
work. I found I could manually set up the RTL card by doing:

slay io-net

io-net -ptcpip -drtl

After doing this, phlip only showed the RTL card (as en0), which is
exactly what I want.

What is the best way to set up the machine so that it automatically
assigns the RTL card to en0, and completely ignores the built-in enet
controller?
\

bstei@hotmail.com sed in <b0mm9b$c58$1@nntp.qnx.com>:

“David Wolfe” <> da5id@LUVSPAMwolfe.name> > wrote in message
news:b0mg3i$gdo$> 1@inn.qnx.com> …
What is the best way to set up the machine so that it automatically
assigns the RTL card to en0, and completely ignores the built-in enet
controller?

Edit /etc/system/enum/devices/net, remove the vendor ID and device ID of
your BAD NIC from the device list.

if the motherboard BIOS didn’t have any setup to
disable the onboard NIC
(it usually does for desktop motherboards; dunno for embeddeds)

kabe