tcp ip questions

Hi,

i have a question about qnx 425

is there a bootscript where i can put some statements which execute
automatically at startup?

The goal is to add a default route which is apparently not active
after installation…

Peter Nobels wrote:

Hi,

i have a question about qnx 425

is there a bootscript where i can put some statements which execute
automatically at startup?

The goal is to add a default route which is apparently not active
after installation…

All TCP/IP startup statements should normally go to /etc/netsart.
So you should add:

/usr/ucb/route add default xxx.xxx.xxx.xxx

(You probably already have /etc/netstart invoked in /etc/config/sysinit.xx -
xx is a node number).

Greg Wrobel


wrobel@no-spam.zdania.com.pl Experimental Department of Scientific
phone: (+48 12) 617-2883 Equipment and Automation
fax: (+48 12) 634-2205 30-059 Krakow, al.Mickiewicza 30, Poland

Previously, Peter Nobels wrote in comp.os.qnx:

Hi,

i have a question about qnx 425

is there a bootscript where i can put some statements which execute
automatically at startup?

/etc/config/sysinit.$NODE is run at startup.

The goal is to add a default route which is apparently not active
after installation…

By default, no tcp/ip of any kind is active after installation. So if
you are running Socket, but don’t have any routes, then find where
you run socket from and add the route command after the ifconfigs.

Most QNX systems have these commands in /etc/netstart, and run them
from the sysinit.

Sam


Sam Roberts (sam@cogent.ca), Cogent Real-Time Systems (www.cogent.ca)

peter.nobels@lhs.be (Peter Nobels) writes:

Hi,

i have a question about qnx 425

is there a bootscript where i can put some statements which execute
automatically at startup?

The goal is to add a default route which is apparently not active
after installation…

/etc/config/sysinit

or

/etc/config/sysinit.$NODE


Andrew Thomas, President, Cogent Real-Time Systems Inc.
2430 Meadowpine Boulevard, Suite 105, Mississauga, Ontario, Canada L5N 6S2
Email: andrew@cogent.ca WWW: http://www.cogent.ca

On Thu, 10 Aug 2000 13:20:31 +0200, Grzegorz Wrobel
<wrobel@jumbo.kaniup.agh.edu.pl> wrote:

Peter Nobels wrote:

Hi,

i have a question about qnx 425

is there a bootscript where i can put some statements which execute
automatically at startup?

The goal is to add a default route which is apparently not active
after installation…

All TCP/IP startup statements should normally go to /etc/netsart.
So you should add:

/usr/ucb/route add default xxx.xxx.xxx.xxx

(You probably already have /etc/netstart invoked in /etc/config/sysinit.xx -
xx is a node number).

ok, next step… i need to export a dir using nfs on that box…
when running /etc/nfsstart i get the error…

mountd error : “function not implemented”

As far as i figured out : there’s Socket and Socklet which does not
support nfs… In /etc/config/bin/tcpip.1 this one is fired up…

If i replace that line in tcpip.1 with Socket then my system hangs
after logging in…

Greg Wrobel


wrobel@no-spam.zdania.com.pl > Experimental Department of Scientific
phone: (+48 12) 617-2883 Equipment and Automation
fax: (+48 12) 634-2205 30-059 Krakow, al.Mickiewicza 30, Poland

Hi!
I have QNX 4.23 + TCP/IP.
I include string “/etc/netstart” into my sysinit file and
get message “Socket: no license”.
If I include “/etc/netstart” into my profile,
TCP/IP started sucsessfuly.
Alex Zaporogchenko ccbase@stalker.donetsk.ua


Andrew Thomas wrote in message …

peter.nobels@lhs.be > (Peter Nobels) writes:

Hi,

i have a question about qnx 425

is there a bootscript where i can put some statements which execute
automatically at startup?

The goal is to add a default route which is apparently not active
after installation…

/etc/config/sysinit

or

/etc/config/sysinit.$NODE


Andrew Thomas, President, Cogent Real-Time Systems Inc.
2430 Meadowpine Boulevard, Suite 105, Mississauga, Ontario, Canada L5N 6S2
Email: > andrew@cogent.ca > WWW: > http://www.cogent.ca