| |
|
PICK D3 Installation
|
| |
Read the D3 Linux Installation Guide First - Really, it works! |
| |
Once D3 has been installed and the server rebooted, login as root
and create a 'pick' user: |
|
useradd pick <ENTER>
|
passwd pick <ENTER>
|
| |
| Some will say that this user does not need a password,
but I disagree from a security standpoint. Without a password the
user account is just one more way for someone to enter your system
unchecked. It's your choice. |
| |
Before you run D3 for the first time do the following: |
| |
cd / to get to the root directory
|
chmod 666 /dev/nst0 (to get the tape running
for all users)
|
chmod 666 /dev/fd0H1440 (to get the floppy
running for all users)
|
| |
Add the following lines to /etc/inittab to start the COM ports: |
| |
P1:2345:respawn:d3 -n pick0 1 -t ttyS0
|
P2:2345:respawn:d3 -n pick0 2 -t ttyS1
|
| |
Add the following lines to /etc/rc.d/rc.local to start D3 automatically
when the server is rebooted: (Make sure you really want D3 starting
with every reboot) |
| |
d3 -0 -a x
|
exec /usr/bin/d3 -dcdon
|
| |
Make sure the last action of the USER-COLDSTART is EXIT otherwise
the Linux server may not finish booting! |
| |
Create an item in /usr/bin called tnet: |
| |
#!/bin/bash
|
exec /usr/bin/d3 -dcdon
|
| |
After tnet is created: |
| |
cd / (to get back to the root directory)
|
chmod 555 /usr/bin/tnet
|
| |
Create an item in /usr/bin called setup_4mm [Do the following ONLY
if you are using 4mm DAT drives] |
| |
#!/bin/bash
|
mt -f /dev/nst0 defblksize 0
|
mt -f /dev/nst0 setblk 0
|
mt -f /dev/nst0 rewind
|
| |
After setup_4mm is created: |
| |
cd/ (to get back to the root directory)
|
chmod 555 /usr/bin/setup_4mm
|
| |
In the usr/lib/pick/pick0 file add the
DAT drive as: |
| |
tape /dev/nst0 16384 d ll # tape 2 (or whatever
number)
|
| |
Change
the telnet line in /etc/inetd.conf from: |
| |
telnet stream tcp nowait root /usr/sbin/tcpd
in.telnetd
|
| |
| to read as below: |
| |
telnet stream tcp nowait root /usr/sbin/in.telnetd
-debug -L /usr/bin/tnet
|
| |
In the /usr/lib/pick/pick0 file change the break character to '03'
(if you leave it at 1d you can't embed a CHAR(253) with <]>)
also, set npibs to twice the number of licensed users. |
| |
RedHat 6.1 has a parallel printer problem. Add the following line
to /etc/conf.modules: |
| |
alias parport_lowlevel parport_pc
|
| |
| Save the change and then from the prompt run:
|
| |
/sbin/rmmod lp
|
| |
Add the following to your USER-COLDSTART: |
| |
!exec d3 -22 -t lp0 -pprinter &
|
startptr 0,0,0,s22
|
| |
Note: the '22' in these two lines can be any valid port number. |
| |
Note: for D3Linux 7.1 and earlier the 'lp0' should be 'lp1'. |
| |
Add the following to your USER-COLDSTART: |
| |
trap dcd exit
|
dcd (n
|
| |
This should prevent you from using up d3 users when someone disconnects
without logging off. |
| |
Now reboot the system, D3 should start right up and your Windows clients
should be able to telnet in without any problem. Remember to setup
TCP/IP in the Windows network setup. Use a fixed IP address to match
the server and netmask. Disable DNS. Use Microsoft Networking and
File Sharing enabled and Printer Sharing enabled to give your system
maximum flexibility. |
| |
To make the console work correctly use term type ANSI.C and change
line 6 - clear screen to read as follows: |
| |
D,X'1B',C'[2J',X'1B',C'[01;01H',< -1 CLEAR
SCREEN
|
| |