6
votes
Accepted
How to Use /etc/hosts on FreeBSD 13.1
Possibly your assumption that DNS includes entries from /etc/hosts.
All commands/tools designed to test DNS such as dig , nslookup , host and such only query DNS servers and by default use the DNS ...
4
votes
Accepted
How to correctly escape single quotes in AWK
You cannot escape single quotes as the command itself is surrounded by single quotes, but you could use an octal escape code \047 to represent ' in POSIX awk. Additionally, you could use a hexadecimal ...
3
votes
Accepted
Running Shell Script without a Password Prompt
can you try this :
echo "<your_password>" | sudo -S -v
after that sudo should will run without asking for a password
Im suggest you to run the command directly before implement on ...
3
votes
Accepted
While using pf on FreeBSD, do I need to explicitly specify both the inet and inet6 parameters?
If we take it for granted that the first rule looks like in the question, you would indeed need a separate rule for inet6 to also do the same for IPv6.
However, if the rules are otherwise identical, ...
2
votes
Accepted
Is XNU based on FreeBSD or OpenBSD?
From https://github.com/apple-oss-distributions/xnu
What is XNU?
XNU kernel is part of the Darwin operating system for use in macOS and iOS operating systems. XNU is an acronym for X is Not Unix. XNU ...
1
vote
Frequent server downtime and suspicious server hits to access random Pdf files
It looks to me like you're on the right track. If you take a closer look at the output of netstat -Lan:
root@myIP:~ # netstat -Lan
Current listen queue sizes (qlen/incqlen/maxqlen)
Proto Listen ...
1
vote
sfp and sfp28 compatibility
According to https://lenovopress.lenovo.com/lp1198-thinksystem-broadcom-57454-25gbe-ethernet-adapters#supported-transceivers-and-cables that NIC is only compatible with a single SFP for 1000BASE-T, ...
1
vote
How to pass environment variables with FreeBSD service command?
It is supposed to be in format NAME=VALUE.
mydaemon_env="MYD_ROOT=value"
1
vote
Accepted
PF firewall how to increase `max states per rule`
Have you tried this?
PF.CONF(5) File Formats Manual PF.CONF(5)
…
STATEFUL TRACKING OPTIONS
A number of options related to stateful tracking can be ...
1
vote
iperf3 errors and retransmissions on ESXi
This error message is produced due to the TCP statistics not being in the expected structure on "ESXi's Linux".
The feature check in iperf is simply "is it Linux" (https://github....
1
vote
How to efficiently backup shares (ZFS). Folder structure might change but media usually do not
Jeez. It's like using a microwave oven as a fuel for campfire in the kitchen.
read the docs at least, you're completely ruining the whole zfs concepts. if you'll chose to skip that point - then ...
1
vote
FreeBSD 13.1 under Hyper-V on Windows 10 Pro
It seem a know problem, for the device not found, that the FreeBSD team will not work on it.
Bug 221074 - Hyper V Gen 2 install has no mouse
Some comment from the dev;
As I said, no plan for it yet. ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
freebsd × 1535zfs × 173
linux × 106
truenas × 99
networking × 75
jail × 60
pf × 58
pfsense × 52
apache-2.2 × 50
ssh × 47
firewall × 47
mysql × 45
nginx × 43
bsd × 43
unix × 38
php × 35
routing × 30
raid × 28
filesystems × 28
nfs × 27
ipfw × 27
postfix × 26
apache-2.4 × 26
security × 24
hard-drive × 24