Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [freebsd]

FreeBSD is a Unix-like operating system which has grown out of the original BSD (Berkeley Software Distribution) of the early days of Unix.

0
votes
0answers
4 views

NVMe over QSFP+ to NVMe synchronized to a ZFS 7200RPM SAS array

NVMe (possibly RAID-0 if the bandwidth is available) over QSFP+ to an NVMe temporary pool, which is then synchronized to a ZFS NVMe -- then to Tier 2 7200RPM SAS array that could be 500TB. Basically,...
1
vote
1answer
66 views

Grep regex result not as expected?

Using FreeBSD 11.1: #!/bin/sh if printf 'abcde.fgh' | grep -iEq '^[^][$^*_-]'; then echo "test 1 success" else echo "test 1 fail" fi echo if printf 'abcde.fgh' | grep -iEq '^[^][.$^*_-]'; ...
0
votes
1answer
33 views

How to configure bind/named for this simple nameserver task?

I need to configure bind/named (on FreeBSD) to: listen on port 53 of a single IP, never look up records or forward any queries to any other server, never try and update its records from other ...
0
votes
2answers
186 views

Unlimited recursive while displaying time for every directory

I want to display all directories in my current directory recursively, but I also want to display the full date and time (even after 6 months). Considering I am using a Mac I had to use the FreeBSD ...
2
votes
1answer
68 views

Why is ZFS send/receive sending so much data across my LAN?

Just last weekend, I set up a new (clean install) backup server for my main FreeNAS machine, and started a manual complete pool backup between them. Both machines are enterprise hardware and run fast, ...
1
vote
0answers
14 views

The simplest way of running a cross-compiled executable in a FreeBSD environment

I have an executable cross-compiled for FreeBSD in a docker container. What is the simplest way of running it?
0
votes
2answers
41 views

Deactivating PEM Files

To this time, I could not find this question on somewhere else. If there is one, please let me know. One of my old employee got used to use a pem file we generated (Idk when) to login in our freebsd ...
0
votes
0answers
20 views

Installed package on FreeBSD, it's working fine but not listed in “pkg info” or “pkg query”?

I just used pkg info to check packages on my FreeBSD system (in case of future rebuild), and notice that ffmpeg isn't in the list. I know ffmpeg is installed and working, because I installed it about ...
0
votes
0answers
86 views

VirtualBox and Solidworks license manager

I'd like to install Solidworks license manager in a VirtualBox guest (Win7 Pro) - not Solidworks itself, just the licensing server. However, I get this error: "Activation license mode is not ...
0
votes
0answers
26 views

Does Samba need some kind of permissions/ACLs set on a *subdir*, for that subdir to appear in a list of contents of its *parent*?

I'm on FreeBSD and I've hit a quirky issue, that surprises me. I created a share, and within that share created a subdirectory called subdir. When I open smbclient with current directory = share root,...
0
votes
0answers
33 views

Error booting GhostBSD in VirtualBox after trying to get sound to work

Boot: F1 /boot/config: device sound device snd_hda device snd_sbc device snd_sb16 FreeBSD/x86 boot Default: 0:ad(0,a)snd_sb16 bootL Bi sbd)sb16 FreeBSD/x86 boot Default: 0:ad(0,...
0
votes
1answer
132 views

Error loading Xfce on FreeBSD in VirtualBox

I typed startxfce4, but it showed the error message: failed to set mtrr: Device not configured process 1675: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed ...
0
votes
0answers
26 views

Error trying to install GhostBSD into VirtualBox

I am using Windows 10 Home on an HP laptop with an eighth-generation Intel core i5. When I loaded GhostBSD from a live CD/DVD, when I logged in to the VM, the error was: The instruction at ...
1
vote
1answer
37 views

Unable to create a *.gz archieve

Trying to create a .gz archive - my_gz.gz - and add multiple files to it: $ gzip my_gz.gz file1.txt file12.txt gzip: can't stat: my_gz.gz: No such file or directory
0
votes
0answers
80 views

lftp mirror does not create all directories

I use lftp to mirror the contents of a remote ftp server (for backup). lftp -c "set ftp:ssl-allow no;open host -u user@host,password;mirror -e -P 6 --scan-all-first /" But when the folder structure ...
2
votes
1answer
120 views

GlusterFS on FreeBSD 11.1 / Mount issue

I want to use GlusterFS as a distributed Filestorage on FreeBSD 11.1 Documentation is poor, so I followed some howtos on the net. I could create the glusterfs volume, but I have trouble to mount it on ...
0
votes
0answers
87 views

How to get Jails in FreeNAS 9.2 to have addresses given by DHCP?

I'm running FreeNAS 9.2.1.7-RELEASE-x64 and have some jails in it. Currently, the jails get their IPv4 addresses manually, which is done through the GUI's jail configuration dialog. I recently set ...
4
votes
2answers
137 views

Adding a DVD drive to a headless VirtualBox on FreeBSD

I have a Windows 10 VM running headless in VirtualBox on FreeBSD 11.1. It runs without issues. I'd like to enable the VM to access physical CDs/DVDs so that I can insert real discs and open them in ...
3
votes
0answers
69 views

Reading LUKS encrypted devices under FreeBSD

I have currently Debian installed. All my external devices a encrypted LUKS devices. Now I want to switch to FreeBSD, but my question is, is it possible to read my devices under FreeBSD?
1
vote
0answers
55 views

Practicality of Root on ZFS

I'm preparing to install a fresh OS on my desktop machine. Its basic specs are i7 3770S with 16GB Non-ECC RAM, which is the maximum that this board supports. I actually have XenServer on there now, ...
1
vote
0answers
59 views

pkg_add: command not found on Centos7

I've been trying to install phalcon on my Centos7 environment and I'm stuck with FreeBSD part: pkg_add pkg_add -r phalcon Apparently pkg_add errors as "command not found". I found a somewhat ...
3
votes
1answer
46 views

Arg handling in a script for a modified “find” function?

I'm using FreeBSD and I understand and use the -prune option on find to prevent the command descending into a subdirectory. But I find the necessary syntax very clumsy and awkward. It also doesn't ...
1
vote
0answers
126 views

Managing FreeBSD host with Ansible fails: Shared object \“libdl.so.1\” not found, required by \“python\”\r\n

Management of FreeBSD on Raspberry pi 3 (FreeBSD-aarch64-12.0-GENERIC-320146M from RaspBSD project - http://www.raspbsd.org/) fails. Control host is MacOS 10.13.2. python is successfully installed ...
1
vote
0answers
83 views

Installation Issue with FreeBSD 12.0 CURRENT & 11.1 Installation on AMD EPYC (BIOS - RSW1005E)

Tried several times to install FreeBSD 11.1 and 12.0 CURRENT on AMD EPYC processor(EPYC 32 core devices (7601)) with BIOS - RSW1005E, installation is getting failed. For 11.1, Kernel Crash is ...
0
votes
0answers
12 views

Completely hiding a dir, but leaving its descendants accessible via symlinks, in Samba

Due to the way Samba handles symlinks and wide links (it can only distinguish "within the share root" or "outside the share root") I want to create fixed symlinks in the share root to the "actual" ...
2
votes
2answers
80 views

Linux equivalent to BSD's vis(1) utility

I have a bunch of zsh scripts for cli-based tasks, and developed most of them on FreeBSD and MacOS (Both BSD Unix flavors) I 've been using Ubuntu lately, and noticed some of my scripts were broken. ...
0
votes
1answer
33 views

Canot mount FreeNas 8 mirror in freenas 11

Have a freenas 8 with 2 disks on raid(Mirror) of 1Tb each and only 1Gb Ram. I didn't notice that it only have 1Gb ram and update to Freenas 10 because i need install OpenVPN. When the system boot up ...
0
votes
1answer
349 views

Allow Samba connections *only* from internal LAN (PF firewall)?

There is a FreeBSD 11.1-RELEASE machine with only 1 NIC, serving Samba shares behind a PF firewall on same server. I need to allow connections only from clients connecting from the internal network (/...
1
vote
0answers
45 views

Repeated error message in PfSense

My PfSense box is constantly writing this message in the error log every few seconds. I think this is a sound card related error but have found no solution to fix this. All packages in PfSense are up ...
0
votes
0answers
45 views

Challenges installing TrueOS on an encrypted Gen3 Thinkpad X1 Carbon running Ubuntu

I have burned a TrueOS desktop image onto a USB stick and selected the USB stick as my boot device, but after the TrueOS install splash screen, I always see the following error. <Date> init: ...
4
votes
1answer
118 views

How to determine whether any of my ZFS snapshots are truly redundant and safe to delete without data loss?

I'm using FreeBSD 11.1 and the output of zfs list -t snap -r poolname shows a large number of my snapshots with "0" under "USED". I've read up on how ZFS accounts for space so I understand the basics, ...
0
votes
0answers
15 views

Why RSA key is adding in the same line(sometimes) in the known_hosts file

When I'm doing scp a file to my remote machine, Usually the RSA and DSS keys will be added in the next lines. But sometimes(very rarely) it is appending the key to the previous key. And this is ...
0
votes
0answers
41 views

Why does Xorg come up in 1024x768 mode instead of full 1600x1200 resolution?

I have Xorg configured to use the radeon-driver and run two monitors I have attached to my Radeon HD 5670 card. It works. But, every time Xorg restarts, it comes up in 1024x768-mode with monitors ...
0
votes
1answer
147 views

Shell Script email output formatting

I am trying to create a shell script that echo's a bunch of commands and have gotten it to send out emails fairly simply. { echo $(hostname) echo "" echo "Uptime" $(uptime) echo "" echo "...
0
votes
0answers
194 views

Issue with TFTP when trying to Flash Aironet 1142N

I am having an interesting issue trying to flash (to convert an AP from lightweight to autonomous) Cisco Aironet 1142Ns I have a small network setup with a computer serving as TFTP (FreeBSD 11) and ...
0
votes
0answers
262 views

Freenas - Folder Permissions not inherited for some users - SMB Share

I have set up my new FreeNas 11 as follows: Created a user admin1 under a group admins and ticked Microsoft account. Created a dataset ds1 type windows Gave the permission > owner as admin1 and owner ...
0
votes
0answers
17 views

zpool attach fails - is this due to scrubbing, or a bad command?

The system has da0 and da1 as a mirror. da1 is gpt formatted (historically). I just added a spare uninitialised disk of the same capacity as da0/da1, which was given the device ID da4. This is the ...
2
votes
1answer
55 views

How to avoid “Proceed with this action? [y/N]” of pkg?

Or: What's the equivalent of apt-get install --yes in FreeBSD's pkg? I know about yes | pkg install ..., but an option seems to be much more conveniant and savely avoids answering y to questions ...
0
votes
0answers
211 views

Vagrant with FreeBSD guest and Windows 10 Host fails to connect

Has anyone been able to see /vagrant dir on a FreeBSD vagrant box? I cannot, for the life of me get it work. Tested on Windows 10, I imagine these problems are cross-platform however. Tested with ...
0
votes
0answers
185 views

Gnome classic not working on FreeBSD 11.1

I'm trying to login with Gnome Classic but its not working on a fresh install of FreeBSD 11.1, but from the GUI we see that this features looks like provided Gnome version: Result: Gnome still not ...
1
vote
0answers
336 views

Bash history not working?

I'm using FreeBSD 11, and Bash as my shell. I've checked all the basics. History shows as "on" HISTFILE, HISTFILESIZE and HISTSIZE are all set with sensible values. $HISTFILE exists and has rw ...
1
vote
0answers
133 views

Keyboard not working in FreeBSD installer on MacBook Pro 2017

I'm trying to install FreeBSD 11.1-RELEASE on my 2017 MacBook Pro (the touch bar one). It boots the bootloader screen fine, and the keyboard works perfectly there. However, as soon as I select a boot ...
0
votes
1answer
93 views

freebsd postfix python policyd-spf ip addres validation error

I recently encountered a problem on my freebsd postfix mail server with the packet py27-postfix-policyd-spf-python-1.3.2_1 My maillogs where full with the following messages: policyd-spf[16637]: ...
0
votes
1answer
171 views

Can I use my NAS as a bridge between Modem and Router?

My current home network setup is this: ISP <-> Modem <-> Router(with NAT)/Wireless AP <-> Home Network My NAS is on the home network. I'm using FreeNAS, an OS based on FreeBSD. I ...
0
votes
0answers
43 views

FreeBSD: Only use OpenVPN for Applications Bound to Tunnel Interface

I'm trying to set up OpenVPN on FreeBSD (10.3) so that only applications that are bound to the OpenVPN interface use it. Any other traffic should use my normal interface, bypassing the VPN. For ...
3
votes
0answers
540 views

How to change brightness in FreeBSD?

I installed FreeBSD 10.3 stable on my HP laptop and installed Mate desktop, but I can not change laptop's brightness. I used xrandr, xbacklight, redshift and they did not work. I loaded acpi_video ...
1
vote
1answer
41 views

Jailing old FreeBSD build machine on modern FreeBSD

We have very old FreeBSD build systems (6.3) which we use to maintain backwards compatibility with the system libraries for our proprietary binaries and avoid building on each and every FreeBSD ...
1
vote
1answer
76 views

How to get from a logical interface to the interface of the underlying NIC a device is using, in FreeBSD?

In FreeBSD, if the interface that an IP device is on happens to be a physical NIC, then I can look up the interface for the physical NIC using arp -a. But what is the easiest way to get from an IP ...
1
vote
0answers
168 views

How can I get Chrome to open one process per tab?

I am on amd64 FreeBSD 11.0-p9 using Chromium 57.0.2987.133 precompiled from the ports. Version 58 causes graphical glitches on my system so I haven't upgraded yet. Since about half a year I encounter ...
0
votes
1answer
336 views

Cannot find “Fallback boot loader” of rEFInd

I've installed FreeBSD on my MacBook Air, and it runs smoothly. However, instead of appearing with the BSD Daemon icon, it must be booted through a "Fallback boot loader" entry, and I want to change ...