Author: karlo
-
LineageOS recovery bootloop into Google firmware
Don’t follow the original guide You need to boot dtbo and boot too. Thanks to: https://www.reddit.com/r/LineageOS/comments/11y3aur/comment/jdafm2k/?utm_source=share&utm_medium=web2x&context=3
-
Nextcloud / php / apache no error for Internal Server Error
I got this: If you want to know more, enable log_errors
-
Friendly (ionice/nice) rsync on remote server
Add –rsync-path=”ionice -c 3 nice rsync” to your rsync command (on sending side) Friendly for both sender and receiver: ionice -c3 nice rsync –rsync-path=”ionice -c 3 nice rsync”
-
LVM commands not found
Getting this? Means you might have used su. Just do su – or do a proper login, so your $PATH is set correctly.
-
T-Mobile Thuis werkende SMTP 2023 (Fix Relay access denied)
Ik kreeg de melding: Postfix moet net ff anders worden ingesteld. Dit werkt voor mij: 4. sasl/sasl_passwd 5. postmap sasl/sasl_passwd
-
Simple SSH backup of routeros / mikrotik
Prerequisites: Howto: 1. Create ssh keys (without passphrase) on the linux host: ssh-keygen 2. Copy ~/.ssh/id_rsa.pub , put in a .txt file, upload to routeros 3. Create a read only user 4. In the user menu, go to SSH keys, add the SSH key to the user 5. Add cronjob on linux host:
-
T-Mobile thuis (NL) Routeros/Mikrotik-configuratie (met VLANs)
Ik wilde: TODO: In voorbeeld hieronder is 1.2.3.4 het externe IP
-
Mikrotik routeros various findings
Meaning of service tag Setting use-service-tag=no sets the vlan ethertype to the .q standard of 0x8100Setting use-service-tag=yes sets the vlan ethertype to the .ad standard of 0x88a8 source Set MAC for interface /interface ethernet set ether1 mac-address=xxx source
-
Hash file in windows
cmd: certutil -hashfile z:\desktop\lsr.exe SHA512 or powershell: Get-FileHash -Path z:\desktop\lsr.exe -Algorithm SHA512
-
Fix: acosh defined in both go and assembly
You probably upgraded go. You need to remove /usr/local/go . Then reinstall go
-
Github what repos have you contributed to (graphql)
https://docs.github.com/en/graphql/overview/explorer { viewer { repositoriesContributedTo(first: 100, contributionTypes: [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY]) { totalCount nodes { nameWithOwner } } } }
-
Debian VM as GW routing through VPN (tun) with nftables
My LAN interfaces are ens3/ens8/ens9. VPN tunnel set up using openvpn, gets dev tun0. NFTables config file /etc/nftables.conf (do not forget to enable the nftables services): Thanks to: https://superuser.com/questions/985800/complete-masquerading-nat-example-using-nftables-on-linux/1225109#1225109
-
Guacamole broken (Creation of WebSocket tunnel to guacd failed)
Today my guacamole broke. Fixed by putting in guacd settings in the connection settings in guacamole itself. Had to explicitly add ::1 and port 4822 (in my case).
-
Excel return text right of last occurrence of string
=TRIM(RIGHT(SUBSTITUTE(A1;” “;REPT(” “;LEN(A1)));LEN(A1)))
-
Pihole CORS problems
Fix: edit /var/www/html/admin/scripts/pi-hole/php/auth.php add your host names to AUTHORIZED_HOSTNAMES array