Category Archives: Linux

Stuff about Linux

Linux: Disable assignment of new styled names for network interfaces

Hi,

newer Linux distribution do assign network names like enp0s13 or eno1 instead of the old style ethx names.
Continue reading Linux: Disable assignment of new styled names for network interfaces

Hexdump: Hexdump a binary file and convert it back

Hi,

for hexdump (binary) files and converting back the Linux command line xxd works perfect.

Continue reading Hexdump: Hexdump a binary file and convert it back

Debian: Set python 3 as default

Hi,

debian is still delivered with 2.7 as the default version of python. /usr/bin/python is in fact a symlink to the current default versions binary.

The update-alternatives scripts allows to change this.
Continue reading Debian: Set python 3 as default

Creating and applying a patch with diff and patch

Hi,

this post describes to save and apply changes to an source file.
Continue reading Creating and applying a patch with diff and patch

Linux: mount.cifs failed with host is down

Hi,

due to some security issues (Wannacry) Windows administrators are going to disable the unsecure smb1 protocol.

mount.cifs is using smb1 by default. So when you tried to connect to a Windows machine where smb1 is disabled you get an error: mount error(112): Host is down.
Continue reading Linux: mount.cifs failed with host is down