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

learn more… | top users | synonyms

1
vote
1answer
29 views

Hook serial port interrupt in FreeBSD

I need to write a program to react to the modem control lines changing in the serial port on my FreeBSD 10.3 machine. I don't want to read any data from it (there won't be any). I'm aware I can ...
0
votes
1answer
14 views

FreeBSD nullfs and strange file size

How to determine a correct file size? It cannot be 680G. I suppose it's somehow related to some nullfs related feature # ls -lah system.log -rw-r----- 1 web vuser 680G 21 Jul 22:59 system.log # ...
1
vote
1answer
106 views

You have security/openssl installed but do not have DEFAULT_VERSIONS+=ssl=openssl set in your make.conf

On FreeBSD, ever since I installed openssl explicitly I have the following message when I install most ports that require openssl: /!\ WARNING /!\ You have security/openssl installed but do not have ...
0
votes
1answer
22 views

Configuring fluxbox (or any other WM) on FreeBSD

First time using FreeBSD (or any BSD). I recently installed FreeBSD and installed xorg and fluxbox with: pkg install xorg fluxbox And put this in the .xinitrc for my user: exec xterm & ...
0
votes
1answer
43 views

Where is the __sysctl function defined in FreeBSD?

I am reading the source code to understand sysctl in FreeBSD. It looks like the most important function int __sysctl(const int *name, u_int namelen, void *oldp, size_t *oldlenp, const void *newp, ...
0
votes
0answers
25 views

Cannot start X server on new FreeBSD install

I Installed FreeBSD (from the USB image) and was able to log in. I installed xorg using pkg install xorg . But I cannot start the X server. When I use startx, I get an error: xinit: unable to run ...
1
vote
1answer
30 views

How can I find duplicate processes on FreeBSD?

I suspect that there is some replicate (many instances) process that is overloading the CPU of my FreeBSD 10.3 (pfSense v2.3) computer, but I don't know what its name could be. The process is ...
0
votes
0answers
30 views

QEMU/KVM: USB3 passthrough to FreeBSD

I'm making my first steps in FreeBSD, so please excuse any possible "linuxism". My goal is to run FreeBSD 10.2 inside virtual machine with QEMU/KVM and allow USB3 network card passthrough from the ...
2
votes
1answer
47 views

Freebsd: pf firewall doesn't work on restart

I'm running FreeBSD 10.3 p4 and observed some strange behavior When restarting the machine pf starts due to /etc/rc.conf entry # JAILS cloned_interfaces="${cloned_interfaces} lo1" gateway_enable="...
3
votes
0answers
49 views

BTX Halted. When I trying to install freeBSD 10.3 on my notebook I got this message:

I'm trying to install FreeBSD-10.3 (FreeBSD-10.3-RELEASE-amd64-dvd1.iso) It's done perfectly on vmware virtual machine (with windows 10 host), but when I'm trying to install it on my notebook (ACER ...
0
votes
1answer
22 views

setxkbmap il and then setxkbmap us: How to switch back keyboad layout to English after changing keyboard layout to some other language

I do this setxkbmap il on my xterm and then do my stuff in my local language layout. When done, I want to switch back to English layout with setxkbmap us but I cannot type English in my xterm. What ...
4
votes
0answers
25 views

Let ifconfig wait for IPv6-address to not be tentative

I claim an IPv6 address using ifconfig in a script. This address is then immediately used to listen on a TCP port. When I write the script like this, it fails because the service is unable to listen: ...
0
votes
0answers
27 views

Running a Sabrent PCI-802N Wireless Card on pfSense 2.3.1?

The wireless card I'm using is a Sabrent PCI-802N Ralink RT3062F PBG26220E0 I tested the card in Linux and was able to connect another access point and retrieve webpages; in Linux it used the ...
2
votes
0answers
20 views

separate debug-info files in FreeBSD

In GNU/Linux, there are debug-link and build-id sections in ELF files which shows separate debug-info files name or CRC32 [https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html]. There ...
5
votes
1answer
60 views

How can I use terminfo entries on FreeBSD?

On my local Linux machine, I'm using termite (VTE-based). It it comes with its own terminfo file (xterm-termite), which is not distributed with ncurses by default. I try to connect to a remote ...
0
votes
1answer
55 views

Configure wireless network on FreeBSD: router shows wireless device is connected, but cannot ping

My issue looks similar to this one. I configure my Broadcom BCM4311 802.11b/g device on FreeBSD 10.3-STABLE like this: sudo kldload if_bwn sudo kldload bwn_v4_ucode sudo kldload bwn_v4_lp_ucode #...
2
votes
1answer
28 views

Installed ImageMagick7-7.0.1.5 on FreeBSD 10.3 but there is no `import` command available after installation

After running $ sudo pkg install ImageMagick7-7.0.1.5 on FreeBSD 10.3, noticed that what I needed is not installed: import Am I missing something?
1
vote
0answers
27 views

FreeBSD display resolution under Veertu

I'm trying to set up FreeBSD 10.3 under Veertu. When starting X, the largest resolution I can get is 1280x720 (well, I can select 1280x768, but then I have to scroll). My actual screen is much bigger ...
0
votes
1answer
18 views

Why are all files incoming via FTP erased into empty files?

My FTP service is misbehaving. Erasing all incoming files to empty (0 filesize) I have been running FreeBSD 9.0 webserver, and finally thought I would upgrade. I tried to to it using this command: ...
0
votes
0answers
40 views

Can't mount fdescfs to /dev/fd

Hello I can't mount fdesc,here is the output root@nshost2:~ # mount -t fdescfs fdesc /dev/fd mount: fdesc: Operation not supported by device And here is the output of dmesg root@nshost2:~ # dmesg |...
1
vote
1answer
27 views

What is ${PYTHON_REL} FreeBSD

I have an error whilst making a port, so I checked the makefile, and found the problematic line. The issue is that I don't know how to fix it, as I don't know how to change the Python_Rel variable. ...
1
vote
2answers
67 views

How do I change FROM address using mailx on FreeBSD from command line?

I'm using following system: $ uname -a FreeBSD X 9.2-RELEASE-p17 FreeBSD 9.2-RELEASE-p17 #0 r282430: Mon May 4 13:59:58 PDT 2015 root@X:/usr/obj/usr/src/sys/R610 amd64 $ pkg info mailx mailx-0....
2
votes
1answer
59 views

Installing Swift on Freebsd Cannot Make LLVM

I am attempting to build Swift using the new port on FreeBSD 10.2, however, make throws the following error : llvm38-3.8.0_3 is marked as broken: LLDB does not build with Python 3. What do I ...
1
vote
1answer
20 views

Permissions to allow files to be written, but not read, overwritten or modified

I'm setting up a file share for a small group (CIFS/samba on FreeNAS, so the base system is FreeBSD/ZFS using ACLs). I want to allow users to put stuff into a folder on the share - but not to be ...
3
votes
1answer
85 views

How can I mount an Apple Time Capsule in FreeBSD (FreeNAS) as a smbfs share?

I am trying to mount a 3rd generation Apple AirPort Time Capsule share on a FreeNas box. I can connect to the share using smbclient and the remoteUser password. % smbclient -U remoteUser -L //...
1
vote
1answer
43 views

Why doesn't zfs list output the real size of a snapshot?

So I am running low on space on a zfs based backup server and deleted some old backups, but the space on the filesystem wasn't freeing up afterwards. First guess? There must be some old snapshots ...
2
votes
1answer
36 views

Why is SIGHUP ignored by daemon(3) only in FreeBSD?

As part of the systemd tmux daemon() discussion on reddit, I've noticed that it's only the FreeBSD version of daemon() libc library call that ignores SIGHUP sigaction(2), but not OpenBSD or glibc/misc/...
0
votes
0answers
38 views

How can I destroy carp VHID

Hello after carp configuration on my IMS interface I see that I have also 2 INIT state vhid configured on EXT interface.How can I destroy this 2 vhids? Any suggestion? Thanks in advance. IMS: flags=...
1
vote
1answer
41 views

2 different libelf.h and libdwarf.h in FreeBSD?

In FreeBSD 10.3 there are 2 libelf.h, /usr/include/libelf.h and /usr/local/include/libelf/libelf.h. And they have different defines, such as enum Elf_Cmd. Also there are 2 libdwarf.h, /usr/include/...
1
vote
0answers
18 views

Avahi on FreeBSD: Machine is Seen but Does Not See

I'm in the process of setting up Avahi 0.6.31 on a FreeBSD box on a network that uses mDNS for address resolution. I have two other boxen on the same network: one Ubuntu 14.04 with Avahi 0.6.31, and ...
1
vote
0answers
19 views

In FreeBSD's pkg, which actions mark a package as non-automatic

I'm trying to keep my packages up-to-date and unused packages off my system. pkg has a feature called autoremove that will prune unused installed packages that were installed to fulfill dependencies. ...
1
vote
1answer
31 views

Can't find 8GB data in FreeBSD [closed]

I can't find 8GB data in FreeBSD. I use df -h and see this: /dev/da1s1a 19G 16G 1.4G 92% / devfs 1.0k 1.0k 0B 100% /dev zzdata/jail 341G 22G ...
1
vote
0answers
43 views

RT3592BC8 Bluetooth and FreeBSD

Several years ago (in 2008) I purchased a HP ProBook which I now want to sell because I got a newer laptop in January 2016. The ProBook is a Celeron Dual Core with 4GB of RAM and 250GB HDD. I have two ...
2
votes
0answers
39 views

External Fragmentation in FreeBSD due to unmovable Kernel pages

Is external fragmentation an issue in FreeBSD due to unmovable Kernel pages similar to what Linux (1) (2) faces?
0
votes
2answers
84 views

what is the structure of meta-object set(MOS) metanode?

I am not very much familiar with ZFS file system. I want to know the structure of meta-object set(MOS) metanode.
0
votes
0answers
61 views

FreeBSD or simply Docker for my old Linux server?

I have an old obsolete server running a Linux Red Hat server 5.9 and inside a special software for a power plant control and I've been asked to replace this server as not so much spare parts are in ...
2
votes
0answers
35 views

Transmission keeps resetting file system permissions on FreeBSD

I'm trying to set up a transmission server for use as a seedbox. I've done this before on an Ubuntu box, but this is the first time I've tried it on FreeBSD. The default home directly for ...
0
votes
2answers
35 views

FreeBSD date utility -r switch confuses me

I have a bash script which I need to convert from linux to FreeBSD, but I'm obviously too stupid to read the man page in a proper way. The script has a line along: date +%d -r "$file" which works ...
-3
votes
1answer
42 views

How can I treat my disk like one big file?

I was reading about device files in FreeBSD, but my understanding is not great. To practice, I thought up the following scenario. I suspect that the problem can be solved using device files. Imagine ...
0
votes
0answers
72 views

ATA Status Error on FreeBSD 10.3 x64 install on 2TB drive

I'm trying to perform the FreeBSD 10.3 (x64) OS installation on a Dell Optiplex 755 computer, with Seagate Barracuda 2TB drive. HD: Seagate Barracuda 2000GB Model:<ST2000DM001-1CH164> These ...
0
votes
0answers
9 views

Free BSD is not recognized with Grub2 [duplicate]

I'm new to double booting, and the answer might be vary simple Today I set up two operating systems on a 160GB Hard Drive. The first one I installed was Fedora Workstation and set it up so it only ...
1
vote
0answers
34 views

BSD sound problems with Realtek 892

I'm having the same problem as: No sound with Mint 12 and Realtek ALC892. The user marked it as "Resolved" without actually resolving it, he just changed to another OS and gave up. Has anyone ...
0
votes
1answer
33 views

Installing Avahi on FreeBSD - Daemon Doesn't Start

I've just installed package avahi-app-0.6.31_5 on a fairly-clean FreeBSD 10.3, but the service isn't starting on its own. I've consulted the documentation and discovered that there isn't any. Can ...
1
vote
1answer
35 views

Mounting zpool (Solaris server and Freebsd client)

I have a Solaris with ZFS file system and NFS. I am kind of lost on how to export directories from the Solaris OS which has zfs via NFS? That way I can mount them on Freebsd client.
0
votes
1answer
62 views

FreeBSD ports collection under PC-BSD?

I'm toying with the idea of installing FreeBSD or PC-BSD... as it looks now, I'll probably go for PC-BSD. However, one thing I really would like, is the FreeBSD ports collection. So I was wondering ...
3
votes
1answer
87 views

Accessing Luks-encrypted disc from FreeBSD

I have some data on a ZFS in a machine running FreeBSD that needs evacuation. I have a disc in a USB enclosure with enough space, but it's encrypted using Luks on a machine running Linux. Is there any ...
1
vote
1answer
15 views

How does rollback work on soft updates

I've been reading a paper on soft updates recently and it discusses rolling back changes to avoid dependency cycles. The point of doing this is because "we have to write to the disk in block-size ...
0
votes
1answer
68 views

Reading user input with read back

when I use simple bash command #!/bin/bash echo Please, enter your name read NAME echo "Hi $NAME!" and run it using source filename.sh it gives me an error :Undefined variable what could be the ...
1
vote
1answer
30 views

Turn DOCS, NLS, and EXAMPLES options off by default for all FreeBSD ports

The Porters Handbook says in "5.12.1.3. Default Options" that DOCS, NLS, and EXAMPLES are on by default for all ports. I want them off, so I have to unchecked them manually during make config-...
1
vote
0answers
60 views

Mount storage from host in bhyve VM

Is it possible to mount storage space from the host environment inside a bhyve virtual machine? I could use a network share, but I figure there would be less overhead mounting the data directly. I'm ...