Questions tagged [freebsd]

FreeBSD is an advanced operating system for a variety of architectures. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley; and is developed and maintained by a large team of individuals. It is a complete Operating System, including the kernel, drivers, and userland utilities such as shells.

Filter by
Sorted by
Tagged with
0
votes
1answer
88 views

pfSense - Enable ssh (port 22) access through the WAN using terminal/console/shell

We need to enable pfSense ssh (port 22) access through the WAN interface to perform certain configurations using pfSense's terminal/console/shell. Actions already taken... "Secure Shell (sshd)&...
0
votes
0answers
12 views

How to activate iocage on a DEGRADED pool

I got iocage located on a pool pool0 which was in status DEGRADED because of the failure of a HDD. I created a new pool poo1, and tried to move my jails to this new pool. I tried to follow this tuto: ...
0
votes
1answer
14 views

How to correctly benchmark sequential read speeds on 2.5" hard drive with fio on FreeBSD?

Like suggested in https://askubuntu.com/a/991311 I tested the read speed of a 2.5" spinning hard drive on a TrueNAS/FreeBSD system. For "Sequential READ speed with big blocks": fio --...
0
votes
1answer
37 views

Testing zpool IO performance

To test the write speed of a 2.5 inch SATA3 spinning hard drive (some old Seagate one) installed in my TrueNAS system I used dd if=/dev/zero of=/mnt/pool/test.dd bs=1024 count=1m (found this in ...
0
votes
0answers
41 views

Security of allowing USB access by virtualbox on freebsd

It has come to my attention that when enabling passthrough USB access for virtualbox on a freebsd system, the instructions at least did tell you to make the user a member of the operator group. ...
0
votes
1answer
44 views

How return to prompt after execution of script that spawns a daemon?

$ cat appleclue.sh #!/usr/local/bin/bash source ~/.venv/appleclue/bin/activate cd ~/applications/appleclue/appleclue-web/ git pull pip install -r requirements.txt python3.9 manage.py migrate --...
0
votes
1answer
43 views

FreeBSD: Cant stop program started by rc.d (“is not running”)

I've created a rc script to start gunicorn as a daemon on boot. #!/bin/sh # PROVIDE: gunicorn_appleclue # REQUIRE: DAEMON . /etc/rc.subr name=gunicorn_appleclue rcvar=gunicorn_appleclue_enable ...
1
vote
1answer
36 views

Fix “stripped down” install of FreeBSD 12

I have several legacy FreeBSD VMs made by ex-sysadmin who did some strange trick to save hypervisor storage space: he installed one VM from iso, the set it up a bit, installed needed software, then ...
1
vote
0answers
39 views

PF Nat over OpenVPN Client

I have FreeBSD 12.1-RELEASE router with 3 interfaces: LAN HOME(192.168.22.) LAN WORK(192.168.11.) WAN(1.2.3.4) My router connect to NordVPN over OpenVPN as a client (creates new TUN0 with address 10....
0
votes
0answers
57 views

Caching freebsd-update process to upgrade using poudriere

I would like to upgrade a FreeBSD server without having to go to the internet but downloading cached files of the whole freebsd-update upgrade process from poudriere. Is that possible?.
0
votes
0answers
36 views

Apparent Negative free disk space and FreeBSD 12

Just curious as to what's happening here. This is just a non-prod VM that I have at home. Curious as to what leads to the 'negative' available diskspace. This is FreeBSD 12 running under VMWare ...
1
vote
1answer
79 views

CLI php errors on FreeBSD Server

I manage a FreeBSD server running usual AMP setup. Apache, Mysql, Php-fmp Everything is working fine. In order to help out with speeding up a couple of Wordpress sites; we run php cli to run the ...
0
votes
1answer
242 views

OPNsense WAN failover causes disruption when non-active WAN is down

I have the latest version of OPNsense set up in a VM on ESXi 7. OPNsense is very similar to pfSense, and I suspect the solution would apply to both. All the NICs are PCI passthrough devices: A ...
0
votes
0answers
32 views

How to get custom option on client from ISC DHCP server

Over ISC-DHCP server I wanted to define a custom DHCP Option, for which I am using below config option imagefile code 224 = ip-address; subnet 192.168.29.0 netmask 255.255.255.0 { range 192.168.29.1 ...
0
votes
1answer
27 views

pkg OSVERSION mismatches jail/host

I have a FreeBSD Host and some jails, the output of freebsd-version -u in the host and in the jail is 12.2-STABLE. In the host the output of uname -K and pkg -vv | grep OSVERSION matches 1202505 but ...
2
votes
2answers
137 views

Relatively new WD Red Pro yielding ATA status: 41 (DRDY ERR), error: 40 (UNC ) on FreeBSD 12.2

I am running a TrueNAS server based on FreeBSD 12.2. I migrated the storage to 10 TB WD Red Pro. They're running for 42 days now. Out of the sudden, during a ZFS scrub, one of the disks yielded 5 ...
0
votes
0answers
89 views

Pfsense Web Configurator Doesnt Work

I am recently having this issue whenever i try to access to pfsense web gui, the connection time out, i use nmap to scan port 80 and 443 and those ports are not available, also used the -Pn argument ...
1
vote
1answer
602 views

Offloading PPPoE from an OPNsense router

I'm running opnSense, a FreeBSD-based firewall and router similar to pfSense, in a virtual machine under VMware ESXi 7 on a Dell PowerEdge R230, as a router for my home network. No other VMs are ...
0
votes
0answers
46 views

Is it possible to configure OPNSense/PFsense as pass through firewall with IPS mode?

I have a CISCO firewall with all static public IP's are configured, I do want to add one more layer of protection on top of the firewall using Suricata IPS. The real problem is, if i place my "...
0
votes
1answer
72 views

ZFS: i/o error - all block copies unavailable on reboot

I am trying to create RAID-Z pool on 3 disks, but I'm getting this error after reboot: zpool create -f -o altroot=/mnt datapool raidz vtbd0p3 /dev/da0 /dev/da1 Error is ZFS: i/o error - all block ...
0
votes
1answer
22 views

i'm able to create raidz with diff sized of hard disk. where im missing?

i read about raidz5 cannot create with diff sizes of hard disks but i'm able to create raidz with diff sized of hard disk please tell me where im missing? da0 0:107 12G zfs ...
1
vote
0answers
39 views

What is the recommended way to deploy a node app on FreeBSD in 2021?

Basically I want to deploy a node application on FreeBSD 12. Ideally I'd prefer to build it on one system, and install it in production separately, so as to install as few development tools on the ...
0
votes
0answers
16 views

using dumped zdb data

can anyone show me how to access data, that I got by eg zdb -AAA -L -t 33577 -ebcdmu -x /path/here tank like: ... 1479684 1 128K 40.5K 21K 512 40.5K 100.00 ZFS plain file 1479748 1 128K 92.5K 31.5K ...
0
votes
0answers
19 views

FreebSD ipfw: using not with multiple addresses

Any ideas why this rule won't parse? ipfw add 10 deny ip from \{ not 127.0.0.1 and not 10.12.34.0/24 \} to any 53 out xmit wan0 ipfw doesn't like and and says: ipfw: missing ")" I've tried ...
0
votes
0answers
102 views

Add user to samba on freebsd

I am currently unable to add users to samba on my server following a procedure that used to work. First I add the user to the OS with adduser. Then I run pdbedit --create <username> using the ...
1
vote
1answer
961 views

Pubkey SSH fails with “we did not send a packet, disable method” in freebsd jail

I have a FreeBSD VPS with 2 jails, each setup with ezjail (I know now that this is largely deprecated, but didn't at the time). $ jls JID IP Address Hostname Path 1 ...
1
vote
1answer
62 views

Ejabberd TLS negotiation failed

I've been trying for two days to get a simple Ejabberd setup working on a FreeBSD system, nothing too complicated, but couldn't get past a "TLS negotiation failed" error in Conversations. I ...
0
votes
0answers
26 views

Can I customize all my operating systems that I will install on kvm/qemu with Virt-customize?

For my private cloud provider, I want to create a virtual machine from the operating system iso I want using kvm/qemu (since I was looking for an alternative to cloud-init, I chose to customize it ...
0
votes
2answers
189 views

Freebsd Jails alternatives on Debian/Centos [closed]

I am moving from FreeBSD/Freenas to Debian/Freenas Scale eventually, but the question is broader. What would be the equivalent for jails on Linux osses. Now most will recommend docker or some variant ...
-2
votes
1answer
197 views

Firewall rules does not apply to pfsense hosted machine [closed]

I am using pfsense as my home firewall and configured multi-wan setup. In addition, I have installed package 'Telegraf ' package for exporting my pfsense stats into InfluxDB, also in 'Telegraf' ...
6
votes
1answer
3k views

How do I disable hard disk spin down or head parking in FreeBSD?

I have built a new FreeBSD file server with multiple HDDs. I found whenever the disks are not accessed for a while, the disks would spin down completely or park its head. How do I disable HDD spin ...
1
vote
1answer
98 views

ifconfig fails because usb ethernet adapter is not ready yet on FreeBSD

I have an ethernet adapter connected via USB-C and its configuration in my /etc/rc.conf. On system startup the configuration fails because the usb stack is loaded after the configuration is initiated ...
0
votes
0answers
37 views

Can I create a PPPoE connection through a tap device on FreeBSD?

The setup: DSL modem -> server as router -> LAN The server is a Intel NUC on which I run FreeBSD. Using bhyve I created a guest VM on which I installed pfsense which I want to use as my home ...
1
vote
0answers
59 views

Equivalent ipfw config for firewalld

On a system managed by firewalld it is possible to redirect incoming traffic on 443 to 8443 so the process listening doesn't have to run as root to bind to 443 which requires root. firewall-cmd --add-...
1
vote
0answers
206 views

How to find the download URL of a specific package/port in FreeBSD's repository?

I'm trying to find the full URL for downloading the Emby Server .txz package from FreeBSD repository, but I got no luck finding it on any search engines. Farther I went was this FreeBSD repository ...
0
votes
1answer
153 views

How to configure file permissions for written files on my FreeBSD NFS server?

TLDR: When I copy a file from my macOS client to the FreeBSD NFS server, it's written with 777 permission and owned by 501:staff. In my example below, I want "license.properties" to be owned ...
0
votes
1answer
257 views

Scheduling a script execution with cron in a jail on FreeNas

I have a jail on my FreeNAS server containing Plex, and I have at the root of this jail a script called PMS_Updater.sh which checks if a new version of Plex is available and install it if it is the ...
1
vote
1answer
155 views

How to reliably & portably serialize binary information into POSIX shell

Problem context I am trying to implement a job orchestrator whose agent/worker programs, connect to machines via an SSH session/shell. I would like to transfer (potentially binary) files to these ...
1
vote
1answer
2k views

How to Install (nic) drivers on TrueNAS

How can one update a network card driver on TrueNAS 12.0? My nic is on the motherboard directly it's a Intel Motherboard DH55HC, the NIC is 82578DC gigabit enabled. I've found the driver directly at ...
2
votes
2answers
451 views

How to select network interface given ip address in ansible across Debian and FreeBSD?

I'm looking for an expression to fetch the interface name given an ip address assigned to that iface, across Linux and FreeBSD. This question is based on this answer: https://serverfault.com/a/948288/...
0
votes
0answers
243 views

speedtest-cli on FreeBSD gives certificate error

Running speedtest-cli on FreeBSD 12.1-RELEASE-p9 on generic i386 gives the folowing error: Prompt: speedtest-cli --secure Retrieving speedtest.net configuration... Cannot retrieve speedtest ...
0
votes
0answers
24 views

Route all requests through OpenVPN only for specific user in FreeBSD

I have a software that I want to run through the VPN, but the remaining software on the machine shouldn't run through the VPN (the VPN is slower than my home connection). I'm playing with ipfw, route ...
0
votes
1answer
63 views

“service my_service stop” is deemed an error whenever a service is in the “stopped” condition already. How to move on despite an error?

I have a bunch of bash commands that are run via ssh: #!/bin/bash CMD=" set -e cmd1 cmd2 # ........ service my_service stop # ......... # some commands here...... # ......... ...
0
votes
1answer
240 views

Can't get Wireguard running on Freebsd to ping

I have a Freebsd installation running VirtualBox on my local LAN behind NAT trying to connect out to a Scaleway VPS running Ubuntu 20.04. Using Debian 10 the VPN connects just find and I can ping all ...
0
votes
0answers
27 views

cron setup on FreeBSD instead of Cpanel

I am trying to install a cron with the instructions received which does not match with my current hoster. I received as instruction: " Enter the command "curl -s https: // /cron.php?token= &...
0
votes
0answers
58 views

rsync broken pipe between two servers on different networks

I have two FreeBSD servers, both on different networks, with a firewall in between. I have no control over the firewall. Server 1: IP: 10.1.0.2 GW (firewall): 10.1.0.1 Server2: IP: ...
0
votes
0answers
28 views

USB Drive at the same location on FreeBSD

I have a number of USB drives that are attached to a FreeNAS server. These are then used as offline backup targets. One problem is that the order that the drives are plugged into matters. On a Linux ...
0
votes
1answer
832 views

Having trouble with tcp mode on HAProxy running on OPNsense

I'm trying to setup HAProxy to do simple tcp passthrough to different backends based on SNI. However, I have serious issues on my clients if I do so: Firefox: PR_END_OF_FILE_ERROR Brave/Chrome/Safari:...
0
votes
1answer
150 views

Configuring NUT for old serial connected UPS (Tripp-Lite)

I have an old Tripp-Lite UPS (SU2200RTXL2UA) which I need to communicate with via it's RS232 Port (this model doesn't have a USB port). I'm trying to figure out which Serial NUT driver would be most ...
0
votes
0answers
148 views

Haproxy 400 Bad Request ERR_INVALID_REQ

I'm trying to set up haproxy as reverse proxy for several webservers in my local network to be accessible from the domain name pointing to the router. Port 80 is being forwarded to the haproxy machine....

1
2 3 4 5
31