From now on there is the possibility to set up an ssh tunnel to the Dxcluster server.
This gives the advantage that no plan text login and passwords are sent over telnet. And that your connection to the cluster is secured.
Why, suppressing fake spots and abuse of the network.
Howto
Send me your login username (call) and password you want to use. I will setup a account for you.
After this it possible to connect secure to the dxcluster.
Copy and past this line in your terminal. Change “call” with your username.
Enter your password and leave the terminal window open.
After this nothing happens, but there is a secure tunnel.
Now it is possible to connect the dxcluster on localhost:7300
Open a new terminal window en telnet to localhost port 7300
This is also possible with Putty.
Save and open a ssh connection.
Now it is possible to connect your log program or what you want to the DxCluster on localhost port 7300
This utility is not intended to replace the current update procedure,
it is intended for sysops who feel insecure about upgrading their cluster. (I don’t feel insecure when it comes to updating software. I like it when it’s easier.)
Basically it does: git reset –hard git pull reinicio
and a full backup of the /home/spysop/spider directory in /home/sysop/backup, which will be overwritten each time check_build is run.
# You need the following package:
# apt install libfile-copy-recursive-perl or
# cpan install File::Copy::Recursive
# Kin EA3CV, ea3cv@cronux.net
#
# 20230201 v1.0
#
use 5.10.1;
use DXDebug;
use File::Copy::Recursive;
use strict;
use warnings;
my $self = shift;
my $backup = shift;
return (1) unless $self->priv >= 9;
if ($backup eq "Y") {
my $from_dir = "/home/sysop/spider";
my $to_dir = "/home/sysop/backup";
if ( !-d $to_dir ) {
system('mkdir', $to_dir);
}
File::Copy::Recursive::rcopy_glob($from_dir, $to_dir);
}
system('cd /spider');
my $act = $main::gitversion;
$act =~ s/\[r\]//g;
my $res;
my $line = "cd /spider; git reset --hard; git pull";
my @out;
system('git reset --hard');
my $data = qx(git pull);
my $new = `git log --oneline | head -n 1`;
if ($data =~ /Updating/) {
$res = "There is a new build: $new";
dbg("DXCron::spawn: $res: $line") if isdbg('cron');
push @out, $res;
DXCron::run_cmd("shut");
} elsif ($data =~ /Already|actualizado/) {
$res = "There is no new build ($main::build $act)";
push @out, $res;
dbg("DXCron::spawn: $res.") if isdbg('cron');
}
return (1, @out)
PI1LAP is Running DXSpider as Cluster Software. With Postgresql as database backend for Web Cluster http://dx.packet-radio.nl
PI1LAP is also connected to the Reverse Beacon Network (RBN). Now it is possible to see (Live) Spots from CW, BEACON, RTTY, PSK, FT8 and FT4.
Connect to PI1LAP-1 (telnet dx.packet-radio.nl 7300) and give the command “help set/skimmer” to get help about the skimmer feed.
The skimmer feed from CW and FT8 / FT4 can be overwhelming. Now there are all kinds of possibilities to filter this to specific spots. Filter help use the command “help filter” on the cluster.
# Possible Filter
To only allow FT4 spots you can use a filter
set/skimmer ft
reject/rbn 1 info ft8
show/filter # Show the rules in the filter
clear/rbn 1 or all # Delete filter rule
If you like Dx spots (just like me) you can go to “telnet dx.packet-radio.nl 7300”
sudo su
cd ~sysop
ln -s /home/sysop/spider /spider
shutdown -r now
After restart login as sysop
login sysop
cd ~
mkdir spider
git clone git://scm.dxcluster.org/scm/spider spider.new
cp -a /home/sysop/spider.new/.git /spider
rm -rf spider.new
cd /spider
git reset --hard
sudo su
cd /home/sysop/
chown -R sysop.spider spider
find . -type d -exec chmod 2775 {} \;
find . -type f -exec chmod 775 {} \;
exit
cd /spider
mkdir local
mkdir local_cmd
cp perl/DXVars.pm.issue local/DXVars.pm
cp perl/Listeners.pm local/Listeners.pm
cd local
nano Listeners.pm
- edit DXVars.pm following the instructions in the comments
- edit Listeners.pm to remove “#” from the line for the port, and add additional ports as needed:
@listen = (
[“0.0.0.0”, 7300],
);
Next create the sysop
cd /spider/perl/
./create_sysop.pl
Next get the us database
cd /tmp
wget http://ftp.w1nr.net/usdbraw.gz
The next step can take a few minutes
/spider/perl/create_usdb.pl /tmp/usdbraw.gz
cd /spider/src
make
Let start the cluster
cd /spider/perl
./cluster.pl
On a separate ssh or system console, log into the system as sysop
/spider/perl/console.pl
From the command line of the console enter:
load/usdb # US database ?
Edit /etc/inittab to add the following two lines at the end of the file.
Start DXSpider on bootup and respawn it should it crash.
/spider/perl/console.pl
Hello Niels, this is PI1LAP-4 in Kortgene ZLD, Nederland
running DXSpider V1.55 build 0.196
Cluster: 241 nodes, 1 local / 433 total users Max users 433 Uptime 5 03:45
PD2LT de PI1LAP-4 8-Dec-2017 1845Z dxspider >
Page Length is now 500
PD2LT de PI1LAP-4 8-Dec-2017 1845Z dxspider >
set/spider pi1lap-4
PI1LAP-4 set as DXSpider style Node
PD2LT de PI1LAP-4 8-Dec-2017 1847Z dxspider >
Om DXSpider te starten bij het booten, moet er wat aangepast worden in de /etc/inittab.
Eerst moet onder staan de regel worden uitgeschakeld, hier kan simpel een # voor.
sudo su
cd ~sysop
ln -s /home/sysop/spider /spider
shutdown -r now
After restart login as sysop
cd ~
mkdir spider
git clone git://scm.dxcluster.org/scm/spider spider.new
cp -a /home/sysop/spider.new/.git /spider
rm -rf spider.new
cd /spider
git reset –hard
sudo su
cd /home/sysop/
chown -R sysop.spider spider
find . -type d -exec chmod 2775 {} ;
find . -type f -exec chmod 775 {} ;
exit
cd /spider
mkdir local
mkdir local_cmd
cp perl/DXVars.pm.issue local/DXVars.pm
cp perl/Listeners.pm local/Listeners.pm
cd local
mc
– edit DXVars.pm following the instructions in the comments
– edit Listeners.pm to remove “#” from the line for the port, and add additional ports as needed:
@listen = (
[“0.0.0.0”, 7300],
);
cd /spider/perl/
./create_sysop.pl
cd /tmp
wget http://ftp.w1nr.net/usdbraw.gz
# The next step can take a few minutes
/spider/perl/create_usdb.pl /tmp/usdbraw.gz
cd /spider/src
make
cd /spider/perl
./cluster.pl
# on a separate ssh or system console, log into the system as sysop
/spider/perl/console.pl
# from the command line of the console enter:
load/usdb # US database ?
# Edit /etc/inittab to add the following two lines at the end of the file.
##Start DXSpider on bootup and respawn it should it crash
DX:2345:respawn:/bin/su -c “/usr/bin/perl -w /spider/perl/cluster.pl” sysop >/dev/tty6
Add a line to /etc/services and /etc/inetd.conf for spider
/etc/services
# Local services
bpqspider 7400/tcp # BPQ to Spider Link
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptRead More
Privacy & Cookies Policy
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
You must be logged in to post a comment.