As of May 31, 2023, we have updated our Code of Conduct.

Hot answers tagged

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 ...
diya's user avatar
  • 1,773
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 ...
Esa Jokinen's user avatar
  • 45.2k
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 ...
YonzLeon's user avatar
  • 311
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, ...
Håkan Lindqvist's user avatar
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 ...
toppk's user avatar
  • 196
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 ...
Andreas Piening's user avatar
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, ...
Zac67's user avatar
  • 9,532
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"
AlexD's user avatar
  • 8,437
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 ...
poige's user avatar
  • 9,381
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....
Elstone IT Services Limited's user avatar
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 ...
drookie's user avatar
  • 8,608
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. ...
yagmoth555's user avatar
  • 16.7k

Only top scored, non community-wiki answers of a minimum length are eligible