open-menu closeme
Home
Links icon
LinkedIn
About
English
github linkedin
  • ESP8266 Watchdog

    calendar Dec 3, 2017 · 1 min read · ESP82662  ·
    Share on: twitter facebook linkedin copy

    When developing on an ESP8266 I came across the issue of the WDT not being triggered by my code and subsequently getting reset by the hardware WDT. Here is one of the few useful resources I found on the topic https://techtutorialsx.com/2017/01/21/esp8266-watchdog-functions/ Essentially it's as simple as adding …


    Read More
  • Remotely tank a linux server

    calendar Dec 1, 2017 · 1 min read · LINUX  ·
    Share on: twitter facebook linkedin copy

    No questions asked reboot. Danger Will Robinson, will most likely break many things! echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger Original article


    Read More
  • Get the count of Ceph PG's per OSD

    calendar Nov 29, 2017 · 1 min read · CEPH  ·
    Share on: twitter facebook linkedin copy

    1ceph pg dump | awk ' 2BEGIN { IGNORECASE = 1 } 3/^PG_STAT/ { col=1; while($col!="UP") {col++}; col++ } 4/^[0-9a-f]+\\.[0-9a-f]+/ { match($0,/^[0-9a-f]+/); pool=substr($0, RSTART, RLENGTH); poollist[pool]=0; 5up=$col; i=0; RSTART=0; RLENGTH=0; delete osds; while(match(up,/[0-9]+/)>0) { …


    Read More
  • ESPtool commands

    calendar Nov 29, 2017 · 1 min read · ESPTOOL  ·
    Share on: twitter facebook linkedin copy

    1sudo esptool.py --port /dev/ttyUSB0 read_flash 0x00000 0x100000 image-T1Original.bin 2 3sudo esptool.py --port /dev/ttyUSB0 erase_flash 4 5sudo esptool.py --port /dev/ttyUSB0 write_flash -fs 1MB -fm dout 0x0 sonoff.bin


    Read More
  • Living with Network-Manager

    calendar Nov 28, 2017 · 1 min read · NETWORK-MANAGER  ·
    Share on: twitter facebook linkedin copy

    Network manager can be a right pain in the ass, my goto has usually been to simply install it, but in some environments(Particularly Laptop\Desktop PC's) it can actually be useful. So here are some useful command that might make NM tolerable 1 - Show status Network Manager has a command line tool that can be used to …


    Read More
  • Bluetooth headset in Ubuntu Gnome

    calendar Nov 20, 2017 · 1 min read · BLUETOOTH UBUNTU GNOME  ·
    Share on: twitter facebook linkedin copy

    One of the most difficult things about moving to Ubuntu Gnome so far has been my Bluetooth headset of all things. It paired and worked brilliantly right out of box, but after a reboot the quality was woeful. Turns out the audio profile had changed to HSP\HFP - Headset Head Unit when I wanted it to be A2DP Sink - High …


    Read More
  • Renewing Lets Encrypt certificate for use in HAProxy

    calendar Nov 3, 2017 · 4 min read · HAPROXY LE CERTIFICATES  ·
    Share on: twitter facebook linkedin copy

    Here is a script i've put together from a few different sources that renews specified LE certificates, copies them to the HAProxy SSL directory, copies them to the second HAPpoxy server and reloads haproxy on both nodes Just call like this bash ~/renewLECert.sh domain1.com domain2.com Will create 2 separate …


    Read More
  • Running a command when screen locks

    calendar Sep 30, 2017 · 1 min read · CRYPTOMINER FEDORA26  ·
    Share on: twitter facebook linkedin copy

    I use this to fire off a cryptominer when my screen locks. Works on Fedora 26 I run this command as a batch file in screen. Could be made into a daemon i suppose but screen works good enough for now 1dbus-monitor --session "type=signal,interface=org.gnome.ScreenSaver" | 2 while read MSG; do 3 LOCK_STAT=`echo …


    Read More
  • Get public IP from command line in Linux

    calendar Sep 20, 2017 · 1 min read · IP LINUX  ·
    Share on: twitter facebook linkedin copy

    1curl ifconfig.me wget http://ipecho.net/plain -qO-


    Read More
  • Compress a folder and send it to another server via SSH

    calendar Sep 7, 2017 · 1 min read · SSH  ·
    Share on: twitter facebook linkedin copy

    This command will tar an entire folder, pass it to gzip then pass it to SSH which then in turn writes the resultant output to a file on a remote server Useful for backing up small folders to remote servers Don't forget to ssh-copy-id on the source server so password-less authentications works 1tar -cvf - …


    Read More
    • ««
    • «
    • 9
    • 10
    • 11
    • 12
    • 13
    • »
    • »»

Cory Hawkvelt photo

Cory Hawkvelt

CTO @ Nexgen Cloud | Career Nerd and Open Source Cloud Architect
Read More

Recent Posts

  • Deploying pam_ussh: A Comprehensive Guide
  • Unpacking the NVIDIA H100 Tensor Core GPU: A Deep Dive for CTOs
  • Caddy proxy for OpenStack API's
  • HP Server ACPI errors
  • vxlan: non-ECT from 10.254.8.23 with TOS=0x2
  • Install Ceph by hand Ubuntu 22.04
  • Gnocchi Convert Temperature F to C
  • Install HP SSACLI HPACUCLI tool on Ubuntu 20.04

Tags

LINUX 32 CEPH 24 BASH 22 OPENSTACK 13 NETWORKING 10 DOCKER 8 CONFIG 6 HP 5 HPACUCLI 5 OPENSTACK-QUEENS 5 QEMU 5 SSH 5 TROUBLESHOOTING 5 CENTOS7 4
All Tags
ACTIVE-BACKUP1 ADB1 AI1 ANDROID1 ANSIBLE2 APT1 AUTODISCOVER1 BACKUP1 BASH22 BIND1 BLUETOOTH1 CACHE1 CADDY1 CAS1 CENTOS74 CEPH24 CEPH-NAUTILUS1 CERTIFICATES1 CINDER3 COLLECTD1 COMWARE1 CONFIG6 CRYPTOLOCK1 CRYPTOMINER2 DATABASE1 DELL1 DELL-S600-ON1 DELLMD3060JBOD1 DHCP1 DISK-MGMT1 DNS1 DOCKER8 DRIVERS1 ESP826621 ESPTOOL1 FAIL2BAN1 FEDORA261 FIBRECHANNEL1 FIRMWARE1 FREEOTP1 FTOS1 GIT1 GNOCCHI3 GO1 GPU1 H1001 HAPROXY2 HARDWARE2 HORIZON1 HP5 HP-ILO1 HPACUCLI5 HPC1 HTTP1 HUGO1 HYPER-V1 INDEX1 IP2 IPTABLES1 IPV61 KEYCLOAK1 KEYGEN3 KEYSTONE1 KOLLA1 KVM2 LE1 LIBRENMS1 LINUX32 LOGO1 MAAS1 MATTERMOST1 MEGACLI1 MELLANOX1 MELTDOWN1 MEMCACHED1 MIKROTIK2 MOUSE1 MTP1 MYSQL4 NAMED1 NAT1 NETBOX1 NETBOX-IPAM1 NETWORK-MANAGER1 NETWORKING10 NEUTRON1 NOVA1 NOVNC1 NPS1 NVIDIA2 OPENNEBULA1 OPENSTACK13 OPENSTACK-QUEENS5 OPENSWITCH1 OPENVSWITCH1 OVN1 PAM1 PCI1 PKI1 PORT1 PRINTER1 PROXMOX1 PUTTY1 PYTHON1 QEMU5 RABBITMQ1 RADIUS1 RADOSGW2 RAID3 RBD3 ROCKY-GLANCE1 ROUTING1 SCRIPT1 SECURITY1 SERVER1 SERVER-20121 SMTP1 SNMP1 SPECTRE1 SPEEDTEST1 SSH5 SSL1 SVG1 SWAP1 SYSCOMMANDS1 TCP1 TCP-DUMP1 TCPDUMP1 TROUBLESHOOTING5 UBUNTU4 UBUNTU-182 UBUNTU-201 UBUNTU-GNOME1 UBUNTU171 UEFI1 VAGRANT2 VIRTUAL-NETWORK1 VIRTUALISATION1 VLAN1 VM2 VPN1 VXLAN2 WINDOWS2 WINDOWS-AD1 WIRESHARK1 YOUTUBE-DL2
[A~Z][0~9]

Copyright 2022-  . All Rights Reserved

to-top