Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [freebsd]

FreeBSD is a free Unix-based operating system descended from AT&T UNIX via BSD UNIX.

0
votes
1answer
46 views

FreeBSD : strange screen when booting from grub [on hold]

I am able to boot my FreeBSD partition using Grub thank to: menuentry "FreeBSD" --class freebsd --class bsd --class os { insmod ufs2 insmod bsd set root=(hd1,5) kfreebsd /boot/kernel/kernel ...
0
votes
0answers
35 views

Print the result of an interactive command [on hold]

I am writing a CGI script to monitor the system state, so the information must be outputted to the terminal with echo or cat. The problem is, systat is an interactive command, so it doesn't print ...
1
vote
1answer
31 views

Verification of packages in a local mirror

Packages for several BSD and Linux operating systems / distributions are downloaded over a potentially insecure connecting or are later on replaced with a malicious version on the local disk. The ...
0
votes
1answer
43 views

Problem with pkg installation on freebsd

If I do pkg update I get: Updating FreeBSD repository catalogue... pkg: http://pkg.FreeBSD.org/freebsd:9:x86:32/latest/meta.txz: Not Found repository FreeBSD has no meta file, using default settings ...
2
votes
0answers
38 views

Do I have a swap space leak in FreeBSD?

I have a system with 16G RAM and 23G Swap (6 x 3TB disks in ZFS), currently the swap sits at 98% but I can only see 5G of ram used. I have checked all possible resources to find who is using the swap ...
0
votes
0answers
16 views

Automated incremental and synthetic full system backup and bare metal + file level restoration solution for FreeBSD?

I'm looking for something that enables automated incremental, synthetic full system backup and bare metal + file level restoration on FreeBSD. Basically I'm looking for a Veeam equivalent. The only ...
0
votes
1answer
36 views

blacklistd not blocking addresses

I've enabled the PF(4) firewall and blacklistd(8). Although IP addresses are being added to to blacklist, I can still see multiple failed attempts from a single IP address. Yet when I test it myself, ...
0
votes
1answer
78 views

-bash: ./catalina.sh: No such file or directory

Using SSH, I want to execute catalina.sh to start a Tomcat server (from my client Mac terminal). I log in without any issue. Then, I do: [site /home/public]$ cd $CATALINA_HOME/bin and on Enter I ...
1
vote
1answer
20 views

rc scripts for multiple Zope instances in FreeBSD

I'm trying to configure multiple Zope-Instances as daemons in FreeBSD. Each instance gets a start script in /usr/local/etc/rc.d. Starting works fine, but invoking status or stop is problematic because ...
0
votes
3answers
72 views

FreeBSD: How to set Bash as the default shell

I've used bash shell in all my Linuxes and in Mac OS X. I understand that tcsh is the default shell in FreeBSD. If I were to install bash, how would I make it my default shell?
1
vote
2answers
37 views

Get the SuperPage size

It appears that some BSD systems have a superpage size of 2MB while others have 4MB. I've not seen any others. Is there any way to tell what the available superpage size is? Ideally from the command ...
0
votes
1answer
46 views

Find all files with group write only permissions

In the following example directory $ ls -l total 0 -rw-r--r-- 1 user testgroup 0 12 feb 12:00 file1 -rw-rw-r-- 1 user testgroup 0 12 feb 12:00 file2 -rw--w-r-- 1 user testgroup 0 12 feb 12:...
0
votes
1answer
45 views

rsync output (ongoing) not recorded in new log file after rotation with newsyslog

I discovered this morning that on-going rsync output does not appear in the rsync log after rotation by newsyslog. It is lost In other words, a running rsync is logging to /var/log/rsync ...
0
votes
1answer
46 views

FreeBSD: What is the counterpart to apt called?

I'm about to install FreeBSD 12.1. I'm a longtime Ubuntu user, and I prefer to install apps via the command line. Just wondering.
0
votes
1answer
23 views

Finding dns-sd package for FreeBSD and Linux?

IETF RFC 6763 section 7.1 (p.21) refers to a CLI program called "dns-sd", which can be used to probe and report zero-config services, records and environments. A number of other web pages also refer ...
0
votes
0answers
56 views

#!/bin/sh not found (FreeBSD) [duplicate]

I have xyz.sh file at my FreeBSD: #!/bin/sh clear But when I run it from the command line (sh xyz.sh) I get the following error-message: : not found : not foundclear I guess some link or something ...
1
vote
0answers
34 views

How to solve gptboot: No /boot/loader on 0:ad(0p2) issue while installing Freebsd?

I have installed FreeBSD 12.0 in vmware virtual machine. After installaion, I am getting below error while booting. gptboot: No /boot/loader on 0:ad(0p2) gptboot: No /boot/kernel/kernel on 0:ad(0p2) ...
0
votes
0answers
32 views

Securing an open FTP on FreeBSD for visitor wifi speed testing?

I'd like to add a really simple local FTP server to my FreeBSD system, to allow guests to do wifi speed testing. Because of the use, I don't need more than very basic functionality - anon R/W to a ...
3
votes
1answer
45 views

IPV6 aliases in rc.conf

I am currently running FreeBSD 12.0-RELEASE-p2, and I can't figure out how to create both IPV4 and IPV6 aliases for a loopback (lo1) interface using rc.conf on boot. Here is a snippet of my rc.conf: ...
0
votes
1answer
55 views

Whould someone explain procstat output memory information?

I use the command procstat -r $(pidof myprocess) and I get the following output... PID COMM RESOURCE VALUE 84867 myprocess user time 00:...
3
votes
1answer
76 views

FreeBSD: How to update without network?

My home FreeBSD system seems to have some hardware issues with one of its network cards. Fortunately the box has a second network card which however is not supported in the FreeBSD release running ...
0
votes
1answer
36 views

FreeBSD starts in install menu after successful installation

I tried installing FreeBSD 12.0 from a USB, which went fine except that I had to do it in safe mode. After that there were no issues with the installation process save for networking. Now that ...
0
votes
0answers
20 views

mellanox cx3 40gb card not recognized on freebsd based os

i am based on freeNAS that is based on freebsd the system is stable and working, but the network drive have some error that i cant understand 28660:mlx4_core0: <mlx4_core> mem 0xdfa00000-...
0
votes
1answer
77 views

FreeBSD can't mount home partition

I've been having an issue with my first installation of FreeBSD. As I always do in GNU/Linux I created separate home and root partitions. The issue I've been having is that my home partition doesn't ...
2
votes
3answers
69 views

Embedding binary data into an executable using LLVM tools

In the past I have embedded resource files (images) into programs by first converting them to .o files using the GNU linker. For example: ld -r -b binary -o file.o file.svg Starting with FreeBSD 12, ...
3
votes
1answer
38 views

List Dependencies of Pending `pkg upgrade`

I wanted to update most of the stuff on my FreeBSD system, so I was going to perform a pkg upgrade. I noticed that one of the listed new packages to be installed was Wayland; I'm not interested in ...
0
votes
1answer
69 views

FreeBSD 11.2: how to add the aesni plugin to strongswan?

I installed strongswan using pkg install strongswan But now I've realized I need to have the aesni plugin enabled to optimize my IPsec tunnel. I've already enabled aesni at the OS level. The ...
1
vote
1answer
74 views

Refresh arp entries in FreeBSD

In Linux, an ARP entry's age gets reset/refreshed if a packet comes by. However, it seems that FreeBSD simply sets a timer, and unconditionally evicts the ARP entry even if packets with that MAC-...
1
vote
2answers
64 views

What is the reason FreeBSD jails don't get the entropy pool

I've noticed that the FreeBSD script that generates entropy, bails out if it finds it itself is running from within a jail. # uname -srm ## notice: install of mfsBSD (https://mfsbsd.vx.sk) FreeBSD ...
3
votes
0answers
100 views

How differently from Linux kernel does a typical Unix kernel (System V, Free BSD, …) implement processes and threads?

In my previous post, about the Linux kernel, the structure task_struct represents threads i.e. light weight processes, but not processes. processes are not represented by any structure, but by ...
5
votes
0answers
42 views

Possible to “build world” in FreeBSD without root? [duplicate]

The FreeBSD jail manpage has instructions on building a jail distribution tree: D=/here/is/the/jail cd /usr/src mkdir -p $D make world DESTDIR=$D make distribution DESTDIR=$D Is it possible to ...
10
votes
1answer
155 views

Why did FreeBSD lose the w mask but Debian retained it?

I am trying to understand the difference in behaviour between FreeBSD ACLs and Linux ACLs. In particular, the inheritance mechanism for the default ACLs. I used the following on both Debian 9.6 and ...
1
vote
1answer
75 views

Why are my new files not getting the group writeable permission?

I would like to set up a directory such that all new files are group writeable, regardless of the umask setting of the individual user. I've created a stor group and added all users to it. Then, I ...
1
vote
1answer
43 views

What containerization methods are actively being worked on for FreeBSD?

What is the state of containerization on FreeBSD as of FreeBSD 12? I've read about a few paths forward so far: Jails -- mature, but not a container mechanism ... Jetpack -- There is repository ...
0
votes
0answers
28 views

pfSense does not boot on Compaq

I have a Compaq Presario V2000 with an AMD Turion 64 processor. When booting from this USB image: pfSense-CE-memstick-2.4.4-RELEASE-p1-amd64.img It does load the kernel, but then during the boot ...
3
votes
3answers
208 views

How to create a FreeBSD ISO with mkisofs that will boot in VirtualBox under UEFI?

I am trying to write a script that will unpack and repack a FreeBSD ISO such that I can then do an installation with it. The goal is an unattended installation. I've got the following script written ...
3
votes
2answers
56 views

FreeBSD's vi does not do control-D unindent properly?

I'm on a minimalist FreeBSD system and need to use the built-in vi editor to edit files. To be specific, this is not vim, or vim-tiny or other replacement. It's the "4BSD bug-for-bug compatible" nvi ...
3
votes
3answers
2k views

Install Gnome3 on FreeBSD 12

According to the FreeBSD Handbook, Gnome can be installed as follows. pkg install gnome3 This command results in the following error. pkg: No packages available to install matching 'gnome3' have ...
0
votes
1answer
53 views

Running Tor service in the jail environment

I want to torify my FreeBSD old machine purposed to mainly darknet activities. Questions: Should I worry about these errors during creating jail? Warning: Some services already seem to be listening ...
0
votes
2answers
43 views

Filtering processes with top in FreeBSD

➥ When using top utility to view processes and their activity, how does one filter the list to a subset by name? For example when I want to see only the processes with a name containing postgres or ...
1
vote
3answers
154 views

Identify current default time zone set in FreeBSD

I know sudo tzsetup will prompt me to change time zone settings on FreeBSD. ➥ How can I see the current time zone settings, without making changes? I know date shows me current time. For example: ...
0
votes
1answer
74 views

How to check if wpa_supplicant.conf has any syntax errors?

I would like to know if there is a tool that allows me to check if I made any syntax errors in wpa_supplicant.conf(5). I am looking for a utility for wpa_supplicant(8) that would server the same ...
0
votes
4answers
70 views

Freebsd: backing up dotfiles with a shell script

A simple shell script is needed to copy dotfiles, adding a .backup extension, i.e., .dotfile1.backup. The script below will not work because it adds extensions to pre-existing backups forever and ever,...
1
vote
2answers
216 views

FreeBSD 11.2 - 256 color support in console window

I installed FreeBSD 11.2 on my DELL Latitude E7470 with UEFI (might be important). By default it does not install a GUI and that is fine by me (for now). Using the <Alt>+<Fn> keys I can ...
1
vote
1answer
348 views

FreeBSD 11.2 - Default resolution on console window

I installed FreeBSD 11.2 on my DELL Latitude E7470 with UEFI (might be important). By default it does not install a GUI and that is fine by me (for now). Using the <Alt>+<Fn> keys I can ...
3
votes
0answers
77 views

FreeBSD 11.2: how to resize the boot options menu on a UEFI/GPT/ZFS machine?

Is there a way to resize the boot options menu in Freebsd 11.2 on a UEFI/GPT/ZFS machine (zfs-on-root)? On multiple machines, the installation resulted in the boot options menu being rendered in a ...
4
votes
3answers
131 views

How to merge pre-sorted files into a single BIG file, without excessive memory or temporary disk use

I'm trying to sort (and ideally remove duplicate lines) from a 1.4TB file. Splitting and sorting the individual chunks is not an issue, but reassembling them is turning out to be a challenge. I ...
0
votes
1answer
132 views

UFS2 file system in FreeBSD - reliability in case of recovering from power outages?

I am planning a bare metal installation of FreeBSD 12-rc3 in my desktop with 6GB DDR3 non-ECC RAM and core i3-2120 based system. My concern is in a rare case of power failure, how well UFS2 will work? ...
0
votes
1answer
44 views

How to backport FreeBSD 13-CURRENT C.UTF-8 locale to 11.2-Release?

I've been administering a FreeBSD system through SSH, and she doesn't seem to like the non-ASCII characters I've entered. One noted in the bug report that the problem got fixed with the C.UTF-8 ...
3
votes
1answer
182 views

SSH to FreeBSD in UTF-8

I'm trying to ssh to FreeBSD-11.2-Release from my Windows machine using Mintty, but when I set LC_ALL to en_US.UTF-8 and try to enter/paste a non-ASCII character, connection got closed. I'm using ...