Hello to all gurus out there!
How can I make QNX RtP to load tcpip instead of ttcpip at boot time?
For some reason the ttcpip is loaded but it causes problems with
dhcp.client. IP-address is correct but netmask is wrong (always
255.255.255.0) and default gateway missing.
If I do
slay dhcp.client
slay io-net
nettrap -p tcpip -i -v start
dhcp.client -d -i en0 -m
from shell after bootup has finished everything gets set correctly.
I would like to know what file I should edit to make tcpip the default
protocol stack?
I have tried adding the nettrap and dhcp.client commands to /etc/rc.d/rc
but it would seem that io-net and dhcp.client are loaded before it is run
and all I get is two instances of io-net and dhcp.client with obvious
results (i.e. no effect). Of course, I could add the slay commands to rc
but I would prefer a “cleaner” solution.
The on-line manuals are somewhat sparse in this area. At least I haven’t
been able to find a description of the boot procedure.
Any hints would be appreciated.
Regards,
Martti Laaksonen