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

learn more… | top users | synonyms

1
vote
1answer
618 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 ...
0
votes
1answer
48 views

What does “Error code 1” mean when upgrading Firefox port?

I have several of these errors while trying to upgrade Firefox. I have updated my ports. Here are the last few lines of Firefox install: ===> Registering installation for ...
1
vote
1answer
505 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 ...
4
votes
2answers
981 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
2answers
262 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 ...
1
vote
1answer
37 views

What is the proper method to add missing distributions to a running FreeBSD?

My FreeBSD 10.0 machine was installed by the hosting company and they left out several distributions. Specifically: src/src world/doc world/games world/lib32 How best to add those back into the mix ...
1
vote
0answers
50 views

What am I missing in my SMTP-AUTH relay configuration?

I'm trying to setup sendmail on FreeBSD to relay (outbound) through an Exchange server on the MSA port via SMTP-AUTH. The Exchange server is already successfully relaying for Java applications that ...
13
votes
1answer
8k 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.
0
votes
0answers
36 views

cannot locate header while making buildworld in custom kernel source

I'm trying to install a custom kernel in freebsd and here's step I followed: install freebsd 9.1 on vm from the image get the source from hardenedBSD (branch hardened/9/kernsep) execute "make ...
7
votes
3answers
8k views

How do I connect a serial terminal to a KVM instance?

Perhaps I'm misunderstanding what KVM is capable of, but the ability to add/remove hardware on the VM seems to imply I can add a serial port that then acts as a terminal. So, my questions are: ...
2
votes
1answer
45 views

FreeBSD: Restart one service each time another restarts

On FreeBSD, what is the correct/canonical way of specifying that one rc script is reliant on another, such that each time the service it depends on is restarted, the dependent service is then ...
2
votes
1answer
32 views

What is the “+++ /tmp/security” line about?

On one particular FreeBSD (9.2) VM, the security log that's e-mailed out always contains a line like: +++ /tmp/security.uOdQ7hEd 2015-01-31 03:01:21.000000000 -0500 While googling, I get lots of ...
2
votes
2answers
593 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 ...
0
votes
1answer
133 views

FreeBSD package installation offline

I am trying to learn FreeBSD and have been trying to install xorg-minimal, gedit and libreoffice offline for a couple of weeks now (read manual) and just keep going around in circles. It is a new ...
3
votes
2answers
2k views

Can I run Bash scripts in FreeBSD without modifying them?

Correct me if I'm wrong: "sh" script != "bash" script Linux script are written in Bash Bash script usually #!/bin/sh In GNU/Linux, /bin/sh is Bash In FreeBSD, /bin/sh is not bash, it's the true sh ...
1
vote
0answers
35 views

How to make a port recalculate dependencies

I am trying to install mail/pine-pgp-filters on my FreeBSD box, but I am running into a problem. I first tried to install it without having GPG installed, and it listed security/gpg1 as a dependency. ...
3
votes
3answers
893 views

FreeBSD kernel nat or natd?

As I notice more often with FreeBSD, there are always plenty of ways that lead to some specific goal. After figuring out which firewall I wanted (I choose ipfw) I now am completely insecure about ...
2
votes
1answer
240 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
45 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
119 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
30 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
63 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
35 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
138 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 ...
6
votes
4answers
3k 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 ...
8
votes
4answers
5k 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
62 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 ...
0
votes
0answers
162 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 ...
1
vote
1answer
74 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
72 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
31 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 ...
0
votes
1answer
56 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 ...
1
vote
0answers
98 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 ...
3
votes
4answers
46k 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
2answers
392 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
18 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
97 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
79 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
63 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: # ...
2
votes
1answer
132 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
321 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
421 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 ...
0
votes
1answer
26 views

How to install PyQT4 on FreeBSD?

I need to run an application that uses PyQT4 on FreeBSD 10. I searched ports, but could not identify any package for PYQT4. Which package will install this?
1
vote
1answer
386 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' ...
1
vote
0answers
33 views

FreeBSD disk decrypt/mount order

TL;DR — Is there a way to force certain GEOM encrypted drives to be attached and mounted before other drives are attached in FreeBSD 10.1? I have a machine running FreeBSD 10.1 with two drives for ...
6
votes
1answer
139 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 ...
0
votes
1answer
21 views

Broadcom NIC support on FreeBSD 8.3

I'd like to know if the following network cards are supported: Broadcom netxtreme II 1000 express dual port ethernet adapter Broadcom netxtreme II 1000 express quad port ethernet adapter ...
0
votes
1answer
101 views

ZFS backup advice with another server

I currently have two servers both have the exact same hardware, disks, etc. One server (server1) is going to be the "main" server. It's basically a server with raidz2 that has SMB shares on it that ...
-1
votes
2answers
63 views

How to find public ip for a freebsd system [duplicate]

Can someone tell me a command that will find my external ip for a freebsd 10 system.
1
vote
0answers
36 views

KDE4 PolicyKit backdoor(misconfiguration) (tested on FBSD10x,PCBSD, probably will work on linux)

recently found subj on FreeBSD 10.x out of the box (with KDE4): [user@fbsd10] /home/user% su Password: su: Sorry [user@fbsd10] /home/user% sudo csh Password: Sorry, user user is not allowed to ...