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

learn more… | top users | synonyms

1
vote
3answers
530 views

Add FreeBSD to GRUB2 boot menu

I have Gentoo x64 installed with Grub2 on my MBR drive. Today I installed FreeBSD x64 9.2. Now I'm in Gentoo and trying to add FreeBSD to grub2 menu list. grub2-install /dev/sda os-prober ...
2
votes
1answer
49 views

How To Download All FreeBSD distfiles

How can I download all FreeBSD distfiles into /usr/ports/distfiles so that I have them for offline use? I realize it will be a huge download. I remember reading how to do this (possibly in the ...
1
vote
2answers
3k views

Virtualbox: Mount a shared folder in Guest FreeBSD from Host Ubuntu

I have Ubuntu 12.10 as Host OS and FreeBSD 9 as Guest OS in Virtualbox 4.1.18. I have Samba installed in both Ubuntu and FreeBSD and shared a few folders from virtualbox, also ticking the automount ...
0
votes
2answers
336 views

pkg: fail to extract pkg-static, New to UNIX

I am very new to UNIX, running FreeBSD 10 on an ASUS M50VM series laptop. I was following along with the handbook to the point at which it gets into using pkg to find software. Every time I run pkg, ...
0
votes
0answers
29 views

bloated font size rendered in webkit based browsers

Recently after a complete ports update in FreeBSD-10-p7 X86_64, my BSD system is also infected with font problem under webkit browsers such as vimb and dwb or even xombrero. But the difference is ...
0
votes
1answer
571 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 ...
2
votes
2answers
282 views

How to remove or shorten F1 Boot Prompt on NanoBSD 4G USB disk that fail with “fdisk: /boot/mbr: Device not configured”?

I have read the pfSense documentation Remove F1 Boot Prompt, however that doesn't seem to apply to our pfSense-2.1.1-PRERELEASE-4g-amd64-nanobsd_vga-20140131-1030.img installation. The fdisk -B da0 ...
0
votes
1answer
34 views

user disappeared, pw says user exists when trying to add, no such user when trying to mod in freebsd

I was following the steps at http://bin63.com/how-to-setup-a-git-repository-on-freebsd to setup git on a server and when I went to setup the user with pw useradd the server said the user disappeared ...
4
votes
2answers
771 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 ...
3
votes
1answer
709 views

Allowed and safe characters for ZFS filesystem in FreeBSD

Which characters are allowed and safe for ZFS file system name? Are this characters only ASCII or UTF-8 is supported? '@' is not allowed because it is reserved for snapshots. PS: I play with FreeBSD ...
1
vote
0answers
35 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: ...
9
votes
1answer
295 views

Linux: Is there handy way to exec a program binding it to IP-address of choice?

In FreeBSD 4.9 it was very easy to accomplish with just a single command like jail [-u username] path hostname ip-number command if path was / you had running just the same program as usual but ...
4
votes
1answer
66 views

Replace FreeBSD base clang with ports clang

FreeBSD 10 was the first release that officially released with Clang as the default, base compiler. Most ports, unless specially marked, now compile using the base ("pre-installed") clang. ...
4
votes
3answers
5k views

Sharing folder from Windows Host to Freebsd Guest

First of all, let me say that though I use Linux (Red Hat, at work) regularly, I am a complete beginner when it comes to actually administrating it. What I am trying to accomplish: I have (at home) ...
1
vote
1answer
42 views

Find files in multiple directories taken from list in a file?

FreeBSD 9.2 RELEASE p2 I have a file dirs.txt. In this file is a new line separated directory list like so: /etc /home /home/goods/ I need to first find in all directory's files which have names ...
2
votes
1answer
4k 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: ...
4
votes
2answers
406 views

How to remove broken ZIL disk from ZFS pool

I have a ZFS pool, which contains two mirrored hard drives and ramdisk for logs. In my scenario is that log disk died: # zpool status -x tank pool: tank state: FAULTED status: An intent log record ...
0
votes
2answers
36 views

Where should I mount a disk to store backups?

I'm new to Unix, and wanted to give it a try. I had an old PC lying around and decided to turn it into a network based backup system to keep the data in the other PCs safe. So I installed FreeBSD on ...
2
votes
2answers
64 views

Non-interactive customization and installation of FreeBSD Ports

I'm new to FreeBSD, coming from a Linux background. I want to install a port, changing one of the default configuration options, in a non-interactive way (so that I can script the installation for ...
1
vote
1answer
29 views

How do I enable options for installed Ports in FreeBSD?

I installed the Vim editor using Ports and in the process didn't enable GTK2 or GNOME option. I assume that either these 2 options will let me use gvim. Here's my pkg info vim: vim-7.4.430_1 Name ...
13
votes
6answers
690 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 ...
2
votes
2answers
157 views

How to install FreeBSD 10 from USB Hard drive?

I need to install FreeBSD 10 on an old PC with no CD drive but it has a USB port. I'm on a laptop running Windows 8.1 and have downloaded the FreeBSD 10 DVD ISO image. I have an external USB hard ...
1
vote
0answers
21 views

FreeBSD: spdylay build error

I try to install the latest curl updates from ports (curl-7.37.1_2) with HTTP/2.0 support enabled and I need to build spdylay for that purpose, but I keep getting the following strange errors and ...
3
votes
1answer
115 views

Installing FreeBSD in VirtualBox aborts unexpectedly

I have tried installing FreeBSD-10.0-RELEASE-i386-dvd1.iso into VirtualBox 3 times already today (each time starting from a fresh creation of a VM) and right when I'm about to Exit (Apply ...
13
votes
4answers
2k views

Some people told me FreeBSD is NOT Unix, is that right? Confused

Some people told me FreeBSD is NOT Unix, is that right? I'm confused. I checked some articles, but the expressions are pretty vague, and I need some clarification.
1
vote
1answer
28 views

“Cannot find -lgdbm” when making xemacs in FreeBSD10

I have been trying to install xemacs 21.4.22 in FreeBSD10 x64. Once I run ./configure and try to run make it gives me this error with libgdm.so library [eddyraz@laptop-eddyraz] ...
3
votes
1answer
403 views

Reading FreeBSD UFS formatted external drive in Mac OS X

I have an external USB drive with backup files formatted in FreeBSD's UFS file system. When I plug it into a computer running Mac OS X 10.9.4, I cannot read the drive's contents, and I don't have ...
7
votes
1answer
221 views

Multiple instances of Postfix throwing error fatal: unknown service: smtp/tcp

I am trying to configure multiple postfix-2.12 instances on FreeBSD 10.0-RELEASE following the README. postmulti -e init postmulti -I postfix-out -G mta -e create ... This all works I can start and ...
3
votes
0answers
67 views

FreeBSD setup RTL8187SE wireless NIC

I am running FreeBSD 10. My wireless card is: none1@pci0:9:0:0: class=0x028000 card=0x818210ec chip=0x819910ec rev=0x22 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = ...
0
votes
1answer
49 views

What are the differences between socket polling mechanisms of kqueue and epolling?

kqueue socket polling mechanism is used in FreeBSD and epolling in Linux. I would like to know what are the differences between the two mechanisms?
4
votes
3answers
249 views

FreeBSD 10 with Root-on-ZFS using only a part of the disk

I'm having a bit of trouble here. I'll try and be as concise as possible in describing my objective: I'm setting up a storage server for my employer, using two Intel DC S3500 series 120GB solid state ...
0
votes
1answer
54 views

gtar fails to perform incremental backup

The following script fails to perform incremental backup, but creates full backup instead. On another FreeBSD server exactly same script works just fine (creating incremental backups). Servers are ...
1
vote
1answer
7k views

switching from user to root and revers (FreeBSD)

I want to make some modification with root and then with my user, in fact I want to install sudo and he give me the error in the first step: cd /usr/ports/security/sudo make install clean ...
5
votes
1answer
145 views

Get CPU usage for single process

I've got a problem getting a real-time CPU usage of a single process (by its PID). I'd like to setup a watchdog for the CPU usage of a process because it's suddenly reaching 100% of the CPU usage ...
3
votes
3answers
85 views

Parsing arbitrary natural language dates under BSD

I'm using the GNU date command to parse arbitrary natural language dates - for example to detect if a certain epoch time stamp is from last week, I can do: if [ "$timestamp" -lt "$(date +"%s" -d ...
1
vote
1answer
772 views

vim install on freebsd has taken 5 hours and counting

Ok, so installed portmaster and I'm trying with it, I'm hoping it won't take time. So I've been up all night and my vim installation is still going on. I have an amazon ec2 freebsd server setup. I ...
1
vote
1answer
42 views

How do I create a VM from an existing FreeBSD 8.2 PreRelease server?

I need to create a VM (VirtualBox) out of an existing freebsd 8.2 pre-release i386 machine. I need to replicate the exact same environment and I can't rebuild from scratch because FreeBsd 8.2 ...
4
votes
1answer
111 views

ZFS: Trying to remove top-level drive from Zpool

I have a zpool called storage that contains a five device raidz1 array. Today I went and bought another 3TB device and put it in my enclosure. However, instead of creating a new pool and adding that ...
2
votes
4answers
320 views

How much RAM needed for preventing use swap?

At my system always available some "Free" and "Inactive" memory, but sometimes system move couple megabytes to swap. Per night it maybe around 100MB, but for a few days in swap could be more than ...
3
votes
0answers
46 views

Figuring out physical cache layout in FreeBSD

I'm trying to figure out they physical cache layout of my CPU in FreeBSD 10. I see the following from sysctl kern.sched.topology_spec kern.sched.topology_spec: <groups> <group level="1" ...
2
votes
1answer
70 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 ...
2
votes
0answers
570 views

[solved]Package manager in FreeBSD 10

I was trying to install a package using pkg add, but I got the reply that package manager not installed To install that I used: tar -C /tmp -zvxf pkg-1.2.1_1.txz and then: ...
1
vote
1answer
136 views

How to monitor outgoing http requests per user?

I'd like to know how to monitor users' outgoing http requests. I've got a FreeBSD 8.1 server, and I would like to get an output like this for http requests: source MAC address or IP address → ...
5
votes
2answers
480 views

Is it too early to try LibreSSL? [closed]

I've been somewhat following the development and recent release of LibreSSL and coincidentally I have a new FreeBSD web server that I've been configuring for my personal/hobbyist projects recently. ...
9
votes
4answers
143 views

Why does *BSD uses driver specific names for network interfaces? Does it imply limitations?

I notice that depending on the brand of the network card, interface names differ (driver dependent I suppose). Why does *BSD uses driver specific names for network interfaces? Does it mean there is ...
1
vote
1answer
147 views

Freebsd equivalent build-essential

I'm already familiar with Debian and Ubuntu. At the moment I'm fiddling around with FreeBSD on a server, after installing it I'm wondering what the best way would be to install the 'essential' ...
9
votes
1answer
351 views

How can Solaris sub-partitions be accessed in FreeBSD?

First of all, Linux detects the partitions: sdg1: <solaris: [s0] sdg5 [s1] sdg6 [s2] sdg7 [s8] sdg8 > However, FreeBSD 9.0 shows only the main partition. Is it possible that only Solaris ...
7
votes
1answer
3k views

Linux LXC vs FreeBSD jail

Are there any notable differences between LXC (Linux containers) and FreeBSD's jails in terms of security, stability & performance? On first look, both approaches look very similar.
5
votes
2answers
163 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
1answer
277 views

NFS mount properties (options) in FreeBSD

I am trying to determine how to examine the actual properties of an NFS mount in FreeBSD. In CentOS (6.4 tested) one can cat /proc/mounts or execute nfsstat -m to determine all of the mount ...