How to configure the network

We’re using the qnx4.25 .I have several problems with network.
1.If the qnx system doesn’t know the network adapt during the install
program .What can we do except changing the network adapt.
2.How can we configure the IP address,the gateway the route and the Dns
to connect to internet.Please give us advice in detail.Which file we should
modify and which command we should use .Please give us some examples.

thanks
lzhxu

summer <gpjin@nairc.ac.cn> wrote:

We’re using the qnx4.25 .I have several problems with network.
1.If the qnx system doesn’t know the network adapt during the install
program .What can we do except changing the network adapt.

nettrap is your friend to find network adapter.

2.How can we configure the IP address,the gateway the route and the Dns
to connect to internet.Please give us advice in detail.Which file we should
modify and which command we should use .Please give us some examples.

You need to check out ifconfig, route and the file /etc/resolv.conf
from menu.

-xtang

Previously, summer wrote in qdn.public.articles:

We’re using the qnx4.25 .I have several problems with network.
1.If the qnx system doesn’t know the network adapt during the install
program .What can we do except changing the network adapt.

After you change the /etc/config/netmap file, run the command “netmap -f”.
There is also a 3rd party product called Automap that can do the
configuring dynamically for you.

2.How can we configure the IP address,the gateway the route and the Dns
to connect to internet.Please give us advice in detail.Which file we should
modify and which command we should use .Please give us some examples.

Once you’ve started Socket, the ifconfig command assigns an IP address to
device. For example:

ifconfig en1 192.168.1.1 up

The gateway is specified in the /etc/resolv.conf file, eg:

lookup file bind
nameserver 192.168.1.123

Mitchell Schoenbrun --------- maschoen@pobox.com