Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [netbsd]

NetBSD is a freely available open source version of Unix-derivative Berkeley Software Distribution (BSD); due to convenient license and portability, NetBSD is often used in embedded systems.

Filter by
Sorted by
Tagged with
1 vote
2 answers
66 views

Can't use OpenVPN as client on NetBSD, route add command fails

I am trying to use OpenVPN as a client under NetBSD using this command: openvpn --client --config /etc/openvpn/config.ovpn I am getting the following output and errors: localhost# openvpn --client --...
1 vote
0 answers
28 views

NetBSD - how to display information about kernel memory in GDB?

I'm debugging the NetBSD kernel with gdb, but I would like to be able to display information about the memory region an address is in. I'm mainly interested in finding out the permissions of a page of ...
0 votes
1 answer
46 views

NetBSD: how to mount a disk image?

I have create a disk image on netbsd newfs -F -s 10G 1.img How to mount it? I have tried "nodev" but give error and try to mount /mnt/p2 mount -v -o nodev /home/user/1.img /mnt/p2
0 votes
0 answers
39 views

Is possible to find a single file of NOT installed package on Netbsd?

Simple question: On Fedora, i want to search mplayer.. dnf provides *bin/mplayer on Debian apt -y install apt-file apt-file update apt-file search mplayer|grep bin on Freebsd pkg install -y pkg-...
0 votes
1 answer
62 views

Netbsd, what is dk?

Simple question, today making iostat on netbsd machine I see.. iostat 2 3 tty ld0 ld1 dk0 dk1 dk2 dk3 ...
1 vote
0 answers
537 views

NetBSD: podman mount volume: Error: statfs : no such file or directory

I'm experimenting with podman under NetBSD and want to mount a host directory into the container. According to this answer I did: podman machine init -v ~/podman/volumes/:/mnt/podman tpvm podman ...
0 votes
1 answer
79 views

How do I install the manual pages on NetBSD?

I've done a "Minimal" installation of NetBSD 9.3 from the ISO image, just to examine the behavior of one particular command (mktemp) as it differs from Linux. I'm not seeing man pages for… ...
4 votes
3 answers
2k views

Does *BSD have the ability to encrypt a system partition with full disk encryption?

Does FreeBSD, NetBSD, or OpenBSD have an encryption feature like Linux's dm-crypt? And will it work for a system partition?
0 votes
1 answer
232 views

Issues starting headless installation of NetBSD in VirtualBox

On a headless Ubuntu 22.04 machine, I'd like to start a headless installation of NetBSD 9.2 in VirtualBox. I have a prepared virtual machine with a set of blank disk images attached, as well as with ...
4 votes
1 answer
231 views

What is the most native way to generate desktop notification in BSD unixes

macOS has its "osascript" with "display notification", Linux has its "notify-send". Both are the most native way to generate DE notifications. What is the most native way ...
1 vote
1 answer
488 views

How to "talk" to a "parent" IP in a subnet?

I have access to just *nix systems. Either NetBSD and/or bare Linux-based OS. So my question comes from the fact that ADB is not widely available on all platforms, if so is very hard to install or ...
25 votes
8 answers
40k views

How to apply updates on OpenBSD, NetBSD, and FreeBSD?

I'm using OpenBSD for quite a while now. All I do, however is go from one release to the next, always just doing an update. I configured the system so it works as my router and firewall, and it works ...
2 votes
1 answer
93 views

Why does NetBSD grep slow down nearly 15x on subsequent calls

I'm working through examples in APUE. On a NetBSD 9.0 system, under no major load, I time a call to grep and get an unremarkable result: apue$ cd /usr/include apue$ time -p grep __POSIX_SOURCE */*.h &...
0 votes
1 answer
186 views

Why Does the NetBSD System Call Manual Mention the Standard C Library?

I'm reviewing man(2) pages on NetBSD 9, and have seen that all of the documents (write(2), open(2), pipe(2)) mention the Standard C Library at the top. My understanding was that system calls were ...
1 vote
1 answer
157 views

NetBSD sh -c "echo OK" doesn't give any output? [closed]

I'm testing the portability of some stuff I'm writing to BSD. It's working on Linux, FreeBSD, OpenBSD. It isn't working on NetBSD. The following is on a fresh VM installation I've made just for the ...
0 votes
1 answer
211 views

How to install a torrent client on a NetBSD server with only SSH access [closed]

I have a remote server running NetBSD 6, to which I have access only via SSH. I have very limited Unix/Linux experience but I guess there are some command line torrent cliens available for Unixes like ...
2 votes
1 answer
156 views

Is NetBSD 'primes' utility or equivalent available in any package on MacOS?

Is the NetBSD primes utility (or equivalent) available on MacOS in any package, other than via manual download-and-compile (e.g. curl)? I searched quite a lot and couldn't find any package (other than ...
3 votes
1 answer
2k views

How to use 'pkg_add -uu' to upgrade all packages?

According to NetBSD's wiki I can use pkg_add -uu to upgrade packages. However, when I attempt to use pkg_add -uu it results in an error. pkg_add -uu pkg_add: missing package name(s) ... pkg_add -uu * ...
1 vote
0 answers
431 views

How to use resize_ffs in netbsd

I'm trying to use resize_ffs with NetBSD to increase the size of my partition. I have NetBSD running in a virtual machine, and have expanded the size of the disk, and now wish to grow the partition to ...
0 votes
1 answer
206 views

Modifying firewall rules with pfctl on NetBSD 4

I'm wanting to modify some firewall/NAT rules on a device (Apple Airport) running NetBSD 4.0. I'm not that familiar with BSD and pf, so want to check the right approach. I can change the pf.conf file (...
0 votes
2 answers
683 views

NetBSD/FreeBSD and TP-Link TL-WN727N: Second encounter

Moved from SU. First part at https://superuser.com/questions/975564/netbsd-and-tp-link-tl-wn727n-atheros-ar9271-or-ralink-rt5370 So, I've installed NetBSD 7 and device shown again as ugen(ugein, lol)...
1 vote
2 answers
2k views

How to change the font size in NetBSD (TTY no GUI)

NetBSD 7.1 (GENERIC.201703111743Z) amd64 In TTY without gui , the better screen resolution is set at boot time but the font is really to small. So how to change that On debian dpkg-reconfigure ...
5 votes
1 answer
5k views

pkgin installation problem (NetBSD)

I just installed NetBSD 7.1.1 (i386) on my old laptop. During the installation, I could not install pgkin (I don't know why), so I skipped it and now I have a NetBSD 7.1.1 installed on my laptop ...
1 vote
1 answer
882 views

Difference between `pkgin` and `pkg_*`, and which to use?

Coming from Linux land, I assumed that pkgin is some sort of higher-level frontend for pkg_add et al, something like what apt is to dpkg or yum/dnf to rpm. But pkg_add appears to handle installation ...
1 vote
1 answer
3k views

Is there anything similar to CrystalDiskMark for UNIX?

If you're shopping for an SSD, you've surely seen one of those screenshots from CrystalDiskMark with a few green squares, and the 2x4 matrix with results of doing read/write tests for the given ...
0 votes
1 answer
1k views

NetBSD - Unable to install pkgin

I'm running NetBSD on the Raspberry Pi 1 Model B. uname -a NetBSD rpi 7.99.64 NetBSD 7.99.64 (RPI.201703032010Z) evbarm I'm trying to install pkgin but I'm receiving an error about version mismatch ....
1 vote
1 answer
3k views

How to install directly from a package *.tgz file in NetBSD, OpenBSD, or FreeBSD

Is there any way to install software from the *.tgz file that is its package, in NetBSD? Or indeed in operating systems with similar package managers such as OpenBSD or FreeBSD? For example, I can ...
1 vote
3 answers
112 views

How to compile fIcy for BSD?

I'm trying to compile fIcy (https://gitlab.com/wavexx/fIcy) for NetBSD/FreeBSD. When I'm executing the make command nothing happens. Even no error message. The same source package compiles without ...
2 votes
2 answers
565 views

Automatic install NetBSD ISO

Is there some form of automated NetBSD installation? I would like to automate this manual process: https://www.netbsd.org/docs/guide/en/chap-exinst.html But I found no examples.
0 votes
2 answers
1k views

Setting wallpaper in NetBSD JWM

I have installed "NetBSD JWM" in the virtual environment of VMware Workstation 14 Pro. I'd like to set wallpaper but I do not know how to do it.
0 votes
3 answers
345 views

BSD browser information

I am developing an application and I need some BSD browser information. Specifically the output of http://browserspy.dk/browser.php If someone could post the output of Firefox on FreeBSD. OpenBSD ...
0 votes
1 answer
1k views

How to install Chromium on NetBSD?

I installed NetBSD and Firefox browser successfully but cannot install Chromium: tak# pkgin install chromium calculating dependencies... done. nothing to do. tak# How to do this?
0 votes
1 answer
990 views

Making 'sudo pkg_add' work on NetBSD

Is there any way to make the simple command sudo pkg_add some-package work on an ordinary installation of NetBSD without recompiling anything from source code? All other Unix systems that I have ...
12 votes
4 answers
2k views

Unix on a DEC VAX?

I just picked up a DEC VaxStation 4000 model 90 with a built in CDROM and an auxiliary SCSI storage module with tape archive drive. I believe it is functional although I cannot test it yet since I ...
8 votes
3 answers
5k views

Creating bootable usb stick with NetBSD installer on Linux

How can I create bootable usb stick with NetBSD installer on Linux? I tried to use UNetBootin, but on download list there is only 4.0 version and when I select my ISO with 5.1 version it doesn't work ...
2 votes
1 answer
3k views

How to run tnftpd without root on OS X?

I'm trying to run tnftpd on OS X, which is NetBSD's FTP server and used to be OS X's FTP server. I built and installed it from Apple's sources. Unfortunately, it seems that I cannot run the server ...
0 votes
1 answer
1k views

php70-fpm doesn't include www.conf on NetBSD

I'm having issues with php70-fpm not including any config files. I installed php70-fpm using pkgin in php70-fpm. It installs from here: ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/earmv6hf/7.1/...
3 votes
3 answers
581 views

Are there any good tutorials for NetBSD and daemontools?

I'm looking for some good resources on running daemontools on a NetBSD box. I've installed the binary package via pkg_add, but I can't seem to find an rc script for starting, e.g., svscan. I'm mostly ...
0 votes
1 answer
140 views

NetBSD: unable to start KDE because of missing shared objects

I'm relatively new to UNIX-like OS's, though I know some basic concepts. I managed to build X server and KDE workspace from pkgsrc for my NetBSD 7.0.2. X starts normally, but KDE won't, because it ...
5 votes
3 answers
2k views

using pkgsrc in home directory in NetBSD

I'm new to NetBSD, although often using pkgsrc on ubuntu. I can build and install packages from source without any effect ubuntu's package dependencies. For example, even if ruby 2.2 is installed by ...
0 votes
1 answer
2k views

Loading NetBSD kernel modules

I want to start using npf on my NetBSD server, rather than relying solely on the external firewall for protection. However, I get: $ npfctl show npfctl: /dev/npf: No such file or directory Alright, ...
7 votes
2 answers
10k views

Let ifconfig wait for IPv6-address to not be tentative

I claim an IPv6 address using ifconfig in a script. This address is then immediately used to listen on a TCP port. When I write the script like this, it fails because the service is unable to listen: ...
2 votes
1 answer
842 views

NetBSD 7.0.2 not honoring hostname setting when using DHCP

I've recently installed NetBSD 7.0.2, and I'm having trouble setting my hostname right. I'm using DHCP, so I got dhclient=YES in my /etc/rc.conf. Now, the documentation says, that there are several ...
-2 votes
2 answers
640 views

How do I use pkgsrc?

I'm running NetBSD in a virtual machine. Documentation and explanations on how to use pkgsrc are scarce. Let's say I want to install vim for NetBSD. What would I type? Do I need a URL? Do I need a ...
3 votes
4 answers
1k views

How long might it take to build NetBSD userland and kernel?

I am interested to use NetBSD as the operating system on my server. I have not used a system where security updates are performed by source, but have read enough in the guide to feel comfortable ...
0 votes
1 answer
204 views

Are NetBSD provide digital signatures for official ISO images and binary packages?

I just install NetBSD in from ISO image inside VirtualBox. Official source ISO media contains only MD5/SHA512 sums. Similarly pkg_add binary packag repository contains only SHA512 sums. Both FTP ...
0 votes
2 answers
798 views

Creating a user without a password on NetBSD

On my NetBSD installation, I have it set so that root has no password. I can login as root without typing a password. But, when I create a user with just useradd -m <username>, log out, then ...
2 votes
1 answer
300 views

ERROR: make sure the Makefile and checksum file (/usr/pkgsrc/x11/gtk3/distinfo) are up to date

To install Gnome on NetBSD, I did so: #cd /usr/pkgsrc/meta-pkgs/gnome #make fetch-list|sh And waited until all dependencies downloaded, then typed: #make install clean Build started, and after a ...
1 vote
2 answers
1k views

NetBSD install, configure network, stuck at the command /sbin/ifconfig fwip0 media error: ifconfig SIOCGIFMEDIA: inappropriate ioctl for device

I'm in NetBSD installation process, when configuring network, I'm stuck in this command and there is no way out of it: Status: Command failed Command: /sbin/ifconfig fwip0 media Hi enter to continue ...
3 votes
1 answer
296 views

Can a bootable NetBSD be built on OSX?

I've got OSX 10.9.5 . I want to build NetBSD (or at least it's kernel) on my OSX box. I've tried building the 'config' program but I can't find 'build.sh'. Is this possible and what would be the steps ...