linux2 notes D.B.HENNESSY DEC/2003
the following are a series of notes which you may find usefull
when attempting to load Linux Slackware for the first time
LINUX OVERVIEW OF FEATURES
support for both linux/dos file systems on disk
from linux you can mount DOS fdd file system disks
and access the dos files on HDD
running both systems together on one machine with LILO
full TCP/IP networking capability
monolithic kernel incorporating device drivers (disadvantage??)
also supports loadable device drivers
kernel emulation of floating point 80387 MCP
full multi-tasking mulit-user environment
shared pages in physical memory
memory emulation on disk swap space
swaps spare machine memory between user applications and disk
cache
dynamically shared libraries
c compiler and i86x assembler
text processing/formatting
BASH command processor (the shell) = IEEE posix
assumed portability of c code between UNIX/BSD/LINUX etc
Linux UMSDOS file system readable by MS-DOS (using fat16)
no need to repartition HDD
lots of freely available software on WEB
slackware archive on sunsite.unc.edu
X windows graphics front end
requirement 8 meg mem, vga/svga accelerator card i486min
gig1 disk
block size in Linux 1 block = 1024 = 1Kb
devices in Linux in /etc/fstab /etc/dev
first total hard drive /dev/hda
primiary DOS partition /dev/hda1
sec hard drive /dev/hdb ;hda2
comm1 /dev/ttyS0
lpt1 /dev/lp0
floppy /dev/fd0
A CRIB SHEET FOR LINUX USAGE D.B.HENNESSY
STARTUP PROCEDURE
set the boot configuration in BIOS to FDD only
insert LINUX boot disk start up machine
choose screen mode 0
ID is ROOT
DESKTOP TOOLS AVAILABLE
startx start up x-windows
a not very intuitive window type interface.
XV very useful file viewer also allows view of DOS partition
as well.
XMAN
XTERM Unix terminal emulation within windows
TEXEDIT ascii file editor
change to working directory first startx then open this editor
inside the directory where the file that you want to edit resides
when saving type the file name at the bottom of the dialogue box
use right mouse button to save
type in file/pathname
VI THE REALLY CRUDE EDITOR
VIEW VI-READONLY
EXIT quit :q!
reading .gz files
zless filename.gz
less = (dos) more
SOME BASIC LINUX/UNIX COMMANDS
directory listings
ls basic listing
ls -a show hidden dot files
ls -la show all files
ls -LR show file tree
ls --format=commas fill page up
ls -m also commas
ln -s source -> destination symbolic link
file filename shows file type ie text/data/bin etc..
/etc/HOSTNAME = name of machine
SOME README FILES
to be found at /usr/doc/faq
to read these use ZLESS filename.gz
note that these files are name CASE SENSITIVE!!
ctrl+z to exit from filereader
SOME MORE README FILES /usr/info
info on gcc - mtools - viper
some of these file readers use the dreaded VI to get out
of VI colon q exclamation :q!
STRATREGY FOR PARTITIONING OF THE HARD DISK
size of hdd in Kbs
trks*secs*heads*0.5 = Kbs
eg tk615*sect17*hds4*0.5=20910Kb
formatted capacity = 20 Mb
a linux block = 2*521bytes = 1Kb (1024)
UPDATING TO NEW VERSION OF SLACKWARE LINUX BY OVERWRITING
EXISTING LINUX SYSTEM
if you are loading to an allready partitioned system I think that
the new system loads without removing existing files so soon you
will get no room left on disk prompts from O/S
so delete the existing files first HOW ?? try using PKGTOOL see
notes below .........
using boot & root disks boot up insert root disk
run linux fdisk note linux partition information
from floppy command prompt mount the linux partition on to the
floppy o/s mount /dev/hda2 -t efs2 /mnt
cd /mnt cd .. check that you are in the HDD file system
with ls then run PKGTOOL this is a menu driven utility that will
allow you to delete the filing systems on /hda2 delete everything
no ned to delete the swap space then umount back to floppy drive
and run setup using the cd-rom for source filing system
STRATAGY FOR PARTITIONING NEW MACHINE WITH ONLY DOS O/S
make a system disk first
boot from system disk
run DOS fdisk check current partition status
del partition create pri dos 33% extended dos 67%
format C:/s set as active for DOS/WIN95
check the CD-ROM drive is working or load required CD-ROM
software load rest of software for DOS/WIN
boot up machine insert loadlinx disk loadlinx vmlinuz root=A:
put in linux filing system fdd (setupdisk144) cd to bin run linux
fdisk to view
disk partition info under linux fdisk (hda1/hda2)note it down
delete partition 2
create primiary part 2 native linux t83 cyl 261-759 63% =2G
create pri part 3 linux swap t82 cyl 760-785 4% =0.1G
then run the LINUX install program setup
LINUX COMMAND LINE HELP
in xterm
help | more ( full help listing )
help command eg help mkfs
Command --help eg rdev --help
info info etc
MAKING A SYSTEM DISK FOR LINUX BY COPYING EXISTING LINUX BOOT
DISK
remove boot disk first !!
creat a 3.5" formatted floppy disk
fdd must be umount -n /dev/fd0
LINUX FORMATTER 3.5 in disk 18 sec * 80 track = 1440
fdformat -n /dev/fd0h1440
or for Redhat fdformat -n /dev/fd0
create a file system on formatted floppy disk
mkfs.ext2 /dev/fd0
RAW COPY
source target block sz
dd if=/boot/vmlinuz of=/dev/fd0 bs=8192
use dd for raw copy to unmounted devices like HDD/FDD
MOUNTED FILE COPY
mount /dev/fd0 /mnt
cd /mnt
mkdir XXXX (space for file copy's )
cd to XXXX
command for copy to current directory
cp /etc/source .
LINUX SYSTEM SHUTDOWN
CNTRL+ALT+DEL
BIOS-SETUP boot from hard-disk
FILE SYSTEM CHECK
run only on UNMOUNTED file systems except ROOT
fsck option(none) type() device (hda2/fdd0)
type of file system see in /usr/src/linux/fs
FILE HANDLING IN LINUX
mc MIDNIGHT COMMANDER DOS type file utility
to print out files copy first to /MSDOS then reboot and print
LILO MAKING A LILO FLOPPY BOOT DISK
cd /sbin
makebootdisk
this will run a simple program follow instructions
boot up system from this disk
log on as root make a directory /floppy
mount /dev/fd0 /floppy
cd /floppy you can now read the files
boot disk contents /boot map boot.b
/dev
/etc lilo.conf (text conf file )
/lost+found
/vmlinuz (machine kernel image into RAM)
then copy these files to /msdos/temp so that you can print them
finally umount /floppy
CONTENTS OF LILO.CONF
boot = /dev/fd0 #floppy is boot device
message=/boot/message #/loc of mess
prompt
image = /vmluniz #/root machine kernel loc
label = mount
ramdisk = 0
root = /dev/hda2 #loc of root file system load
vga = normal
read-only #file sys check at load
MAKING A LILO BOOT DISK THE HARD WAY
format a floppy
fdformat /dev/fd0u1440
make config file on floppy
echo delay=100 image=/vmlinuz root=/dev/hda2 read-only
(pipe to lilo)
| /sbin/lilo -C - -b /dev/fd0 (write to floppy)
this creates
lilo.conf on floppy with location of machine
kernel root/vmlinuz location of root file system /root/dev/hda2
takes the command line input (stdin) and pipes it to lilo.exe
which creates the lilo.conf file and boot file on floppy disk
boot up is delayed for 10 secs while choice is displayed on
screen
TO COPY FILES BETWEEN LINUX AND MSDOS
first create file in Linux then
use the prefix m eg mcopy mdir
COMPREHENSIVE LIST OF COMMANDS IS IN /usr/man/whatis
WHERE DO I GET INFORMATION FROM
USE MC good file search utility as well
a good place to start !!! /usr/doc/faq/faq
usr/info
more info on Linux system
itself is in /usr/src/linux-2/documentation
ramdisk.txt (how to make ramdisk)
and other usefull information.
plus the linux logo.giff
from command line type info then ? for menu
printing files to local dos printer
mcopy to /msdos/temp
print from MSDOS/OS
MAKE A FILE SYSTEM ON FLOPPY
mkfs.msdos /dev/fd0 MSDOS
mkfs.ext2 /dev/fd0 (LINUXex2)
mount /dev/fd0 /mnt mount fsdisk on linxroot/mnt
build directory on disk
mkdir /mnt/etc /mnt/bin /mnt/sbin /mnt/boot
mkdir /mnt/dev /mnt/lib /mnt/root /mnt/mnt
copy enough of the files to make it operable
without filling the disk up!!!
this is impossible unless the files are compressed
see below for solution
FILE TRANSFER TO MSDOS
make a floppy as above
from linux source directory mount /dev/fd0 /floppy
mount (tells you what is mounted on /floppy)
mcopy filename /floppy
or (in target) mcopy /temps/filename .
these files are readable in msdos if they are text??
file filename (shows file type)
THE C COMPILER GCC
COMMAND LINE gcc -o outfilename inputfile.c
-O optimise output
-c create object file
-g include debugger info
-o specify filename
-x language = inputfile language
DEBUGGER GDB
gdb options programfile
-s file symbols
-c corefile
information files for thje compiler are available
in the directory /usr/info xx.gz
view these files with zless filemane.gz or use MC
SLACKWARE BOOT/ROOT DISKS IMAGES FROM SUNSITE.UNC.EDU
IN SLACKWARE DIRECTORY ON THIS SITE THERE ARE COPIES OF ROOT &
BOOT DISKS ROOT IS BARE.I & BOOT IS COLOR.GZ COPY THESE IN
BINIARY FORMAT WITH FTP AS WELL AS RAWRITE.EXE USING MS-DOS DISKS
IN MSDOS COPY TO A HDD THEN FROM A HDD COPY WITH RAWRITE TO A NEW
DOS FORMATED FLOPPY THESE DISK WILL BE UNREADBLE IN DOS
THEN TRY THESE FOR BOOTING UP LINUX
HOW TO MAKE A BOOTDISK
TO MAKE A SIMPLE "makebootdisk" ONCE YOU HAVE INSTALLED A WORKING
LINUX O/S this will then have a copy of the kernel for your
machine on the floppy and will load the LINUX system from boot
up also will allow DOS boot up when the floppy is removed ( the
kernel will then allways be the right one for your custom
operating system mark boot disk accordingly !!)
ROOT DEVICE
rdev -h for help
show current settings of root device in kernel
machine code
floppy setting rdev /dev/fd0
or alternate HDD setting rdev /dev/hda2
altering settings
rdev /dev/fd0 /dev/hda2 floppy setting is root=hddpart
/options
rdev -R /dev/fd0 1 root readonly on floppy
-R 0 fread/write file system
rdev -s /dev/fd0 627 ramdisk size
rdev -v /dev/fd0 1 video=vga
rdev -o N offsett=N
VIDEO MODES -3 ask -2 extended??
REPAIR FILE SYSTEM
fsck options filesystem/directory
e2fsck -r interactive mode asks for Y/N before action
-t ext2 or other type
-N do not execute program just display action
-V verbosity
GZIP FILES
GZIP.EXE DOS FILE UTILITY FOR ZIPP/UNZIP OF XX.GZ FILES
to decompress gzip -d filename.gz
to compress gzip filename
download zip files in biniary mode using ftp
put them in a directory on HDD then decompress in DOS
TAR FILES
to unzip tar xvfz filename.tar
copying the disk sets to the hard disk from the CD-ROM
on the hdd md slackware change into \slackware
xcopy E:\slackware\a /s a1 (copy from CD-ROM to current
directory +subs in a directory called a1
the a disk set contains a1 to a4 size four floppy disks
to copy direct to floppy disks on CD-ROM change into \slackware
copy A1\*.* A: or from a as current copy E:\slackware\a1\*.*
repeat for a1 to a4 .... = 4 floppy disks 1.44
also ap (applications) = 5 floppy disks 1.44
total 9 disks
PATH SETTINGS
show path
echo $PATH
append pathsettings
export PATH=$PATH:/newpathxxx
find kernel version number
uname -a
LINUX version number at bootup display
note search pattern does nor auto search currrent directory
this is set with :. single dot at end of path string!!
cat passwd show default path
cat etc/profile path at logon
home dir ~/.profile
path settings are for current shell only, a new shell will not
have these settings unless made global exported
PRINTING CAPABILITY Linux printcap utility
printer settings are in /etc/printcap
make a backup copy of this before editing
you can include the basic dot matrix printer
by editing printcap with your favourite text editor and uncomment
lines for dot-matrix printer settings at bottom of file
for the standard PC parallel printer on LPT1 this is
/dev/lp1 in Linux serial printer COM1 = ttys1 or ttyS1
you also need a print spooler usually already there look for
/var/spool/lpd you can include sub directories in this for all
the different types of printer that printcap will support
linux/unix printer deamon = /usr/sbin/lpd
look for this in deamon startup prompts at bootup time
as it must be running for printing to work
TESTING PRINTER HARDWARE
does the printer kick in at bootup time??
if it don't check your printer lead and connection first
testing printer hardware once you have edited the file
you can test printer setup with utility lptest
lptest alone will sent output to standardout (screen)
lptest > /dev/lp1 sends printer barbers pole test routine to
printer port LPT1 useful for trouble shooting since you can
direct it to required port also ps will give current print
processes in use
to print a text file use /usr/bin/lpr eg lpr filename.txt
TO READ ALL THAT STUFF THAT SCROLLS OFF THE SCREEN WHEN LINUX
BOOTS UP !!!!
log on first
shift inner keys of pgup/pgdown to read lots of usefull info
about the hardware settings of PC
or command dmesg
FILE SEARCH
FINDING A FILE
use the MC menu find file this is impressive searches
cd-rom and hdd if enabled
X-WINDOWS INFO
video card identifiction run /usr/X11R6/SuperProbe
use /usr/X11R6/lib/X11/XF86Config.eg as server model
modify path setting to include /usr/X11R6/bin in
/etc/profile dot profile ???
XWINDOWS TOOLS
xfilemanmager change root to /
text files can be handled by dragging to editor icon
the editor file viewer can be chosen as required
best terminal to use /// shells large color xterm
MONITOR SET UP FOR XWINDOWS
setup utility /usr/X386/bin/xf86config
this seems fairly straight forward just use your loaf
ctrl+alt+"plus sign" cycle video resolution Xserver
ctrl+alt+backspace exit Xserver
this all worked OK and has given me Xview
and the rest of the X-desktop apps already set up!!
see notes above X-WINDOWS INFO
*****************************************************
XWINDOWS SVGA MONITOR CONFIGURATION
/usr/X11R6/bin/ run SuperProbe note details
if you have installed /usr/bin/X11/XF86Setup try running this or
otherwise if networked copy from some other installation
or use old routine xf86config see below first
to modify path settings /etc/profile to first insert /usr/X11R6
before any other XWIN stuff
less /etc/profile edit to change settings
look at path settings echo $PATH
append to end of path export PATH=$PATH:/newpath
*******************************************************
run xf86config /s3trio 64/v2 /dx
mem 2048 res 1024/768 get this as first default setting
in the list of screen resolutions
from msdos load the modules from the cd-rom into a directory
on the dos hdd form future use readme file these go in directory
/lib/modules/2.0.30 run file rc.modules
MAKE LINUX KERNEL FROM SOURCE
partition information
fdisk -l for listing of disk partitions
back up your old zImage/vmlinuz files first
run commands from /usr/src/linux-2.0.XX (XX for version )
you must have loaded these dir/files before you start!!
and then unzipped them see README linux kernel in this directory
from command line.....
make menuconfig
this allows selection of parts of the kernel you may want to
modify also includes on line help..
all looks straightforward
i think that the end result is a new! .config in current dir
alternately you can use make config older screen dirven version
make config
much the same dont forget to include VFAT if using win95
32bit fat ??? and the current mouse support!!
then make dep (make the dependencies)
compiling the kernel and producing the compressedimage file
make zImage
this takes some time to compile
make modules here ???????? missing
should be dumped in /usr/src/linux/arch/i386/boot/zImage
to check this file ls -la size and date will tell you if
it a new one taht you have made..
to put it on a floppy disk as machine code!!
copy to fdd as bootstrap
cp zImage /dev/fd0 (as vmlinuz ??)
LOADING LINUX FROM CD-ROM
partitioning disk with dos fdisk
make one dos primiary partition about 33%
the rest dos extended 66%
put on dos o/s in primiary
use partition magic to split extended into two parts on for swap
space
boot up with command line using LOADLINX DISK as follows
loadlinx vmlinuz root=A: rw
when requested put in disk 2 color144 menu disk
log on at prompt run set up
linux fdisk define partition 2 native 83
swap as type 82 /hda3
filing system has cdrom
chose options from menu
specify partition info /dev/hda2 / cd rom /dev/hdd??
mc set up monitor mouse etc etc..
makebootdisk when finished NOT in menu
UPDATING CURRENT FILING SYSTEM
boot up with loadlinx put in color144 get to the prompt
run pgktool instead of setup
DELETING LINUX FILING SYSTEM
boot & root to get into system
then mount hard disk on to floppy file system
eg from floppy root disk after log on as root
mount /dev/hda2 /mnt run /sbin/pkgtool
and chose to delete all files or whatever this might work for
deleting some files but it dont work for deleting all of the
filing system so will LINUX fdisk and remove /dev/hda2
linux native partition leaving existing space on disk for use
again !!
REPARING THE EXT2 FILE SYSTEM 2/12/01 D.B.H
from teh command line run the application
/sbin/fsck.ext2 /dev/hda2
ie check and repair all of the filing system on the Linux
partition takes ages but seems to work had to try twice from
inside the /sbin directory
CD-ROM IN LINUX
this is regarded as another file system as defined
in fstab if it contains a disk at boot its mounted as a file
systemm -t iso9660 if no disk its ignored
ENABLING THE CD-ROM DRIVE FROM LINUX COMMAND LINE
mount -t iso9660 /dev/hdc (hdb) /cdrom
this is the bog standard cd-rom and works for most drives if once
you have figured out the right /dev/hdxxx address you can then
include it permanently in /etc/fstab as read only device
dev mountpt ftype rights
/dev/hdc /cdrom iso9660 (ro)
IDE-AT/API naming conventions for ports
there are two ports
first port master hd a
drives hd a1 hda2 etc..
slave hd bx
second port master hd c
drives hd c1 hdc2 etc..
slave hd d
confused you will be!! see readme file cd-rom's
sunsite USA
/LIB
library names when a library is updated the name of the original
library is retained as a pointer to the new library so that
applications that still use this name can access the new library
without updating the program.
C-KERMIT
edit .kermrc file for baud rate 1200 etc..
/dev/modem = com1
set distant end as server use remote dir *.*
terminal emulation C
remote help xxx to escape from terminal setting ctrl+~
then C
file transfer = get filename
MIDNIGHT COMMANDER THIS IS IN AP FILES SO INCLUDE IN SETUP
CHOICES IN SLACKWARE DISKS
/usr/lib/mc/bin run mcfs_install
to configure it for your system have had to import
the libgpm.so.1.10 and newer version of mc* from pc in room 327
contains a file viewer and a file editor run in large color
Xwindow from prompt mc -c (for color display)
ENABLE LINUX SWAP SPACE
/sbin/swapon -a
or for UMSDOS /swapfile
command usually resides in rc.S
free gives swap status
LOADING FROM CD-ROM SLACKWARE DISK
assume partition has been done already!!
cd-rom must be set up in dos first
boot loadlinx vmlinuz
root color.144
setup to get menu start at top of menu and work down
quick mode
format /dev/hda1 enable swap /dev/hda3
enable mount MSDOS as directory in linux
source
chose slackware installation enable cd-rom scan for drive
disk sets to install include ap for midnight commander
check as lists are shown on screen and add X as required
no boot disk make this later with makebootdisk
configure system when it gives you a choice of which kernel you
want (1 from the install disk 2 from slackware dc-rom 3 or some
othe kernel this means different machines can have different
kernels also som will different simple boot disks made on
different machines as well !!!! mouse ms serial fonts NO NO!!
lilo skip rubbish network config
FIND LINUX VERSION NO
uname -a
returns version of kernel IE 2.0.34
use makebootdisk then label it with machine number and version
LINUX NETWORKING INFORMATION
/usr/src/linux-2/documentation/filesystem /networking
/configure.help /devices.txt
also read net-modules.txt lots of netcard hardw'r info
NETWORK HARDWARE info can be read from boot messages of card type
and of its address also if netmask is valid ???
settings are also kernel dependent using the wrong compressed
boot disk will load the wrong kernel so be careful!!
remember that you have a kernel choice when loading setup
NETWORK INTERFACE CARD
there are three things that you need to know about the NIC
the make/type of card
the interrupt setting default = 5
the RAMADDRESS
the I/O PORT address default
these must not conflict with other peripheral settings
when you load LINUX these settings and card are incorporated into
the Kernel if you change the card later you will have to
reload/ reconfig LINUX best to write these settings on the card
itself. this will be ussefull if you have to load WIN95 on the
HDD as second O/S
********************************
NONSTANDARD NETWORK CARDS CONFIGURATION D.B.H 12/AUG/02
you can load network card software on the fly
usings the command /sbin/insmod
insmod eepro io=0x300 irq=10 (ether exp pro 10)
this command line can be put into boot up files
/ect/rc.d/rc.inet1 right at the very beginning to configure
system before rest network is initialised
DIAGNOSTICS ROUTINES FOR USE WHEN FAULTING ON NETWORK
allways start Loadlinx with clean boot from DOS booot disk
ping XX.XX.XX.XX (IP NUMBER DIRECT TCP/IP MUST BE RUNNING!!)
ifconfig will tell you if IPaddress is ATTATCHED/OK
netstat -c will show active connections
/sbin/lsmod show active module processes
more readme files /usr/doc/faq/ethernet HOWTO
info files cd-rom /modules card settings can be fould using
msd.exe in dos for io address and interrupt serv req No
README'S sunsite /net/docs/ethernet big file of info about
vendors hardware cards and their suitability for connecting to
Linux boxes.
also read net-how2 first of all fit network cards to pc's and
connect together with thin ethernet cable and dummy 50 ohm
impedances setting up the net software routines for two machines.
RC.MODULES!!!!!
software config file for hardware cards edit this file for
network cards cd roms and other settings if the kernel wont
recognise the net-card hardware at the beginning of this file
there is an autodetect option
SOFTWARE SETTINGS
HOSTNAME this textfile needs to be edited to include
the full machine domain name
eg NIMBUS.slak.co.uk
the utility hostname will show just the machine name
eg NIMBUS
/etc/host.conf
order hosts.bind (read /etc/hosts address lookup file see below)
multi on (allow morre than one IP address on a machine eg for a
gateway ??)
/etc/hosts this file contains the routing/refrences and needs to
be edited
127.0.0.1 localhost #mandatory
#199.1.1.5 NIMBUS.slak.co.uk. NIMBUS #own mc ?? #out??
199.1.1.6 LITE.esoterica.com LITE #other mc refrence
199.1.1.xxx add more here NO LEADING ZERO!!!!!!
RC.INET1!!!!
edit /etc/rc.d rc.inet1 /runs ifconfig&route
all ypou need to do here is to alter the address settings to
match your local network settings
first setting local loopback allready set up in file
lo 127.0.0.1
alter for NIMBUS to following settings
IPADDR="199.1.1.5 #NO LEADING ZERO HERE!!
(this is the unique address of machine no 5 on network 199.1.1.0
NETWORK="199.1.1.0 (this is the network ring common adddreses)
(so it ends with a zero allways)
BROADCAST="199.1.1.255" (ends 255)
GATEWAY="199.1.1.1" (gate if any to another net?? ends in one
beacuse its first I presume)
uncomment as required the following entrys
sbin/ifconfg eth0 ${IPADRESS} etc..etc (configcard)
sbin/route -add ${NETWORK} etc..etc (add to kernel route??)
ifconfig and route on thier own will give info about the current
machine settings for debugging
RC.INET2!!!
starts networking software utility programs up
like inetd (internet daemon)
like syslogd (system logging deamon)
TOOLS FOR TROUBLE SHOOTING NETWORKING
netstat -c ( -h gives load of viewing options )
cat hosts
route
ifconfig local card address configuration
when you get it working make sure to back up the files so that
you can reload them if required
SETTING UP NETWORK FILE SYSTEM SERVER MACHINE
NFS MUST HAVE BEEN ENABLED AT SET-UP TIME WHEN LINUX WAS FIRST
INSTALLED !!!! OTHER WISE YOU WILL BE WASTING YOUR TIME!!
setting up the server
(1) edit the /etc/exports file to include directory
eg /dbh NIMBUS(rw) #!!allows access
/usr (noaccess) #!! prohibit access
/ LITE(rw) #allow the world access to
/var/spool/lpd #server need include this also
read file exports.5.gz for more info
this will become the shared directory in NFS workiung
enable NFS operation in rc.inet2 by uncommenting this file
you will need at least rpc.portmap , rpc.mountd , rpc.nfsd
show if settings are working on server use the following command
line ps -x | grep rpc will show associated active processes of
Remote Procedure Call NFS software
setting up a client machine.
make a mount directory off root eg /nfsmnt
(1) edit the /etc/fstab file as follows
# devmachine dir ttype opt
staff327:/dbh /nfsmnt NFS default 1 1
(2) enable NFS operation in rc.inet2 file
test with the command line as above
(3) alternately you can mount the network server drive with the
command line mount -t nfs NIMBUS:/fred /nfsmnt
then mount to show what is active this now works from the posix
machine
to disconnect remote machine cd / ie to root fs
umount NIMBUS:/fred to release distant file system
then mount to check if it has
been unmounted !!
final test in a client mount the nfs of the server machine then
run xwindows xfilemanager on the client cd /nfsmnt open the
directory window cd into msdos/slack4 dir on server drag and drop
a readmehowto file in xfmng to xfview icon and read it
WINDOWS from dos prompt in
windows
net view /? gives active connections
RUNNING VIRTUAL NETWORK CONNECTION OLIVETTI SOFTWARE
using Linux as the view port to display WIN95 screen
within Xwindows display running in Linux
first you must have the win95 machine and the Linux box
connected together on a network using TCP/IP
and have the TCP/IP address IP settings installed correctly
and named eg net1 and net2
so the machines can talk to each other and have xwindows working
on the linux box
load the server software on the Win95 machine this is the
executable extracted from the download software
WinVNC.exe when you open this you get a dialogue box which asks
for a passwd and screen display settings when completed it puts
an active icon on the right hand side of the task bar.
LOADING THE SOFTWARE IN LINUX
to make this software work you will need to have Perl scripting
loaded in the filing system first.
or you can copy a version of Perl from another machine on a fdd
to /usr/bin/perl
/usr/local/bin must also be set in path check = echo $PATH
then copy four vnc files from the linux/vnc download
fdd to directory /usr/local/bin
cp vncserve vncviewe vncpasswd Xvnc .
edit vncserve to use local xwindow settings
#default geometry... #add font & path ..etc
start the VNC vncserve.exe server running on the win95 box
startx on linux open an xterm run the VNC vncviewe.exe viewer
eg vncviewe net2:0 dialogue asks enter win95 passwd
you must have passwds set before software will work!!
12 December 2003 installation of Slackware v9 (2.4.22)
installation from cd install disk installation software
failed to recognize the cd drive because it is not installed as
default setting slave on port1 of mobo.
For the first time ever startx worked without having to
make alterations to XF86Config !!
Thought this was to good to be true it soon managed to screw up the network cards
using hotplug (autoconfig) had to rem out the PCI cards
By adding to /etc/hotplug/blacklist. Now using old ISA cards instead.
Other than this installation was straightforward albeit of massive size!!