Go to ...

Techpository

A Better Technical Repository

RSS Feed

Linux

Linux: A fix for when you receive a signature error with Google Chrome during updates

If you receive an error similar to this: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/earth/deb stable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 1397BC53640DB551 W: Failed to fetch http://dl.google.com/linux/earth/deb/dists/stable/Release.gpg The following

Linux: Ubuntu – Setting time zone with timedatectl

List available timezone locations Type: timedatectl list-timezones Africa/Abidjan Africa/Accra Africa/Addis_Ababa Africa/Algiers Africa/Asmara … … … America/New_York set timezone Type:  timedatectl set-timezone America/New_York display settings Tyep: timedatectl Local time: Fri 2017-06-21 16:10:07 EDT Universal time: Fri 2017-06-21 07:10:07 UTC RTC time: Fri 2017-07-21 07:10:06 Time zone: America/New_York (EDT, -0400) Network time on: yes NTP synchronized: yes

Linux: Creating a systems service

Knockd was causing me a headache with the error “command returned non-zero status code (1)” when running with their stock init.d setup. Rather than troubleshooting their bug I decided to create my own service that would start using the /usr/sbin/knockd directly. Step (1) Create the startup script nano /etc/systemd/system/knockd-security.service [Unit] Description=knockdservice After=network-online.target [Service] Type=idle ExecStart=/usr/local/bin/knockd-security.sh

Linux: Starting SSH on boot Kali 2.x – autostart SSH

SSH won’t start at boot on Kali 2.0? Don’t worry, it’s because Kali 2.x is based on Debian 8, as opposed to Kali 1.x being based on Debian 7. Kali 1.x uses init/update-rc.d; For Kali 1.x, the command is update-rc.d ssh enable Kali 2.x uses systemd/systemctl For Kali 2.x, the command is systemctl enable ssh.service

Older Posts››