![]() |
![]() |
![]() |
![]() |
Start TCP/IP services
/etc/netstart
The netstart file is a shell script that's used to start a socket manager (Tcpip), configure interfaces, and start any desired TCP/IP daemons.
The file is usually invoked at boot time by the /etc/config/sysinit.node file, but may also be run from the shell command line (so you don't have to reboot).
Here's a typical example file that should be optimized on a per-system basis:
#!/bin/sh export SOCK=$NODE /bin/slay -f Tcpip /bin/prefix -D /dev/console >/dev/null 2>&1 /bin/prefix -A /dev/console=/dev/con1 # start up Tcpip: assume hostnames are defined as 'node#' /usr/ucb/Tcpip node$NODE & # Note: assuming ethernet interface on logical LAN 1 /usr/ucb/ifconfig en1 node$NODE up /usr/ucb/ifconfig lo0 localhost up /usr/bin/syslogd # Note: to act as an NFS server, uncomment the next line # /etc/nfsstart # Note: to act as a TCP/IP server, uncomment the next line # /usr/ucb/inetd
ifconfig, syslogd (QNX OS Utilities Reference), Tcpip
![]() |
![]() |
![]() |
![]() |