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

2
votes
2answers
463 views

How much does FreeBSD differ from Linux?

I was trying to setup a NAS box for my ESXi server using linux, I was going to install ZFS and iSCSI and I thought everything was going to be awesome. I was wrong... ZFS on Linux is not the most ...
4
votes
5answers
4k 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
3k 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, ...
3
votes
1answer
4k views

Pfsense mbuf full, what to do?

I noticed today that the MBUF usage has hit its limit. Apparently the site I'm running under pfsense is having some troubles too, I'd like to know if it would be safe to just sysctl ...
5
votes
4answers
5k 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 ...
0
votes
1answer
126 views

Locally redirect Domain1.com to Domain2.com/subdir on one computer

I am running a FreeBSD server and I want to redirect a specific website domain to another domain including subdirectory. I want to bypass that domain to alter the XML results it returns. I tried the ...
4
votes
1answer
800 views

Building NanoBSD inside a jail

I'm trying to setup a jail to enable building a NanoBSD image. It's actually a jail on top of a NanoBSD install. The problem I have is that I'm unable to mount the md device in order to do the 'build ...
1
vote
2answers
625 views

KVM: how to confirm does kvm uses kvm-kernel-module?

This can sound a little bit paranoid but I really have a doubt that my configured libvirt+kvm uses any hardware acceleration in debian. I setuped it with this guide. in fact i've checked already, ...
0
votes
0answers
138 views

Making a user with FTP only access in FreeBSD. How? [duplicate]

Possible Duplicate: How can I create a user only for sftp I can't seem to find any brief explanation on how do i allow or add a user with an FTP only access.. This is what i did in order: ...
4
votes
1answer
1k views

Newsyslog wildcards - rotate all logs in a directory

I am running FreeBSD 8.1. I am trying to make newsyslog rotate logs defined by a dynamic path: # logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] ...
5
votes
2answers
363 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. ...
1
vote
1answer
248 views

freebsd iso install on KVM - timer freezes

Trying to boot freebsd iso on KVM/libvirt [debian host] Timer shows: 10 sometimes is 9 or even 7. and that's it, count down stops.. Found some information that it's a bug with newest qemu and my ...
3
votes
1answer
2k views

FreeBSD 8.1 64bit logrotate - ELF interpreter /libexec/ld-elf-so.1 not found

I am trying to get logrotate running on a FreeBSD 8.1 virtual machine. I installed the logrotate with pkg_add, I have created the logrotate.config file and also run: mkdir /var/lib/ touch ...
2
votes
1answer
261 views

FreeBSD Jail Authentication and Commands

I have setup a jail on FreeBSD-8.2 following the manual. After the setup, I copied these files rc.conf, /etc/passwd from base to jail. And this is what I did in order: jexec id passwd (to change the ...
1
vote
1answer
192 views

Error starting oidentd (FreeBSD8.2)

I'm new to BSD and I have already tried searching on google about this error but no one seems to have encountered it or what. When I try to run oidentd via "/usr/local/etc/rc.d/oidentd.sh start". It ...
-3
votes
3answers
849 views

How do I learn IPSec VPN implementation on FreeBSD from pfSense

I've been trying to figure out a complete working solution for IPSec VPN implementation on FreeBSD but with no luck till now. pfSense seems did a fantastic job on supporting IPSec and even for mobile ...
3
votes
2answers
295 views

Digitally signed FreeBSD package

In nasty world of Windows you can digitally sign installation package (exe) and during installation check if its authentic or not. Any idea how to check same under FreeBSD(preferably in conjunction ...
2
votes
1answer
2k views

Using two network interfaces for FreeBSD VM

How do I turn on/off one network interface without affecting the other in FreeBSD? I have a FreeBSD 8.2 virtual machine (Virtual Box 4.1.4), with two network interfaces, one bridged to my Ethernet ...
3
votes
2answers
93 views

Will a freebsd installation run on a different system without reinstalling?

I want to move my freebsd 8.2 installation from a dual-core AMD machine to a quad-core intel machine. Ideally I'd just like it to re-detect all the changed hardware and load whatever drivers it needs ...
0
votes
1answer
110 views

freebsd bcrypt install error

/usr/ports/security/bcrypt when I'm trying to install it I get this: cc -O2 -pipe -fno-strict-aliasing -c main.c cc -O2 -pipe -fno-strict-aliasing -c blowfish.c cc -O2 -pipe -fno-strict-aliasing ...
3
votes
1answer
232 views

Turn server back on after power loss with FreeBSD

I have a VIA M'SERV S2100 with FreeNAS 8. Since I upgraded from FreeNAS 7, the M'SERV no longer turns back on after suffering a power failure. As I remember it, there was a setting for it in the old ...
1
vote
1answer
462 views

How to send multicast traffic from one vlan to 100-500 other

In addition to prev question How to share multicast traffic to many vlans I recieve answer that solution for my task is mrouted on my freebsd router. But for now i see this problems: mrouted ...
-1
votes
3answers
456 views

Freebsd: invalid ipv4 address

params are: ip: 94.23.147.56 netmask 255.255.255.255 broadcast 94.23.147.56 gw: 176.31.248.254 what's wrong in here? this params works perfectly with debian.. it's not my fault that stupid ...
5
votes
2answers
907 views

How can I make bash to log shell commands to syslog?

Bash 4.1 is able to log the history to syslog. However I can't seem to make it work under FreeBSD 8. I've tried re-compiling bash from ports with -DWITH_SYSLOG= but to no avail. Has anyone managed to ...
1
vote
1answer
624 views

How to share multicast traffic to many vlans

I have linux computer , this computer connected with entire my network via zyxel gs-2200. In this zyxel also connected router with 500 vlans, one by client. On linux computer i have vlc program ...
1
vote
1answer
693 views

iftop bandwidth monitor shows rates=0 (but do show connected hosts) on tun0 (ppp)

On my FreeBSD box, working as my LAN's router, I tried using iftop (from ports/net-mgmt) to monitor bandwidth usage. The program works well for monitoring the server's LAN interface-card, but not for ...
1
vote
1answer
760 views

FreeBSD (pfSense) Routing - Can't find the default route

I have been banging my head against the wall on this for a couple of days now - thought I had tried everything, but obviously not... I have the following networking scenario... ISPs Router Edge ...
0
votes
1answer
252 views

FreeBSD on Home Routers? [closed]

Is it possible to install FreeBSD on a typical home router such as the NetGear DG834G? Or is there an alternative that is suitable for a home setup?
1
vote
1answer
3k views

How to install postgresql on FreeBSD

Here is a step-by-step description of what I am doing cd /usr/ports/databases/postgresql91-server/ make install clean adding postgresql_enable="YES" to /etc/rc.conf trying to start sudo ...
0
votes
1answer
273 views

How do I update the ports tree on FreeBSD with portsnap?

I'm trying to update the ports tree on FreeBSD with portsnap, but it's taking a tremendous amount of time. These are the commands that I run every time: $ portsnap fetch $ portsnap extract Are ...
1
vote
1answer
913 views

FreeBSD netstat -di, Idrop vs Drop and drop count from NIC or kernel?

On FreeBSD what's the difference between Drop and Idrop in the netstat output? $ netstat -di Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll Drop bge0* 1500 ...
1
vote
2answers
641 views

GELI / ELI at FreeBSD - changing passphrase

How can I change/replace the passphrase of an encrypted eli provider in FreeBSD? Do I have to recreate the entire provider and copy data, or is there a simpler and faster way? I've looked in the man ...
2
votes
1answer
300 views

FreeBSD vinum striped (RAID0) volume - performance issues

I've experimented with different striped volumes in vinum under FreeBSD 8.2-release. I have current hardware (Intel i5 processor, adequate MB and 8GB RAM). My test-setup consists of 2 or 4 disks in a ...
1
vote
1answer
595 views

MongoDB on FreeBSD

We are currently using MongoDB 2.0.0 on MacOS but our servers are running FreeBSD. The most recent port of MongoDB is the 1.8.3 version. I have tried to compile the 2.0.0 by hand but I came across ...
2
votes
1answer
201 views

Move data from root ZFS into child filesystem

I have a zpool (pool verion 13, FS version 3, called tank0) with about 2.5TB of data in the root of the pool (i.e. directly in /mnt/tank0). OS is FreeBSD, actually FreeNAS version 0.7.2. I would like ...
0
votes
2answers
423 views

Using FreeBSD to tunnel IPv6 over IPv4 WAN

On a WAN I have 5 different locations connected by point to point T1s via Cisco 2801s, with one central location routing each location to all the others, sort of a star configuration. The routers' ...
2
votes
1answer
2k views

Is it possible to restart a supermicro kvm with ipmitool? (the kvm not the server)

The KVM on my supermicro motherboard seems to have crashed or is otherwise not answering network requests on it's assigned IP address. I need to try to restart the KVM (not the server). Is this ...
0
votes
2answers
1k views

how to change mysql data directory

I use FreeBSD 8.2, mysql 5.1.58. I want change mysql default directory. I config datadir= /path OR my-data-dir= /path on my.cnf but not done. Note: i permission for /path is 755 and owner mysql:mysql. ...
0
votes
1answer
458 views

Multiple spawn-fcgi instances in rc.conf

I need to run two instances of spawn-fcgi on my FreeBSD 8.2 box - one for PHP and one for Python scripts. I can run them manually like this: /usr/local/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -- ...
1
vote
0answers
2k views

how to force stop/delete a VirtualMachine under XenServer (possible bug)

I was testing XenServer 5.6 100-47101p, I installed four VM's, two FreeBSD and two Windows. After installing the four VM's, I recompiled the VM containing FreeBSD 8.2 i386 kernel to enable/support ...
2
votes
2answers
667 views

handle fork bomb on a virtualized environment XenServer / “FreeBSD jails”

I am used to work with FreeBSD jails but I wanted to give a try to XenServer 5.5 / Vmware ESXI 5, hoping it can really limit resources per VM, after installing a couple of Virtual Machines, I tried to ...
1
vote
0answers
796 views

Freebsd, ipfw sched - config type = QFQ get frozen

I have some freebsd soft-router $uname -r 8.2-STABLE code for ipfw: pipe 50 config bw 70Mbit/s sched 50 config type QFQ queue 502 config sched 50 weight 1 mask dst-ip 0xffffffff queue 501 ...
5
votes
2answers
269 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 ...
3
votes
1answer
800 views

Automated installation of FreeBSD

I would like to automate the installation of FreeBSD 8.2 for a project I'm working on. I know the answer to every question in the standard installation, so even a script that just pushes keystrokes ...
4
votes
2answers
11k views

How do I recover from a faulted zpool where one device is OK, but was temporarily offline?

I have a zpool with 4 2TB USB disks in a raidz config: [root@chef /mnt/Chef]# zpool status farcryz1 pool: farcryz1 state: ONLINE scrub: none requested config: NAME STATE READ ...
0
votes
1answer
602 views

PHP Fatal error: Ca ll to undefined function json_encode() ..? [duplicate]

Possible Duplicate: Enable json_decode() on my system Im trying to use json with php and i keep getting the error "PHP Fatal error: Ca ll to undefined function json_encode()". I am using ...
1
vote
1answer
2k views

How to debug memc/memcached timeouts with Nginx?

Problem Regular timeouts from the memcached backends in Nginx (see example errors below) Things already tested: it occurs both on local and remote memcached servers so the network can't be the ...
0
votes
2answers
1k views

Apache: Failed to enable the 'httpready' Accept Filter

So kernel modules are loaded!! what goes on?? accf_http_load="YES" accf_data_load="YES" trying to load ... dev# kldload accf_data.ko kldload: can't load accf_data.ko: File exists and still ...
2
votes
2answers
1k views

Installing embedded pfsense, stuck at boot loader

I am trying to install pfSense embedded image 1.2.3 RC1 onto a CF card. The box looks like it is ready to boot, but gets stuck at "Loading /boot/defaults/loader.conf" followed by "/". Can anyone ...
0
votes
1answer
42 views

CVS does not run properly as nonroot user

I get an "rejected acces to DIR for user USER" message, when I try an "cvs login" to my local cvs... BUT everything works just fine, when cvs is set to run as root... Im running FreeBSD 7.2, here is ...