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.
623
questions
1
vote
0
answers
194
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
0
answers
225
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
0
answers
234
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
0
answers
242
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
1
answer
100
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
0
answers
202
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
1
answer
59
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
2
answers
31
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
1
answer
1k
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
1
answer
409
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
1
answer
2k
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
2
answers
702
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
1
answer
322
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
0
answers
350
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
1
answer
201
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
2
answers
816
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 ...
1
vote
1
answer
450
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
0
answers
3k
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
2
answers
6k
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
0
answers
177
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
1
answer
361
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
1
answer
95
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
1
answer
126
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
0
answers
199
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
0
answers
186
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
2
answers
405
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
1
answer
3k
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
1
answer
767
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 ...
0
votes
2
answers
620
views
Customize csh prompt based on uid/superuser status
I'm trying to set up a condition where my csh prompt is customized to change username color and prompt character if I take on root privileges via "su". What's the most sensible way of doing this?
...
0
votes
1
answer
2k
views
Prestashop 1.7.5.1 and Nginx
I have installed the latest version of Prestashop in a FreeBSD 12 with NGINX and MySQL. Installation ran flawless, however I'm having some issues with Prestashop URLs.
The frontshop works flawless, ...
2
votes
1
answer
9k
views
Pre-built version of pkg could not be found on your system FreeBSD - AMD 64 bit
I am trying to install nano on FreeBSD using the pkg, but whenever I try to install it by using
pkg install nano
I get an error that says
pkg: Error fetching http://pkg.freebsd.org/freebsd:12:...
2
votes
1
answer
382
views
What kind of metadata is primarily being loaded/evicted from ARC, in my ZFS system?
I'm trying to check how my ZFS pool's ARC is used, motivated by "do I need more RAM, even though expensive".
I have 128GB fast ECC and using NVMe SSDs for L2ARC, but it's still doing a lot of small ...
2
votes
1
answer
775
views
Running a FreeBSD binary on Linux using qemu-user
I want to run a FreeBSD binary on Linux using qemu-user (qemu-i386).
This is the binary I'm trying to run: https://tug.org/texlive/xz/xz.i386-freebsd
This is the emulator I'm using: https://github....
0
votes
1
answer
591
views
How to set the passive port range of ftpd?
I am using ftpd on a freshly installed FreeBSD machine. (A raspberry pi, but I do not think that matters for this question). Unfortunately this server is behind a router so I need to put port forwards,...
1
vote
0
answers
85
views
Installation of virtual-box on Netscalar FreeBSD instance
We have one Netscalar instance having platinum AMI: NetScaler ADC VPX Platinum Edition - 10 Mbps. As a part of infrastructure management we want to install VirtualBox on this FreeBSD Netscaler ...
1
vote
0
answers
128
views
How to send a static package to private poudriere repository (freebsd)
I create many packages to freebsd when i develop my applications and scripts. after developing i make the binary package to freebsd using the command "pkg create".
After use this command is created a ...
1
vote
0
answers
201
views
How to add a CA certificate to libsoup?
I'm trying to use a small application a (Xfce Weather plugin) behind a corporate firewall. The firewall intercepts HTTPS connections and changes everything to be signed by their certificates -- to be ...
1
vote
1
answer
3k
views
What is the best solution to host PFsense and NAS on the same hardware?
These are my first steps in virtualization and things may not be as easy as they seem.
Simply put, I have a 4-core CPU and I would like to host both PFsense and FreeNas (or any other NAS solution), ...
0
votes
1
answer
2k
views
rclone OneDrive: "Must be authenticated to use '/drive' syntax"
I'm just trying to use both rclone and OneDrive for the first time, in conjunction. On a Windows PC, I ran rsync config and it produced a configuration file. I can then rclone sync . OneDrive:test and ...
1
vote
1
answer
1k
views
FreeNAS 11.1 Urbackup Installation
I've been trying to install and configure urbackup onto a FreeNAS FreeBSD server.
I've followed the instructions here as well as trying to follow the instructions here.
However, the first link gives ...
4
votes
1
answer
7k
views
MacOS Mojave, ISO images, and "no mountable file systems" error
I have a little Gigabyte BRIX that I'm trying to install Linux on. However, my Mac appears to be barfing on every ISO image I've downloaded. So far, I've tried Mint and Ubuntu (and even FreeBSD out of ...
2
votes
0
answers
511
views
How can I restrict CPU scheduling in FreeBSD 12?
How are other admins managing CPU resources on multi-core hosts that run jails, such as allocating the appropriate number of cores for exclusive use by specific jails, and likewise reserving the ...
0
votes
2
answers
120
views
Cannot build glyr on FreeBSD
I have FreeNAS running and have created a jail to rip CDs. All works fine. I want to add the ability to grab the cover art as well and need glyr. This program is not available as a package or a port ...
0
votes
4
answers
4k
views
How to change the MAC address of a networking interface on FreeBSD 11.1
I'm trying to change the MAC address of my network card (a generic card using an Intel chipset) on my. system that is running FreeBSD (FREEBSD 11.1-RELEASE-p7).
I get the following output when I ...
0
votes
1
answer
822
views
What is the difference between FreeBSD/ARM and RaspBSD?
There is a page at the FreeBSD.org site that provides images for the Raspberry Pi. I've tried this and it works. There is also a separate site called RaspBSD.org that also provides what seems to be ...
0
votes
1
answer
467
views
How do I redirect system console output to a file?
I'm dealing with a strange issue that's causing the CPU to halt on a machine when a certain piece of hardware is used.
The CPU freezes, the machine reboots, and there is no account of what happened ...
1
vote
0
answers
206
views
Raspberry Pi B FreeBSD 11.2 does not boot with USB pendrive inserted
I am trying to install FreeBSD on a Raspberry Pi B (not 2 or 3, the old one).
I prepared an SD card with the FreeBSD 11.2 image from download.freebsd.org/ftp/snapshots/arm/armv6/ISO-IMAGES/ and booted ...
1
vote
0
answers
2k
views
Unbound DNS for lan network
I have problem with setting up dns server using unbound.
Unbound is set up on freeBSD ('dns.home.local' - 192.168.0.228) and it works, resolving local names (both 'gate' or 'gate.home.local') and ...
2
votes
1
answer
312
views
FreeBSD iostat ms/* columns meanings
What is the meaning of the ms/* columns on iostat (FreeBSD 11.1/FreeNAS)? I'm not seeing any details on the man pages or I'm misreading what they are
iostat -x
extended ...
2
votes
1
answer
818
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 '^[^][.$^*_-]'; ...