FreeBSD is an advanced operating system for a variety of architectures. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley; and is developed and maintained by a large team of individuals. It is a complete Operating System, including the kernel, drivers, ...

learn more… | top users | synonyms

5
votes
6answers
17k views

How can I tell how much RAM is installed on a FreeBSD server?

As per the title: How can I tell how much RAM is installed on a FreeBSD server? Thanks!
5
votes
5answers
2k views

ZFS on OpenSolaris or FreeBSD

I have no real experience with ZFS, and very limited experience with Solaris & FreeBSD. After reading numerous articles about ZFS, I'm pretty convinced ZFS is something I want to use for my home ...
5
votes
2answers
330 views

Which BSD best suited to run as VMware guest?

I want to deploy a VM to serve DNS and files (via NFS) to other *nix systems in my infrastructure. Due to reasons beyond my control, I need a very light OS, so I naturally choose the *BSD family. ...
5
votes
2answers
2k views

FreeBSD how to rebuild all p5-* Perl 5 ports

On a FreeBSD system, instructions say to rebuild all p5-* ports - how do I do that? A bit of background... I'm an experienced Linux person, trialling (and liking) the latest PC-BSD ...
5
votes
3answers
473 views

What is the ZFS ACL limit?

Does anyone know how many user ACL's ZFS can handle? With other words: for how many users can I set ACL's like this one for the same directory? setfacl -m user:test1:rwxpDdaARWcCos:fd----:allow ...
5
votes
2answers
2k views

FreeBSD: How to know real file size on zfs with compression on?

I'm using zfs on my FreeBSD 9.0 x64 and pretty happy with it, but I find it hard to count directory real, not compressed, size. Surely I can walk over the directory and count every file size with ...
5
votes
3answers
3k views

PAM: Execute a command before pam_mkhomedir?

When a user logs into a system and there is no home directory, we would like to to create the user's home directory using pam_mkhomedir. This is a common practice. Here's a quick description of ...
5
votes
1answer
292 views

FreeBSD `freebsd-update` automation?

freebsd-update command prints updating entries after it downloaded. But it shows them with more. So I have to press some spaces to continue. Is there a way to avoid this behavior? I want to execute ...
5
votes
3answers
4k views

Why does ifconfig reset the default gateway route?

In FreeBSD, an ifconfig call seems to delete the default gateway route, even when given the same IP-address (e.g. when updating the netmask only). Is it a bug or a feature? As fas as I remember Linux ...
5
votes
1answer
1k views

FreeBSD: periodic(8) is too noisy. How can I control the noise level?

FreeBSD & MacOSX ship with the the periodic(8) utility, which is a neatly organized set of utilities to periodically run system functions like ZFS filesystem checks, security checks, checking for ...
5
votes
1answer
325 views

Identify which process is responsible for heavy disk i/o under FreeBSD

I wonder how I can monitor which process takes out all my IO bandwith. The only command i know is gstat but it shows cumulative info. Is there any tools i can use to inspect the running processes for ...
5
votes
2answers
240 views

Portable firewall rules for Linux and Free/Net/Open/DragonFlyBSD

I need apply the same rules (lists of IPs with allow and drop rules) in firewalls of Linux and *BSD. Do you know some application (CLI) for to convert a list of rules in the specific format of each ...
5
votes
1answer
330 views

Block Google requests to 16k using pf firewall

I'd like to block access to Google search using PF after the threshold of 17500 requests (connection established) in 24h, from a host running FreeBSD 9. What I came up with, after reading pf-faq is ...
5
votes
3answers
2k views

freebsd-update from 8.3-RELEASE to 9.0-RELEASE: How to deal with dozens of diffs?

I am upgrading a FreeBSD 8.3-RELEASE system to FreeBSD 9.0-RELEASE using freebsd-update. This is my first time performing a major version upgrade in FreeBSD. At one point in the process, ...
5
votes
1answer
1k views

What Emacs package should I install for command-line on FreeBSD?

I'm newbie on BSD. I installed FreeBSD with minimal configuration, so there's no package installed. I tried pkg_add -r emacs, the command tried installing many of X11 related packages (not sure, but ...
5
votes
1answer
650 views

Router advertisement for ipv6 is advertising link-local adress

I have the following situation: I configured a FreeBSD 9.1 machine as the endpoint of a heartbeat SixXS tunnel on a gif0 interface. It works so far, and I can ping6 via IPv6. I assigned to another ...
5
votes
1answer
947 views

“route add default -iface em1” in rc.conf on FreeBSD

I have two NICs on my FreeBSD server, which are set up like this in rc.conf: ifconfig_em0="10.0.0.1 netmask 255.255.255.0" # LAN NIC ifconfig_em1="DHCP" ...
5
votes
1answer
1k views

Why won't FreeBSD reboot after a kernel crash?

Once in a while I get my server running FreeBSD 8.0 amd64 fail due to bad memory (incompatible with motherboard) modules. Each time it happens, the box stalls with the last note saying that it will ...
5
votes
1answer
1k views

Does kern.hz still have any relevance in FreeBSD if “dynamic tick mode” is enabled?

I'm running a FreeBSD 9.0 setup as a virtual machine in a KVM setup. In previous versions of FreeBSD it was common to force the kern.hz setting to a lower value so that the virtual machine does not ...
5
votes
1answer
636 views

Supermicro + IPMI + FreeBSD: Kernel prints at 1-bps

I am running FreeBSD 8.2-RELEASE. The machine is a Supermicro 5015M with a IPMI 2.0 daughterboard. When I boot this host, the boot process proceeds fine. I see the BIOS, the RAID BIOS, the first and ...
5
votes
1answer
90 views

BIND 9.10 constantly killed on FreeBSD 10.0 with out of swap space

In one of our slave DNS servers BIND, version bind910-9.10.0P2_3, constantly get killed with the following message in /var/log/messages: Jul 30 01:00:10 cinnabar kernel: pid 602 (named), uid 53, was ...
5
votes
1answer
408 views

Redis connection issue

We are currently experiencing a lot of Redis errors with the message Unable to connect: read error on connection, trying next server We run Redis on FreeBSD using PHP Redis and we have a hard ...
5
votes
2answers
147 views

FreeBSD 10.0-RELEASE: No lagg0 after reboot

I have a server running Freebsd 10.0-RELEASE. I'm trying to create bridge interface with three participant interfaces, ix0, ix1 and lagg0. Lagg0 is virtual interface made from ix2 and ix3. My problem ...
5
votes
1answer
795 views

FreeBSD IP aliases in different subnets and default outgoing IP address

I have a FreeBSD VPS that until recently had assigned 3 public ip addresses in a /29 subnet. When making outgoing connections, the IP address used was always the non aliased one ".20", however now I ...
5
votes
1answer
2k views

PAM_LDAP Authentication failure with correct credentials on freebsd

I need to get our freebsd servers to auth via AD, but it is giving me problems. Environment: AD backend (Win 2k8r2). This works with other linux hosts which auth via SSSD FreeBSD 9.1 for client ...
5
votes
2answers
1k views

lacp, cicso 3550, 3560, help with configuration

Hey all this is a repost from a question I asked on the cisco forums but never got a useful reply. Hey I'm trying to convert the FreeBSD servers at work to dual-gig lagg links from regular gigabit ...
5
votes
2answers
2k views

OpenVPN - client-to-client traffic working in one direction but not the other

I have the following VPN configuration: +------------+ +------------+ +------------+ | outpost |----------------| kino |----------------| guchuko | ...
5
votes
3answers
255 views

freebsd does not recognise that php was installed via ports

I have php 5.2.12 installed on FreeBSD 8.0-STABLE. It was installed from ports and I am trying to upgrade it to 5.3.2. However for some reason my system is not recognising that php was installed via ...
5
votes
3answers
3k views

httpready problem on Apache httpd restart on FreeBSD?

I run Apache HTTPD 2.2 on my FreeBSD 7.2 webserver. I have enabled the httpready and dataready in my /boot/loader.conf, like this: accf_http_load="YES" accf_data_load="YES" That works great when ...
4
votes
13answers
912 views

Source based distros vs Prebuilt package based distros

I wonder what is the general preference and where does it come from. Having used FreeBSD actively for a couple of years I'm leaning towards Gentoo, but I've had an unpleasant experience of wasting ...
4
votes
7answers
3k views

What is the difference of FreeBSD and Linux? [closed]

I give you a basic question. Because I 'm a beginner. I want to build a server with Web application. I am troubled whether I choose FreeBSD or Linux What is the difference of FreeBSD and Linux? ...
4
votes
2answers
741 views

Web site kills hard disk I/O, how to prevent?

The situation: I have a server, on which we have 2-3 projects. Starting not long ago, the server started hanging up (We could not connect to it by ssh, and the connected clients had to wait 20 minutes ...
4
votes
5answers
2k views

Can I change a user password in Linux from the command line with no interactivity?

I have a specific use case where I would really like to be able to change a user's password with a single command with no interactivity. This is being done in a safe fashion (over SSH, and on a system ...
4
votes
2answers
919 views

FreeBSD server - certified compatible hardware?

I am looking for recommendations for hardware that is "certified" with FreeBSD (8+) I suspect I am looking for a small server manufacturer that will build me a server that "just works". I have read ...
4
votes
2answers
882 views

FreeBSD 9 - default file system?

What will the default file system be in FreeBSD 9?
4
votes
4answers
908 views

RAID-Z Failure Notification

I have a FreeBSD file server with a 10TB array in RAID-Z (so 8TB usable with 2TB redundancy). I am trying to figure out how to get the system to notify me, preferably by email, if one of the drives ...
4
votes
6answers
1k views

Will Debian (GNU/kFreeBSD) + official ZFS support be a stable configuration?

Looks like Debian 6.0 (Squeeze) will be supporting ZFS via the official GNU/kFreeBSD kernel. This opens a possibility of converting our Debian GNU/Linux cluster's dedicated NAS server from ...
4
votes
3answers
3k views

FreeBSD Ports: How can I see all dependencies for a port, and all subdependencies for those dependencies?

I'm trying to build a port which depends on apache-ant. I thought I could run make build-depends-list to see all dependencies required by this port: # make build-depends-list ...
4
votes
1answer
218 views

Forgotten Root Password FreeBSD - Have sudo accounts

This is a really stupid question. Is there a way of resetting the root users password on my FreeBSD machine? I have a user which has sudo capabilities so I can perform all admin functions. Thanks.
4
votes
2answers
2k views

How to log every login (SSH) on FreeBSD

I want to log every SSH login attempts, both successful and not, to my FreeBSD server to a file, and daily mail this log to root. I could accomplish something like this by parsing /var/log/auth.log, ...
4
votes
3answers
6k views

Check OpenSSH version and update instructions on FreeBSD system

On a FreeBSD system (8.1), I am looking for instructions on how to check the running version of OpenSSH and also instructions on the best way to download install an update of OpenSSH
4
votes
4answers
490 views

What “FreeBSD for Linux Geeks” Guides Exist? [closed]

I have been using linux for quite some time now, usually Ubuntu these days, but have used Debian and Gentoo too, and have been meaning to get started with FreeBSD for a long time. While both are very ...
4
votes
3answers
232 views

What emulator should I use to run Windows as a guest OS on FreeBSD?

What's the best emulator for running windows on FreeBSD as a guest OS? Any references would be appreciated.
4
votes
4answers
3k views

PXE boot FreeBSD iso from pxelinux server

I'm using FOG as a TFTP / PXE server and would like to be able to boot a FreeBSD LiveCD (specifically pfSense, but it could be any LiveCD, really); I've found HOWTOs for booting a "netboot" BSD but ...
4
votes
2answers
1k views

Linux alternative for FreeBSD systat tool

I'm looking for a Linux alternative for systat tool that is avalaible only for FreeBSD. What do you recommend?
4
votes
1answer
865 views

How to integrate Active Directory with FreeBSD 10.0 using security/sssd?

What are the required steps to authenticate users from an Active Directory running on Windows Server 2012 R2 in FreeBSD 10.0 using sssd with the AD backend with Kerberos TGT working?
4
votes
2answers
496 views

ZFS Reporting (on FreeBSD and Linux via ZoL)

As a longtime mdadm user is was just experiencing a disk error and remembered that I configured a Auto Mail reporting for mdadm on disk errors. Therefore i just had to insert my Mail address inside ...
4
votes
2answers
103 views

executing a command again once it stops (rsync, FreeBSD)

I started doing backups via rsync to a remote server. This works all fine and good but 40 gig take their time and as I get a dynamic IP it gets interrupted every day. So every morning when I wake up I ...
4
votes
2answers
559 views

Snmpd update interface counters slowly or something like this

I update one my freebsd box to 9-stable (totally new installation) and install net-snmp for monitoring. uname -r 9.1-PRERELEASE pkg_info net-snmp-5.7.1_7 Information for net-snmp-5.7.1_7: ...
4
votes
1answer
147 views

Check changelog of FreeBSD port before upgrading?

Is there an easy way to check a changelog of a FreeBSD port before you upgrade? For instance, I'd like to check what upgrades are manditory before I do portmaster -ad. It would be nice to have ...