Questions tagged [freebsd]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
24 views

Different mlocate database for each user?

This may come across as a silly question because each file and directory on a system can and will have permissions to block an ordinary user from seeing various files- but for added security sake and ...
3
votes
1answer
40 views

How to boot FreeBSD from GNU GRUB 2 bootloader command mode

I've been following an installation guide for FreeBSD and this part seems to be skipped. When I reboot my system after the initial installation it loads to grub boot loader, but in command mode as no ...
0
votes
0answers
27 views

How do I create a network bridge between WLAN and Ethernet on FreeBSD?

I have a nice not-too-old laptop and I'm running FreeBSD 12.1 Stable on it. I want to share my internet connection from my Wireless card to whatever I connect to the Ethernet slot on this computer. ...
1
vote
1answer
31 views

Blacklist IP file for `ipfw`?

My /etc/rc.firewall file contains the following additional lines created by me, with the purpose of banning attacker's DDoSers IPs: ${fwcmd} add deny ip from 122.228.19.80/24,\ ...
0
votes
0answers
30 views

Configuring kbdmap on FreeBSD for Meta+Left/Right key combinations

I have a FreeBSD 12.1 installation, and the problem is that on a syscons or vt virtual terminal (rather than, say, an XTerm emulated terminal), both the keys ← Left and ⎇ Alt+&...
0
votes
1answer
45 views

Difference between `pkgin` and `pkg_*`, and which to use?

Coming from Linux land, I assumed that pkgin is some sort of higher-level frontend for pkg_add et al, something like what apt is to dpkg or yum/dnf to rpm. But pkg_add appears to handle installation ...
0
votes
0answers
36 views

Why does htop show kernel using 0% memory?

I'm running freebsd with ZFS and moving a few TB of data currently and while watching it "flow in" I noticed in htop that the kernel has been actively helping migrate a zfs snapshot into a pool and it ...
1
vote
2answers
116 views

grep regular expression that matches all valid IPv4 and IPv6 addresses

I'm looking for a regular expression for grep that filters out IPv4 and IPv6 addresses from an arbitrary file containing them. I'd like it to behave like this one for IPv4 addresses: grep -E -o "(25[...
1
vote
2answers
28 views

FreeBSD does not boot after power loss/upgrade/ever? (ntpd issue…)

(Edit: leaving the original question for background; skip down to below the divider if you aren't interested.) My residence recently experienced a power outage. Unfortunately, as I was out at the ...
1
vote
2answers
41 views

dmesg follow in FreeBSD

Is there a way to watch dmesg in realtime on FreeBSD like using the --follow (-w) option on dmesg in linux?
5
votes
0answers
60 views

Improving NFS performance on FreeBSD system

I have a FreeBSD storage Server exporting ZFS Datasets via NFS, but the performance for small file transfers is below the acceptable limit. Some background info: The exports are handeled via /etc/...
3
votes
1answer
52 views

How can I install i386/x86 shared libraries on freebsd?

GDB is telling me, that the program compiled with gcc -m32 (i386 program) is incompatible with my shared libraries (i386:x86-64). Output of gdb: (gdb) r Starting program: /root/format warning: `/...
1
vote
1answer
55 views

Booting mfsBSD via PXE with UEFI

I'm trying to boot mfsBSD ISO via PXE on a host with UEFI boot enabled. It was a pretty simple task with BIOS boot, the ipxe config for this task looked like this: kernel --name freebsd http://pxe....
1
vote
1answer
44 views

Wireguard on FreeBSD stopping on start

I'm somewhat new to FreeBSD and trying to setup Wireguard. I've setup Wireguard on a few different Linux and iOS/OS X based devices without issue, but running into an issue on FreeBSD (12.1-release), ...
0
votes
0answers
18 views

Can't make folders with some names in FreeNAS Samba shares

I have a FreeNAS box with 40 or so SMB shares. Mostly works no problem. Except for this one share where I can't create folder sometimes based on the name of the folder. I noticed, because if I ...
0
votes
1answer
30 views

FreeBSD 12 on Poweredge T330 and Toshiba 12 TB SAS

I am trying to add a SAS-disk (MG07SCA12TA) on Perc H330 to my server. When I try to initialize the disk with gpart gpart create -s gpt mfisyspd4, it yields gpart: Input/output error. Here is what ...
0
votes
1answer
58 views

FreeBSD 11.3 p5 AMD64 cant upgrade to RELEASE-12 config thinks its already 12

Can't upgrade to release 12 as freebsd-update thinks I'm updating FROM release 12 not TO release 12. root@bsdxp:~ # uname -mrs FreeBSD 11.3-RELEASE-p5 amd64 root@bsdxp:~ # freebsd-update -r 12-...
0
votes
0answers
13 views

vnc broke my mouse in freebsd

I am using freebsd 12.1 I will include a Tl:DR at the end I installed x11vnc, xorg, and started it then launched x11vnc the following parameters "x11vnc -rfbauth ~/.vnc/passwd -forever -display" It ...
1
vote
0answers
35 views

how can I manage services running in freebsd jail

I've inherited some systems that run on freebsd and inside jails. Basically the services running are old versions of qmail, spamd, dovecot, etc. None of the versions are up to date or even ...
0
votes
1answer
144 views

Is there anything similar to CrystalDiskMark for UNIX?

If you're shopping for an SSD, you've surely seen one of those screenshots from CrystalDiskMark with a few green squares, and the 2x4 matrix with results of doing read/write tests for the given ...
0
votes
2answers
137 views

How can I change the net-snmp engineID

I'm using NET-SNMP 5.7.3 on Freebsd 12.1. I want to chane engineID with snmpset command. snmpd.conf rwcommunity private I enter this command: snmpset -v 2c -c private localhost e x ...
0
votes
0answers
67 views

FreeBSD 12.1 pkg error: no trusted fingerprints

I have just installed FreeBSD 12.1 and want to give it a try. I used qemu. When I types pkg, it started normal bootstrapping. After downloading, it says No trusted fingerprint found matching package'...
2
votes
0answers
29 views

ipfw dummynet per ip fair traffic shaping

I want to shape traffic in such way, that no specific user could exhaust WAN connection that much so other users would be affected. I have ISP link with 100Mbits/s bandwidth and sometimes some users ...
0
votes
1answer
24 views

Create CPU load in the background for FreeBSD

My current FreeBSD box suffers from the Ryzen 1st gen C-state bug, and I've tried everything to fix it to no avail. The only thing that prevents random hard locks is keeping at least 1 core loaded. ...
1
vote
1answer
54 views

Can't create FAT32 partition with gpart under FreeBSD

Gpart (not gparted) under FreeBSD has problems to add a FAT32 partition when using GPT (works with MBR). This is the disk: % gpart show /dev/da0 => 40 15257520 da0 GPT (7.3G) 40 ...
1
vote
1answer
64 views

How can I send snmp trap from freebsd

I'm on Freebsd 12. I installed NET-SNMP version 5.7.3 on my system. The problem is in sending traps. For example the link up/down does not sending trap. The config files are: snmpd.conf view V ...
3
votes
0answers
55 views

Upgrade FreeBSD to specific patch version

My FreeBSD is running version 11.2 FreeBSD host1 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510: Fri Jun 22 04:32:14 UTC 2018 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 I ...
2
votes
1answer
32 views

Ctrl-Backspace in vim broken after upgrade

Under FreeBSD’s xterm the following setting made vim delete the last word after pressing ctrl+← (“Control+Backspace”): set backspace=indent,eol,start inoremap <C-?> <C-W> cnoremap <C-?&...
3
votes
0answers
101 views

Increasing Disk size on FreeBSD 11.2 (pfSense | ESXi)

I tried to use this link to solve my problem but to no avail; Expanding the disk size on pfsense under VMWare ESXi. I'm using pfSense and I wish to increase the disk drive from 11GB to 200 GB. Steps ...
-2
votes
1answer
63 views

FreeBSD 11.3. Cant start freeradius

Im trying to start freeradius on FreeBSD 11.3 FreeRADIUS Version 3.0.19 Copyright (C) 1999-2019 The FreeRADIUS server project and contributors There is NO warranty; not even for ...
0
votes
1answer
45 views

In FreeBSD, what flag or file designates 'root' and 'toor' as immediately logging in with su privilege without needing “su” after login?

Obviously it's widely recommended not to log in directly as a superuser account, but I'm curious. What is the flag or setting that FreeBSD uses to recognise those accounts that automatically gain ...
0
votes
0answers
86 views

FreeBSD v12.1 tested with VirtualBox 6.0?

Does anyone have a working / tested configuration between these two? I followed the following instructions, was able to use SharedFolders, however some of the file contents in the SharedFolder was ...
1
vote
0answers
47 views

freebsd lsyncd fails

It`s log file lsyncd working with /pool/www/yiiazertag/azertag/css/ folder. Wed Nov 6 13:27:11 2019 Normal: --- Startup, daemonizing --- Wed Nov 6 13:27:11 2019 Normal: --- Startup --- Wed Nov 6 ...
5
votes
2answers
314 views

Does FreeBSD contain multiple variants of basic regex?

grep and sed are both described as using "basic regex" ("BRE") by default. BRE is well described here. But consider this output: # echo ' aaaaa ' | grep '\(aaaaa\|bbbbb\)' aaaaa # echo ' ...
3
votes
1answer
205 views

Create a new locale on FreeBSD

I'd like to create a new locale on FreeBSD. I thought that I can just copy one of the existing ones in /usr/share/locale but apparently it is not so simple. Firstly, I just create a copy of the en_US....
1
vote
0answers
24 views

Get immediate folder of file using find (issue with spaces) [duplicate]

I'm trying to search my Movies folder to find the immediate folder of the .MKV file I'm searching for. The below works (echo 5) to save the immediate folder as a variable, BUT, it does not work if $...
1
vote
0answers
47 views

Issue with editing the current command in FreeBSD

I have a server running FreeBSD which I ssh to using WSL, if that helps. On the remote server I have a weird issue that I don't know how to describe, i'll give an example scenario: Say for example I ...
2
votes
1answer
103 views

rm -f <file> command returns “invalid Argument” mv, chmod met with same output

Below I've included a truss of the command, I've tried various ways to rm, but each one is met with the same output: NOTE: this was run on an isilon NAS cluster (their Technical support is also ...
2
votes
1answer
291 views

How to determine AMD chipset driver version for BIOS update

I'm looking to update my BIOS on my Gigabyte GA-AB350M-DS3H. Currently it's running FREENAS 11.1-U7. On the BIOS page it says Note: Update AMD Chipset Driver 18.10.20.02 or latest version before ...
1
vote
1answer
128 views

How to use if on csh FreeBSD from test if file is older then X minutes

I have the following code working in Debian system's: for File in "${Files[@]}"; do if test "`find $FolderDownload/$File -cmin -190`" ; then echo "File is new then 3 hours" # Set ...
0
votes
1answer
92 views

First time installing TinyDNS as a service in a FreeBSD jail - how to do it?

I'm using FreeBSD 11.2 at the moment (likely to move to 12 in a while). I need a tiny authoritative-only DNS server (no lookup or caching needed, under 10 domains and under 10 queries/hr, almost no ...
5
votes
1answer
49 views

What is the pkg analog of “apt show”?

pkg info displays full information on the installed packages. How do I get the same output for packages not yet installed? On Ubuntu, apt show does exactly that. ETA: An example of what I'm looking ...
3
votes
1answer
33 views

hg actions appear to abort on FreeBSD VM: wcache owned by root

I am running a FreeBSD 11.2-RELEASE-p14 build server as a headless VM using virtual box. I ssh -Y into a terminal session. I'm using mercurial version 5.1.1 When I do hg actions, I often get an ...
1
vote
1answer
121 views

How to resolve ld-elf.so.1: /bin/sh: Undefined symbol “stat@FBSD_1.5” enter full pathname of shell or return for /bin/sh:

In my upgrade from freebsd 11 to FreeBSD 12 I got an error message ld-elf.so.1: /bin/sh: Undefined symbol "stat@FBSD_1.5" I restarted my OS and now error continued ld-elf.so.1: /bin/sh: Undefined ...
0
votes
1answer
218 views

FreeBSD natd port forwarding

I'm trying to set up simple natd port forwarding on my FreeBSD router, so that I can get to local Win machine (192.168.20.10) via RDP from external network. The configuration is following: FreeBSD 12....
0
votes
1answer
39 views

How to use globbing for loop in bash -c command?

I'm trying to run a for loop inside of bash -c so I can time it. This code writes 23 every time. How can I make it iterate through the numbers? time bash -c "for i in {0..23}; do echo $i & done"...
0
votes
0answers
28 views

FreeBSD 11 not recognising changes to connected devices when MTP device attached to USB. Phone, cable, and USB socket all work

When I connect my phone via USB (USB type C to A cable) to my FreeBSD 11.2 setup, nothing happens. No console messages, nothing in camcontrol devlist, dmesg, or usbconfig AFAICS. (I could be missing ...
0
votes
0answers
39 views

ffmpeg “No match.” error on freebsd

im trying to split the 3D side by side video with this code.. ffmpeg -i sidebyside.mkv -filter_complex "split[l][r];[l]stereo3d=sbsl:ml[left];[r]stereo3d=sbsl:mr[right]" -map [left] -b:v 11600k -map ...
-1
votes
1answer
50 views

Problems with FreeBSD on Debian's GRUB2

FreeBSD newbie here. I have a Windows 10, Debian Linux and most recently, a FreeBSD installation on a 240GB SSD and a 1TB HDD reserved purely for files. FreeBSD's installation went quite well since I'...
-1
votes
2answers
45 views

Command not running from inside shell script [closed]

The script: #!/bin/sh scp /conf/acme/* gentooserver:/etc/ssl/apache2/ scp /conf/acme/* octopi:/etc/ssl/ When I execute it, I get output indicating at least the first command executes. (Plus the ...

1 2 3 4 5 29