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

learn more… | top users | synonyms

3
votes
1answer
148 views

Insert a new directory path to PATH in .cshrc file fail

I want to add a additional directory to PATH in .cshrc in my home directory . But after I put the path to it ,It still not working . I don't know what's the problem ... After I add this directory to ...
3
votes
3answers
3k views

How much disk space should be allocated for FreeBSD?

I have a Samsung N150 netbook with 160 GB hard disk. I want to install FreeBSD OS. There will be no other OSs, no dual booting or like that, just FreeBSD. So the manual says to have a separate ...
-1
votes
2answers
616 views

Joe,pico,emacs missing

I've installed a 'linux in a box' at home using FreeBSD and Virtual Box.But when I tryed to make a C file,joe,emacs and pico give me 'Command not found'. joe z.c,emacs z.c, pico m.c are the commands ...
3
votes
2answers
1k views

Letting NFS through a FreeBSD PF firewall

I'm trying to configure my firewall (PF) on FreeBSD to let NFS traffic through. I know that NFS uses both TCP and UDP to connect to the client along with a bunch of daemons that use random port ...
3
votes
2answers
7k views

should I fix “No ALTQ support in kernel” to run the firewall?

I just messed with my pf.conf and ran pf and I got: Enabling pf. No ALTQ support in kernel Of course the fix is to re-compile the kernel, but that article is for freebsd 7. I'm on FreeBSD 9.1 I ...
0
votes
1answer
64 views

How can I setup mail server with ipv6, pam and db?

I'm looking for solution for a specific problem: I want to setup a good and secure mail server but I need ipv4 + ipv6, some kind of autouser mapping (if I add new user to machine, system should ...
2
votes
0answers
644 views

Can't boot FreeBSD after installation

I've installed FreeBSD on my system along with Windows 7 using this tutorial. When I turn on my PC the screen says something like this: F1 FreeBSD F2 Win F3 ? F6 PXE Boot: F1 _ Pressing F2 ...
1
vote
0answers
1k views

Why does my server not shutdown properly?

When I run $ reboot on my embedded FreeNAS 0.7 (FreeBSD 7.2) it does start the shut down procedure but seemingly hangs. I have registered a command to start a service script which is executed on ...
2
votes
2answers
466 views

Installing Gnome on FreeBSD

I am trying to install Gnome on a freshly installed FreeBSD using the ports. I am stuck with an error message that says: Checking for headers required to compile python extensions ... not found Then ...
0
votes
2answers
403 views

Can't boot after installing FreeBSD in VMware Workstation

I'm trying to install FreeBSD 9.1-i386 in VMware Workstation. I'm following the guide in the manual on freebsd.org to do this. When I come to the partitioning part I use the guided setting and it ...
5
votes
1answer
1k views

Multibooting FreeBSD and other Linux distros

Long story short: Have one laptop, need to multiboot FreeBSD/OpenBSD as well as a number of Linux distros. Which one do you think should go first? FreeBSD offers a bootMgr, but I'm not sure how it ...
2
votes
1answer
1k views

GDM not showing when I boot my FreeBSD system

I've installed FreeBSD 9.1 in a VirtualBox VM, and did some basic setup. After that, I had installed Gnome2 via sudo pkg_add -r gnome2. Along the way, there were some errors. Mostly it was (I think) ...
0
votes
1answer
211 views

How to upgrade a tbz package that I create in Freebsd?

I am newbie at freebsd packaging and I want to learn way of upgrade a package. I created a package on my development server and I installed it to test server by pkg_add foo-1.0.tbz then I changed ...
1
vote
1answer
697 views

How do I set affinity of a particular thread on FreeBSD?

As the title says, I'm trying to figure out how to set the affinity of a particular thread (but not the entire process) on a FreeBSD system. On Linux, I'm able to do this with ps -L uH [pid], ...
18
votes
3answers
3k 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
624 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
442 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
334 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
876 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: ...
7
votes
1answer
9k 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
378 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
598 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
9k 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
502 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
200 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
392 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
491 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
1k 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 ...
2
votes
1answer
602 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
205 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
1answer
916 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 ...
2
votes
0answers
276 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
164 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
3k 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
2k 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 ...
1
vote
1answer
646 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
1answer
656 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
282 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 ...
2
votes
3answers
804 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 ...
2
votes
2answers
1k 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
231 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 ...
7
votes
3answers
6k 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 ...
5
votes
1answer
4k 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 ...
1
vote
0answers
380 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
1k 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
694 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 ...
6
votes
2answers
1k 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
622 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 ...
2
votes
2answers
347 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
1k 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 ...