I was trying to download a governmental DB..but of course you had to login so after several hours I came up with this;
NOTE: This is being done an a windows machine.
#!c:\\perl\\bin
use strict;
use WWW::Mechanize;
use HTTP::Cookies;
my $outfile = "out.htm";
my $url = "ENTER_YOUR_URL_TO_LOGIN";
my $username = 'ENTER_YOUR_USERNAME';
my $password = 'ENTER_YOUR_PASSWORD';
my $mech = WWW::Mechanize->new();
#Debug
#$mech->add_handler("request_send", sub { shift->dump; return });
#$mech->add_handler("response_done", sub { shift->dump; return });
#END Debug
$mech->cookie_jar(HTTP::Cookies->new());
$mech->get($url);
$mech->form_name('ENTER_NAME_OF_FORM');
$mech->set_visible( $username, $password ) ;
$mech->click('ENTER_BUTTON_NAME');
my $output_page = $mech->content();
my $download = 'ENTER_URL_OF_FILE_TO_DOWNLOAD';
$mech->get($download);
if ( ! open( FOUT, ">download.zip" ) ) {
die( "Could not create file: $!" );
}
binmode( FOUT ); # required for Windows
print( FOUT $mech->response->content() );
close( FOUT );
I could never find good documentation on WWW:Mechanize, I had to piece different examples together to get this to work. So hopefully this will save another poor soul a couple hours worth of work.
I have written a script to download and install the needed files for app_rpt and the AllStarLink system. This is working on AllStar Node # 27272.

You must first have a working sound environment which is out of the scope of this document. My goal was to be able to install on an ALIX 3d2 board and use the DMK URI. I started off with a CentOS CF image, but had strange audio issues that I attributed to the bloated CentOS producing to many processing cycles. This is when I began working on building and installing app_rpt on a Debian derived OS called Voyage Linux. This “should” work on any Debian kernel after 2.6.28.
#Voyage Linux Specific
remouterw
vi /etc/apt/sources.list
Change Repos:
From: deb http://ftp.tw.debian.org/ lenny/updates main contrib
To: deb http://ftp.debian.org/ lenny/updates main contrib
From: deb http://www.voyage.hk/dists/experimental ./
To: deb http://us.voyage.hk/dists/experimental ./
From: deb http://www.voyage.hk/dists/0.6 ./
To: deb http://us.voyage.hk/dists/0.6 ./
apt-get remove syslinux atftpd nfs-kernel-server sg3-utils minicom
#End Voyage Linux Specific
apt-get update
apt-get install dialog apt-utils
apt-get upgrade
#Optional (I like to use it because we are constricted to 2G on the CF cards)
apt-get autoremove
#End Optional
You can now download and run the install script.
wget http://www.kriskirkland.com/pub-files/allstar-deb.sh
sh allstar-deb.sh
This week has been crazy on VHF, every morning up until about 11AM CST we have been getting some strange propagation. Here is a map from this morning showing propagation paths.
