November 27, 2020

Dell iDrac virtual console network connection dropped

Problem:
Dell iDrac Virtual Console viewer failing :

The viewer has terminated. Reason: The network connection has been dropped.



Cause:
Java releases after 8.?? have stricter security settings, disabling 3DES_EDE_CBC.

Solution:
We may unblock 3DES_EDE_CBC to allow iDrac Virtual Console viewer.jnlp to work again.

Linux example:
Use sudo powers to modify your /etc/java-11-openjdk/security/java.security or similar file near line 656. (Locating your java version obviously.) Replace [modify or duplicate with commenting-out]:

jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, DH keySize < 1024, \
    EC keySize < 224, 3DES_EDE_CBC, anon, NULL

with

jdk.tls.disabledAlgorithms=SSLv3, RC4, DES, MD5withRSA, DH keySize < 1024, \
    EC keySize < 224, anon, NULL

In Windows, the file will be C:\Program Files\Java\jre1.8.0_271\lib\security\java.security or similar. (Locating your java version obviously.)

Other resources will tell you to comment the entire jdk.tls.disabledAlgorithms line(s), but this will unblock multiple weak securities. At least unblocking the single 3DES_EDE_CBC is less impactful, albeit still less secure than defaults.


Please consider crypto tipping:
  

September 11, 2020

Prepare or Fix Linux for EmuFlight, BetaFlight, CleanFlight, ButterFlight, all the flights

Prepare or Fix Linux for EmuFlight, BetaFlight, CleanFlight, ButterFlight, or any other *Flight

Linux Serial/USB device access

Edit/create udev rules: (use vi, nano, or any text editor)

sudo nano /etc/udev/rules.d/50-myusb.rules

Copy/paste this content and save it: (See STM list here: https://devicehunt.com/view/type/usb/vendor/0483)

# ALL STMicroelectronics devices & DFU
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="****", GROUP="plugdev", MODE="0664"
SUBSYSTEM=="tty", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="****", GROUP="plugdev", MODE="0664"

Then reload the rules:

sudo udevadm control --reload

You must add yourself (username) to plugdev group.

sudo usermod -a -G plugdev $USER

You must add yourself to the dialout group for tty/serial permissions: (This fixes Failed to open serial port: FILE_ERROR_ACCESS_DENIED)

sudo usermod -a -G dialout $USER

You must now logout/login to update user access rights. Afterward, you may run Configurator which should properly connect to flight controllers.


note: some older OS could use GROUP="users", but newer OS seem to not allow it.
---


references
https://hackmd.io/@nerdCopter/H1dtIuUSn
https://hackmd.io/@nerdCopter/rJv5TUrQ2

good luck!





Please consider crypto tipping:
  

January 29, 2020

PowerCLI enable CBT

PowerCLI enable CBT on VM’s where CBT is disabled


Problem: Some VM’s have CBT disabled.

Warning: Maybe CBT should not be enabled in your environment. There are pre-requisites and if unpatched hosts, potential bugs with CBT. Please be diligent in researching CBT (Change Block Tracking) first.

Solution: (note: bypasses any VM's with existing snapshots)



~~~
As always, good luck.
Please consider crypto tipping: