* Connecting an NCD X-Terminal to an Alpha/AXP 7000?
@ 1994-04-21 20:35 Jay Masino
1994-04-22 19:02 ` Don Glascock
0 siblings, 1 reply; 2+ messages in thread
From: Jay Masino @ 1994-04-21 20:35 UTC (permalink / raw)
Does anyone know the procedure for configuring both an NCD19c X-Terminal and
an Alpha/AXP 7000 running OSF/1 so they'll talk to each other?
*****************************************************
* Jay Masino *
* 1967 Cherokee 140 - N4269J *
* *
* "Real men fly Hershey Bars" *
* *
* Jay_Masino@ccmail.gsfc.nasa.gov or *
* jay@sky-king.gsfc.nasa.gov *
*****************************************************
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Connecting an NCD X-Terminal to an Alpha/AXP 7000?
1994-04-21 20:35 Connecting an NCD X-Terminal to an Alpha/AXP 7000? Jay Masino
@ 1994-04-22 19:02 ` Don Glascock
0 siblings, 0 replies; 2+ messages in thread
From: Don Glascock @ 1994-04-22 19:02 UTC (permalink / raw)
|> Does anyone know the procedure for configuring both an NCD19c X-Terminal
|> and an Alpha/AXP 7000 running OSF/1 so they'll talk to each other?
|>
|> * Jay Masino *
I'll take a swipe at it. Then those who REALLY know can correct me.
I assume that you want to boot off the Alpha.
I set up a mess of X-terminals in a project here at Mayo, and learned
a lot about how to (and how NOT to) configure NCD's.
Your X-terminal will need a kernel. Decide in what directory you would
like to hold bootable images that would be offered via TFTP to things
like X-terminals. Create this directory if it doesn't exist, and make
its mode 755 root/daemon (or whatever). Edit /etc/inetd.conf, and change
the default (for 1.3) place of "/tmp" be the place you've chosen. Uncomment
the line, and exit the editor. Tell inetd what's going on by getting its
PID from "ps ax | grep inetd | grep -v grep", and send it a "HUP" signal.
Copy the "Xncd19c" kernel to this new location, and make it mode 444.
Your X-terminal will need to know its IP address. Assign it a name &
number in your YP maps or name server, or whatever you're using. When
I was setting up NCD's in a Sun environment, I fed the ethernet & hostname
into my "ethers" YP map & remade the map. I don't see rarpd offered off
of our OSF/1 Alpha. Perhaps there is some software subset that we have
not installed. If you do not have rarpd offered on the same subnet as
your X-terminal, then you make still be OK; you just can't use "ethers"
to let your X-terminal dynamically figure out its IP address. Instead,
you can get at the "console" of the NCD-19c by reading its manual (I've
forgotten exactly what sequence this was for the 19c, and it's probably
changed by now). From the console, you can tell it to boot with a command
like: "el Xncd19c 129.176.215.199 129.176.215.124" which tells it to do
an "ethernet load" to find the file "Xncd19c" from host "...124", and that
its own address is "...199". But this boot command comes later.
Your X-terminal will need to get fonts from somewhere. Perhaps you have
the X11R5 font server set up, and perhaps the NCD config file knows how
to find that. Otherwise, you can use NFS to make the fonts available
to the X-terminal if you put the fonts in a directory tree that you could
offer (read-only) to either the world, to your workstations, or just your
X-terminals. You can also do this via tftp. At the time that I did this,
I had NFS to work with, so I used that. To do that, I changed the config
file (described below) to mount the server's fonts onto the bogus directory
on the NCD called "/usr/lib/X11/fonts", and then set the config file's\
font path to fetch /usr/lib/X11/fonts/{75dpi,100dpi,misc,openwin,...}.
Not very difficult.
Your X-terminal will need a configuration file. In the directory that
holds the kernel for this X-terminal, create a bogus, nearly-empty
directory tree called "usr/lib/X11/ncd/configs" (note the missing leading
slash!!), and copy the "Xncd19c" config file to this directory.
Edit the config file to set subnet mask, broadcast address, Make it
mode 444, and the directories in its path world readable & "executable".
If you have several X-terminals and they have bizarre, funky characteristics
(they're on different subnets, or they have different broadcast addresses)
then you'll also need a config file named for the IP address of the booting
X-terminal in question. The name should be something like A4B2C14C. You
can figure out what the X-terminal's address is in Hex through, say, Awk:
echo <decimal number> | awk '{printf "%d == 0x%x\n", $1, $1}'
This is one hacker's way to find a hex number; I'm sure there are many,
and many would probably be easier. Anyway, this method requires that you
run this command four times, once for each portion of the X-terminal's IP
address. Smush the numbers together, in the same order that they were
written in decimal, capitalize them, and use that for the file name in
the "configs" directory. Stuff in it whatever makes that X-terminal
bizarre in its way. There is also a great religious debate as to how
much info you can rely on being hard-coded in the X-terminal vs. how
much data you're willing to have to re-type if the X-terminal needs to
be replaced.
Some kind workstation somewhere needs to offer XDM to your X-terminal.
Chances are good that the NCD software is now so robust that it'll figure
out that your Alpha has XDM on it, and will try to get a session directly
from the Alpha without you having to edit /usr/lib/X11/xdm/Xservers to
stick in a "remote" entry.
Let's see...
That's hopefully a roadmap with some valid data to it. My experience
told me:
1. Standardize on one & only one keyboard type.
2. Hardcode keyboard data on the X-terminal.
3. Use rarp & specify network info in the config file to enable you
to more easilly shift around X-terminals.
4. Avoid changes to XDM on workstations as much as possible.
5. About the only info that needs to be in a given X-terminal's
IP-address-specific config file might be the name of the hosts
from which it should try for XDM. Perhaps now that's not even
necessary.
Moral:
SIMPLIFY, SIMPLIFY, SIMPLIFY, and ye shall be rewarded with
good boxes that serve you well.
later & good luck!
don
--
+ + + + + + + + + + + + +
Don Glascock
+ Mailstop GU-10 +
Special Purpose Processor Development Group
+ Mayo Foundation +
Rochester, MN 55905
+ glascock@mayo.edu (507) 284-1850 +
"No matter where you go, there you are."
+ + + + + + + + + + + + +
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-04-22 19:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-04-21 20:35 Connecting an NCD X-Terminal to an Alpha/AXP 7000? Jay Masino
1994-04-22 19:02 ` Don Glascock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox