Windows: Setup a WSUS Server for Windows 10 Clients with Feature Support

Hi,

in this post I will describe all steps to install a Windows Update Server at top an a Windows Server 2012R2 to fully support the Windows 10 Feature updates.

Continue reading Windows: Setup a WSUS Server for Windows 10 Clients with Feature Support

Windows: Slow Performance. Windows Update (svchost.exe) consumes high CPU load

Hi,

older Windows Versions i.e 7, 8.1 and Server 2012R2 have the problems that an older Version of the Windows Update Agent is installed which consumes a lot of CPU cycles.
Continue reading Windows: Slow Performance. Windows Update (svchost.exe) consumes high CPU load

Linux: HEX edit and diff in a shell

Hi,

let us assume you want to edit a binary file /tmp/binfile and you want to replace all strings matches to “sda” by “hda”.

gnu sed can edit bin files by the \xnn hex notation. The option –in-place changes the original file and makes a backup copy with a file extension .org

michael@devdeb ~#  sed -e 's/\x73\x64\x61/\x68\x64\x61/g' /tmp/binfile --in-place=.org

Continue reading Linux: HEX edit and diff in a shell

Linux: Determine driver for a device

Hi,

let us assume you want to determine which driver is behind a device. For example disk /dev/sdc

By udev. Query the device /dev/sdc by udevadm. Scroll down to the section for the pci device

root@devdeb ~# udevadm info -a -n /dev/sdc
.....
  looking at parent device '/devices/pci0000:00/0000:00:10.0':
    KERNELS=="0000:00:10.0"
    SUBSYSTEMS=="pci"
    DRIVERS=="mptspi"
.....

or (the native way) by sysfs

root@devdeb ~# cd /sys/block/sdc
root@devdeb ~# cd -P /sys/block/sdc/device
/sys/devices/pci0000:00/0000:00:10.0/host2/target2:0:1/2:0:1:0 

Go to the pci device

root@devdeb ~# cd /sys/devices/pci0000:00/0000:00:10.0
root@devdeb ~#  ls -l driver
lrwxrwxrwx 1 root root 0 Dec 22 09:14 driver -> ../../../bus/pci/drivers/mptspi

Michael

Debian: git error gnutls_handshake() failed: Public key signature verification has failed.

Hi,

I’m on debian testing and cloning from a git repository fails with error: “gnutls_handshake() failed: Public key signature verification has failed” occured.
git is linked against the libcurl3-gnutls library. Newer versions have a bug when using git over a https proxy.
Continue reading Debian: git error gnutls_handshake() failed: Public key signature verification has failed.

My Knowledgebase for things about Linux, Windows, VMware, Electronic and so on…