[back]

[index]

[next]

V. Sample Config for STICP


Hello!

I'm using the ka9q-package on my Atari. The (working)
package is available at ftp.tu-clausthal.de (139.174.2.10)
/pub/atari/telecomm/tcpip/sticp.lzh. Access via FTP,
FSP (port 21) or email ("mail-server@ftp.tu-clausthal.de").
To get a more complete documentation get also the archive
ka9q_st.lzh.

I will try to give some "samples" on how to setup ka9q.
Remember to change hostnames/ip-addr/gateways etc...


Sample configuration:
* put all the stuff in a dir "net" in one of your root-dirs
* create inside this "\net"-dir the following dirs
  - finger
  - mail
  - mqueue
  - rqueue
  - spool
  - tmp
* customize your "\net\autoexec.net" file, sample:
======================================================================
   #
   # ...your internet-address
   #
   ip address [139.174.8.2]
   #
   # ...your hostname
   #
   hostname hiwist.rz.tu-clausthal.de
   #
   # ...configuration of MIDI interface
   #
   attach asy 3 1 slip midi 4096 576 31250
   #
   # ....configuration of SERIAL interface 
   attach asy AUX: 2 slip sl0 4096 576 19200
   #
   # ...link speeds (only need if differ from the one 
   #                 selected in the attachh cmds)
   param midi 31250
   param sl0 19200
   #
   # ...routing table
   #
   route add default sl0
   route add thilo midi
   route add claas midi
   #
   # ...time-to-live value
   #
   ip ttl 50
   #
   # ...loggin to which file?
   #
   log D:\net\spool\net.log
   #
   # ...delete old (smtp-)locks
   #
   delete D:\NET\MQUEUE\*.LCK
   #
   # ...some enviroment-vars
   #
   # mailer-config-file
   setenv BMRC D:\NET\BM.RC
   # default path
   setenv PATH=C:\BIN\,D:\ARCHIVER\,C:\GUCK\,D:\SHELLS\CMDS\,D:\NET\
   # your favorite shell
   shell =D:\NET\COMMAND.PRG
   #
   # SMTP (mailing) options
   #
   # ...time to check for mail delivery
   smtp timer 60 60
   # ...mailing gateway
   smtp gateway sun.rz.tu-clausthal.de
   #
   # ....start services
   #
   start telnet
   start ftp
   start smtp
   start echo
   start discard
   start finger
   # ...r(emote)cmd on a "secret" port
   start rcmd 3746
   #
   # ...now try to deliver old mail
   smtp kick
======================================================================
* create a file "hosts.net" with the IP-numbers to use
  (there might be working versions with nameserver-support but that's
  the way I'm using the package). Sample file:
  (ip-addr name aliases...)
======================================================================
   128.214.6.100   nic.funet.fi
   132.206.2.1     cs.mcgill.ca
   139.174.1.1     ibm.rz.tu-clausthal.de ibm ibm.rz rzibm
   139.174.2.10    sun.rz.tu-clausthal.de sun sun.rz rzsun
   139.174.2.11    helios.rz.tu-clausthal.de helios helios.rz rzhelios
   139.174.8.3     thilo.rz.tu-clausthal.de thilo
   139.174.8.4     claas.rz.tu-clausthal.de claas
   139.174.1.10    cisco.rz.tu-clausthal.de cisco cisco.rz rzcisco
   139.174.1.102   qms.rz.tu-clausthal.de qms qms.rz rzqms
   139.174.2.2     next.rz.tu-clausthal.de next next.rz rznext
   139.174.2.5     solaris.rz.tu-clausthal.de solaris solaris.rz rzsolaris
   139.174.41.1    fbrcad1.geotec.tu-clausthal.de fbrcad1 fbrcad1.geotech
   139.174.41.2    fbrcad2.geotec.tu-clausthal.de fbrcad2 fbrcad2.geotech
   139.174.41.3    fbrcad3.geotec.tu-clausthal.de fbrcad3 fbrcad3.geotech
   139.174.41.4    fbrcad4.geotec.tu-clausthal.de fbrcad4 fbrcad4.geotech
   139.174.101.14  next.in.tu-clausthal.de next.in innext
======================================================================
* create a file "ftpusers" to allow ftp-logins and restrict
  the dirs to use..., sample:
======================================================================
   root mypass c:\ 7 d:\ 7 e:\ 7 f:\ 7
   bwwl password c:\ 3 d:\ 7 e:\ 7 f:\ 7
   ftp * f:\ 1
======================================================================
* create your mailer-config "bm.rc", sample:
======================================================================
   ; configuration file for Bdale's Mailer... format is:
   ;   host  this_host_name
   ;   user  this_user_name
   ;   fullname  your full name for mail headers (optional)
   ;   reply  your reply address if not this machine (optional)
   ;       useful for pc on large network off smart hosts
   ;   smtp  path to mailboxes  (optional)
   ;   edit  path your editor   (optional)
   ;   maxlet  max number of message in mbox ( optional default 300)
   ;
   ;host hiwist.rz.tu-clausthal.de
   host [139.174.8.2]
   user bwwl
   fullname Wolfgang Ley
   reply Ley@rz.tu-clausthal.de
   smtp D:\net\mail
   edit D:\net\stevie.ttp
   ; zone MET
   maxlet 100
======================================================================
* optional create the following files:
  - alias (containing your mail-aliases "alias email-addr" once per line)
  - finger\userid.txt (text displayed when fingering userid)
  - autoexec.bat (or whatever your startup-script of your shell is)
  - mail.bat (to call the 'bm' and return to ka9q) with the following lines:
        D:\NET\BM.TOS %1 %2 %3
        exit
    (this way you are able to start bm with "!mail email-addr" to send
    or "!mail -u userid" to read)
* other hints:
  - the hosts inside your "autoexec.net" file must be listed in "hosts.net"
  - to track down problems while connecting to other sites use the "trace"
    cmd...
  - the slip-connection must be started before starting ka9q (or within
    ka9q if your shell supports direct AUX: access to dial and start slip).
  - don't rely too much on the docs (a lot is not working in the Atari port)
  - ask your local telecomm/unix-guru for further help


I hope that's all. This should be enough to setup your own site...

Bye,
  Wolfgang.