ssh to old HP iLO

Connecting to HP running some older version, only used internally, one can run into situation where after upgrade of local client it is not possible anymore to connect to managed HP ILO system.

Message presented is:

A bit or research it came out that ssh has disabled some not so secure read weak combinations which resulted in that problem.

To workaround it, just follow recommendation from http://www.openssh.com/legacy.html

Below is copy paste from this site.

or in the ~/.ssh/config file:

Soon after another problem was revealed:

To which there’s solution too.

OpenSSH 7.0 and greater similarly disable the ssh-dss (DSA) public key algorithm. It too is weak and we recommend against its use. It can be re-enabled using the HostKeyAlgorithms configuration option:

or in the ~/.ssh/config file:

It’s also possible to query the configuration that ssh is actually using when attempting to connect to a specific host, by using the -G option:

Hope this helps.

Mint on Dell Precision 5520 – fan noise

The key was the patch:

@Credits go to someone as when downloading didn’t take a note and don’t have time to look for it.

The important part is that both smm from this package is required as well as module after each kernel has to be rebuilt (make) and installed in appropriate location

Files I’m using to disable (obligatory to have i8k running as otherwise can burn laptop). Content of /usr/local/sbin/fan-bios-disable

Content of /usr/local/sbin/fan-bios-enable

And /etc/i8kmon.con

cpufreqd might be a good addition to control governors and maximum frequency, i.e. force lowest during the night to avoid any fan.

Disadvantage is that at least brightness control doesn’t work.

Searching for more details here can be found:

XPS 9560 – Battery life optimization and fan management from Dell

Great help was found at https://github.com/vitorafsr/i8kutils/issues/6

Ubuntu/Mint/Debian btrfs compressed at installer time

Easiest way to do this is to alter the mount command of the live environment.

Boot as usual to the live session.

Move the mount executable to another location:

Edit a new file using sudoedit /bin/mount and save the following script into it (alter the options as you like; here we have added compress):

 

You can also match block devices like /dev/sda1 instead of -t btrfs and chain elifs to use different mount options for different devices and filesystems.

Copy the original permissions over to the new script:

Install as usual and your btrfs partition will be mounted with the specified options (here, compress).
After the installation is finished, before exiting the live envirement, alter the /etc/fstab of the newly installed system to match the specified options, so it will use the same options on new boots.

Additional options one might consider to add are:

One more seen online was realtime

@Credits to someone out there – not referenced to exact source as it comes from my notes.