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

learn more… | top users | synonyms

2
votes
2answers
935 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
722 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 ...
6
votes
3answers
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 ...
0
votes
1answer
33 views

Why is freeBSD rebooting during installation ?

I have a samsung laptop which is around 1.5 years old. I am currently running arch linux and have run various linux distributions succesfully in the past. T The hardware is not obsolete and the ...
1
vote
2answers
30 views

Which bus drivers to include when compiling freeBSD kernel?

I'm trying to compile a FreeBSD kernel and make it as light as possible. I'm struggling with the configurations on the bus, especially the SCSI Controllers part. there are many modules e.g: ahc, ahd , ...
4
votes
2answers
1k 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 ...
1
vote
0answers
25 views

FreeBSD: Permanent nodes for usb devices

In FreeBSD, USB devices appear in /dev as (for example) /dev/ugen2.5, /dev/ugen2.6, etc... However, I noticed after a reboot sometimes these are pointing to different devices. Is there a way to lock ...
1
vote
1answer
537 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
3answers
183 views

Double square brackets for FreeBSD

I have this code: [[ "$1" =~ [/\\]$ ]] On linux it works just fine, but when I tested it on FreeBSD an error occured : ./projekt2.sh: [[: not found and it .. I there any alternative which would ...
1
vote
1answer
714 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 - ...
2
votes
2answers
40 views

Porting Linux date parsing to FreeBSD

I have date in this format: date -d $datum +"%Y-%m-%d" and on Linux it worked OK but in FreeBSD says this: ERROR wrong format usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
1
vote
0answers
65 views

Install man on FreeBSD 10.1 based pfsense 2.2

I'm running a pfsense 2.2 router. While not required most of the time, sometimes using the console is the way to go. Unfortunately pfsense doesn't come with /usr/bin/man I was able to run pkg pkg ...
1
vote
0answers
40 views

Custom Resolution For vt Console in FreeBSD 10

In FreeBSD 10 there is new vt driver for having nice framebuffer console. By default it chooses resolution from the EDID data of monitor. However... I have a monitor that lies in its EDID data, and so ...
0
votes
1answer
40 views

FreeBSD memory usage shell script

In FreeBSD, how to find the current memory usage (wired, inactive, cache, etc) in a shell script? This must be for a regular /bin/sh script, not bash, zsh, etc...
3
votes
0answers
334 views

FreeBSD on Raspberry Pi2

I want to build FreeBSD custom Image for my Raspberry Pi2. I have read about the boot process in RPi2. I also went through the chrochet build instruction document. I learned from some websites that ...
0
votes
1answer
31 views

How do I install freeBSD headers ?

I have been a arch linux user for the past 2 years and now moving on to freeBSD for kernel development. I have install freeBSD and want to compile a dynamically loadable kernel module for freeBSD. ...
1
vote
1answer
596 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 ...
3
votes
2answers
1k views

X.org missing fonts

I have a font installed (7x14, part of the xorg-fonts-miscbitmaps package), which I would like to use in my xterm. Problem is, X won't let me. X seems to pick up the font dir: # grep -A 3 FontPath ...
0
votes
1answer
16 views

can't find “buildkernel” target in FreeBSD source files

I'm trying to compile a FreeBSD 9.3 Kernel. in the docs it states that the commands make buildkernel and make installkernel must be run, However I can't find these two targets anywhere in the make ...
0
votes
0answers
23 views

BSD crashing after creating ZFS pool

I've just installed FreeBSD 10.1 on a virtual machine (using Oracle VirtualBox), and I'm attempting to enable and setup ZFS. I did the following commands: # mkdir /tut/ - from root dir # echo ...
2
votes
1answer
153 views

Understanding why such a discrepancy in network transfer?

Summary: I can't understand a peculiar discrepancy in network transfer. Why is there such a discrepancy in syncing from one machine to the other and vice versa? Also: Given the maximum network ...
0
votes
0answers
17 views

Is there any dynamically produced .log file showing up the memory usage on FreeBSD?

I am using FreeBSD 10.1-RELEASE and I was just wondering if there is any .log file produced by default from the system because I am using ELK and I want to pass this file to logstash and then ...
1
vote
1answer
19 views

Is there any dynamically produced .log file showing up the memory usage on FreeBSD?

I am using FreeBSD 10.1-RELEASE and I was just wondering if there is any .log file produced by default from the system because I am using ELK and I want to pass this file to logstash and then ...
0
votes
1answer
57 views

FreeBSD 10: Do I need jails?

I'm in the process of setting up a FreeBSD 10 server with just some services on a KVM server: NGINX webserver w PHP-FPM 2 domains, 3 subdomains Mailserver 3 Email addresses MySQL (or other) ...
0
votes
0answers
71 views

Dbmail / Postfix Send mail to local adress

I have a FreeBSD Server with Postfix and DBmail. The mail system is working perfectly except for one thing: I cannnot send an email from domain1.com to domain2.com if they are both hosted on the same ...
1
vote
0answers
61 views

FreeBSD: IPv6 in Jails (ezjail)

I'm on FreeBSD 10.1 and in the process of setting up a server. After some hassle I managed to get IPv6 running. I'm now setting up jails with ezjail and I learned how to set up a working flavor and a ...
1
vote
1answer
55 views

FreeBSD 10: Disable ZFS full disk encryption

I installed FreeBSD 10.1 and chose to encrypt the ZFS root volume and Swap during install. I'm now realizing that on the remote KVM vserver I'm on the encryption makes rebooting harder and probably ...
2
votes
0answers
63 views

Keys for copy & paste in FreeBSD console

How do I copy paste text inside the FreeBSD console? I tried ctrl + c, ctrl + v super + c, super + v I have FreeBSD 10.1 installed in VirualBox on a Mac. I am selecting text with the mouse in ...
2
votes
3answers
82 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 ...
7
votes
7answers
8k views

How to apply updates on OpenBSD, NetBSD, and FreeBSD?

I'm using OpenBSD for quite a while now. All I do, however is go from one release to the next, always just doing an update. I configured the system so it works as my router and firewall, and it works ...
1
vote
1answer
29 views

can’t set ACLs on FreeBSD UFS

$ sysctl -a | grep acl kern.features.ufs_acl: 1 vfs.acl_nfs4_old_semantics: 0 $ mount /dev/ada0p2 on / (ufs, local, journaled soft-updates) devfs on /dev (devfs, local, multilabel) devfs on ...
0
votes
0answers
32 views

DBmail / Postfix : Relay Acces Denied

I am currently setting up a FreeBSD mail server with DBmail and Postfix. When i try to send an email from Hotmail.com to my server is gives this error: Feb 28 10:53:31 keroth postfix/smtpd[1848]: ...
0
votes
1answer
75 views

Relay access denied when using SMTP to external recipients POSTFIX FREEBSD

i am trying to send an email with my freebsd server using postfix and dbmail to an external adress. I have noticed the following things: MYSERVER -> MYSERVER = OKAY EXTERNALSERVER -> MYSERVER = ...
1
vote
3answers
411 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. ...
3
votes
3answers
11k 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 ...
0
votes
0answers
25 views

Computer shuts down while installing FreeBSD

I'm trying to install FreeBSD 10 on my laptop. To do this, I made a live-USB stick using UNetbootin. The problem is that when I get to the FreeBSD boot loader menu and press enter to begin the ...
2
votes
3answers
1k views

Unique hardware signatures in BSD?

What unique hardware signatures can you get from, for example, a FreeBSD system? I am right now using the ethernet mac address (getifaddrs(3)) but as we all know this can easily be changed with ...
1
vote
0answers
92 views

FreeBSD can't mount fdesc?

I recently had a bad UPS lead to a sudden crash of several machines. One of them (running FreeBSD) didn't come back up until I replaced the power supply, but it's still not fully back. Both the BIOS ...
0
votes
1answer
32 views

FreeBSD dbmail , postfix port 110 error (220)

I am currently setting up a FreeBSD mail server with DBMAIL and Postfix. I have forwarded port 25,110 and 587 to this server. When I try to log in using pop3 on port 110 my mail program does not find ...
0
votes
1answer
98 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 ...
0
votes
2answers
370 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
39 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 ...
13
votes
1answer
9k 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
63 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
49 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
33 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
706 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
276 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 ...