Questions tagged [freebsd]
FreeBSD is a free Unix-based operating system descended from AT&T UNIX via BSD UNIX.
1,732
questions
-1
votes
1
answer
51
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 ...
1
vote
2
answers
50
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 -...
-1
votes
1
answer
64
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 &...
0
votes
0
answers
46
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
...
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 ...
0
votes
2
answers
40
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 "...
1
vote
1
answer
56
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 ...
0
votes
1
answer
71
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 ...
0
votes
1
answer
56
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 ...
0
votes
0
answers
23
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 ...
0
votes
0
answers
28
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 ...
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 ...
1
vote
1
answer
55
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 ...
1
vote
3
answers
132
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 ...
0
votes
1
answer
41
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
...
0
votes
0
answers
26
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....
1
vote
1
answer
61
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 ...
0
votes
1
answer
61
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 ...
3
votes
1
answer
166
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/
...
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 ...
0
votes
2
answers
49
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 ...
0
votes
1
answer
172
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 ...
0
votes
1
answer
22
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 ...
0
votes
1
answer
197
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 ...
0
votes
1
answer
72
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 ...
0
votes
0
answers
126
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 ...
2
votes
1
answer
225
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:...
0
votes
0
answers
116
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. ...
-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 ...
1
vote
1
answer
78
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 ...