<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:24.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        margin-top:10.0pt;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:0in;
        margin-bottom:.0001pt;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New";
        color:blue;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Cambria","serif";
        color:#365F91;
        font-weight:bold;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:bold;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1075930320;
        mso-list-template-ids:-2082723422;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Sorry for being such a noob.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I am trying to get telnet to work I have followed the instruction <o:p></o:p></span></p><h2><a name=ss4.2><span style='font-family:"Verdana","sans-serif"'>4.2</span></a><span style='font-family:"Verdana","sans-serif"'> <a href="http://www.dxcluster.org/main/installation_en.html#toc4.2">Setting up telnet connects (from 1.47 onwards)</a> <o:p></o:p></span></h2><p><span style='font-family:"Verdana","sans-serif"'>>From version 1.47 you can choose to allow the perl cluster.pl program to allow connections directly (i.e. not via the </span><code><span style='font-size:10.0pt'>/spider/src/client</span></code><span style='font-family:"Verdana","sans-serif"'> interface program). If you are using Windows then this is the only method available of allowing incoming telnet connections.<o:p></o:p></span></p><p><span style='font-family:"Verdana","sans-serif"'>to make the change happen...<o:p></o:p></span></p><p><span style='font-family:"Verdana","sans-serif"'>Having done that, you need to copy the file <em><span style='font-family:"Verdana","sans-serif"'>/spider/perl/Listeners.pm</span></em> to <em><span style='font-family:"Verdana","sans-serif"'>/spider/local</span></em> and then edit it. You will need to uncomment the line containing "0.0.0.0" and select the correct port to listen on.<o:p></o:p></span></p><p><span style='font-family:"Verdana","sans-serif"'>It comes out of the box looking something like:-<o:p></o:p></span></p><pre><span style='color:blue'>@listen = (<o:p></o:p></span></pre><pre><span style='color:blue'>#    ["0.0.0.0", 7300],<o:p></o:p></span></pre><pre><span style='color:blue'>);<o:p></o:p></span></pre><p><span style='font-family:"Verdana","sans-serif"'>Change it so that it looks like this:-<o:p></o:p></span></p><pre><span style='color:blue'>@listen = (<o:p></o:p></span></pre><pre><span style='color:blue'>    ["0.0.0.0", 7300],<o:p></o:p></span></pre><pre><span style='color:blue'>);<o:p></o:p></span></pre><p><span style='font-family:"Verdana","sans-serif"'>Later versions have more comments in the Listeners.pm file that are designed to help you remove the correct '#' character.<o:p></o:p></span></p><p><span style='font-family:"Verdana","sans-serif"'>As standard, the listener will listen on all interfaces simultaneously. If you require more control than this, you can specify each interface individually:-<o:p></o:p></span></p><pre><span style='color:blue'>@listen = (<o:p></o:p></span></pre><pre><span style='color:blue'>    ["gb7baa.dxcluster.net", 7300],<o:p></o:p></span></pre><pre><span style='color:blue'>    ["44.131.16.2", 6300],<o:p></o:p></span></pre><pre><span style='color:blue'>);<o:p></o:p></span></pre><p><span style='font-family:"Verdana","sans-serif"'>This will only be successful if the IP addresses on each interface are static. If you are using some kind of dynamic IP addressing then the 'default' method is the only one that will work.<o:p></o:p></span></p><p><span style='font-family:"Verdana","sans-serif"'>Restart the cluster.pl program to enable the listener.<o:p></o:p></span></p><p><span style='font-family:"Verdana","sans-serif"'>One important difference with the internal listener is that no echoing is done by the cluster program. Users will need to set 'local-echo' on in their telnet clients if it isn't set automatically (as per the standards). Needless to say this will probably only apply to Windows users. <o:p></o:p></span></p><h2><a name=ss4.3><span style='font-family:"Verdana","sans-serif"'>4.3</span></a><span style='font-family:"Verdana","sans-serif"'> <a href="http://www.dxcluster.org/main/installation_en.html#toc4.3">Allowing telnet connects from users (before version 1.47 or for special purposes)</a> <o:p></o:p></span></h2><p><span style='font-family:"Verdana","sans-serif"'>>From version 1.47 there is a new (more efficient) way of doing this (see previous section) but, if you prefer, the method of doing it described here will continue to work just fine.<o:p></o:p></span></p><p><span style='font-family:"Verdana","sans-serif"'>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 ....<o:p></o:p></span></p><pre><span style='color:blue'>spdlogin   8000/tcp     # spider anonymous login port<o:p></o:p></span></pre><p><span style='font-family:"Verdana","sans-serif"'>Then add a line in /etc/inetd.conf like this ....<o:p></o:p></span></p><pre><span style='color:blue'>spdlogin stream tcp nowait root /usr/sbin/tcpd /spider/src/client login telnet<o:p></o:p></span></pre><p><span style='font-family:"Verdana","sans-serif"'>Once this is done, you need to restart inetd like this ....<o:p></o:p></span></p><pre><span style='color:blue'>killall -HUP inetd<o:p></o:p></span></pre><p><span style='font-family:"Verdana","sans-serif"'>Now login as <em><span style='font-family:"Verdana","sans-serif"'>sysop</span></em> and cd spider/src. You can test that spider is accepting telnet logins by issuing the following command ....<o:p></o:p></span></p><pre><span style='color:blue'>./client login telnet<o:p></o:p></span></pre><p><span style='font-family:"Verdana","sans-serif"'>You should get a login prompt and on issuing a callsign, you will be given access to the cluster. Note, you will not get a password login. There seems no good reason for a password prompt to be given so it is not asked for.<o:p></o:p></span></p><p><span style='font-family:"Verdana","sans-serif"'>Assuming all is well, then try a telnet from your linux console ....<o:p></o:p></span></p><pre><span style='color:blue'>telnet localhost 8000<o:p></o:p></span></pre><p><span style='font-family:"Verdana","sans-serif"'>You should now get the login prompt and be able to login as before.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>My file is as follows<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>#<o:p></o:p></p><p class=MsoNormal># Copy this file to /spider/local and modify it to your requirements<o:p></o:p></p><p class=MsoNormal>#<o:p></o:p></p><p class=MsoNormal>#<o:p></o:p></p><p class=MsoNormal># This file specifies which local interfaces and ports you will be<o:p></o:p></p><p class=MsoNormal># listening on<o:p></o:p></p><p class=MsoNormal>#<o:p></o:p></p><p class=MsoNormal># You can add as many as you like<o:p></o:p></p><p class=MsoNormal>#<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>package main;<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>use vars qw(@listen);<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>@listen = (<o:p></o:p></p><p class=MsoNormal># remove the '#' character from the next line to enable the listener!<o:p></o:p></p><p class=MsoNormal>                   ["0.0.0.0", 7300],<o:p></o:p></p><p class=MsoNormal># ^<o:p></o:p></p><p class=MsoNormal># |<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>My local ip is 192.168.1.51 of the computer.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I have that address with port 7300 open on my router.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>When I try to telnet to it, I get connection refused.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>My public ip address is 108.32.32.47 <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Mike<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p></div></blockquote></div></body></html>