NT/UNIX Interoperability Seminar
LAB SETUP GUIDE

SUMMARY


MUST BE DONE BY SITE BEFORE FIRST DAY OF CLASS:
(** Site must have NT Server 4.0 install software
+ all NT drivers for site-specific adapter cards. **)
Assemble hardware systems & LAN
Load Windows NT Server 4.0 operating systems


MAY BE DONE BY SITE OR BY INSTRUCTOR BEFORE 2nd DAY OF CLASS:
(** Instructor brings this software. **)
Install NT Server 4.0 Resource Kit 
Install LINUX



DETAILS


HARDWARE REQUIRED: (** NOTE: All hardware must be on the
Microsoft NT Hardware Compatibility List **)

1 Intel Pentium w/2GB disk space per student,
CD-ROM drive and Network Interface Card 
(installed in pairs for partnered labs)
(the IP addresses of partners will be consecutive)

+ 1 instructor Intel Pentium w/2GB disk space,
CD-ROM drive and Network Interface Card
and monitor-capture projector 

+ all systems connected to same subnet on a local 
LAN and to the Internet with a DNS server

+ PRINTER (on LAN or connected to instructor system)

+ 1 diskette per student system for Linux boot



SOFTWARE REQUIRED:

FOR SITE TO SET UP LAB BEFORE DAY 1:
1 NT Server 4.0 install CD-ROM + set of 3 Setup diskettes


FOR SET UP LAB BEFORE DAY 2:
(PROVIDED BY INSTRUCTOR)
1 Linux Install CD-ROM 
& 2 blank diskettes to make into Boot+Supp.
1 Microsoft NT Server 4.0 Resource Kit CD-ROM
1 NT Services for Unix CD-ROM


FOR EACH PAIR OF STUDENTS ( 9 Students = 5 Pairs): 
(PROVIDED BY INSTRUCTOR)
1 NT Server 4.0 install CD-ROM 
1 NT 4.0 Current Service Pack CD-ROM (SP4 as of 3/99)
1 set of 3 MS Network Monitor install diskettes (from SMS)


PRE-COURSE SETUP:
MUST BE DONE BY SITE BEFORE FIRST DAY OF CLASS:

(** NOTE: The exact hardware used may change some of the set up
details of the following instructions! For example, your
system may not use SCSISelect as the system configuration
utility OR it may be able to boot directly from the NT
install CD-ROM instead of needing the 3 Setup diskettes. **)

Student systems setup as follows:

1) Set BIOS for "Drives > 1 GByte" 

Reset, run SCSISelect 
Choose configure/View->Advanced Config Options and
Enable "Extended BIOS Translation for DOS Drives > 1 GByte"
Exit SCSISelect

2) Install NT Server without Network drivers

Insert NT Server CD-ROM & NT Server Setup disk 1
Hit your computer's reset button
Insert the 2nd Setup disk when prompted.
At 1st menu <ENTER> to "set up NT now"

Choose to let Setup detect devices.
Insert the 3rd Setup disk when prompted.
If Setup found devices, hit <ENTER> again to accept
If Setup did not detect you devices, check the Microsoft
Web site or the site of your hardware's manufacturer for
any troubleshooting tips.

Page thru & accept the license
<Enter> to accept the hardware components

In the partitions screen, delete any surviving partitions
On Disk 0, "C"reate a partition of 800MB
With C: highlighted, <ENTER> to install NT in C:
Format as FAT
(This will take a few minutes; it is a good time
to start this procedure on the next system)

<ENTER> to install into \WINNT
<ENTER> to allow exhaustive examination
Setup will copy files for a couple minutes
Eject the CD & <ENTER> when instructed
(leave the CD on the tray - you'll need it soon)
Insert CD & "OK" when instructed

Fill in Name and Org screen as you see fit
Input the Product ID from the back of the CD-ROM case
At Licensing, choose 20 Per Server

Computer Names are in the form: 
L01NBIOS, R01NBIOS = 1st pair of partner systems
L02NBIOS, R02NBIOS = 2nd pair of partner systems
(etc., etc., and so forth)

Server type = Stand-Alone
Leave Admin password blank
NO, do not create an ERD
Accept default components

"Next" at Installing...Networking, but
choose "Do not connect" in the next screen

Pull-up to appropriate Time Zone & check for correct time
Test & OK display

Remove NT CD when prompted, <ENTER> to restart
Logon as Administrator with no password to check install.


Instructor system set up the same as students EXCEPT:

3) Install NT Server as PDC with Network drivers
...
Computer Name= INSTNBIOS
Server type = Primary Domain Controller
Admin password = "topsecret"
...
Choose "Wired to network" in networking
Accept IIS install
Search for adapter
If not found, install site-specific drivers
Allow TCP/IP protocols
Accept the defaults of following screens until...
At TCP/IP Properties fill in appropriate values for: 
IP address & subnet mask
Default Gateway
DNS domain and a DNS server
Accept the defaults of following screens until...
Set NT domain name to 259DOMAIN
At IIS Setup select the HTML version of Manager
(This should result in all IIS components selected)
Accept all IIS defaults
...

After the final restart to test the install,
run Internet Explorer to confirm that you can get to site: 
samba.org

This page will list mirror sites. Choose a location near you.
Select "...sunsite..." if you can and go to the mirror.

At the mirror FTP page click on "samba-latest.tar.gz"
In the download dialog, select "Save it to disk"
In Save As, select C:\InetPub\ftproot

Use the Printers icon to Add Printer of appropriate type
Name the printer "259PRINT" (do NOT share it)
Print a test page
Use Control panel->Network to Add Services 
"Microsoft TCP/IP Printing" (do NOT restart)
Use Control panel->Services and select
"TCP/IP Print Server";
Push Start;
Push Startup and select Automatic

Use User Manager to create "root" with no password
Deselect "Must change Password" and select
"Cannot change password"




MAY BE DONE BY SITE OR BY INSTRUCTOR BEFORE 2nd DAY OF CLASS:

4) Install Resource Kit on NT

Insert the Resource Kit CD.
Install the Resource Kit in the default dir (C:\NTRESKIT) 
Select "Custom/Complete" and "Select All" components
"Continue" and complete RESKIT install

Remove RESKIT CD


(** NOTE: The following steps (5-8) are for RedHat Linux CD-ROM
based installs. If you have another type of UNIX, use
the appropriate steps to install your UNIX in the disk
space remaining after the 800MB FAT partition. Be sure
to include the GCC (or some other ANSI C compiler) and
the support libraries needed to compile and link ANSI 
C source code. Also install X Windows. **)


(*** NOTE: The Linux install will ask you for Monitor and mouse
type. It will try to detect your LAN card, but you might
also need to tell it your LAN card manufacturer, type 
and IRQ. If you don't know these details, you can try
to use the generic Linux drivers or use NT's
Start->Settings->Control Panel "devices" to report
the type of devices detected by NT. ***)

5) Transfer Linux install files to NT
(** If your system will boot & install directly from the Linux
install CD-ROM, boot from the CD and skip to step 7. **)

While NT is still up, insert the Redhat Linux install CD.
Click on the start button in the lower left of the screen.
Click on Programs, then NT Explorer.
Use NT Explorer highlight the C: folder by clicking on C:
Now from the menu items at the top of the window,
click on File->New->Folder. This should create a folder
in the right pane and this folder should be highlighted.
Type in the name Redhat over "New Folder".
Exit NT Explorer.

Start->Programs->MS-DOS Command Prompt
Input "cd C:\Redhat" 

(*** NOTE: The following steps assume d: is your CD-ROM drive;
if your CD-ROM has a different drive letter, substitute
the appropriate drive letter for each use of "d:" **)

Input "xcopy /s d:\redhat"
This should produce a series outputs reporting the
transfer of files from the CD-ROM to the hard disk.

When the xcopy is done, "cd d:\dosutils" 
Then input "rawrite"
This should produce a prompt for image source file.
Respond with "d:\images\supp.img"
When prompted for target, input "A:"
Insert blank diskette labeled "linux supp"

When the supp diskette is finished, remove it and
insert the blank diskette labeled "linux boot"
In MS-DOS Prompt, input "rawrite" again
For image source, input "d:\images\boot.img"
Use "A:" as target again

6) Install Linux from hard disk

When the boot diskette creation is finished,
remove the CD, but leave the boot diskette in the drive.


Choose Start->Shut Down and select Restart

Choose to install Linux, and answer hardware questions.
Then choose to install from "hard drive".
Load the "supp" diskette as instructed.
The install process will ask where to find the Linux
sources; choose the first partition.

7) COnfiguring Linux during install

Choose to "Edit" or "Custom" where Linux itself will reside.
Install will run the Linux "fdisk" or Disk Druid program.
FOR fdisk:
Choose "n" for new partition. 
Create Primary partition number 2.
Have it extend from the first available block to the last.
"p" to confirm this worked and then "w" to write/exit.

Continue with the install.
You don't need to create a separate swap partition.
When asked to select components, choose at least the
"C Development", "Development Libraries" and 
"Networked Workstation" entries.
Also select the X Windows package.

8) Configure UNIX IP values

Use consecutive IP addresses for partners. 
If L04host = 128.221.116.151,
then R04host = 128.221.116.152
Input the proper Subnet Mask for your subnet.

Fill in the appropriate local values for DNS domain and
name server IPs.
Name the host:
L01host, R01host = 1st pair of partner systems
L02host, R02host = 2nd pair of partner systems
(etc., etc., and so forth)

Use "password" for root password.

Create a bootdisk for the system.

Install the LILO loader to "First sector of boot partition"
(NOT Master Boot Record)

Now allow the Linux install to reboot.

9) Set up student accounts

At the LILO prompt, hit the "Tab" key to see the LILO menu.
Choose Linux and logon as root.
"cd /etc" and "cp passwd passwd.safe"
Use "adduser" to create an account named "telroot"
Accept all defaults.
Use vi on /etc/passwd to remove passwords on root & telroot
(To do this, "x" out the encrypted entry after the first ":"
following the name "root" and "telroot".)
"ZZ" out of vi and exit Linux.
Logon as "telroot" with no password to verify your edit.
(If this doesn't work, logon as root and try again)