2022 Developer Survey is open! Take survey.

Questions tagged [freebsd]

FreeBSD is a Unix-like operating system which has grown out of the original BSD (Berkeley Software Distribution) of the early days of Unix.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

FreeBSD process high CPU usage. What is a ways to trace, debug or, at least, see more information?

Not everyday task, but, just curious. Having watched a video, I've spotted my laptop going crazy with a CPU usage. The problem was, as it turned out, that one of a process got stuck in 100% CPU loop. ...
user avatar
2 votes
1 answer
77 views

My network setup do not work. FreeBSD

This question was asked by me on serverfault.com. It was closed as off-topic, with a suggestion to ask here, on superuser. The OS is FreeBSD 13.0. The setup that I need to establish is simple. In ...
user avatar
0 votes
0 answers
16 views

How do you clear SSH session including scroll buffer?

As per the title, I'm trying to figure out how to clear an SSH session including the scroll buffer. The OS being run on the remote is FreeBSD. In Ubuntu I can run the reset command which will clear ...
user avatar
0 votes
0 answers
16 views

What would cause a device in /dev to change inode?

I have set up AIDE 0.17.4 on my FreeBSD 12 server (actually in a jail on TrueNAS Core) and enabled email notifications, but I am getting emails with found differences in the /dev/ path as shown below: ...
user avatar
  • 900
0 votes
0 answers
94 views

OPNsense system to replace Router

I'm planning on building a system to replace my current router and want to use OPNsense. This will work right? Ask because it says firewall on website but also routing, so must be a router. Hardware: ...
user avatar
  • 1
0 votes
1 answer
144 views

Uncaught Error: Class 'PDO' not found

I had a perfectly working installation, but needed to upgrade PHP 7.3 to 7.4 due to EOL. Since then, I have an error : Fatal error: Uncaught Error: Class 'PDO' not found in /usr/local/www/nextcloud/...
user avatar
0 votes
0 answers
318 views

No Internet through OPNsense (even though WAN is borderline Configured)

I am running opnsense and getting into the web interface. So far so good. I can't get through to setup WAN properly. I have a modem in bridge mode and a router behind that acts as dhcp. I setup WAN on ...
user avatar
0 votes
1 answer
47 views

Unable to upgrade RAM on an old 32-bit IBM ThinkPad-T60 running FreeBSD-13.0-RELEASE

I found an old IBM ThinkPad-T60 and I've been restoring it to get it ready to use. The machine came with 1 x 1GB of 333Mhz PC2 SODIMM RAM. Surprisingly, it has a 32-bit processor (my ThinkPad-T60p has ...
user avatar
0 votes
1 answer
20 views

Sending FreeBSD script output by email loses format (left aligned and right aligned in one line)

every day I am running a script on my router to check the traffic usage of a specific server. The script is working fine and with this output part of the script, I get following result: #Give output ...
user avatar
0 votes
1 answer
493 views

Hyper-V: NAT not functioning / guest cannot access internet

I'm running Windows 11 Pro, and have set up a FreeBSD VM under Hyper-V. Initially, the VM was using the default virtual switch, and internet access from the VM worked correctly. But in an attempt to ...
user avatar
0 votes
1 answer
50 views

Copying a large file from an USB 3 disk (NTFS or EXT4) to another one (UFS/FreeBSD) is a very slow process

I'm copying a large file from a NTFS formatted disk to another one,UFS/FreeBSD disk,both are removable disks attached to the USB 3 port. The file is 200 GB large and it is transferred very slowly. Why ...
user avatar
0 votes
0 answers
661 views

How Can I Rename Google Drive for Desktop Volumes?

I am using version 51 of Google Drive for Desktop. It has four accounts added to it. Each account is mounted to MacOS (Mojave) as a volume. Each volume has an irritatingly long name like: accountname@...
user avatar
  • 121
1 vote
1 answer
176 views

how to install old versions of FreeBSD? (FreeBSD 12.2p4)

I'm trying to reproduce an issue in some code that occurs on OpenSSL 1.1.1K on FreeBSD 12.2p4. I downloaded and installed FreeBSD-12.2-RELEASE-amd64-dvd1.iso, which installed FreeBSD 12.2-RELEASE-p9 ...
user avatar
  • 5,910
0 votes
0 answers
319 views

PAM authentication error when trying to log in via SSH to FreeBSD on VirtualBox

I have FreeBSD 12.2 installed on VirtualBox 6.1 with the "Bridged Adapater" mode enabled to test Apache via browser by following the IP address I receive by the ifconfig em0 inet command (...
user avatar
  • 177
0 votes
1 answer
150 views

How to enable copy-pasting in VirtualBox command line with FreeBSD

I have FreeBSD 12.2 installed on VirtualBox 6.1. When I try to copy a text from Notepad++ editor and paste it to the VirtualBox command line by right-clicking, I receive the window about mouse ...
user avatar
  • 177
0 votes
0 answers
79 views

dmesg "Operation not permitted" on FreeBSD, TrueNAS system

So I was trying to follow an instruction online to build a print server, one of the instruction said to use the command "dmesg" to check usb devices. However, I tried logged in with ...
user avatar
0 votes
1 answer
149 views

unable to ping google.com from hyper-v installed freebsd instance

I'm trying to run FreeBSD on Hyper-V and it works BUT when I do ping google.com I get a ping: Unknown host error. Here's what happens when I type in ifconfig: lo0: flags=8049<UP, LOOPBACK,RUNNING,...
user avatar
  • 5,910
0 votes
1 answer
203 views

Chroot, Containers or Virtualization on OS X for safe development

I would like to provide a bit of context before asking my questions: I've been working on Windows/Linux for years, and recently I was having a good time with WSL2. My Windows machine isn't powerful, ...
user avatar
2 votes
0 answers
38 views

Is it normal to have a server mother board with 2 ethernet (RJ45) ports using different drivers?

I have a ASRock Rack E3C236D2I - Mini-ITX motherboard that comes with two 2 x RJ45 Ethernet ports. I put this motherboard in a little server I'm using to run TrueNas Core (FreeBSD) on. I noticed that ...
user avatar
1 vote
1 answer
218 views

Add GPT to disk that has bare EXT4 file system without data loss

I have a few big spinning drives that I formatted as EXT4 without adding a GPT first. They work just fine on Linux obviously, but I need to move this drives to a FreeBSD box, and the mount plugin for ...
user avatar
0 votes
1 answer
122 views

How to tell firefox to render simple html white on black?

I am no browser expert nor web-dev. I read simple websites and they blind me if use anything more modern than lynx or w3i. However, sometimes these new modern websites require the operating systems ...
user avatar
0 votes
2 answers
209 views

Is it possible to enable HTTP2 with apache on FreeBSD

I was looking into making my Apache 2.4.46 web server prefer HTTP2 but was unable to find any info on how to enable it with FreeBSD. At this point I'm curious if it's even possible at this time. Note: ...
user avatar
  • 3
0 votes
1 answer
683 views

Port forwarding and NAT using pf on freebsd

I have a network router that connects three networks with the outside world. One of the internal networks is public facing the other two are not and connected via NAT. I am part of a larger network ...
user avatar
  • 183
0 votes
2 answers
160 views

zfs mount points are disappearing on reboot. how to fix it?

my zfs mountpoints are disappearing on reboot but able to get it back after import. please suggest me the solution? root@mfsbsd:~ # zpool import edjstorage root@mfsbsd:~ # zfs list NAME ...
user avatar
1 vote
1 answer
74 views

How to set ACL permissions freebsd

unix# setfacl -d -m group:smid_r:r /dat/samba/data/user/smit setfacl: /dat/samba/data/user/smit: acl_calc_mask() failed: Invalid argument setfacl: /dat/samba/data/user/smit: failed to set ACL mask ...
user avatar
  • 149
1 vote
0 answers
624 views

How to mount USB as user on FreeBSD?

How does one configure FreeBSD (with no GUI) to allow a non-root user to mount a USB drive? I've followed the steps here, but I still get: $ mount -t msdosfs -o shortnames /dev/da0s1 ~/media/d300 ...
user avatar
  • 238
1 vote
1 answer
325 views

Monitoring (and automatically restarting) services on FreeBSD

I have a home server running TrueNAS Core. Inside a Jail, I have Plex mediaserver running so I can easily view my photos on my TV. Due to some bug in Plex, it sometimes crashes when I add new pictures....
user avatar
  • 1,884
0 votes
1 answer
85 views

FreeBSD: one-line command for an xterm window to sudo open an application, then close xterm whilst the app continues to run

I'd like GKrellMLaunch to: essentially, use sudo to open a GUI application – present an xterm window for entry of the password, then close the xterm window whilst the application continues to run. ...
user avatar
0 votes
0 answers
40 views

Do adaptors exist to connect SATA hard drives to M.2 slot

Do adaptors to connect a classical spinning hard drive, such as Seagate IronWolf NAS drives, to an M.2 slot exist? I am looking to the motherboard ASRock A520M-ITX for an upgrade of my NAS/VM server. ...
user avatar
  • 101
0 votes
1 answer
131 views

ffmpeg zscale error on Freebsd

Installed via: pkg install ffmpeg When I run an ffmpeg command with zscale, I get the error: No such filter: 'zscale' Can someone point me to directions for compiling with libzimg to get around this ...
user avatar
0 votes
1 answer
116 views

FreeBSD ZFS: missing top-level device in zpool

As a result of 2 stupid sysadmin tricks on a FreeBSD 10.4 machine, I have a non-importable zpool in this state: # zpool import pool: v id: 5630710617833891462 state: UNAVAIL status: One or ...
user avatar
  • 182
0 votes
1 answer
156 views

Aligning partitions to 4k boundaries results in 512b free space at beginning of drive

I'm partitioning a disk for FreeBSD installation. I create my partitions/slices: gpart create -s mbr ada0 gpart add -t freebsd -s 1G ada0 gpart add -t freebsd ada0 gpart create -s bsd ada0s1 Now I ...
user avatar
0 votes
2 answers
575 views

How to 4k align hard drive with pre-existing partitions - Linux, Windows partitions

I have a 1TB WD hard drive with Windows 10 and Devuan Linux Beowulf. I had partitioned with gparted IIRC prior to installation of both OS's. How to veerify if it is 4k aligned? If it's not so, how to ...
user avatar
1 vote
1 answer
45 views

Basic configuration of OpenSC

I received a Cherry ST-2000 and a Reiner SCT cyberJack RFID smartcard reader and some smartcards. I wanted to learn a bit about how these things work but I seem to fail a basic step. I tried a few ...
user avatar
1 vote
0 answers
34 views

Why can't Libreoffice on FreeBSD save to Google Drive?

There are instructions out there on configuring "Remote Files" in LibreOffice. However, in my case, the Google Drive is not among the available options. Indeed, the instructions say, ...
user avatar
1 vote
0 answers
55 views

How to permanently map samba drive on windows 10 version 2004

The shared drive is based on freebsd and samba. I need to map it permanently on Windows 10 pro version 2004. My problem is: when I shut down my pc for long time then when I start it again the drive is ...
user avatar
  • 149
1 vote
0 answers
59 views

Setting up nginx as reverse proxy with uwsgi

I am setting up an nginx server to run as a proxy between uwsgi server running my python flask application and outside world. I have set up my uwsgi application to listen on /tmp/myapp.sock and it ...
user avatar
1 vote
0 answers
111 views

Unable to start/boot into custom kernel in FreeBSD

I am trying to create a custom kernel in FreeBSD. After doing the buildkernel and installkernel when I reboot the system, it gets a panic and enters debugging(ddb4) mode instead of loading the new ...
user avatar
0 votes
0 answers
149 views

FreeBSD rsync server: please follow symlinks in target directory

Summary rsync server on FreeBSD won't follow local symlinks to dirs. It will either error out (can't write file) or clobber the symlink and create an actual directory, which is not the desired ...
user avatar
0 votes
1 answer
83 views

Why can't show GUI screen with FuryBSD in VirtualBox?

I downloaded FuryBSD 12.1 XFCE from official site. Launched it in VirtualBox. From the official guide, it should show a GUI desktop. But in my machine it didn't. It showed terminal login screen. I ...
user avatar
0 votes
0 answers
81 views

Unable to boot FreeBSD 12.1 using GRUB

This is not a duplicate question to https://unix.stackexchange.com/questions/109272/add-freebsd-to-grub2-boot-menu or Cant boot FreeBSD 10.1 using grub2. Firstly I tried the mechanism suggested in ...
user avatar
-1 votes
1 answer
42 views

What challenges will I face if I install Pfsense on my home router?

In my cybersecurity course, we installed a lab in VirtualBox with Pfsense (Bridged Adapter) and several other VMs (Connected to Pfsense's internal network adapters). It was a success. My question is, ...
user avatar
0 votes
2 answers
24 views

Replacing a number ended in dot at the beginning of the line with '.IP number\n'

I want to replace numbers followed by period at the beginning of the line: 1. The quick brown fox jumps over the lazy dog 12. The slow grey cat jumps over the lazy dog 234. The strong yellow lion ...
user avatar
  • 111
0 votes
1 answer
613 views

How to setup key authentication for unix to windows ssh?

I would like to setup a passwordless SSH connection from FreeBSD (not exactly unix system, but in this context it is unix enough) to Windows 10. To do this I added OpenSSH optional feature to Windows ...
user avatar
1 vote
1 answer
243 views

iPhone USB tether to VM OS, interface not found

I am running FreeBSD 11.2-RELEASE-p6 as a VM in a Debian 8 (Jessie) hypervisor. I have passed the USB through the hypervisor, so FreeBSD sees the iPhone USB connection. However, the FreeBSD VM ...
user avatar
2 votes
1 answer
463 views

Sending emails using sendmail in freebsd

I am trying to send a test email from command line (for debugging purpose). I cannot make the sendmail to send the email. The Ctrl+d does not work on my ssh console and I could not find a solution by ...
user avatar
  • 1,367
0 votes
2 answers
404 views

In disk formatting and partitioning ( as per gpart man page) what is the difference between a name, a label, a type, and an index?

Explain the disk partition descriptors The man page about gpart add is: (https://www.freebsd.org/cgi/man.cgi?gpart(8)) index : "The index in the partition table at which the new partition is to be ...
user avatar
  • 165
2 votes
1 answer
144 views

Adding a path to login.conf in Bash / FreeBSD

Due to the fact that freebsd pkg repos (binary) do not come with support for lame mp3, and I don't want to complicate things by having a dual dependency tree, I'm attempting a workaround by installing ...
user avatar
  • 165
1 vote
0 answers
167 views

find filenames with non latin characters in their names

I want to find files with foreign filenames in them, I'm using a regex to find such files with another tool but I don't know how to use them in find. The system is FreeBSD so the find command is a ...
user avatar
  • 101
1 vote
1 answer
95 views

confused `printenv` with `declare`

I am using macOS. I am confused printenv with declare. I run these 2 commands right after a restart without any other proceeding settings. printenv outputs PWD=/Users/soplus This is reasonable ...
user avatar

1
2 3 4 5
13