From: Iain.Lea%anl433.uucp@Germany.EU.net (Iain Lea) Subject: OBSERVATIONS: SLS 0.99p6 Date: Sun, 4 Apr 1993 18:58:37 GMT
Just installed SLS 0.99p6 on a couple of our machines.
Install ran smoothly and I just had to tidy up a few rough edges.
Listed below is a Problems & Changes file we keep for linux. The
listed items are in no particular order and some are probably
site specific but hey the price is right :)
At the end of this message are a couple of questions that I
would appreciate answers to. Thanx in advance.
o Kernel modifications:
- /usr/src/linux/init/main.c
Added __asm__("hlt\n\t"); to end of 'for(;;) { idle(); }'
at line ~292 of start_kernel()
- /usr/src/linux/net/tcp/wd.c
Added 0x240 to ports[] array at line 64 of wdprobe()
- /usr/src/linux/Makefile
Added -DSVGA_MODE=NORMAL_VGA
o Changed /etc/fstab to automaticaslly mount swap & DOS filesystems:
/dev/sda4 / swap defaults
/dev/sda1 /dos/c msdos defaults
/dev/sda5 /dos/d msdos defaults
note: had to create mkdir /dos /dos/c /dos/d. Also created
/dos/a & /dos/b to keep dos filesystem names consistent.
o /etc/rc.local
- tests if /etc/syslogd exists. It does not so syslogd is never started.
FIX. ln -s /usr/bin/syslogd /etc/syslogd
- lpd line printer daemon not started automatically
FIX. added test for /etc/lpd
FIX. mkdir /usr/spool/lpd/ps1_433sz for /etc/printcap entry:
ps1_433sz|Postscript printer (ANL A433SZ):\
:lp=:\
:rm=anl433:\
:rp=ps1_sz:\
:sd=/usr/spool/lpd/ps1_433sz:\
:lf=/usr/adm/lpd-errs:
o /etc/rc.net
- Added routes to other subnets
$CONFIG -n 1 eth0 $IPADDR
$CONFIG -n 193.25.52 eth0 $IPADDR
o Copied files from ftp archives:
- tcsh + csh.login csh.logout csh.complete
- X8514 & Xconfig
- a2ps
- joe-1.07.t.z
- fsp-2.65.t.z & /etc/fsprc
- mwm & system.mwmrc
- pine-3.05.t.z
o Configured X
1. rm /usr/bin/X11/X
2. ln -s /usr/bin/X11/X8514 /usr/bin/X11/X
3. mv /usr/lib/X11/Xconfig /usr/lib/X11/Xconfig.old
4. mv <dir>/Xconfig /usr/lib/X11/Xconfig
5. vi /usr/lib/X11/xinit/xinitrc and change /u/open... to /usr/openwin
o Doing a 'dir' in kermit gives error of /bin/ls not being found.
Kermit will have to be recompiled with correct path (ie. /usr/bin/ls)
o TeX package was partly installed with wrong permissions and unknown
user and group.
FIX. find /usr/TeX/src -exec chown root.root {} \;
FIX. find /usr/TeX/lib/tex/fonts -exec chgrp root {} \; -exec chmod ugo+r {} \;
FIX. cp /usr/TeX/src/dvips/epsf.sty /usr/TeX/lib/tex/macros/LaTeX/epsf.sty
FIX. cp /usr/TeX/src/dvips/epsf.tex /usr/TeX/lib/tex/macros/LaTeX/epsf.tex
FIX. ??? Normal user cannot get METAFONT to write the needed fonts ???
o Netnews:
- News package is not installed in the usual place (ie. /usr/lib/news)
FIX. ln -s /usr/local/lib/news /usr/lib/news
- User & group news do exist as defaults as under most Un*xes so all
the news package is owned by root.
FIX. Created user & group news in /etc/passwd & /etc/group.
- Compiled nntpd and installed it in /usr/etc/inet/nntpd
- Added following nntpd entry to /etc/inet/inetd.conf
nntp stream tcp nowait root /usr/etc/inet/nntpd nntpd
- Changed ~/news/organization to contain the following string:
Siemens AG., ANL A433, Erlangen, Germany.
- Changed ~/news/whoami to contain the hostname (ie. blast)
- Changed ~/news/mailname to contain the mail address:
(ie. blast.erlm.siemens.de)
o top program is broken with message 'Floating exception'.
o shutdown options have no effect. Only 'shutdown now' works and then it does
not say 'Power can be now switched off' or some such message
o Normal user can read but not write to /dev/fd* devices.
FIX. chmod go+w /dev/fd*
o 4MB Ram restricions:
Removed following daemons from being started at boot time:
- nfsd /etc/inet/rc.net
- portmap /etc/inet/rc.net
Reduced number of getty's started as virtual consoles in /etc/inittab
o Enabled root login from any terminal in /etc/login.defs
o Compiled the editor joe 1.0.7 without a problem (ie. make linux):
- When doing a quote character command (ie. backquote) it core dumps.
- When doing a repeat next command multiple times (ie. Ctrl-\ num) it
core dumps if the command to repeat is a macro.
Does not happen on other platforms (ie. sunos, isc etc.)
o / filesystem is ext2fs but when I do a 'mount' to display filesystems
I get '/dev/sda3 on / type minix ()'
o nslookup when asked for help cannot find its help file. It tries to
read /usr/shar/misc/nslookup.help
FIX. Recompiled with help file set to /usr/local/lib/nslookup.help
And now a few questions...
How to get domainname to show up in login message (ie. avalon.xxx.xom) ?
Ftp dir/ls does not show anything when ftpd is on another linux box. Why?
Thanx
Iain