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

learn more… | top users | synonyms

1
vote
0answers
57 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 ...
1
vote
0answers
686 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
145 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
120 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
662 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 ...
0
votes
1answer
202 views

How to add GTK Theme Preference on Gnome 2 using FreeBSD

GTK Theme Preferences is available in the Shimmer Project PPA for Ubuntu 12.04 Precise Pangolin and 12.10 Quantal Quetzal. Add the PPA and install it using the following commands: sudo ...
0
votes
1answer
243 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
1k views

Obtain device name and mount point if partition label is known

How to obtain the partition device name and mount point when the file system label is known? There are several possibilities: Linux File system label to device name The device name can be obtained ...
0
votes
1answer
1k views

Mouse and keyboard not working in FreeBSD 9.0

Could not use keyboard and mouse at KDM log in screen in FreeBSD 9.0 KDE Typed on nano: hald_enable="YES" dbus_enable="YES" local_startup=${local_startup} /usr/local/kde4/etc/rc.d" kdm4_enable="YES" ...
1
vote
1answer
3k 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 ...
3
votes
1answer
583 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 ...
2
votes
0answers
158 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
117 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 ...
0
votes
1answer
420 views

Why is mouse freezing in FreeBSD 9.1 Gnome or Fluxbox?

I'm new to FreeBSD 9.1 and I wanted to install a desktop GUI environment. I first tried Gnome 2 since I am familiar with it. I appended the following lines to the /etc/rc.conf file: hald_enable="YES" ...
1
vote
1answer
473 views

NFS mount fails at boot time

I have the following in /etc/fstab on FreeBSD: venture:/usr/redacted /usr/local/redacted nfs rw 0 0 This fails during boot. However, after boot, the following command succeeds ...
11
votes
2answers
2k views

FreeBSD: “Too many open files” but should be able to open another 160,000 files

I have a FreeBSD 8 system running ZFS, with a MySQL 5.5 server which is about 355GB and projected to grow to be a couple of Terabytes. MySQL is triggering errors about "Too many open files" on ...
1
vote
1answer
87 views

How to give an ordinary user privileged access to a particular syscall in FreeBSD?

I want to give an ordinary user the ability to fchown() files arbitrarily (as if they were the superuser) on FreeBSD. Generally speaking, is there a right way to change the privilege-checking of a ...
3
votes
1answer
351 views

Nas4free (freeBSD) wont make it past bootloader without keyboard?

I've got an old Compaq machine re-purposed as a Home NAS using Nas4free. I've had it connected up to a monitor and keyboard (PS/2) for a while, (which boots fine, no issues) but I would like to have ...
2
votes
2answers
1k 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
110 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
194 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
1answer
1k views

enable networking inside a freebsd jail

So I'm mostly a linux newbie itself. Let alone freebsd, so please bear with me. I just need some very basic clues to get this to work. I use FreeBSD 9.1 64-bit from the list here. On my freebsd ...
1
vote
1answer
673 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
379 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
606 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
109 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 ...
3
votes
1answer
359 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
568 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
1k 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
218 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
421 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
510 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
463 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
393 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
198 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
763 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
363 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
250 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 ...
5
votes
2answers
429 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
420 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
576 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
405 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 ...
3
votes
2answers
493 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
126 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
134 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
124 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
910 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
416 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
198 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 ...