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

learn more… | top users | synonyms

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
188 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 ...
6
votes
3answers
4k 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 ...
3
votes
1answer
574 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 ...
4
votes
2answers
793 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 ...
4
votes
1answer
3k 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
323 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
867 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, ...
2
votes
1answer
610 views

tcsh alias - find FreeBSD port

I am trying to create an alias for tcsh. I would like to find a program in ports (FreeBSD ports). So far I made an alias, which works, but finds only ports which end in *port_name. I would like it to ...
6
votes
2answers
880 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 ...
1
vote
2answers
682 views

Cannot get ccache to work with ports in FreeBSD

I'm new to FreeBSD (9.1) and I'm just setting up the system. One problem that I could not solve yet is to get ccache working. I installed it from ports and followed the guidelines in the documentation ...
2
votes
2answers
310 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 ...
3
votes
3answers
1k 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 ...
10
votes
3answers
567 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 ...
0
votes
1answer
461 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 ...
7
votes
2answers
1k views

Find out what /dev/cuaU maps to?

I have an USB 3G modem (Huawei E353-u2) on pfSense 2.0.2 (which is based on FreeBSD 8.1-RELEASE-p13), it seems to create 2 /dev/cuaU devices: /dev/cuaU0.0 /dev/cuaU0.3 1) Why are there 2 devices? ...
2
votes
0answers
552 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 ...
6
votes
1answer
963 views

`kill -s TERM` works, `kill -s ABRT` gets “Operation not permitted”

There is a process that I own whose documentation claims I can send SIGABRT to in order to get some debugging information. However, when I try to send SIGABRT, I get back "Operation not permitted". I ...
5
votes
2answers
521 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 ...
4
votes
2answers
777 views

Does FreeBSD support network virtualization like Crossbow?

Does FreeBSD support network virtualization like Solaris Crossbow? I've tried to follow the VImage links from the FreeBSD wiki page, but the links are mostly dead. If VImage is no longer part of ...
2
votes
1answer
165 views

what is internal 1 and internal 2 ip in freebsd , what is external 1 and external 2 ip in freebsd

# ifconfig gif0 create # ifconfig gif0 internal1 internal2 # ifconfig gif0 tunnel external1 external2 what is internal 1 and internal 2 IP? in freebsd what is external 1 and external 2 IP? in ...
1
vote
0answers
163 views

Installing IPSEC on FreeBSD

how to install IPSEC on two FreeBSD 9.0 machines to can send an encrypted packets between them , and let them read the encrypted packets .
1
vote
2answers
208 views

zfs one pool error

I have zpool with name zroot and zroot has 4 pool when electricity down system reboots and than i saw some error with 1 pool: Solaris: Warning: can`t open object for zroot/var/crash log_sysevent: ...
2
votes
1answer
1k views

What is the `ucond` process state?

When debugging a program I saw that top -U username showed the following: 39769 eigenein 107 98 0 179M 38448K ucond 19 0:00 0.00% program What does it mean that a process in the ...
3
votes
0answers
471 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 ...
3
votes
3answers
231 views

Bash port auto upgrading script in cron doesn't work properly?

I've been recently try to write a script to automate checks for new version of ports and software installed on my FreeBSD server. This script is added to root's crontab and fires daily. If I run it ...
4
votes
1answer
237 views

Determining the Source of a Given File System Mount on Unix

Background Recently I have run into a bit of a snag on my home FreeBSD server. I recently upgraded it to the latest stable release, and I have noticed some strange behavior with the /var partition. ...
3
votes
2answers
1k views

How do I check active crons?

I'm trying to hunt down a cron job (or the equivalent) which I know is running, but I can't find it in the default cron files for my system (FreeBSD / Linux / BSD). How can I tell which ones are ...
-1
votes
4answers
3k views

Would you say FreeBSD is more stable than Linux? [closed]

This question is a sequel or a parallel question to my previous one: Unity problems & Searching for a good WM I am wondering whether my personal assumptions that FreeBSD is indeed more stable and ...
-1
votes
1answer
186 views

Installing and using VNC for command-line purposes on FreeBSD

I am running a VPS with FreeBSD 8.3-RELEASE-p3 This is my first time using FBSD as a server, and as a newbie I locked myself out of su by taking my user out of wheel group. I have disabled the ...
2
votes
2answers
459 views

How do I change emails from: address on FreeBSD?

Emails are now sent from www@hostname, but I want them to be sent from webmaster@my-domain.com My developer said it should be in php.ini but I figured out this is true only for Win32 systems. How do ...
2
votes
4answers
2k views

pysqlite install error on FreeBSD in virtualenv

I am trying to install pysqlite using pip under a virtualenv in FreeBSD 7.3, with Python version 2.6.2. I didn't have any issues for installing other packages like Django, PIL etc. All of them I ...
2
votes
1answer
783 views

Extract UNIX dump file in Windows 7

I have a dump-file of the UFS partition created with FreeBSD's dump. How to view its content and extract some files from it on Windows 7? Cygwin's restore provides very limited functionality and ...
1
vote
0answers
160 views

Perform Cisco's DNS Doctoring on FreeBSD

How to perform a change in the DNS response from a DNS server to be a different IP address than the DNS server actually answered for a given name? ...
1
vote
1answer
523 views

Need help on setting up tty autologin on FreeBSD

I was trying to setup tty auto login for FreeBSD, I copied the P|Pc|Pc part and made a change: Pcal console:\ :al=root:ht:np:sp#9600 And modify the tty for ttyv0: ttyv0 "/usr/libexec/getty Pcal" ...
1
vote
2answers
2k views

proftpd does not change default group for new files

I am Trying to configure ProFTPd to change group for newly created files/directories. In my config I have this: <Directory /home/*> GroupOwner www </Directory> Which does not seem to ...
1
vote
1answer
225 views

dump freezes system

dump -h 0 -0Lauf /backup/ada0p2.dump / - causes total system freeze. server# cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ada0p2 / ufs rw ...
4
votes
1answer
859 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 ...
6
votes
2answers
4k views

Is there an easy way to create a FreeBSD rc script?

I have a FreeBSD jail in which I run a server using the command: /usr/sbin/daemon /path/to/script.py At the moment I have to run this command every time I restart the machine and the jail starts. ...
200
votes
4answers
67k views

Why is FreeBSD deprecating GCC in favor of Clang/LLVM?

So I was surfing the net and stumbled upon this article. It basically states that FreeBSD, starting from Version 10 and above will deprecate GCC in favor of Clang/LLVM. From what I have seen around ...
5
votes
2answers
6k 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 ...
4
votes
3answers
4k views

How do I export a folder to a subnet using NFS in FreeBSD 9.0

The following NFS exports file does not work on FreeBSD 9.0. How should I be specifying that I wish to share with the whole subnet? mybox# cat /etc/exports /storage/build ...
3
votes
2answers
1k views

How do I set a script that it will run on start up in FreeBSD?

I am using FreeBSD 9 and I want to make a script that will check if an Ethernet cable is connected, and if so, connects to it. I want to set it so that it runs whenever the machine starts up, or ...
3
votes
1answer
674 views

Network interfaces for Jails

I have been reading over the creation of Jails on FreeBSD, and one stumbling block I have is regarding network interfaces. Say my local router is 10.0.2.1, and the BSD box is 10.0.2.5. I would like ...
1
vote
2answers
3k views

Easily connecting to the internet with FreeBSD

I am a beginner at using UNIX, and I have a small Toshiba notebook computer which I installed FreeBSD 9.x on. I looked at the online handbook to try to find out how to connect to the internet, but ...
7
votes
2answers
369 views

Is it possible to keep a FreeBSD system up to date (base system + packages) using only binaries?

I have been using Debian and NetBSD systems for a long time, and I have got used to do binaries upgrades for the base system and for packages (using pkgin with NetBSD) Now the NetBSD kernel does not ...
2
votes
0answers
784 views

Differences between UNIX, BSD and FreeBSD? [closed]

Could somebody tell me the difference between UNIX, BSD and FreeBSD? I've been using Linux from always, but now I'm curious about FreeBSD and BSD, because maybe there are more "unix-legacy"... What's ...
2
votes
2answers
402 views

How do I set the mysql server character set in FreeBSD 8.2?

My mysql server's current server character set is latin1. My server is started on startup via rc.conf setting mysql_enable="YES". How to set my server to use utf8 as the server character set?
1
vote
3answers
994 views

Reconnect if the link is stale

I run FreeBsd box with pppd over Ethernet. Everything works just fine with only one exception. Sometimes, not too often, the connection becomes stale. Everything looks like if it is ok: ifconfig shows ...
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 ...