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.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Convert a PCL file to a PCL form overlay

I need to convert a valid PCL printer file to an automatic form overlay on a FreeBSD platform using CUPS and ghostscript to handle printing. The instructions respection PCL overlays that I have ...
0
votes
0answers
12 views

FreeBSD setting permissions (freenas)

Towards a FreeBSD freenas system, some folder have been copied, however the permissions went wrong. I need to set first the default permissions root and wheel. (getfacl ./ ) To set the default user ...
2
votes
0answers
36 views

Increasing connection timeout for tcp connection in freebsd after 360sec has no effect

Test Setup Configured a firewall to drop connection from a remote address IP address : 'yy.yyyy.yyyy.yyy' IP port : 'zzzz' [root@mmmmm /path/to/log]# cat ipfw.today 00100 1438 86280 deny ip ...
0
votes
1answer
41 views

How to tell firefox to render simple html white on black?

I am no browser expert nor web-dev. I read simple websites and they blind me if use anything more modern than lynx or w3i. However, sometimes these new modern websites require the operating systems ...
0
votes
2answers
36 views

Is it possible to enable HTTP2 with apache on FreeBSD

I was looking into making my Apache 2.4.46 web server prefer HTTP2 but was unable to find any info on how to enable it with FreeBSD. At this point I'm curious if it's even possible at this time. Note: ...
0
votes
1answer
74 views

Port forwarding and NAT using pf on freebsd

I have a network router that connects three networks with the outside world. One of the internal networks is public facing the other two are not and connected via NAT. I am part of a larger network ...
0
votes
0answers
13 views

FreeBSD data lost after reboot

im not able to store the data after reboot. kindly suggest me the steps how to persist the data root@mfsbsd:~ # lsblk DEVICE MAJ:MIN SIZE TYPE LABEL MOUNT ada0 ...
0
votes
1answer
25 views

zfs mount points are disappearing on reboot. how to fix it?

my zfs mountpoints are disappearing on reboot but able to get it back after import. please suggest me the solution? root@mfsbsd:~ # zpool import edjstorage root@mfsbsd:~ # zfs list NAME ...
1
vote
1answer
27 views

How to set ACL permissions freebsd

unix# setfacl -d -m group:smid_r:r /dat/samba/data/user/smit setfacl: /dat/samba/data/user/smit: acl_calc_mask() failed: Invalid argument setfacl: /dat/samba/data/user/smit: failed to set ACL mask ...
1
vote
0answers
164 views

How to mount USB as user on FreeBSD?

How does one configure FreeBSD (with no GUI) to allow a non-root user to mount a USB drive? I've followed the steps here, but I still get: $ mount -t msdosfs -o shortnames /dev/da0s1 ~/media/d300 ...
0
votes
0answers
85 views

Trying to set up Wireguard for a simple home VPN, never completes handshake

I have a Truenas box running as my home server. It has a few jails on it running a bunch of apps, and I have decided to create one to run a Wireguard VPN for the occasions I need to remote in to my ...
1
vote
1answer
81 views

Monitoring (and automatically restarting) services on FreeBSD

I have a home server running TrueNAS Core. Inside a Jail, I have Plex mediaserver running so I can easily view my photos on my TV. Due to some bug in Plex, it sometimes crashes when I add new pictures....
0
votes
1answer
36 views

FreeBSD: one-line command for an xterm window to sudo open an application, then close xterm whilst the app continues to run

I'd like GKrellMLaunch to: essentially, use sudo to open a GUI application – present an xterm window for entry of the password, then close the xterm window whilst the application continues to run. ...
0
votes
0answers
33 views

Do adaptors exist to connect SATA hard drives to M.2 slot

Do adaptors to connect a classical spinning hard drive, such as Seagate IronWolf NAS drives, to an M.2 slot exist? I am looking to the motherboard ASRock A520M-ITX for an upgrade of my NAS/VM server. ...
0
votes
1answer
62 views

ffmpeg zscale error on Freebsd

Installed via: pkg install ffmpeg When I run an ffmpeg command with zscale, I get the error: No such filter: 'zscale' Can someone point me to directions for compiling with libzimg to get around this ...
0
votes
0answers
10 views

KDE5 moving a window to another display snatch or fails instead

Whenever I try to move a window, such as my browser, by dragging the top bar to the other display it snatches onto the side and tries to fill up half of my primary screen instead of moving to the ...
0
votes
1answer
55 views

FreeBSD ZFS: missing top-level device in zpool

As a result of 2 stupid sysadmin tricks on a FreeBSD 10.4 machine, I have a non-importable zpool in this state: # zpool import pool: v id: 5630710617833891462 state: UNAVAIL status: One or ...
0
votes
1answer
55 views

Aligning partitions to 4k boundaries results in 512b free space at beginning of drive

I'm partitioning a disk for FreeBSD installation. I create my partitions/slices: gpart create -s mbr ada0 gpart add -t freebsd -s 1G ada0 gpart add -t freebsd ada0 gpart create -s bsd ada0s1 Now I ...
0
votes
2answers
69 views

How to 4k align hard drive with pre-existing partitions - Linux, Windows partitions

I have a 1TB WD hard drive with Windows 10 and Devuan Linux Beowulf. I had partitioned with gparted IIRC prior to installation of both OS's. How to veerify if it is 4k aligned? If it's not so, how to ...
1
vote
1answer
31 views

Basic configuration of OpenSC

I received a Cherry ST-2000 and a Reiner SCT cyberJack RFID smartcard reader and some smartcards. I wanted to learn a bit about how these things work but I seem to fail a basic step. I tried a few ...
0
votes
0answers
44 views

is there a way to install PHAR extension without using package manager in FreeBSD?

I departed in this journey of making an oauth2 in my pfsense for a captive portal authentication ( say Captive portal via facebook login ) . at first I began to understand more about FreeBSD system ...
1
vote
0answers
27 views

Why can't Libreoffice on FreeBSD save to Google Drive?

There are instructions out there on configuring "Remote Files" in LibreOffice. However, in my case, the Google Drive is not among the available options. Indeed, the instructions say, ...
1
vote
0answers
36 views

How to permanently map samba drive on windows 10 version 2004

The shared drive is based on freebsd and samba. I need to map it permanently on Windows 10 pro version 2004. My problem is: when I shut down my pc for long time then when I start it again the drive is ...
1
vote
0answers
29 views

Setting up nginx as reverse proxy with uwsgi

I am setting up an nginx server to run as a proxy between uwsgi server running my python flask application and outside world. I have set up my uwsgi application to listen on /tmp/myapp.sock and it ...
1
vote
0answers
79 views

Unable to start/boot into custom kernel in FreeBSD

I am trying to create a custom kernel in FreeBSD. After doing the buildkernel and installkernel when I reboot the system, it gets a panic and enters debugging(ddb4) mode instead of loading the new ...
0
votes
0answers
102 views

FreeBSD rsync server: please follow symlinks in target directory

Summary rsync server on FreeBSD won't follow local symlinks to dirs. It will either error out (can't write file) or clobber the symlink and create an actual directory, which is not the desired ...
0
votes
1answer
76 views

Why can't show GUI screen with FuryBSD in VirtualBox?

I downloaded FuryBSD 12.1 XFCE from official site. Launched it in VirtualBox. From the official guide, it should show a GUI desktop. But in my machine it didn't. It showed terminal login screen. I ...
0
votes
0answers
48 views

Unable to boot FreeBSD 12.1 using GRUB

This is not a duplicate question to https://unix.stackexchange.com/questions/109272/add-freebsd-to-grub2-boot-menu or Cant boot FreeBSD 10.1 using grub2. Firstly I tried the mechanism suggested in ...
-1
votes
1answer
33 views

What challenges will I face if I install Pfsense on my home router?

In my cybersecurity course, we installed a lab in VirtualBox with Pfsense (Bridged Adapter) and several other VMs (Connected to Pfsense's internal network adapters). It was a success. My question is, ...
0
votes
2answers
21 views

Replacing a number ended in dot at the beginning of the line with '.IP number\n'

I want to replace numbers followed by period at the beginning of the line: 1. The quick brown fox jumps over the lazy dog 12. The slow grey cat jumps over the lazy dog 234. The strong yellow lion ...
0
votes
1answer
432 views

How to setup key authentication for unix to windows ssh?

I would like to setup a passwordless SSH connection from FreeBSD (not exactly unix system, but in this context it is unix enough) to Windows 10. To do this I added OpenSSH optional feature to Windows ...
1
vote
1answer
192 views

iPhone USB tether to VM OS, interface not found

I am running FreeBSD 11.2-RELEASE-p6 as a VM in a Debian 8 (Jessie) hypervisor. I have passed the USB through the hypervisor, so FreeBSD sees the iPhone USB connection. However, the FreeBSD VM ...
2
votes
1answer
212 views

Sending emails using sendmail in freebsd

I am trying to send a test email from command line (for debugging purpose). I cannot make the sendmail to send the email. The Ctrl+d does not work on my ssh console and I could not find a solution by ...
0
votes
2answers
290 views

In disk formatting and partitioning ( as per gpart man page) what is the difference between a name, a label, a type, and an index?

Explain the disk partition descriptors The man page about gpart add is: (https://www.freebsd.org/cgi/man.cgi?gpart(8)) index : "The index in the partition table at which the new partition is to be ...
2
votes
1answer
92 views

Adding a path to login.conf in Bash / FreeBSD

Due to the fact that freebsd pkg repos (binary) do not come with support for lame mp3, and I don't want to complicate things by having a dual dependency tree, I'm attempting a workaround by installing ...
1
vote
0answers
105 views

find filenames with non latin characters in their names

I want to find files with foreign filenames in them, I'm using a regex to find such files with another tool but I don't know how to use them in find. The system is FreeBSD so the find command is a ...
1
vote
1answer
87 views

confused `printenv` with `declare`

I am using macOS. I am confused printenv with declare. I run these 2 commands right after a restart without any other proceeding settings. printenv outputs PWD=/Users/soplus This is reasonable ...
0
votes
2answers
580 views

Can't install KDE desktop environment in FreeBSD 12

So i have booted my Raspberry Pi 3 B+ today with a FreeBSD 12 image file and started configuring it to have a desktop graphical UI. As i have tried to install KDE with the following command, # pkg ...
0
votes
1answer
127 views

In “find … | xargs …”, why does xargs iterate even when find returns zero results?

I recently had a find ... | xargs ... use case that surprised me. The issue involves the case where find returns no matches. Testing on two systems, I found that one behaves as I would expect: $ ...
0
votes
0answers
1k views

Turning a pfSense rooter into a Tor gateway?

I've recently started experimenting with the pfSense rooter/firewall and I found it quite cool with plenty of features. I then saw it supports addons, so an idea popped into my mind: Would it be ...
1
vote
2answers
2k views

HP iLo Firmware Upgrade For HP ProLiant DL360 Gen9 Running freeBSD

OS: FreeBSD 11.1-RELEASE-p4 I am in a bit of a situation. I need to upgrade iLo on a an HP 360DL box but all the hponcfg utilities I need are only linux(debian or redhat) packages. Here are some ...
2
votes
0answers
68 views

Can't boot FreeBSD after successful installation

I've installed Slackware 14.2 in /dev/sda1 and x86Solaris 10 U6 in /dev/sda3 (sda2 is Linux swap)and boot menu was Solaris grub but, later deleted Solaris partition and installed FreeBSD12 (for i386) ...
1
vote
1answer
207 views

How to enable audio/video in Pidgin's XMPP for Google?

I have my regular "Google Talk" account configured in Pidgin and exchanging texts works fine. Unfortunately, all of the options under the "Media" menu remain greyed out -- even though the computer ...
0
votes
1answer
49 views

Jenkins - login

I have a Jenkins installed on a freebsd jail and I access it internally on https through nginx (proxy_pass _https://ip-jail:port), my problem is that I would like to go directly to the login (sign in) ...
1
vote
1answer
58 views

Not able to run a command through ssh

I am running a command on a FreeBSD machine (xxx.yyy.zzz.net) and getting the output command sudo camcontrol devlist | grep -o 'ada[0-9]' | while read -r a ; do sudo camcontrol identify $a | grep ...
1
vote
0answers
123 views

Avoid read blocks with broken SATA disk

In my FreeBSD system, I have a bunch of SATA disks which are part of a ZFS raid. When I am starting the system, I see many ATA status: 41 (DRDY ERR), error: 40 (UNC ) RES: 41 40 d8 70 f8 40 81 00 00 ...
1
vote
0answers
86 views

font for charset GB2312.1980-0 is lacking when launching xorg in freebsd

I am a newbie of freebsd (FreeBSD 12.0). I got a warning when launching xorg: twm: warning: font for charset GB2312.1980-0 is lacking How can I install the font? I googled it but can't find a ...
0
votes
2answers
135 views

insert string before last line in freebsd

I got file with next content: protocol static { route 100.100.100.100/32 via 192.168.56.2; route 1.1.1.1/32 via 10.0.2.15; } And I need to add one route string a.b.c.d/32 via a.b....
1
vote
1answer
1k views

Can't access internet or ping default gateway from a FreeBSD 12 jail

I am new to FreeBSD jails, everything (such as ssh to jail from any host in network) works fine except I can't access internet or ping default gateway from a FreeBSD 12 jail, please help me to resolve ...
0
votes
1answer
289 views

How to Install package manager (PKG) on a freeBSD release version

I wanted to try out FreeBSD from a live image (on a USB stick) before I installed it. I thought of installing Neofetch to check the system specs. It is a release version but it didn't have the package ...

1
2 3 4 5
12