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

learn more… | top users | synonyms

1
vote
1answer
11 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 ...
0
votes
0answers
12 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: ...
1
vote
1answer
12 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, ...
2
votes
1answer
16 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 ...
4
votes
3answers
19k views

ls to show only directory/filename and size

First of all, this is not a duplicate of this: Linux ls to show only filename date and size Because I want to print actual directory name additionally. I was always using this command: ls -l | awk ...
1
vote
0answers
9 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 ...
0
votes
1answer
2k views

Configuring Apache 2.4 for CGI on FreeBSD

I am trying to run CGI on FreeBSD 9.2. I installed Apache 4.2 (pkg install apache42) Configured it to load CGI module. Also, I did chmod a+x on files in cgi-bin directory. And when I connect to ...
1
vote
0answers
15 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. ...
4
votes
3answers
955 views

Is there an easy way to not log a specific sshd event?

The monitoring tool of my hoster is making regular connections with ssh on port 22 to see or the service is up. This is cluttering my /var/log/messages with this kind of messages: Dec 13 22:20:17 ...
1
vote
1answer
27 views

Can't find 8GB data in FreeBSD [on hold]

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 ...
3
votes
2answers
55 views

Configuring FreeBSD to get IP from my FreeBSD DHCP Server

I have a scenario where I have two FreeBSD machines. I setup one to be a DHCP server so it can lease IP address. I have provided IP ranges, default DNS , host name , and all other settings in my ...
1
vote
0answers
24 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
3answers
128 views

Why does FreeBSD require terminal programs to be started as root?

On FreeBSD all graphical terminal programs (e.g. xterm, rxvt) seem to be installed setuid root, or with setuid root wrappers. On Linux, this is not the case on any distribution I have ever used. Why ...
1
vote
0answers
35 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
31 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
35 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 ...
0
votes
1answer
33 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 ...
1
vote
4answers
1k views

NFS mount fails at boot time

I have the following in /etc/fstab on FreeBSD: venture:/usr/redacted /usr/local/redacted nfs rw 0 0 This fails during boot. However, after boot, the following command succeeds ...
2
votes
0answers
28 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
29 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 ...
7
votes
2answers
2k views

How can I boot the PC-BSD live DVD-ISO IMAGE directly via GRUB2?

Via the loopback command, GRUB2 allows to directly boot an ISO file. Now, I've configured the according menuentry to boot the PC-BSD Live DVD ISO, but when I try to boot it, the FreeBSD bootstrap ...
-3
votes
1answer
40 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
24 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 ...
4
votes
1answer
2k views

Howto fix my PHP install on FreeBSD using pkg

I've been messing around with pkg install, installing / removing both php5-5.4.29 and php55-5.5.13. But when I run php from the command line, it will give me an error like this: PHP Warning: PHP ...
4
votes
2answers
896 views

How do I make use of unused space on my boot drive on FreeBSD

I have an old FreeBSD Server (running 7.3-RELEASE) that desperately needs additional storage. In fact, it has some-- the original 20G SCSI drives have been replaced by 300G SCSI drives, so in theory ...
1
vote
2answers
134 views

pfSense with Mellanox ConnectX-2 10GBit NICs

I recently picked up two Mellanox ConnectX-2 10GBit NICs for dirt cheap. I'm trying to get these to be recognized by a pfSense box. The BIOS recognizes the NICs, no problem whatsoever. However, ...
7
votes
1answer
4k views

FreeBSD or PC-BSD?

After years of Linux I would like to give *BSD a try, but I'm uncertain if I should use FreeBSD or PC-BSD. With KDE out-of-the-box and graphical package-manager and such, PC-BSD strikes me as ...
5
votes
2answers
3k views

How to install PostgreSQL 9.3 in FreeBSD jail?

I configured virtual NICS using pf, and a jail for FreeBSD using qjail create pgsql-jail 192.168.0.3. When I tried to install PostgreSQL 9.3 using port collection, it shows strange message at first. ...
3
votes
1answer
1k views

How do I allow user permissions to data on a Couchpotato and Sickbeard Plugin using Freenas

Trying to setup permissions for the plugins sickbeard / couchpotato. I’ve read almost every thread google / the forums have but haven’t really found a solution yet. I’m assuming it’s the data here: ...
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
17 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 ...
6
votes
2answers
949 views

What is causing a pause during the system device probe?

I am running FreeBSD 10.0-RELEASE. During the boot device probe there is a two-times 30 second pause. The output relevant to this is # dmesg ... (aprobe0:ata0:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 ...
2
votes
2answers
822 views

Restart specific racoon tunnel

I have several gif* interfaces on my FreeBSD box. They are representing tunnels, encrypted using racoon+ipsec. If, at some moment, one of the tunnels hangs up, I am forced to reset racoon this way: ...
2
votes
2answers
818 views

Restart/reload IPFW remotely via ssh without losing connection

Is it possible to restart IPFW or reload its script remotely via ssh connection without loosing current connection?
0
votes
1answer
20 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 ...
2
votes
1answer
11k views

Why can't I enable Transmission on FreeNAS 9.2? I keep getting an error

I have installed the plugin correctly, but every time I try and start it either using service transmission start, or trying to flip the on switch from the plugins page, I get this error: ...
1
vote
1answer
28 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
53 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 ...
3
votes
1answer
49 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 ...
0
votes
0answers
13 views

How do I create an bootable UBCD-stick using FreeBSD?

I have an UltimateBootCD-image-file (iso) and I want to create a bootable usb-stick from it. I tried dd'in it, % dd bs=4M if=/path/to//ubcd.iso of=/dev/da0 && sync 103+1 records in 103+1 ...
1
vote
1answer
14 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 ...
4
votes
2answers
2k views

NAT and source IP filtering in PF, using OpenBSD >= 4.7

I just read a book about PF (The Book Of PF, No Starch), but there's one question not answered by it. If I have a gateway machine using two interfaces, $int_if and $ext_if, and I NAT the packages ...
213
votes
4answers
76k views

Why is FreeBSD deprecating GCC in favor of Clang/LLVM?

So I was surfing the net and stumbled upon this article. It basically states that FreeBSD, starting from Version 10 and above will deprecate GCC in favor of Clang/LLVM. From what I have seen around ...
3
votes
1answer
756 views

Nas4free (freeBSD) wont make it past bootloader without keyboard?

I've got an old Compaq machine re-purposed as a Home NAS using Nas4free. I've had it connected up to a monitor and keyboard (PS/2) for a while, (which boots fine, no issues) but I would like to have ...
1
vote
2answers
2k views

FreeBSD telnet does not take root login

I have just installed FreeBSD 8.1 as a VMWare host and can establish ipv4 connectivity to the instance and telnet through the virtual console. I have also uncommented the /etc/inetd.conf lines telnet ...
1
vote
0answers
439 views

Installing XBMC/Kodi and X server on FreeBSD

I couldn't find how to install X server and XBMC/Kodi on FreeNAS. So without any opinion if it's good or not, what are the steps to do it?
4
votes
3answers
2k views

Force fsck at boot time on the root file system (prior to mounting file systems, without Single-User mode)

I just wonder if there are any solutions available at all (Googled for 2 hours). How to automatically force fsck disks after crash in `systemd`? - does not mean anything. Setting fsck_y_enable="YES" ...
1
vote
1answer
25 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 ...
24
votes
7answers
4k views

How to achieve portability with sed -i (in-place editing)?

I'm writing shell scripts for my server, which is a shared hosting running FreeBSD. I also want to be able to test them locally, on my PC running Linux. Hence, I'm trying to write them in a portable ...
3
votes
1answer
364 views

Do I need to setup my ZFS (using FreeBSD 10) for foreign-language files (e.g. filenames in Japanese/Thai/etc language)?

I am in the process of setting up a ZFS file server. I am planning to store all sorts of files in it. I have several hundred music tracks that are in Japanese/Korean native character. I want the file ...