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
0 votes
1 answer
10 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 ...
user avatar
  • 272k
3 votes
1 answer
32 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 ...
user avatar
1 vote
1 answer
120 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 ...
user avatar
  • 143
2 votes
1 answer
71 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 &...
user avatar
0 votes
1 answer
99 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 ...
user avatar
1 vote
1 answer
129 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 ...
user avatar
  • 2,198
0 votes
1 answer
135 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 ...
user avatar
  • 63
0 votes
1 answer
108 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 (...
user avatar
  • 101
2 votes
3 answers
943 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?
user avatar
1 vote
1 answer
547 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 3,051
1 vote
0 answers
265 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 ...
user avatar
1 vote
3 answers
85 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 ...
user avatar
2 votes
1 answer
111 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 ...
user avatar
  • 171
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 ...
user avatar
  • 1,872
0 votes
1 answer
731 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 ...
user avatar
  • 749
0 votes
2 answers
957 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.
user avatar
  • 9
0 votes
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 ...
user avatar
  • 189
4 votes
1 answer
3k 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 ...
user avatar
  • 189
0 votes
1 answer
880 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?
user avatar
  • 600
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 ...
user avatar
  • 197
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/...
user avatar
0 votes
1 answer
946 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 ....
user avatar
0 votes
1 answer
111 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 ...
user avatar
4 votes
3 answers
1k 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 ...
user avatar
  • 319
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, ...
user avatar
  • 7,704
2 votes
1 answer
620 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 ...
user avatar
  • 10.4k
3 votes
1 answer
1k 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 * ...
user avatar
7 votes
2 answers
8k 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: ...
user avatar
  • 271
0 votes
1 answer
161 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 ...
user avatar
  • 451
0 votes
2 answers
659 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 ...
user avatar
  • 3,468
-2 votes
2 answers
478 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 ...
user avatar
  • 3,468
3 votes
4 answers
841 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 ...
user avatar
1 vote
1 answer
222 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 ...
user avatar
  • 1,315
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 ...
user avatar
  • 1,315
3 votes
1 answer
274 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 ...
user avatar
2 votes
2 answers
446 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.
user avatar
2 votes
0 answers
338 views

How to effectively get an US AltGr-Intl layout on NetBSD?

After switching to the us layout with wsconsctl -w encoding=us I was looking for a way to modify the keymap to my liking. I did: wsconsctl -w map+="keycode 1 = Cmd_Debugger Caps_Lock" wsconsctl -w ...
user avatar
  • 10.4k
0 votes
2 answers
650 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)...
user avatar
1 vote
1 answer
1k views

Can I install FreeBSD, OpenBSD, NetBSD and DragonFly on one disc?

Is it possible to install all of FreeBSD, OpenBSD, NetBSD and DragonFly BSD on a single disc? What would be the proper procedure for success, and what are the caveats?
user avatar
  • 3,051
3 votes
1 answer
344 views

Installation date and virtual status of the machine( For Darwin, FreeBSD and NetBSD)

How do I determine installation date (when the system was first booted) for Linux,Darwin, FreeBSD and NetBSD? Also, Is there any way to get the virtual status of the these machines (whether the ...
user avatar
  • 133
2 votes
0 answers
451 views

Binding nonlocal address on NetBSD

This is not a programming question, but a question about NetBSD. Linux, FreeBSD and OpenBSD have mutually exclusive but similar interfaces to allow binding the local end of a connection to an address ...
user avatar
2 votes
2 answers
4k views

Permissions for installing coreutils with pkgsrc on NetBSD

I'm trying to install coreutils on NetBSD 6.1.5 using the pkgsrc system. This is on the default install of 6.1.5. The only change made has been to install zsh and set it as my default shell for users ...
user avatar
1 vote
1 answer
439 views

How to capture data transferred on a PTY?

I am running NetBSD 6.1.4, and I have an stunnel instance with the following configuration: [https service] accept = 443 CAfile = /u01/usbtether/CA/certs/rootCA.crt cert = /usr/pkg/etc/stunnel/...
user avatar
  • 111
0 votes
1 answer
302 views

A script to identify whether a file descriptor has gone bad

Problem : I have a server program running which connects to a remote program using TCP sockets. There many of them (say 20). My problem is one of the socket descriptor has gone bad and has recieved ...
user avatar
5 votes
1 answer
2k views

History in the Almquist shell in the NetBSD

In NetBSD /bin/sh is a modified version of the Almquist shell. With the command fc -l it is possible to view the last 16 commands typed in the prompt in the current session and not the older ones. ...
user avatar
  • 4,503
2 votes
1 answer
341 views

NetBSD: /etc/man.conf man search path does not work

I've added a new man page directory /usr/local/share/man/man1b which contains files like e.g. troff.1b In /etc/man.conf I added _subdir ...some names... man1b _default /usr/{share,X11R7,X11R6,pkg,...
user avatar
1 vote
0 answers
243 views

how to install gcc4.8 in netbsd 6.1.3?

I did a "make install" for lang/gcc48 in pkgsrc. It did built ok. However, when I do gcc --versions, the default gcc 4.5.3 is displayed. What steps do I need to do after the build?
user avatar
  • 19
1 vote
0 answers
1k views

How to configure FreeBSD to run headless without hitting high interrupt rates?

When running headless (without monitor, keyboard, mouse attached) FreeBSD versions 8.2, 8.3, 9.0 and NetBSD version 5.0 has known issues (FreeBSD PR 156596, NetBSD 46596) to generate extremely high ...
user avatar
  • 4,274
5 votes
2 answers
2k views

Howto install gcc on NetBSD 6.1.2?

I did a minimal install of NetBSD 6.1.2 and thought it would be easy to install a working gcc package. But even after pkg_add -r gcc48 gcc48-libs and adding gcc to the path, gcc is still not able to ...
user avatar