LCD brightness setting on NetBSD
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
- Read more about LCD brightness setting on NetBSD
- Log in to post comments
Updating GitHub forked repository
Quote from stackoverflow.com:
# Add the remote, call it "upstream":
git remote add upstream https://github.com/whoever/whatever.git
# Fetch all the branches of that remote into remote-tracking branches,
# such as upstream/master:
git fetch upstream
# Make sure that you're on your master branch:
git checkout master
# Rewrite your master branch so that any commits of yours that
# aren't already in upstream/master are replayed on top of that
# other branch:
git rebase upstream/master
- Read more about Updating GitHub forked repository
- Log in to post comments
Restore pkgin database
- Read more about Restore pkgin database
- Log in to post comments
Fine tune NetBSD kernel preemption
- Read more about Fine tune NetBSD kernel preemption
- Log in to post comments
Solving 'too many open files' problem on NetBSD
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.
- Read more about Installing CA Certificates into NetBSD
- Log in to post comments
LibreOffice 5.2.4.2 does not build because librdf is too old
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.
- Read more about Solve libxml2 build problem
- Log in to post comments