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

learn more… | top users | synonyms

0
votes
1answer
28 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?
0
votes
0answers
42 views

What are the differences between the network stack of FreeBSD and that of Linux? [on hold]

Recently there was a news about facebook trying to hire people with good Linux kernel knowledge so that they can improve the performance of Linux network stack and make it better or comparable to that ...
7
votes
0answers
54 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
21 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 = ...
1
vote
1answer
760 views

installed teamspeak 3 on freebsd using portinstall but can't connect

I installed teamspeak 3 on freebsd 7 using portinstall. When i do service teamspeak status i see teamspeak is running but somehow I cannot connect to the server. did I miss something? I followed ...
4
votes
2answers
591 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 ...
0
votes
1answer
349 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 ...
4
votes
2answers
717 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 ...
2
votes
2answers
953 views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
4
votes
3answers
59 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
36 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 ...
2
votes
1answer
3k 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
6k 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 ...
4
votes
1answer
41 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 ...
0
votes
1answer
436 views

Why is mouse freezing in FreeBSD 9.1 Gnome or Fluxbox?

I'm new to FreeBSD 9.1 and I wanted to install a desktop GUI environment. I first tried Gnome 2 since I am familiar with it. I appended the following lines to the /etc/rc.conf file: hald_enable="YES" ...
3
votes
3answers
65 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
703 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 ...
3
votes
1answer
445 views

freebsd make install openjdk6

I am having problem installing openjdk6 using ports using the make install clean commands. The error I got is: /usr/ports/java/openjdk6/work/build/bsd-i586-debug-fastdebug/j2sdk-image: No such ...
3
votes
1answer
333 views

How do I mount a UFS disk in read-write mode?

I have a system drive that has filled up to the last sector, so that it doesn't boot anymore. The file system is UFS (it's an old Freenas 0.7 installation), but since UFS write support doesn't appear ...
1
vote
1answer
332 views

How to monitor network performance for each application in FreeBSD / PC-BSD?

I'm using a PC-BSD workstation, and I would like to know if there is a way to monitor which app / process is using the network. I use a Mac OS X (Mavericks) laptop, and the "Network" tab in the ...
1
vote
1answer
35 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 ...
1
vote
1answer
279 views

Status of 5GHz support for 802.11 WiFi devs in BSD (2014)

To put it simply, 2.4GHz band doesn't work anymore due to the plethora of various Wi-Fi and other devices, whereas 5GHz is still almost entirely empty. Do any of the BSDs -- FreeBSD, OpenBSD, NetBSD, ...
4
votes
1answer
1k 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 ...
4
votes
2answers
1k 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. ...
4
votes
1answer
42 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 ...
1
vote
1answer
500 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 ...
3
votes
1answer
360 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 ...
4
votes
1answer
579 views

FreeBSD 10 does not boot after clean install

Latest FREEBSD 10 does not boot after clean installation. Installed using this image: FreeBSD-10.0-RELEASE-amd64-memstick.img Used Guided Partitioning, where I selected my only hard drive, chose ...
2
votes
4answers
129 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
33 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" ...
1
vote
1answer
506 views

Network fail on FreeBSD: Ping to router fails, but router believes computer is connected

I have a TP-Link TL-WN851N wireless adapter, which is based on an Atheros device. When I attempt to connect to my WPA2 wireless network, ifconfig wlan0 tells me that the connection is 'associated'. My ...
2
votes
1answer
45 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
187 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
89 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
197 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. ...
1
vote
1answer
615 views

VirtualBox Hangs when installing freebsd 9.0

When installing Freebsd 9.0 as virtualbox guest, it hangs. Freezes the guest OS, other VirtualBox windows works fine. Logs attached, hardware is pentium D, 4 GB ram, Asus p5ld2 deluxe mainboard, OS - ...
7
votes
4answers
108 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
66 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
337 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 ...
4
votes
1answer
976 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
105 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
247 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 ...
1
vote
0answers
53 views

How to destroy existing disk partitions

I added some disks to my system, which were in use before. I tried to create them: $ gpart create -s GPT ada0 gpart: geom 'ada0': Operation not permitted $ gpart show ada0 gpart: No such geom: ada0. ...
5
votes
0answers
44 views

How to Pass High Resolution from GRUB2 to FreeBSD?

I boot FreeBSD-10-RELEASE from GRUB2. I have set up the GRUB2 boot menu to display very nicely at my laptop's max resolution of 1024x768x32. I know it's possible to pass this resolution to the boot ...
1
vote
2answers
53 views

Strategies for userland file encryption without FDE

There are cryptography experts that are concerned over using Full Disk Encryption (FDE) on *nix platforms due to attack surface exposed due to reverse engineering of encryption algorithm when looking ...
2
votes
1answer
33 views

kvm_open: cannot open /proc

I have 100+ boxes running FreeBSD 8.4 amd64 RELEASE (p9) with the same configuration. And only one of them sometimes behaves strangely: load average (generally 4~6, it's ok course box have 8 CPU ...
2
votes
1answer
114 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 ...
22
votes
3answers
6k views

Where does Mac OS X come from?

Discussing with Mac owners, I got several versions of where Mac OS X comes from. It is known to have some root in BSD, but how much, and where? Some say that Mac OS X has a FreeBSD kernel, with all ...
3
votes
1answer
78 views

GCC not runnable on FreeBSD

I'm trying to run GCC on FreeBSD and I get this error: % gcc ar: unrecognized option `--plugin' usage: ar -d [-Tjsvz] archive file ... ar -m [-Tjsvz] archive file ... ar -m ...
4
votes
1answer
148 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 ...