Questions tagged [freebsd]
FreeBSD is a free Unix-based operating system descended from AT&T UNIX via BSD UNIX.
1,732
questions
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 -...
0
votes
1
answer
2k
views
QEMU/KVM: USB3 passthrough to FreeBSD
I'm making my first steps in FreeBSD, so please excuse any possible "linuxism".
My goal is to run FreeBSD 10.2 inside virtual machine with QEMU/KVM and allow USB3 network card passthrough from the ...
3
votes
1
answer
10k
views
Difference between commands >hostname and >echo $HOSTNAME and the entry hostname in /etc/rc.conf : FreeBSD
In trying to change the hostname in the bash prompt of a running system (without rebooting):
I tried changing the hostname of my system using the command hostname NEW_HOST_NAME. For good measure, I ...
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 ...
-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 ...
12
votes
3
answers
8k
views
How to list installed files in FreeBSD pkg?
Is there a way to list the installed files with pkg for a certain package?
3
votes
1
answer
4k
views
How to change the default (binary) python version in a FreeBSD jail?
In a jail, I have installed python3.6 along python3.4. Both were installed using pkg install, no ports. I want to keep the 3.4 version for some time, but set the 3.6 as default.
Answers found in ...
-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
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
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 "...
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 ...
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
...
6
votes
2
answers
2k
views
How full is my ZFS pool? (not sure how to read command output)
I'm using ZFS on FreeBSD to store several TB of data.
If stored as non-dedup, about 25% of the raw data would be unique enough that compression helps but dedup is wasted.
The other 75% contains a ...
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 ...
2
votes
1
answer
833
views
working netgraph configuration for ipfw and ng_bpf on FreeBSD
I'm trying to get a raw BPF bytecode packet filter working on FreeBSD using a combination of ipfw with ng_ipfw, ng_bpf and ng_tag.
However none of the documentation or presentations I can find ...