Linux How-To’s that Kept Me From Going Crazy!

Being a software developer with a vast background in systems integration, Cloud Computing and Systems architecture. I am fluent with aspects of multiple Operating Systems. With that fluency comes biases due to a favor ability in usability and comfort of use. Several times i have come into contact with unique issues that revealed themselves a very interesting solution that should be preserved.

Please allow this article serve as a way to preserve those helpful articles from other geniuses that surround me in my ignorance.

This is a living document and will be constantly updated as I get more information!

How to setup Wifi for HP 14s laptops running Debian

https://dev.to/juniordevforlife/how-i-set-up-wifi-in-debian-11-14ka

How to install Realtek RTL8821CE driver on Debian, Ubuntu, Kali Linux, Linux Mint and their derivatives

sudo apt install bc module-assistant build-essential dkms
git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
sudo m-a prepare
sudo ./dkms-install.sh

How to resize Linux Partitions

Run the following commands: https://miloserdov.org/?p=5930

https://askubuntu.com/questions/540015/how-do-i-use-move-space-from-home-lvm-to-root-lvm
1. Shut down computer and boot into recovery mode
2. As root, backup drives (optional but good practice)	    

vgcfgbackup -f tetrad-vgcfg-2014-10-09-before-2

3. Run script command to copy all output

4. shrink target partition	   

lvresize --resizefs -L -35G /dev/mapper/tetrad-export

5. check work with PVS command	pvs

5. grow target partition	   

lvextend -L +2G /dev/mapper/tetrad-root -r -v

6. check work with PVS and LVS	   
pvs   
lvs

7. Perform another backup and save it off.

In VIM, how to copy and paste from system clipboard.

apt install vim-gtk

use command "+p for putting or pasting in command mode from system clipboard

use command "+y to yank or copy from Vim into system clipboard

In Vim, How to copy and paste within a file.

In Vim with a file open, enter visual insert mode and highlight text. Then, strike “y.”

To paste, use “P.”

To delete an entire line, use “D.”

How to get CQRLog to download QSO’s from LOTW

Symptom:

LOTW Error: Host not foundError: ssl_openssl

Remedy:

https://lotw.arrl.org/lotw-help/troubleshooting/?lang=en

When Running on Linux

When running TQSL on Fedora Linux version 21 or later, “certificate signature failure” errors will be reported because this version of Fedora does not by default enable a digital signature capability used by LoTW. To enable this digital signature capability, add the following line to the .bashrc file in your home directory:

export OPENSSL_ENABLE_MD5_VERIFY=1

How to Add a rig into PAT (winlink)

https://github.com/la5nta/pat/wiki/Rig-control

There to download voacap software

http://www.greg-hand.com/hfwin32.html

**How to install vara on wine / crosover

This link was very helpful to get rid of psh.dll issue

https://groups.io/g/VARA-MODEM/topic/installing_winlink_express/80678030

Basically need to run this link to get an exe. then istall this into bottle
from there, take output of 3 files into system32 folder

note: the pdh.dll from above did not work, download another version from:
http://download.microsoft.com/download/winntsrv40/update/5.0.2195.2668/nt4/en-us/nt4pdhdll.exe
executing this file with wine will extract 5 files. put all 3 pdh files (pdh.dll, pdh.dbg and pdh.pdb) in /home/jan/.wine/dosdevices/c:/windows/system32

change 1) when installing :
winetricks -q dotnet35sp1
winetricks vb6run
=> this probably installs file /home/jan/.wine/dosdevices/c:/windows/system32/Msvbvm60.dll
rewrite this filename to all capitals ! : /home/jan/.wine/dosdevices/c:/windows/system32/MSVBVM60.DLL
(not sure what went wrong here, but rerunning ‘winetricks vb6run complained about not finding the file. In the end I downloaded the file separately and had to rename it)

[EDIT: i do not use winetricks and do not need it. I simply renamed this file and it worked.]

change 2) to use VARA you download:
http://files.k6eta.com/VARA_Components.zip
and extract all files into /home/jan/.wine/dosdevices/c:/windows/system32:
cdosys.dll, MSCHRT20.OCX, MSCOMCTL.OCX, MSCOMM32.OCX, mswinsck.ocx, (pdh.dll : see below)

  1. Create new bottle for win 7 32 bit
  2. install
    MS .Net framework 4.6.2 (restart later)
    Microsoft C++ Redist 15 64 bit
    Visual Basic 6 sp 6
    vara (do not launch after istall)
    install pdh.exe noted above actually a zip archive. Just unzip.
  3. go to .cxoffice/winlink/drive_c/users/crossover/tmp and get
    pdh.dll *pdb and *.dbg files and place into
    .cxoffice/Winlink/drive_c/windows/system32
    4: Run vara to test.
  4. Once working, install RMS Express and configure. This will work OOTB.

Leave a comment