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
25 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… ...
TheDudeAbides's user avatar
0 votes
1 answer
149 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 ...
Kusalananda's user avatar
  • 323k
4 votes
1 answer
165 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 ...
codepoet's user avatar
  • 566
1 vote
1 answer
367 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 ...
abacox's user avatar
  • 143
2 votes
1 answer
88 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 &...
donny-nyc's user avatar
0 votes
1 answer
155 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 ...
donny-nyc's user avatar
1 vote
1 answer
151 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 ...
AProgrammer's user avatar
  • 2,278
0 votes
1 answer
194 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 ...
yssup's user avatar
  • 63
0 votes
1 answer
171 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 (...
askvictor's user avatar
  • 101
3 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?
user avatar
1 vote
1 answer
755 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 ...
jaymmer - Reinstate Monica's user avatar
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 ...
cnst's user avatar
  • 3,223
1 vote
0 answers
359 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 ...
Jake Rankin's user avatar
1 vote
3 answers
100 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 ...
Lagerbier's user avatar
2 votes
1 answer
141 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 ...
smci's user avatar
  • 173
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 ...
ctac_'s user avatar
  • 1,960
0 votes
1 answer
898 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 ...
Lassi's user avatar
  • 821
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.
Usuha's user avatar
  • 9
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 ...
David's user avatar
  • 199
4 votes
1 answer
4k 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 ...
David's user avatar
  • 199
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?
trzczy's user avatar
  • 630
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 ...
GDP2's 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/...
BugHunterUK's user avatar
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 ....
BugHunterUK's user avatar
0 votes
1 answer
133 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 ...
Drinkwater's user avatar
4 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 ...
cul8er's user avatar
  • 329
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, ...
Fox's user avatar
  • 8,073
2 votes
1 answer
769 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 ...
polemon's user avatar
  • 11.2k
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
9k 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: ...
jornane's user avatar
  • 301
0 votes
1 answer
182 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 ...
gavenkoa's user avatar
  • 521
0 votes
2 answers
730 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 ...
Melab's user avatar
  • 3,838
-2 votes
2 answers
563 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 ...
Melab's user avatar
  • 3,838
3 votes
4 answers
938 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 ...
user981178's user avatar
  • 1,017
2 votes
1 answer
279 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 ...
Megidd's user avatar
  • 1,529
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 ...
Megidd's user avatar
  • 1,529
3 votes
1 answer
291 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 ...
Greencat's user avatar
2 votes
2 answers
526 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.
firebitsbr's user avatar
2 votes
0 answers
370 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 ...
polemon's user avatar
  • 11.2k
0 votes
2 answers
675 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)...
Arman Hayots's 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?
cnst's user avatar
  • 3,223
3 votes
1 answer
452 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 ...
Brenda's user avatar
  • 133
2 votes
0 answers
496 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 ...
Ulric Eriksson's 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 ...
Sonny Ordell's user avatar
1 vote
1 answer
510 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/...
Jonny's user avatar
  • 111
0 votes
1 answer
329 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 ...
ultimate cause's 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. ...
BowPark's user avatar
  • 4,821
2 votes
1 answer
358 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,...
user3224237's user avatar
1 vote
0 answers
267 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?
alberto's 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 ...
Pro Backup's user avatar
  • 4,726