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

learn more… | top users | synonyms

18
votes
3answers
2k views

FreeNAS grub2 booting ISO

I've got usb-keys setup to multi-boot different Linux images. I wouldn't mind adding FreeNAS, and there's a doc with samples to add to grub.cfg menuentry "FreeNAS-8.0.4-RELEASE-x64" { insmod ufs2 ...
2
votes
1answer
112 views

Where are Python dist-packages stored in FreeBSD?

I am trying to find this path on FreeBSD but it is not working: /usr/local/lib/python2.7/dist-packages This same path is working on Ubuntu. Can please some tell me where I can find Python ...
0
votes
3answers
317 views

FreeBSD: Which branch is supported for longer?

Can someone help explain the FreeBSD support policy? I'm looking at http://security.freebsd.org/#sup , which says: Branch Release Type Release Date Estimated EoL RELENG_6 ...
1
vote
1answer
92 views

Setting up network cards on FreeBSD

I just installed FreeBSD 9 on a new laptop and I'm having some trouble getting the network cards to work. Presumably the file representing the cards is in /dev, but where would the configuration files ...
1
vote
1answer
208 views

reinstall all FreeBSD packages with pkg_add, pkg_info

In OpenBSD, I have the possibility to take a snapshot with all my installed packages, with pkg_info -m > output.txt and then move this file to a different server and on this new server run a: ...
11
votes
5answers
3k views

What is using this network socket?

I'm trying to use NTP to update the time on my machine. However, it gives me an error: host # ntpdate ntp1.example.org 10 Aug 12:38:50 ntpdate[7696]: the NTP socket is in use, exiting What does the ...
6
votes
1answer
6k views

How do I add PC BSD / FreeBSD to Grub 2 boot loader?

I have Ubuntu 10.04 installed as my primary operating system, and I installed PC BSD in a different partition: /dev/sda4 without installing it's boot loader. I figured out that I need to edit ...
2
votes
2answers
295 views

How do I recursively apply PKGREPOSITORY when calling make package-recursive in FreeBSD?

I'm trying to create a package of Apache and its dependencies: sudo make package-recursive \ __MAKE_CONF=~/make.apache22.conf \ PKGREPSOITORY=/usr/home/gvkv Everything works fine; Apache and its ...
3
votes
3answers
124 views

Other than /etc/rc.conf what other config files control system services at boot time?

I am still very new to FreeBSD, from what I have learned in manuals, /etc/rc.conf controls system services at boot time. There is no mention of sendmail and syslogd in /etc/rc.conf, so how come they ...
22
votes
7answers
3k views

How can I use DD to migrate data from an old drive to a new drive?

I am upgrading the internal SATA hard drive on my laptop from a 40G drive to a 160G drive. I have a Linux/Ubuntu desktop which has a SATA card. I would actually like to do the same thing for a couple ...
2
votes
3answers
140 views

Detect which interface traffic to an IP address goes through

I'm making an script, and I need to detect in what interface is the traffic of an IP going through. This is because in the arch, an IP address is attended only for one of four NIC's, but can be any of ...
1
vote
0answers
52 views

Looking for meta-recipe for installing homebrew recipes under BSD

Is there a way to install homebrew recipes under BSD? (NetBSD, to be more precise.) (To make matters worse, I don't have write access to /usr/local in this system, so I'd be installing homebrew ...
2
votes
0answers
305 views

FreeBSD 9.0 install NOT configuring ports

We have a new FreeBSD 9.0-RELEASE with a ports tree generated via portsnap and none of the ports perform make config. To some degree it is behaving as though BATCH=yes was set. However, that variable ...
3
votes
0answers
382 views

How do I go about making a wrapper for a driver to be used on FreeBSD?

The situation: I found myself in need of an additional NIC for my pfSense router/firewall. I had a few choices... shell out over $100 for a dual port gigabit card buy a new motherboard that has ...
1
vote
0answers
587 views

nas4free server can't access local network

I'm not a linux/unix/freebsd expert. I'm a Microsoft .NET developer that knows Windows pretty well. Please bear with me :) I'm trying to configure an old desktop machine as a NAS device with ...
1
vote
1answer
120 views

Is there any way to install freeBSD from Debian?

I know that one can install Debian from (AFAIK) any Linux computer using debootstrap. Is there any way to do the same for freeBSD or do I need to make a CDROM?
2
votes
1answer
110 views

SSH lets me login with a password even though I set “PasswordAuthentication no”

I'm trying to turn off password authentication for SSH after setting up public key access. I have these set in my /etc/ssh/sshd_config file: PermitRootLogin without-password PasswordAuthentication no ...
1
vote
2answers
554 views

FreeBSD telnet does not take root login

I have just installed FreeBSD 8.1 as a VMWare host and can establish ipv4 connectivity to the instance and telnet through the virtual console. I have also uncommented the /etc/inetd.conf lines telnet ...
6
votes
3answers
12k views

FreeNAS versus a regular (CentOS/Ubuntu) linux server?

I'm looking to build a medium sized (6TB, mini ITX board) server for personal use. Most importantly, it will serve as a seedbox and will store a whole lot of data. I will be accessing the data over my ...
0
votes
1answer
182 views

Command substitution in alias resolved in bash profile? [duplicate]

I want to make an alias for randomly changing my mac address alias chrandmac="sudo ifconfig en0 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//')" but the command substitution part is ...
3
votes
1answer
438 views

Logrotate maually on FreeBSD 8

I am able to rotate any log file manually via logroatate like this: logrotate -f /etc/logrotate.d/my-hourly-file I want to know how to perform the same action on FreeBSD 8? My investigation shows ...
1
vote
1answer
2k views

Virtualbox: Mount a shared folder in Guest FreeBSD from Host Ubuntu

I have Ubuntu 12.10 as Host OS and FreeBSD 9 as Guest OS in Virtualbox 4.1.18. I have Samba installed in both Ubuntu and FreeBSD and shared a few folders from virtualbox, also ticking the automount ...
2
votes
0answers
138 views

Unable to reduce core frequency freebsd

I'm working on a FreeBSD project where I need to maintain the temperature of the processor below a threshold value. In order to reduce the temperature I'm trying to dynamically change the frequency of ...
1
vote
0answers
113 views

FreeBSD 9,1 - upowerd's cpu consumption off the roof and causes OS to restart

I've been experiencing a really annoying problem with a FreeBSD setup on my laptop. The setup is as follows: FreeBSD 9.1 / KDE4 desktop / Broadcom wireless 4313 through NDIS / Intel GPU with the new ...
3
votes
3answers
2k views

Installing centos and freebsd with serial console

I am trying to install Centos 5.7 and FreeBSD 8.2 on KVM with serial console access. This is what I used: sudo virt-install -n freebsd -r 1024 --vcpus=2 --os-type unix --accelerate -v --disk ...
2
votes
2answers
802 views

Changing partition sizes on FreeBSD using bsdlabel

I have recently installed FreeBSD but I don't like the partition sizes that I accepted during installation and would like to change them. I have followed the instructions to do so in the man pages, so ...
0
votes
1answer
202 views

How to select optional components during FreeBSD 9.0 Install?

I am installing FreeBSD 9.0 on VMWare Player. In section 2.5.3 of the installation guide it shows that one can choose which components to install. What keys on the keyboard do I need to use to ...
3
votes
3answers
611 views

FreeBSD and Linux shared partitions

Which directories, and how, can I share between FreeBSD and Linux? In particular, how can I deduplicate respectively /usr/home and /home? I guess directly sharing a partition between both systems ...
3
votes
1answer
316 views

Cross-compile FreeBSD package as unprivileged user

My goal is to cross-compile binaries from an amd64 FreeBSD host to an armv6 RaspberryPi FreeBSD target. The problem I am running into is I am required to be root in order to make install, where my ...
1
vote
1answer
180 views

the right way to synchronise sources on freebsd

Update: I'm happy to report @dartonw 's answer worked and I went and did a checkout and then buildworld and it built successfully in about 6 hours. So I've been having some issues with jails in ...
1
vote
1answer
562 views

vim install on freebsd has taken 5 hours and counting

Ok, so installed portmaster and I'm trying with it, I'm hoping it won't take time. So I've been up all night and my vim installation is still going on. I have an amazon ec2 freebsd server setup. I ...
2
votes
3answers
304 views

How to make GNU grep the default in FreeBSD?

I'm running FreeBSD 9.1-RELEASE. I've installed GNU grep with portmaster textproc/gnugrep. However the "default" grep for users is still FreeBSD grep. # /usr/local/bin/grep -V /usr/local/bin/grep ...
5
votes
3answers
3k 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 ...
5
votes
2answers
4k views

How do you dual boot Debian and FreeBSD using GRUB2?

I've been trying to install FreeBSD alongside my Debian installation in a single partition. All examples readily present on the Internet had shortcomings: Some required chainloading the FreeBSD ...
2
votes
2answers
518 views

How do I get pkg_add to look in the correct directory on the remote ftp repository when installing vim?

I have a brand new clean installation of FreeBSD 9.1 on Virtualbox. Running pkg_add -r -v vim, the terminal runs an ftp script to: ...
2
votes
1answer
94 views

What is the corresponding freebsd command of these rpm commands?

I know about rpm, but I am newbie about freebsd packaging system. I learnt about how to create package and know I want learn how to get some information about packages or files. Can somebody give me ...
4
votes
3answers
2k views

Host CPU does not scale frequency when KVM guest needs it

I have asked this question on serverfault, but it could also have been posted here. I will synchronise the answers if one is found. Observation: I have an HP server with an AMD dual core CPU (Turion ...
4
votes
1answer
746 views

How can I mount a directory of the host system for use inside a FreeBSD jail?

I am performing the following on FreeBSD 9.0-STABLE: mount_nullfs /foo /jail/foo After that, from within the host system, the mount works. So this works: touch /foo/bar && ls /jail/foo/bar ...
0
votes
0answers
201 views

Does Chrome run on Debian kFreeBSD?

I know that some Linux applications run on FreeBSD. All the more so, they should run on Debian kFreeBSD (since it only uses a FreeBSD kernel while Linux userspace). Does Google Chrome (not Chromium, ...
2
votes
0answers
357 views

Startx failing in FreeBSD

I've install gnome2, xorg, and xinit (should xorg have done that for me?), and startx yields: "xinit: unable to run server "/usr/local/bin/X": No such file or directory" I checked in the directory, ...
10
votes
3answers
328 views

Unix on a DEC VAX?

I just picked up a DEC VaxStation 4000 model 90 with a built in CDROM and an auxiliary SCSI storage module with tape archive drive. I believe it is functional although I cannot test it yet since I ...
5
votes
2answers
363 views

FHS differences between OS X, Linux and FreeBSD

I've read that there is a different behavior between FreeBSD and Linux with the /usr/local, in FBSD ports are installed there, in Linux not, can someone explain more on this? I'd like to know where ...
5
votes
2answers
379 views

Why do entrepreneurial companies choose Linux rather than FreeBSD?

FreeBSD is an operating system. Linux, strictly speaking, is just a kernel, but the two systems are not too much different and in performance, at least, we can say they are comparable. Open source ...
12
votes
3answers
1k views

Some people told me FreeBSD is NOT Unix, is that right? Confused

Some people told me FreeBSD is NOT Unix, is that right? I'm confused. I checked some articles, but the expressions are pretty vague, and I need some clarification.
2
votes
2answers
170 views

Rebuilding sendmail on FreeBSD application server after adding new activedirectory domain controller to network

In the process of adding a new ActiveDirectory domain controller to our network, we decided to rename the domain from "domain.local" to "domain.priv." I scoured all parts of our application server for ...
4
votes
1answer
513 views

How to add a Linux Partition on FreeBSD

Today I installed FreeBSD 9.0 PPC on my Mac mini G4 with 40GB HDD. During installation, (using the FSBD utility 'gpart') I have allocated a total of about 23GB for FreeBSD leaving 17GB totally free ...
2
votes
1answer
490 views

Allowed and safe characters for ZFS filesystem in FreeBSD

Which characters are allowed and safe for ZFS file system name? Are this characters only ASCII or UTF-8 is supported? '@' is not allowed because it is reserved for snapshots. PS: I play with FreeBSD ...
2
votes
0answers
387 views

FreeBSD 9.1 buildworld fails in libclangsema

I just went thru and updated a dozen or so machines from 9.0-RELEASE to 9.1-RELEASE and the last one is dieing during buildworld: c++ -O2 -pipe ...
1
vote
1answer
431 views

FreeBSD on ARM architecture?

Can FreeBSD be used for ARM architecture devices? Also, is there a camera driver for FreeBSD?
3
votes
3answers
833 views

FreeBSD 9 Sound Driver

I installed FreeBSD 9. I'm trying to make a sound to work but no luck. My Sound Card: Realtek ALC898 Can someone help me how to make it to work (I'm creating custom kernel)? Base on FreeBSD ...