Samba is running on AS1

Nikolay Vassilev (niki@gate.orgchm.acad.bg)
Wed, 16 Oct 1996 17:52:29 +0200

Dear Bruker users,

I would like to share our experience of using our DRX-250 machine,
equipted with Aspect Station 1.
We have successfully compiled the program Samba
(http://lake.canberra.edu.au/pub/samba/) using the following statments in
makefile:

CC = gcc (from ftp://ftp.bruker.de/pub/nmr/binaries.as1/)
FLAGSM = -DMIPS
LIBSM = -lbsd -lsec

and in includes.h:

#ifdef MIPS
#define POSIX_STDLIBH
#define POSIX_H
#define NO_RESOURCEH
#define NO_FSYNC
#define SIGCLD_IGNORE
#define REPLACE_MKTIME
#define NO_STRFTIME
#define NO_TM_NAME
#define NO_UTIMEH
#endif

Add the following ifndef statement after #ifdef POSIX_H
to avoid the inclusion of the original utime.h structures
(or just erase the line #include <posix/utime.h>)

#ifndef MIPS
#include <posix/utime.h>
#endif

You will most likely get some compiler warnings about making a pointer
from integer without a cast. Do not worry, these things are equivalent
in MIPS.

If you need additional technical assistance write to:
niki@orgchm.acad.bg, arivanov@math.acad.bg.

The corresponding source files, our configuration and binaries are
available at: ftp://ftp.orgchm.acad.bg/pub/unix/as1/samba (194.141.11.1). The
program Samba allows us to assign unix file systems as a Windows network
drives. We export either the directories /u, /v , home directories and
also /u/prog/xwin-nmr1.1/docu/english/xwinman directory. Using the program
Frame Reader (available from
ftp://ftp.adobe.com/pub/adobe/Applications/Frame/Win/reader5.zip) it is
possible to read the xwinnmr manual directly from your PC.
You may as well assign the AS1 printer as a Windows network
printer. Make sure that the BSD compatibility printing system is
running (See the Bruker Network Print manual at
ftp://ftp.bruker.de/pub/nmr/cources+manuals/netprint.fm).
We also write simple shells to run the samba deamons during the boot
process of the machine, but unfortunatelly the stty's are initilized in rc2.d
script after running all daemons from rc2.d. Therefore the remote printing is
not available. We have to stop samba and start it again to be able to print on
the AS1 printer.
Have somebody better idea how to start samba during the booting
process of the AS1 mashine?

Best regards,
Dr. Nikolay G. Vassilev
------------------------------------------
e-mail : niki@orgchm.acad.bg
www : http://www.orgchm.acad.bg/~niki/
tel : +3592 713 4172
fax : +3592 700 225
------------------------------------------
Institute of Organic Chemistry
Bulgarian Academy of Sciences
Bonchev Str., bl. 9, Sofia 1113, Bulgaria
------------------------------------------