netbsd

By Fekete Zoltán , 22 November, 2017

poweroff command simply doesn't run shutdown scripts. It causes several dirty killing of running processes, etc.

Use always

# shutdown -p now

instead.

By Fekete Zoltán , 9 February, 2017

If you have an operating ACPI subsystem, give this a try to set your screen brightness:

1. Check the actual value:

# sysctl -a | grep bright

2. Set the relevant sysctl parameter. Mine looks like this (default value is 100):

# sysctl -w hw.acpi.acpiout1.brightness=110

 

By Fekete Zoltán , 23 January, 2017

1. Download the CA certificate in PEM format

If  it was not available in PEM, then determine which format it is (here: DER), then convert it:

$ openssl x509 -in ca-cerificate-file.crt -inform DER -out ca-cerificate-file.pem -outform PEM

2. Check the fingerprint

$ openssl x509 -noout -fingerprint -in ca-certificate-file

3. Copy the CA cert frile into /etc/openssl/certs folder 

Then cd there.

By Fekete Zoltán , 21 January, 2017

When you experience problems building libxml2 or any other ports depending on it (e.g. libreoffice), see the error message of the compiler. If it contains undefined reference 'lzma_auto_compress', then simply remove lzma and lzmalib packages from the system and continue the build process.

Reason: The base system contains lzma library, and the uncompatible package version supresses if installed.

 

By Fekete Zoltán , 21 January, 2017
NetBSD default configuration of XDM is a bit buggy. If you want to start xfce4 session, configure your ~/.xsession as normally. Then your login will be rejected, and the system drops you back to the XDM login screen.