Skip to main content

Questions tagged [freebsd]

FreeBSD is a free Unix-based operating system descended from AT&T UNIX via BSD UNIX.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
45 views

FreeBSD Reverse Shell Command Issue: Ambiguous Output Redirect Error

I’ve been experimenting with penetration testing recently, and I need to use reverse shell techniques for testing. I’ve previously used reverse shell on Ubuntu with the following command: /bin/bash -i ...
HsingLI's user avatar
  • 11
1 vote
2 answers
48 views

tar not excluding symlinked directories

Tar version: root@node: /tmp > tar --version bsdtar 3.4.2 - libarchive 3.4.2 zlib/1.2.11 liblzma/5.2.5 bz2lib/1.0.8 I have a directory structure which looks like this: root@node: /tmp > ls -...
Rahul Bharadwaj's user avatar
-1 votes
1 answer
60 views

How can I install pip on FreeBSD?

I was trying to install python and pip on my FreeBSD 15.0 server. It seems like I've successfully installed python. Now I have both Python3.9 and Python 3.11. However, I can't find and package called &...
Gordon Zhang's user avatar
0 votes
0 answers
45 views

Host Tor Site with Apache on FreeBSD

How can I host a Tor site with Apache on FreeBSD 13.3-RELEASE-p1? Apache is serving multiple sites from this server, so each one has its own entry in /usr/local/etc/apache24/extra/httpd-vhosts.conf ...
Valerica's user avatar
1 vote
0 answers
30 views

Issue with ng_ipfw, ng_bpf, ng_tag testing commands

Update my issue with more details provided below : Summary of the ng_tag Command Issue Querying BPF Filter Status When using Berkeley Packet Filter (BPF) filters, you can use the getstats command to ...
HsingLI's user avatar
  • 11
0 votes
2 answers
37 views

gpart will always say "Invalid argument" when add a new ufs partition

I am using the FreeBSD 14.0. I follow the instructions at https://www.transip.eu/knowledgebase/entry/138-how-do-create-partition-freebsd/ to create a UFS partition, as below: But always get "...
alancc's user avatar
  • 213
1 vote
1 answer
54 views

LC_TIME portability (and other locale settings)

It seems that Linux and FreeBSD (at least) have different notions of how presentation of time is implemented in different locales (LC_TIME), notably but not entirely in how the hour of day is ...
Juan's user avatar
  • 884
0 votes
1 answer
68 views

Automate deploying a bunch of thin jails

I'm setting up the *ARR suite apps in jails (using the Bastille manager). I used to do this in debian and docker but this time I moved to freeBSD to try out it's native zfs support. In setting up I ...
Anton A's user avatar
  • 27
0 votes
1 answer
54 views

seatd Issues with Wayland on FreeBSD

When trying to launch Hikari (A wayland compositor) on FreeBSD I get one of two errors. Either seatd tells me that running as root is forbidden (when I'm not root) and when I run seatd-launch hikari I ...
Smaug Northwyrm's user avatar
0 votes
0 answers
22 views

How to configure DNAT in iptables between host os (FreeBSD) and guest os (Ubuntu 23.10) so that I can use Cloudflare on both the OS

I've just installed the CloudFlare client + GUI on Ubuntu,that I have virtualized with bhyve (the FreeBSD hypervisor). Cloudflare does not work on FreeBSD. The instructions that I have followed are ...
Marietto's user avatar
  • 549
0 votes
0 answers
26 views

Difference between +MANIFEST and +COMPACT_MANIFEST in FreeBSD .pkg

I have recently created a FreeBSD .pkg file using a custom script. A FreeBSD .pkg file is essentially a tar archive (optionally compressed) whose first two entries are manifest files, named +MANIFEST ...
user149408's user avatar
  • 1,333
0 votes
1 answer
44 views

What Causes PHP Forks to Consolidate on a Single CPU Core in FreeBSD 13.3?

I'm using a PHP 8.x script to process a series of images, performing various conversions and resizing tasks. To make the most of the server's multiple cores, I employ the pcntl_fork() function to ...
Adam Ellis's user avatar
1 vote
1 answer
54 views

Forgejo pid file (/var/run/forgejo.pid) : not readable in Truenas Core (FreeBSD Jail)

I have been trying to get Forgejo running in a Truenas Core (FreeBSD jail) for over a week. When I manually start Forgejo as the git user it runs as expected, however attempting to get it to run with ...
IronFractal's user avatar
1 vote
3 answers
126 views

Where to install custom software packages on FreeBSD?

In Linux, according to the Filesystem Hierarchy Standard, /opt is the designated location for add-on application software packages. Thus, when developing my own software package, which is not a ...
user149408's user avatar
  • 1,333
0 votes
1 answer
39 views

Recommended and alternate dependencies in FreeBSD .pkg

A FreeBSD package typically specifies dependencies in its manifest as follows: deps: # python39, version 3.9 or higher python39: {origin: lang/python39, version: 3.9} # bind-tools, any version ...
user149408's user avatar
  • 1,333
0 votes
0 answers
25 views

blacklistd on freebsd not consistently blocking on ssh timeout

Roughly every minute, I'm getting the following in my log: sshd[####]: fatal: Timeout before authentication for 118.26.194.190 There are many hundreds, this has been happening for hours. # grep 118....
Mike Lempriere's user avatar
1 vote
1 answer
59 views

Why is keyboard and mouse unable to be hotplugged in FreeBSD jail?

I have an entire system with xorg-x11 running in a jail. My only issue is that I am unable to add or remove a keyboard or mouse while X is running. If I restart X, the newly connected keyboard or ...
John Doe's user avatar
  • 123
0 votes
1 answer
56 views

LibreOffice on FreeBSD (GhostBSD) is missing GnuPG encryption entry fields

I set up a FreeBSD 14 (GhostBSD) box with a complete set of my GnuPG keys. Encryption/Decryption on the cli works as expected. I am used to encrypt files within LibreOffice on Linux (on the same ...
faustomaijstral's user avatar
3 votes
1 answer
161 views

cp, trailing slash, and copying to the same vs. to another directory

To copy a directory to another directory, the first directory should be written without the trailing slash: # example 1 # this command will copy dir1 to dir2 # (dir2 is preexisting) cp -Rip dir1 dir2/ ...
jsx97's user avatar
  • 71
3 votes
1 answer
103 views

'ls name' and 'ls | grep name' with accent different

I am on Xigmanas (NAS freebsd). I'll explain the situation as simply as possible: :; set | egrep 'LC_A|LANG' GDM_LANG=fr_FR.UTF-8 LANG=fr_FR.UTF-8 LC_ALL=fr_FR.UTF-8 SLIM_LANG=fr_FR.UTF-8 :; ls -i ...
Dhénin Jean-Jacques's user avatar
0 votes
2 answers
48 views

Persistent naming of root device when booting FreeBSD

Because devices can be plugged and unplugged frequently, referring to the block device that FreeBSD should use as the root device could easily become unreliable. Is there a way to specify the root ...
Melab's user avatar
  • 4,148
0 votes
1 answer
167 views

Enabling php-fpm service on FreeBSD

I am in the middle of setting up a FreeBSD system1 with nginx (v1.24.0) and php (v5.6 2), that uses php-fpm to communicate between nginx and php. Because of the age of php v5.6, I had to build it from ...
Peter M's user avatar
  • 227
0 votes
1 answer
21 views

drm-kmod-20220907_2 not supported for this configuration / NVIDIA : Failed to initialize the NVIDIA kernel module

I need to conduct some tests on top of the FreeBSD 13.1. So,I've installed it on one of my disks. I've installed xfce4 and KDE,Xorg and from the ports (after having upgraded them). I've installed the ...
Marietto's user avatar
  • 549
0 votes
1 answer
189 views

Tryng to enable the passhtru of one Nvidia gpu to a Bhyve Linux vm on FreeBSD 14.0

For some years it worked,but now,maybe due to the recent changes added on the FreeBSD 13 and 14 code,it does not work anymore : I'm talking about the ability to passthru one Nvidia GpU from the host ...
Marietto's user avatar
  • 549
0 votes
1 answer
66 views

Mounting a disk image

I created a backup from my laptop using the following command: # dd if=/dev/sda | gzip -1 - | ssh backup-server "dd of=kubuntu-disk.gz" On the backup server (FreeBSD 14.0-RELEASE-p4) I ...
Tommiie's user avatar
  • 222
0 votes
0 answers
120 views

Wayfire does not work on FreeBSD 14.0?

Ehy bro', I'm trying to install wayfire watching the tutorial below,at minute : 21:07 https://www.youtube.com/watch?v=dVNC1z016M8&t=1267s because I would like to install wayland / wayfire on my ...
Marietto's user avatar
  • 549
2 votes
1 answer
218 views

pfSense (FreeBSD 14.0) - Prometheus Node Exporter gives log errors - fix or suppress in log

On pfSense, I've enabled Prometheus Node Exporter, but it gives the following log errors each 15 seconds: Feb 15 09:53:57 vault node_exporter[25559]: ts=2024-02-15T08:53:57.164Z caller=collector.go:...
Artur Meinild's user avatar
0 votes
0 answers
108 views

How to use the L4 Microkernel with a FreeBSD userland

I'm trying to understand how to use the L4 Microkernel with a FreeBSD userland. I've asked the same to a L4 developer,but he told me that he does not know FreeBSD,so I'm here to ask the same question. ...
Marietto's user avatar
  • 549
-1 votes
1 answer
61 views

Is FreeBSD's UNIX Filesystem (UFS) best suited having a microSD storage? [closed]

Is FreeBSD's UNIX Filesystem (UFS) best suited having a microSD storage? I have a Raspberry Pi SOC and microSD is where my FreeBSD is installed and at the same time, storage of my database data and ...
ordinary_guy's user avatar
1 vote
1 answer
77 views

How to make the script, configured via sendmail aliases file, run as the user to whom that email is addressed?

I have a FreeBSD box running sendmail 8.16. I have several system users (test robots): robot1, robot2 and robot3 and I would like them to be controlled by emails. First of all they should be able to ...
Igor G's user avatar
  • 133
0 votes
0 answers
55 views

configure: error: C compiler cannot create executables ERROR on FreeBSD 14.0-RELEASE

I'm not able to install sudo on my FreeBSD 14.0-RELEASE-p3 amd64 marietto:/usr/ports/security/sudo # make ===> License sudo accepted by the user ===> sudo-1.9.15p4 depends on file: /usr/...
mister_smith's user avatar
1 vote
0 answers
26 views

Changing Firefox icon in MWM/CDE

I am trying to change the icon for Firefox using X resources and CDE. I am not sure if it is possible anymore. I have tried this: Dtwm*firefox*iconImage: Dtterm and this: Dtwm*mozilla*iconImage: ...
M.E.'s user avatar
  • 609
1 vote
0 answers
211 views

FreeBSD console resolution

I'm trying to get higher resolution on FreeBSD 14 while booting. I'm trying to match the same resolution I run my desktop in, 1280x720. I'm adding this to my /boot/loader.conf: efi_max_resolution=&...
gdonald's user avatar
  • 111
0 votes
0 answers
75 views

Can't start TOR as a daemon on FreeBSD

I'm trying to understand why TOR does not start as a service on my FreeBSD 13.2. This is the error message that I see during the boot : [notice] Tor 0.4.8.9 running on FreeBSD with Libevent 2.1.12- ...
Marietto's user avatar
  • 549
0 votes
0 answers
36 views

Should we boot the FreeBSD kernel in ELF format or in zImage format ? How?

we have just virtualized Debian 12 on our arm (32 bit) Chromebook. As host / dom0 we have chosen Devuan 5,and for guest / domU,Debian 12. It works great. But our goal is different. We want to ...
Marietto's user avatar
  • 549
0 votes
1 answer
56 views

When is it safe to do a make deinstall?

So I followed this post on the FreeBSD forums It was asking me a lot of prompts and I was like "I'm just going to see if it works". After it failed to compile I was like "let me remove ...
Big Joe's user avatar
  • 101
0 votes
1 answer
46 views

Restore USB Stick after using it to install TrueNAS Core

Im facing a problem and, im running out of option. I used a usb stick to install TrueNAS on old computer to make a home server, I downloaded the iso from TrueNAS website and used rufus to burn it on ...
Omega's user avatar
  • 1
0 votes
1 answer
129 views

Are FreeBSD binaries compatible with macOS?

Since FreeBSD and macOS (OS X) are very similar to each other, can programs written for FreeBSD run on macOS? And if a program can't, then would it be possible to make it work?
AcinonX's user avatar
  • 111
1 vote
4 answers
158 views

How to sort and filter images by modification time and view them in nsxiv on FreeBSD

I am using nsxiv to view JPEG and PNG images on FreeBSD. However, I am unable to find a way to sort and filter the images by modification time to view them in nsxiv on FreeBSD. On Linux with GNU ...
Flux's user avatar
  • 2,978
0 votes
3 answers
192 views

using dd for clean MBR code doesn't work on pfSense

Trying to clean the mbr code part on a disk using the pfsense 2.7.0 live disk (pfsense is based on freebsd) under shell command. being /dev/da0 my drive following the suggested code for clean just the ...
user3450548's user avatar
  • 2,974
0 votes
3 answers
493 views

Figuring out the time until midnight, and output the result in a text file

How could I make lets say remaining time until tomorrow (midnight, also hours and minutes) and save that to a text file, like for example, "x hours and y minutes remaining until midnight" ...
Argo's user avatar
  • 3
1 vote
1 answer
251 views

Freebsd12: Process killed instead of swapping out

I run FreeBSD 12 through Vagrant on a VM with 350 MB RAM and 2 GB swap. If I run: perl -e '$a="x"x200_000_000;sleep 1000' & sleep 10 perl -e '$a="x"x200_000_000;sleep 1000' &...
Ole Tange's user avatar
  • 35.8k
1 vote
1 answer
247 views

How to mount a Veracrypt volume on FreeBSD?

When I mount a volume (stored on external USB drive) on Linux I get the following error > sudo veracrypt --text --mount /path-to-volume /mnt --pim 0 --keyfiles "" --slot 1 --protect-...
xliiv's user avatar
  • 899
0 votes
1 answer
59 views

How to empty name cache on FreeBSD?

The name cache on FreeBSD is responsible for caching file names and their vnodes. It also provides a special database for hashing the contents of large directories. I would like to know how to empty ...
Mateusz Piotrowski's user avatar
0 votes
0 answers
95 views

How is it possible that NAT doesn't back translate packets?

I have the following topology and from myhost I can ping router2 but can't ping router1. With tcpdump I can observe how my pings go and I see that both router1 and router2 reply. But only replies ...
Dims's user avatar
  • 3,285
0 votes
1 answer
45 views

sdl gui based app on remote connection via x11vnc

am trying to open sdl gui based program in freebsd system from remote connection via x11vnc. there is no display connected to the pc therefor i used a dummy driver. keep getting this error libGL ...
arck port's user avatar
0 votes
1 answer
170 views

GPU usage monitor for FreeBSD?

I am using FreeBSD on a personal desktop computer, and a nvidia GTX 1650 GPU. In my gnome system monitor (similar to task manager of MS Windows), I am able to monitor all the resources, including all ...
rohit4444's user avatar
1 vote
1 answer
157 views

Failing distribution checksum during FreeBSD automated install (bsdinstall)

I'm using the following installerconfig to automate the installation of FreeBSD (13.2-RELEASE): export PARTITIONS=DEFAULT export DISTRIBUTIONS="kernel.txz base.txz" export HOSTNAME=freebsd ...
larsks's user avatar
  • 35.9k
0 votes
1 answer
167 views

How to access files shared from Windows on FreeBSD?

I have a desktop with windows 10 on it, and I have another desktop with FreeBSD on it. No virtualization. I have shared some folders on Win desktop, which I can access on LAN with other Win10 laptops. ...
rohit4444's user avatar
0 votes
0 answers
43 views

What hardware problem does a video signal shift on hard lock imply?

I'm running a pfsense router on a PC architecture desktop system (AMD FX-8120 CPU with 16GB RAM). It's running version pfsense version 2.7.0, which is based on FreeBSD v14. Every day or two the router ...
deltaray's user avatar
  • 1,387

1
2 3 4 5
35