|
SCO UnixWare RealPort FAQ SCO UnixWare RealPort FAQ
For AIX, see Testing Realport in AIX
How do I add more PortServer's?
- Currently there is no easy way to add in more PortServers, the driver must be completely
reloaded. We suggest that when you load the driver, load it for the number of PortServers
you currently have PLUS any you might add in the future. Even if you give them bogus
IP addresses, this can easily be changed later. After loading the driver edit the
/etc/rc2.d/S76ncxa file. This file starts the daemons for each PortServer configured. You
can comment out the ones not currently present. For each of these daemons there is als
o a -i or -n flag for the PortServer IP address (-i) or name (-n), this is where you can
change the ip or name for that PortServer.
Why do I sometimes get a PortServer login instead of the realport login?
- This indicates that the PortServer is not setup properly to use for realport. By
default the PortServer is set to set port dev=term this means that DDR-RTS are high and the
PortServer sends a login. This must be changed for realport to set port dev=prn,
also verify auto=off in the PortServer port settings.
This will prevent the PortServer from generating a login. The port will be in a neutral
state for realport to control.
What does the "tcp port number" mean?
- This is the tcp socket id number that the driver uses to talk over tcp/ip to the
PortServers. The default is '771' and the default (771) should be used for ALL PortServers.
Along with it prompting you for this when loading the driver it should match the
PortServers set co
nfig realport= the default here is also '771'.
Why won't the 'ncxd' daemon start or why does it keep dying?
- This can be caused by a number of reasons. First be sure your PortServer has the most
recent version of firmware from our ftp site. For an indication of exactly what might be
causing this, you need to put the daemon (ncxd) into debug mode. To do this, below is a
standard example of how the daemon normally looks. You can change the /etc
/rc2.d/S76ncxa file and rerun it.
/etc/ncxd -d /dev/cts0 -i 199.86.5.5 -p 771
change S76ncxa to:
/etc/ncxd -D -L -d /dev/cts0 -i 199.86.5.5 -p 771
This will put the daemon in debug (-D) and create a log file (-L). This log file is
/etc/.ncxd.log. Most of the debug info is only useful for the engineer.
Does realport support all ditty paramaters that the standard async board drivers do?
- Yes, except for 2 options. The printer option is not supported. Also, the altpin
option is not supported thru ditty but altpin can be set from the PortServer, set flow
altpin=on.
How can I be sure that realport is running?
- Doing a ditty term/x##s (x##s being the actual device), if it responds back with
port definitions it usually indicates that the driver is talking to that port. Even a
better indication is that if you enable a port, for example a01s, if you then do a who from
the command line on the PortServer it should show Realport under the Connected to column for
port 5 in this example.
Another way would be to monitor the port from the front panel, if the tty is open (or
enabled) you should see DTR and RTS signals lit. Send something to the tty and see if TD
flashes.
If I load realport, do all ports have to use realport?
- No, loading realport on a server does not mean that realport controls all ports.
Realport controls that port if that device is opened (getty, sleep, a print job is printing,
etc.). Examples to better illustrate this:
I have realport devices ttya01-16. Ports 1-14 are terminals auto-connecting via telnet
to my host, ports 15-16 are printers. In this case you would not use ports ttya01-14 and
setup the printers using ttya15-16.
If there is a process running on the port from your server, Realport will have control
of this port and essentially 'own it' until the process is gone.
Can I load realport on multiple hosts to access the same PortServer(s)?
- Yes, understanding the question above this one pretty much answers this. You can have
devices a01s-a16s loaded on 2 different machines. If server1 has ports a01s-a08s opened,
server1 controls it. Server2 could then have a09s-a16s opened, server2 contr
ols this. One area that gets a little confusing is printers. If you have a print spooler
(a10s) set up on server1 and server2, and you don't have anything else holding the port
open. The print spooler will open the tty (it now controls it), send the
print job, and then close the port, it is now open for either server. *NOTE: You cannot
enable a port for login from two servers at the same time!
|