Using swapfile on NetBSD 9.2

If do you use applications like mdnds on NetBSD on a simple OrangePi Zero, soon will take notice that it will fill the RAM, even if not used for anything. One solution is to activate the good and old swap, who is disabled by default on a OrangePi Zero NetBSD image. As root, do the following commands to create a swapfile with 2Gb. Febronia# dd if=/dev/zero of=/swapfile bs=1m count=2048 Febronia# chmod 600 /swapfile Febronia# swapctl -a -p 0 /swapfile Febronia# echo "/swapfile none swap sw,priority=0 0 0" >> /etc/fstab And that’s it. I should already show on “top” and on /proc/meminfo.

24/05/2022 · 1 min · map[name:Felipe Bugno]

DDClient on NetBSD for dyndns

Do you have a dynamic IP connection and your domain service has DDNS? Possible, it also accept DDClient to update your A or AAAA records with your dynamic IP. Unfortunately, of the time of this article, the DDClint at NetBSD repositories only accept IPv4. Thus if you need IPv6, you got a problem. Below, there’s the procedure to install the current version from GitHub on a NetBSD system. First, supposing that you still don’t have installed pkgin to make use of binary packages on NetBSD beyond pkgsrc, who is a overkill just to install a single small application, configure it: ...

19/05/2022 · 3 min · map[name:Felipe Bugno]

Bozotic httpd on NetBSD using https

Do you know that NetBSD has a simple web server pre-installed called Bozotic? It is very simple, so simple that it can be configured with just a single command line, and quite useful to serve file lists or static web pages. Like this blog. Supposing that you has a valid domain certificate, be using let’s encrypt of something else, who creating and validating is beyond the scope of this tutorial, all that needs to be done is: ...

17/05/2022 · 1 min · map[name:Felipe Bugno]