THIS VERSION 1.0.21 IS STILL IN PREPARATION
and the page is frequently updated
Please, refresh your browser in order to be sure you get
last page version
INTRODUCTION
: This
page http://f6bvp.org/AX25_BBS_Node_RaspBerry_Pi_install.html
LEGAL NOTICE : HAMPI CHANGELOG Version 1.1 (September 2020) Release In order to upgrade from previously installed and customized HAMPI 1.0 : UPGRADING: In order to transition smoothly from HamPi 1.0 to HamPi 1.1 and preserve your configuration settings, please follow the instructions in the attached file, "UPGRADING_FROM_PRIOR_VERSION.TXT" ================================== Step 1: Backup Pi Home Directory using the following command (it is all one line): cd /tmp && tar --use-compress-program=pigz -cvf pi_home_dir.tar.gz --exclude-caches --exclude "pi/.cache/" --exclude "pi/Downloads/*" --exclude "pi/GridTracker/*" --exclude "pi/HamRadio/*" --exclude "pi/YAAC/*" --exclude "pi/dump1090_1.3.1_sdrplay/*" --exclude "pi/wsjtx_to_n3fjp/*" --exclude "pi/pyqso-1.1.0/*" --exclude "pi/Documents/GridTracker/*" --exclude "pi/Documents/ardop-list/*" --exclude "pi/.local/lib/python3.7/*" --exclude "pi/perl5/*" --exclude "pi/ardop/*" --absolute-names --preserve-permissions /home/pi/ Step 2: Save your backup somewhere off the Pi Then copy the file "pi_home_dir.tar.bz2" on to external media, for example, a USB memory stick. Step 3: Flash the new HamPi image to a new (micro)SD card. Step 4: Copy the file "pi_home_dir.tar.bz2" to your /tmp directory on the new HamPi card. Step 5: This is optional. If you want to see what files will be replaced on your new HamPi card, you may run Tar in a test or dry run mode: cd /tmp && tar -jtvf pi_home_dir.tar.bz2 --skip-old-files Step 6: Restore Pi Home Directory using the following command (it is all one line): cd /tmp && tar -jxvf pi_home_dir.tar.bz2 --skip-old-files=================================== Following carefully the
instuctions provided on this page will
set fully functional BBS and FPAC node
AX.25 packet radio applications. First step will consist in
downloading HAMPI 1.1 W3DJS distro
image and burn the image onto a 32 Gb
SSD card.
https://sourceforge.net/projects/hampi/files/latest/download
(no need to unpack the image file)
|
|
If not
connected via Ethernet cable to Internet,
connect to your wireless network by clicking
on double red cross icone on upper right
part of the screen and giving password ; Browse
again to f6bvp.org or f6bvp.free.fr and
continue configuration with next line
instruction. Open a
local terminal Copy next paragraph from line #=====CUT HERE ==== to #=== END CUT HERE === on a
file you want to name hampi-config.sh Download dos2Unix using next commands : sudo apt-get update sudo apt-get install dos2unix run command : dos2unix hampi-config.sh run command : sudo chmod a+x hampi-config.sh Run the script for removing applications that make things not working properly : ./hampi-config.sh Answer
Y for YES each time asked questions OK to
remove, until the end of the script execution. Proceed
with instruction on the line after #=====
END CUT ==== #This
part should be inside of executable script hampi-config.sh cd /home/pi/.config/lxsession/LXDE-pi mkdir ../LXDE-pi.disabled mv autostart boinc.sh qslware.sh remove_nag_dialog ../LXDE-pi.disabled/ #Avahi provides a lot of spam on your network sudo systemctl disable avahi-daemon.service sudo systemctl disable avahi-daemon.socket #People should opt into heavy CPU hogs like Seti, Bitcoin mining, etc sudo systemctl disable boinc-client.service sudo apt remove boinc boinc-client boinc-manager boinctui libboinc7 #People should have the choice of being tracked sudo apt remove geoclue-2.0 #Auto
upgrades are evil ! sudo systemctl disable unattended-upgrades.service #Modem manager will mess with your serial ports sudo systemctl disable ModemManager.service sudo mv /usr/sbin/ModemManager /usr/sbin/ModemManager.disabled sudo apt remove modemmanager # Prepare local directories for AX.25 applications sudo rm -fr /etc/ax25 sudo rm -fr /var/ax25 sudo ln -s /usr/local/etc/ax25 /etc/ax25 sudo
ln -s /usr/local/var/ax25 /var/ax25 cd
/etc/ax25 sudo
rm ax25 cd
/var/ax25 sudo
rm ax25 sudo
mkdir /usr/local/src/ax25 sudo
apt -y autoremove # End
of script #============= END CUT HERE =============================== Now you probably want to replace the default HAMPI background screen picture ! Clicking on Raspberry menu select Preferences and Appearance Settings Choose
from Desktop - Picture your
favorite background image. My choice is aurora.jpg Click
on Open and OK for
selecting new background image. Open a
local terminal by clicking on icone
menu < Now we
can update and upgrade Linux system using
commands : sudo
apt-get update sudo
apt-get -y upgrade (this will
take a very long time ....) After
updating Linux it is time to recompile
AX.25 library, AX.25 hamradio applications,
AX.25 tools, LinFBB BBS and ROSE / FPAC # Open a terminal ; run
command cd Downloads # IMPORTANT !
We need to become supervisor using command
: sudo su ===== FROM HERE THIS
PAGE IS IN PREPARATION === DO NOT
USE IT YET ! Will include soon a link
toward David Ranch install site ! Meanwhile, if using a DRAW HAT modem card for Raspberry Pi, please use this link : https://nw-digital-radio.groups.io/g/udrc/wiki/8921 ============================================================ Right
click on this link and choose
"Record link target under...
to download this script file ;
save
===== FROM HERE THIS
PAGE IS IN PREPARATION === DO NOT
USE IT YET ! Suite de la configuration AX25 pour la BBS et ROSE/FPAC (voir sur le site f6bvp.org)
|
|
List of working applications when booting:
All communication applications are already configured for using a TNC-Pi connected on RaspBerry Pi I/O connector. |
|
|
|
At boot up /etc/init.d/ax25 script is starting automatically /etc/ax25/ax25-up batch initializing device interfaces and starting BBS, FPAC node etc... applications.
|
|
For next configuration steps you better get supervisor priviledges.
|
|
|
|
Once you logged into your Rpi, a number of command shortcut are available :
Notice
: as opposed to Windows, under Linux you
have several virtual terminals at your
disposal simultaneously. To open a command
line terminal use two keys combinations : ALT+F1,
ALT+F2, ..., ALT+F5. ALT+F7 returns
to Graphic User Interface if it has been
started with startx command. |
|
|
|
apt-get install dh-autoreconf libncurses5-dev gftp host watchdog chkconfig
FPAC CONFIGURATION: For
your convenience the command source
fpacdir is a shortcut for changing
directory to fpac source directory. If you
need to know your country DNIC number, check
the complete list of DNIC countries
numbers etc/itu.dnic in FPAC source
directory. Cluster
application is writing a lot of data taking a
large disk space. In order to remove regularly
old data in /spider/data/log,
/spider/data/debug and /spider/data/spots a
symbolic link has been created toward /NULL
device and a script in
/etc/cron.daily will clean up old cluster
data automatically.
|
|
Raspberry
Pi serial connections I
wanted to start AX.25 over radio links with my
Raspberry Pi.
|
|
BACKUPS and upgrades
A deeper ugrade of firmware, Linux kernel operating system and linux libraries can be achieved by the following three commands successively :
|
|
|
|
If you
need help, please contact Bernard F6BVP via FBB list
or via FPAC
list or directly f6bvp@free.fr |
|