Operating instructions
SEA M300USERSGUIDE
GENERALINFORMATION
44
3. To begin the UDP services, you must run the ‘netstart’ batch file. This can be done at the
command prompt, or by inserting the following line into the ‘/etc/config/sysinit’ file and
restarting.
netstart
4. You can use netinfo -l to see information about the network card. Both the receive and
transmit sides should have a value for number of total packets. If these are 0, then this would be a
problem.
5. To ensure proper operation of the network for UDP transfer, make sure two QNX machines can
communicate by using the ‘ping’ command. In the M300 QNX system, at the command prompt
(either in a shell or from the main command prompt), perform a ping command by typing ping
ipAddress
where ‘ipAddress’ is the IP address of the other QNX machine. The ping should run
without any errors. Hit Ctrl+C to terminate the network ping program.
PERFORMINGDIRECTDATATRANSFERFROMQNXTOWINDOWS(FTP)
To set up the M300 to transfer data directly to Windows, use the following steps to perform the
initial configuration.
1. Connect the two computers with regular network cables through a network hub or using a
standard crossover cable (for direct connection)..
2. Determine the IP address for the Windows machine. To do this, right click on the network icon
and then select properties, or use the control panel Network Settings. In Windows XP, after
selecting properties, you must then select the appropriate network connection.
3. Select the TCP/IP client and check the IP address and the associated mask. The mask is usually
something like 255.255.255.0. If you make any changes to the windows machine, you must
reboot. Write down the IP address.
4. In the M300 machine, edit (as root) the ‘/etc/netstart’ file and assign an IP address different than
the Windows machine, but in the same subnet. For example, if the Windows machine IP address
is 192.9.200.20, you could assign 192.9.200.30 (only change the last number) for the M300
QNX system. The 192.9.200 is the subnet. The following is a sample of the ‘netstart’ file. The
line in bold is the line that contains the IP address of the M300 QNX machine.
export SOCK=$NODE
/bin/slay -f Tcpip;
/bin/prefix -D /dev/console>/dev/null2>&1;
/bin/prefix -A /dev/console=/dev/con1;
/usr/ucb/Tcpip qnx &
/usr/ucb/ifconfig en1 192.9.200.1 up
/usr/ucb/ifconfig lo0 localhost up
/usr/ucb/ifconfig en1 broadcast 192.9.200.255
#/usr/ucb/route add 224.0.0.0 192.9.200.2
#/usr/ucb/route add 225.0.0.0 192.9.200.2
/usr/ucb/route add default 192.9.200.40
#/usr/bin/syslogd
#Note: to act as an NFS server, uncomment next line