netbsd

Fine tune NetBSD kernel preemption
If you feel little breaks in moving the mouse pointer or any other stuttering during I/O operations, here is how to tweak kernel preemption to improve user experience in smooth running of the gui.
Fekete Zoltán Tue, 01/24/2017 - 07:13
Solving 'too many open files' problem on NetBSD
When you see 'too many open files' message in the log of any userspace program, you have to tweak a couple of things to eliminate.
Fekete Zoltán Mon, 01/23/2017 - 18:00
Installing CA Certificates into NetBSD

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.

Fekete Zoltán Mon, 01/23/2017 - 08:00
Solve libxml2 build problem

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.

 

Fekete Zoltán Sat, 01/21/2017 - 19:24
Mounting webdav under NetBSD with unprivileged user
After a few steps you will be able to mount a standard webdav share into your NetBSD box.
Fekete Zoltán Sat, 01/21/2017 - 13:53
Starting xfce4 from XDM in NetBSD
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.
Fekete Zoltán Sat, 01/21/2017 - 13:34