3.9 KiB
title | summary | date | tags | showReadingTime | showWordCount | showPagination | showBreadcrumbs | feed_exclude | weight | draft | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Hamradio Computer | This should summarize the way I install my hamradio related computers -- may that be a laptop or a headless system to provide the VARA programs in the field. This is also the place where I might update several installation instructions in the future. | 2025-02-11T10:51:58+0100 |
|
false | false | false | true | true | 10 | true |
Differantation
headless or with desktop
- headless raspi mostly
- desktop vara hf /fm winlink etc also connect via ssh -X 'X11Forward yes' in config file .ssh/config
i will sometimes differentiate between them, but usually i only use headless minimal systems without X11 (or wayland)
Operating system
I usually install Arch Linux on my computers, a convenient way of doing that
is using archinstall
off a current arch linux installation medium.
SHOW_COMMAND_ARCHINSTALL and JSON_CONFIG_FILE
Packages needed
Development packages base-devel etc.... git zsh starship vnstat
sqlite3 yp-tools (zsh shell integration)
if on a virtual machine install qemu-guest-service
paru installation
full system update with paru
also most "internet connected" devices I use hardened kernel but thats more non-radio usage devices
if you have a headless installation
system configurations
polkit usage
to reboot without su
/etc/polkit-1/rules.d/49-nopasswd_global.rules
/* Allow members of the wheel group to execute any actions
* without password authentication, similar to "sudo NOPASSWD:"
*/
polkit.addRule(function(action, subject) {
if (subject.isInGroup("wheel")) {
return polkit.Result.YES;
}
});
passwordless ssh login
ssh-add -L > .ssh/authorized_keys
Special use-case: Beelink T4 Pro
works with Windows, does not show proper WiFi device on ANY linux that I tested
though, it has a simple work-around IF YOU KNOW IT source: https://forums.linuxmint.com/viewtopic.php?p=2435343&sid=8035d5e61fa25dd207023eda4772e590#p2435343
basicly: add to the kernel parameters pcie_port_pm=off
can also be done on most installation media that use grub by hitting
e at the boot prompt/list
maybe more...
Tools, Applications
Wine
Default (Arch)
Windows tools will require wine, so we install this right now
paru -S wine
adding gnutls for network communications
paru -S lib32-gnutls
export WINEARCH=win32 export WINEPREFIX=/home/dominic/.wine-winlink
you can also include these two lines in a .bash_profile or similar.
I use this sometimes in my ~/.zshrc.local
as i include this already.
since we exported WINEPREFIX we can omit the use of it in THIS SESSION
(this terminal window). if you use another you have to export the variable
again or prefix any command with
WINEPREFIX=/home/dominic/.wine-winlink <your-command>
winetricks winxp winetricks sound=alsa
starting with all windows fonts
winetricks -q allfonts
adding some .NET frameworks we will mostly use/need
winetricks -q dotnet35sp1
winetricks vb6run
winetricks vcrun2015
optional if errors
winetricks -q dotnet40
winetricks -q dotnet46
registering notepad.exe as default application for logfiles
create a backup of the wine installation
tar -cJf wine-backup_$(date +%Y-%m-%d-%H-%M-%S)_initial-setup.tar.xz .wine-winlink
Debian
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install wine wine32 fonts-wine
sudo apt install gcc-multilib g++-multilib
VARA tools
vara hf, vara fm
Winlink Express
also install lib32-gnutls for internet connections etc... without the password on winlink setup canoot be checked and the setup form cannot be filled out automatically... YOU NEED THIS