Year: 2019
-
nc/netcat smtp servers (tcp/25) not responding to commands
EHLO x.x no reply WHY?! Talking to windows servers? send a CRLF by starting NC with -C
-
Libreoffice delete write protected content
Tools > Options > LibreOffice Writer > Formatting Aids > Remove tick from Protecting Areas / Enable cursor.
-
Fix “failed to start jnprTdi”
What I did: Remove ALL pulse related programs Also remove activex pulse programs Reinstall Import settings again manually
-
LVM device excluded by a filter (mpath / multipath )
first find out what is going on: pvcreate /dev/sdb -vvv 2>&1| less Look for errors. In my case it said the volume was mpath managed. So exclude from mpath, put the vi /etc/multipath.conf && systemctl restart multipathd.service Add a block at the bottom: blacklist { wwid WD40EFRX-68N32N0_WD-WCC7K2KD8PV5 wwid WD40EFRX-68N32N0_WD-WCC7K7NUFLSF } Find the WWID by doing:…
-
Virtualbox copy files and clipboard
right-ctrl – s (to open settings) general advanced shared clipboard bidirectional drag’n’drop bidirectional
-
Rpmfusion fedora and h264/codecs
yum install https://download1.rpmfusion.org/{free/fedora/rpmfusion-free,nonfree/fedora/rpmfusion-nonfree}-release-$(rpm -E %fedora).noarch.rpm yum install install compat-ffmpeg28 ffmpeg-libs
-
xfce terminal unsafe paste
Disable: open terminal preferences -> clipboard (bottom first tab) -> uncheck
-
Spotify on fedora
dnf config-manager –add-repo=http://negativo17.org/repos/fedora-spotify.repo && yum update && yum -y install spotify-client
-
xfce4 terminal shortcut
open xfce4-settings-manager keyboard (while you are there, set Restore Num Lock on startup) application shortcuts add xfce4-terminal shortcut
-
Fix: Digital ID name cannot be found by underlying security system
I got this error when sending signed emails using my outlook cert by Digicert. Solution: Open certmgt Navigate to Personal/Certificates Delete the signing cert Import your cert from backup (or request a new one) Select again in Security center in outlook
-
Bash array operations and examples
Split to array: while IFS=’;’ read -ra ADDR; do for i in “${ADDR[@]}”; do # process “$i” done done <<< “$IN” Define: distro=(“redhat” “debian” “gentoo”) Element: ${ArrayName[subscript]} Length: echo “${#distro[@]}” Example !/bin/bash define array name server names FQDN NAMESERVERS=(“ns1.nixcraft.net.” “ns2.nixcraft.net.” “ns3.nixcraft.net.”) get length of an array tLen=${#NAMESERVERS[@]} use for loop read all nameservers for ((…
-
Bash color variables
# Reset Color_Off=’\033[0m’ # Text Reset # Regular Colors Black=’\033[0;30m’ # Black Red=’\033[0;31m’ # Red Green=’\033[0;32m’ # Green Yellow=’\033[0;33m’ # Yellow Blue=’\033[0;34m’ # Blue Purple=’\033[0;35m’ # Purple Cyan=’\033[0;36m’ # Cyan White=’\033[0;37m’ # White # Bold BBlack=’\033[1;30m’ # Black BRed=’\033[1;31m’ # Red BGreen=’\033[1;32m’ # Green BYellow=’\033[1;33m’ # Yellow BBlue=’\033[1;34m’ # Blue BPurple=’\033[1;35m’ # Purple BCyan=’\033[1;36m’ #…
-
Certbot centos 7
pip uninstall requests yum reinstall python-requests pip uninstall six yum reinstall python-six pip uninstall urllib3 yum reinstall python-urllib3 ; yum install http://cbs.centos.org/kojifiles/packages/pyOpenSSL/16.2.0/3.el7/noarch/python2-pyOpenSSL-16.2.0-3.el7.noarch.rpm ; yum install certbot certbot-apache
-
Get x11 forwarding working on Centos 7 & Putty & Xming
Install xming Set up putty, use x forwarding, diplay loc localhost:0.0, rest is default Start xming On centos: Test using xclock. If $DISPLAY is not set you did it wrong. You can also test mobaxterm, it works well.