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

learn more… | top users | synonyms

1
vote
2answers
22 views

Can you make a process pool with shell scripts?

Say I have a great number of jobs (dozens or hundreds) that need doing, but they're CPU intensive and only a few can be run at once. Is there an easy way to run X jobs at once and start a new one ...
0
votes
1answer
29 views

FreeBSD 10.1 sound not working

I am new to BSD and I am experimenting with getting an old(ish) Packard Bell desktop machine out of mothballs. The basic installation of FreeBSD 10.1-RELEASE for amd64 seems to have gone fine, but I ...
2
votes
1answer
165 views

Writing a simple rc.d script in FreeBSD

I would like to run the ELK stack in a FreeBSD Jail on an FreeNAS host. I have a hard time to get an simple init/rc.d script to work. #!/bin/sh . /etc/rc.subr name=logstash rcvar=logstash_enable ...
0
votes
1answer
39 views

FreeBSD Process and Thread Control Block

I need an overview of what data is kept in FreeBSD 9.3's Process Control Block and in it's Thread Control Block. Where can I find that information?
1
vote
3answers
59 views

List all devices connected, FreeBSD

What's the FreeBSD variant of Linux's lsblk and blkid? I want something that provides the same sort of information as lsblk does in the example below: NAME MAJ:MIN RM SIZE RO TYPE ...
3
votes
2answers
21 views

How to prevent FreeBSD from disconnecting a drive device?

While accessing a drive with high error rates (as, for example, here for opensuse) in FreeBSD, the system eventually disconnects the drive and it disappears from /dev. This makes it impossible to run ...
-4
votes
1answer
43 views

Would my programs run on freeBSD?

I tested freeBSD in a virtual machine on my Linux pc, and I kinda like it. I noticed that the file structure is similar to that of Linux, and many Linux commands will also work on freeBSD. My question ...
0
votes
2answers
34 views

Is the FreeBSD login program compatible with AFS?

Is FreeBSD's login program compatible with AFS, so you can just login normally instead of using the kinit method (this is possible according to the OpenAFS manual)?
0
votes
0answers
53 views

freebsd system freeze

For the past week or so, some of my FreeBSD servers intermittently freeze, meaning that their normal network services stop responding. IPMI over the same network continues to work on these frozen ...
4
votes
2answers
2k 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
3answers
3k 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 ...
6
votes
4answers
2k 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
2answers
409 views

How to dual boot PC-BSD 10.3 (with zfs file system) and debian 7 (crunchbang) using grub2 boot loader in MBR?

I want to dual boot PC-BSD 10.3 with ZFS as the root file system (the only file system) with Debian 7 (crunchbang linux) with ext4 using grub2 boot loader installed in MBR and grub is managed by the ...
4
votes
2answers
690 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 ...
8
votes
4answers
4k views

FreeBSD + ZFS + Encryption? Alternatives? Suggestions?

I would like to create a dedicated physical server which will work as a NAS & fileserver inside my LAN (as well as through VPN). However I need to fully encrypt the drives (both the system ones ...
1
vote
0answers
27 views

How to measure network traffic (with pfSense/freeBSD)?

Is it possible to measure network traffic (per month, per WAN, per direction) with pfSense/freeBSD? There are following programs listed ...
3
votes
1answer
594 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
25 views

freenas disc problems - smart error - how to repair zfs raid?

Whats the best way to analyse problems on an freenas raid file server? I have troubles with my freenas 9.2.1. It crashed today. Its running a fileserver on zfs jbod raid 2. I'm not sure what exactly ...
3
votes
1answer
468 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 ...
1
vote
1answer
420 views

FreeBSD ipfw keepstate vs setup keep-state

A lot of examples where people are using keep-state with setup together. For example: ipfw add 1 allow tcp from any to me 22 setup keep-state Because of setup, this rule will allow only SYN ...
2
votes
1answer
644 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, ...
3
votes
1answer
618 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 ...
0
votes
1answer
519 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" ...
1
vote
1answer
40 views

Bash script : Unexpected End Of File (FreeBSD)

I got a task to create a bash script to install Subversion scheduler on my freebsd machine, unfortunately it doesn't work as expected. when I run #bash -x ./installSubversion.sh I always got this ...
1
vote
1answer
35 views

Build devel/boost-libs

I'm trying to build the devel/boost-libs on my FreeBSD 10.1. But I alway get this error ./boost/math/special_functions/detail/lanczos_sse2.hpp:13:10: fatal error: 'emmintrin.h' file not found ...
0
votes
1answer
18 views

FreeBSD 9.3 date shows UTC when rc.conf and PostgreSQL show “America/Los_Angeles”

We're testing FreeBSD 9.3, where I had the system configured to use America/Los_Angeles as the timezone, and we've got the ntp server pointed at pool.ntp.org. Everything was fine, until I noticed ...
1
vote
1answer
675 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 - ...
1
vote
1answer
587 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 ...
1
vote
1answer
521 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
2answers
671 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 ...
4
votes
2answers
898 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 ...
0
votes
1answer
38 views

FreeBSD - major and minor upgrades using ports?

while upgrading my FreeBSD for the first time (from 10.0 --> 10.1) I got confused about the different possibilities. As far as I understand, freebsd-update does a binary update of FreeBSD like pkg ...
0
votes
1answer
827 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
1answer
1k 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 ...
1
vote
0answers
51 views

FreeBSD bootloader won't boot from the correct pool

I've installed FreeBSD 10.1 on a system which has two ZFS pools, and which boots from an other hard disk, which contains only the bootloader. The main pool disks are connected to SATA ports on a PCI-E ...
2
votes
3answers
9k 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 ...
3
votes
4answers
38k views

How can I change the default gateway?

Currently I'm running a FreeBSD 9.1 and the default gateway is already configured in the rc.conf. rc.conf: defaultrouter = "10.0.0.1" But now I want to change the default gateway without rebooting ...
2
votes
1answer
893 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
2answers
137 views

What should I do about Python 2.7.9 not looking for SSL certificates in the right place on FreeBSD?

I have a FreeBSD 10.0 system, and a couple of days ago, I upgraded my python27 port from Python 2.7.8 to Python 2.7.9, which enabled SSL verification by default. Unsurprisingly, it broke my existing ...
1
vote
0answers
17 views

How to create a master user for creating default settings in production programs?

I am interested in creating a master user whose default program settings are inherited by later users, like a template user. I know this used to be done in multiple-user Unix terminal settings such ...
2
votes
1answer
47 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?
3
votes
1answer
47 views

Viewing (monitoring) line status of a serial port

Is there a utility software (or an easy method to do it from shell script) to display a serial port's status — i. e. blinking “RXD”, “TXD”, “DCD”, “DTR”, “DSR”, “RTS”, “CTS”? Particularly, I need to ...
2
votes
1answer
55 views

Update jails FreeBSD in silent mode

What if I want to add all process to the cron? Is there silent way to upgrade jail? After these steps: # make buildworld # make installworld DESTDIR=/jails/somejail It comes time to: # ...
3
votes
1answer
439 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 ...
2
votes
1answer
106 views

Screen size in FreeBSD in VirtualBox

I am installing FreeBSD 10.0 on VirtualBox, and I can't figure out how to change the size of my screan, in the virtualbox? The freebsd in the virtualbox treats my screen like it's 1/4th the size of ...
0
votes
2answers
142 views

How to properly build a minimal FreeBSD kernel?

Is there any proper way to build a minimal kernel for FreeBSD? The FreeBSD Handbook has the lack of information about this. By default /boot/kernel directory has the pretty big size - around 450MB. I ...
1
vote
4answers
414 views

FreeBSD is not Unix. But its Unix-Like Unix. Where is then the main Unix to read the source code?

I want to really understand System V, the main origin of Unix (not Unix-like nor modified Unix to Linux). The main origin which is very confusing and not really with care its written somewhere. Is it ...
2
votes
1answer
6k 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: ...
5
votes
2answers
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 ...
2
votes
2answers
444 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 ...