Home
Pick
CPR Software
Manfact
Quickscreen
Pick & Linux
Contact Us
Links

Soft Target Technologies

Installing D3 over RedHat 6.1

 
Pre-Installation Procedures
 
Boot the system and go into CMOS. Set CMOS printer type to EPP or SPP.
Change the BIOS chipset settings to allow booting from A / CDROM / C drives (in that order). Save and exit.
Reboot the machine with an MS-DOS bootable floppy, which has either FDISK or GDISK. Remove all existing partition information using FDISK or GDISK..
Reboot system again with that same bootable floppy. At the a:\ prompt, type fdisk /mbr (gdisk 1 /mbr) to remove the master boot record from the drive.
Insert the LINUX CD in the CDRom drive. Remove the floppy and reboot.
 
 
RedHat 6.1 Linux Install:
 
Use 'custom' for the installation type. Take as many defaults as possible! That having been said, do NOT install everything! Stay away from services that you don't need or that will be a security hole. For example, WU FTP is a good service not to install. It's as secure as a sieve.
 
Hard Disk - You are forced to use disk druid.
  1st partition - 1 Gigabyte for the root Linux Native partition.
  2nd partition - the size is twice the amount of your RAM for the Swap Partition.
  Create any additional Linux Native partitions.
  Do NOT create any d8 type partitions for D3.
   
After the Linux installation is completed you can logon as root and using fdisk, create the D3 (d8 type) partitions. 2 Gigabytes maximum per partition. You could also define the D3 (d8 type) partitons during the D3 installation.
   
Mount Points - The first Linux Native partition uses a mount point of '/'.
  The other Linux Native partition you can use for Samba storage for client workstations so it's mounted as '/public'.
   
Tape - 2940 or 2906 Adaptec card (a cheaper version)
   
Network IP - 192.168.1.1 (server address, must not end with 0)
   
Windows - 192.168.1.11 (for the 1st client, increment from 11)
   
Subnet Mask - 255.255.255.0
   
DNS Settings - DNS Settings are based on your implementation
   
 
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

 

 

Copyright © Soft Target Technologies - All Rights Reserved