- +\bo Net-Telnet-3.02.tar.gz
-
- +\bo Curses-1.05.tar.gz
-
- +\bo Time-HiRes-01.20.tar.gz
-
-
-
- _\bD_\bo get the latest versions of these packages and install them but use
- the above list as the earliest versions usable.
-
-
- 1\b1.\b.2\b2.\b. P\bPr\bre\bep\bpa\bar\bra\bat\bti\bio\bon\bn
-
- I will assume that you have already downloaded the latest tarball of
- the DXSpider software and are ready to install it. I am assuming
- version 1.35 for this section but of course you would use the latest
- version.
- Login as root and create a user to run the cluster under. _\bU_\bN_\bD_\bE_\bR _\bN_\bO
- _\bC_\bI_\bR_\bC_\bU_\bM_\bS_\bT_\bA_\bN_\bC_\bE_\bS _\bU_\bS_\bE _\bR_\bO_\bO_\bT _\bA_\bS _\bT_\bH_\bI_\bS _\bU_\bS_\bE_\bR_\b!. I am going to use the name
- _\bs_\by_\bs_\bo_\bp. You can call it anything you wish. Depending on your security
- requirements you may wish to use an existing user, however this is
- your own choice.
-
-
-
-
- # adduser -m sysop
-
-
-
-
-
- Now set a password for the user ...
-
-
-
- # passwd sysop
- # New UNIX password:
- # Retype new UNIX password:
- passwd: all authentication tokens updated successfully
-
-
-
-
-
- 1\b1.\b.3\b3.\b. I\bIn\bns\bst\bta\bal\bll\bli\bin\bng\bg t\bth\bhe\be s\bso\bof\bft\btw\bwa\bar\bre\be
-
- Now to unpack the DX Spider distribution, set symbolic links and group
- permissions. Copy the tarball to /home/sysop and do the following.
-
-
-
- # cd ~sysop
- # tar xvfz spider-1.35.tar.gz
- # ln -s ~sysop/spider /spider
- # groupadd -g 251 spider (or another number)
-
-
-
-
- If you do not have the command _\bg_\br_\bo_\bu_\bp_\ba_\bd_\bd available to you simply add a
- line in /etc/group by hand.
-
-
-
- # vi /etc/group (or your favorite editor)
-
-
-
-
- You also need to add some others to the group, including your own
- callsign (this will be used as an alias) and root. The finished line
- in /etc/group should look something like this
-
- spider:x:251:sysop,g0vgs,root
-
-
- The next step is to set the permissions on the Spider directory tree
- and files ....
-
-
-
-
- # chown -R sysop.spider spider
- # find . -type d -exec chmod 2775 {} \;
- # find . -type f -exec chmod 775 {} \;
-
-
-
-
-
- This last step allows various users of the group _\bs_\bp_\bi_\bd_\be_\br to have write
- access to all the directories. This is not really needed just yet but
- will be useful when web interfaces start to appear.
-
-
- Finally, you need to fix the permissions on the ax25_call and
- netrom_call programs. Check where they are with the _\bl_\bo_\bc_\ba_\bt_\be command
- and alter the permissions with the _\bc_\bh_\bm_\bo_\bd command like this ..
-
-
-
- # chown root ax25_call netrom_call
- # chmod 4775 ax25_call netrom_call
-
-
-
-
-
- 1\b1.\b.4\b4.\b. S\bSe\bet\btt\bti\bin\bng\bg c\bca\bal\bll\bls\bsi\big\bgn\bns\bs e\bet\btc\bc
-
- Now login to your machine as the user you created earlier. In my case
- that user is called _\bs_\by_\bs_\bo_\bp. Once logged in, issue the following
- commands ....
-
-
-
- $ cd /spider
- $ mkdir local
- $ mkdir local_cmd
- $ cp perl/DXVars.pm.issue local/DXVars.pm
- $ cd local
- $ vi DXVars.pm (or your favourite editor)
-
-
-
-
-
- Using the distributed DXVars.pm as a a template, set your cluster
- callsign, sysop callsign and other user info to suit your own
- environment. Note that this a perl file which will be parsed and
- executed as part of the cluster. If you get it wrong then perl will
- complain when you start the cluster process. It is important only to
- alter the text of any section. Some of the lines look a little odd.
- Take this line for example ....
-
- $myemail = "ianmaude\@btinternet.com";
-
-
- There appears to be an extra slash in there. However this has to be
- there for the file to work so leave it in.
-
-
- P\bPL\bLE\bEA\bAS\bSE\bE U\bUS\bSE\bE C\bCA\bAP\bPI\bIT\bTA\bAL\bL L\bLE\bET\bTT\bTE\bER\bRS\bS F\bFO\bOR\bR C\bCA\bAL\bLL\bLS\bSI\bIG\bGN\bNS\bS
-
-
- DON'T alter the DXVars.pm (or any other file) in /spider/perl, they
- are overwritten with every release. Any files or commands you place in
- /spider/local or /spider/local_cmd will automagically be used in
- preference to the ones in /spider/perl EVEN while the cluster is
- running!
-
-
- Save the new file and change directory to ../perl ....
-
-
-
- $ cd ../perl
-
-
-
-
-
- Now type the following command which creates the basic user file with
- you as the sysop.
-
-
-
- $ create_sysop.pl
-
-
-
-
-
- 1\b1.\b.5\b5.\b. S\bSt\bta\bar\brt\bti\bin\bng\bg u\bup\bp f\bfo\bor\br t\bth\bhe\be f\bfi\bir\brs\bst\bt t\bti\bim\bme\be
-
- We can now bring spider up for the first time and see if all is well
- or not! It should look something like this ...
-
-
-
- $ cluster.pl
- DXSpider DX Cluster Version 1.35
- Copyright (c) 1998 Dirk Koopman G1TLH
- loading prefixes ...
- loading band data ...
- loading user file system ...
- starting listener ...
- reading existing message headers
- reading cron jobs
- orft we jolly well go ...
-
-
-
-
-
- If all is well then login on another term or console as _\bs_\by_\bs_\bo_\bp and cd
- to /spider/perl. Now issue the following command ...
-
-
-
- $ client.pl
-
-
-
-
-
- This should log you into the cluster as the sysop under the alias
- callsign we set earlier. In this case the callsign is G0VGS. The
- cluster callsign is set in the DXVars.pm file in /spider/local. In
- this case we will assume that this was set as GB7MBC. You should
- therefore see this when you login ....
-
-
-
- G0VGS de GB7MBC 19-Nov-1999 2150Z >
-
-
-
-
- If you do, congratulations! If not, look over the instructions again,
- you have probably missed something out. You can shut spider down
- again with the command ....
-
-
-
- shutdown
-
-
-
-
-
- and both the cluster and the client should return to Linux prompts.
-
-
- 2\b2.\b. T\bTh\bhe\be C\bCl\bli\bie\ben\bnt\bt p\bpr\bro\bog\bgr\bra\bam\bm
-
- In earlier versions of Spider, all the processes were Perl scripts.
- This was fine but with a lot of users your computer memory would soon
- be used up. To combat this a new client was written in "C". This
- client only works for _\bi_\bn_\bc_\bo_\bm_\bi_\bn_\bg connects at the moment. Before you can
- use it though it has to be "made". CD to /spider/src and type _\bm_\ba_\bk_\be.
- You should see the output on your screen and hopefully now have a
- small C program called _\bc_\bl_\bi_\be_\bn_\bt. Leave it in this directory.
-
-
- 3\b3.\b. C\bCo\bon\bnf\bfi\big\bgu\bur\bra\bat\bti\bio\bon\bn
-
- 3\b3.\b.1\b1.\b. A\bAl\bll\blo\bow\bwi\bin\bng\bg a\bax\bx2\b25\b5 c\bco\bon\bnn\bne\bec\bct\bts\bs f\bfr\bro\bom\bm u\bus\bse\ber\brs\bs
-
- As stated previously, the aim of this document is not to tell you how
- to configure Linux or the ax25 utilities. However, you do need to add
- a line in your ax25d.conf to allow connections to DXSpider for your
- users. For each interface that you wish to allow connections on, use
- the following format ...
-
-
-
- default * * * * * * - sysop /spider/src/client client %u ax25
-
-
-
-
-
- 3\b3.\b.2\b2.\b. A\bAl\bll\blo\bow\bwi\bin\bng\bg t\bte\bel\bln\bne\bet\bt c\bco\bon\bnn\bne\bec\bct\bts\bs f\bfr\bro\bom\bm u\bus\bse\ber\brs\bs
-
- Allowing telnet connections is quite simple. Firstly you need to add
- a line in /etc/services to allow connections to a port number, like
- this ....
-
-
-
- spdlogin 8000/tcp # spider anonymous login port
-
-
-
-
- Then add a line in /etc/inetd.conf like this ....
-
-
-
- spdlogin stream tcp nowait root /usr/sbin/tcpd /spider/src/client login telnet
-
-
-
-
-
- This needs to be added above the standard services such as ftp, telnet
- etc. Once this is done, you need to restart inetd like this ....
-
-
-
- killall -HUP inetd