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

learn more… | top users | synonyms

3
votes
1answer
2k views

Expanding the disk size on pfsense under VMWare ESXi

I've been testing pfsense on ESXi for a while. And now I'm almost running out of space. Currently it holds around 30GB and I would like to expand it to 150GB as I'm planning on installing squid for ...
3
votes
1answer
71 views

What is the correct partition type for a geli-crypted partition on FreeBSD?

I am currently in the process of setting up an encrypted homeserver with zfs and geli. However I am not sure what the correct partition type for geli-crypted filesystems are. Do I just take ...
3
votes
1answer
198 views

Low-level disk access in FreeBSD

I'm developing a utility that needs to do low-level random access of disks (read individual sectors). In Linux I accomplish this by accessing the corresponding block device (e.g. /dev/sda). However, ...
3
votes
1answer
2k 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 ...
3
votes
3answers
3k 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
1answer
368 views

Java on FreeBSD

Is it possible to get the latest Java (Java 7u3 or Java 6u31) on FreeBSD? Everything i found on the internet is outdated. I currently have 6u24 from the packagemanager which works for now but may get ...
3
votes
2answers
526 views

Installing FreeBSD without removable media from CentOS 6

I've been tasked with installing FreeBSD 8 alongside CentOS 6, without the luxury of removable media. CentOS 6 is already on the machine, and running quite nicely. However, I cannot figure out how to ...
3
votes
2answers
147 views

National characters in manpages

I am trying to get a proper display of national characters with FreeBSD man. I have tried running the following on 8.1 and 9.0: # PAGER=less LANG="pl_PL.UTF-8" man -d -M. ./man.1 -- Using ...
3
votes
1answer
415 views

What port range will ipfw nat use for aliasing?

I am using ipfw nat with the following config ipfw -q nat 1 config if em0 Which TCP and UDP ranges will the NAT choose its alias ports from? I would like it to be always from the range 49152–65535, ...
3
votes
1answer
3k views

Why am I getting btx halted trying to install FreeBSD?

When trying to install FreeBSD 8 off a USB Drive (UNetBootin loaded) I receive BTX Halted when choosing any of the Boot options. Boot FreeBSD [default] Boot FreeBSD width ACPI disabled Boot ...
3
votes
1answer
325 views

Is there an in-memory compressed swap facility (like Compcache) for FreeBSD?

Is there anything like CompCache for FreeBSD?
3
votes
2answers
740 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
1answer
1k views

X.org missing fonts

I have a font installed (7x14, part of the xorg-fonts-miscbitmaps package), which I would like to use in my xterm. Problem is, X won't let me. X seems to pick up the font dir: # grep -A 3 FontPath ...
3
votes
2answers
1k views

How to find if hyperthreading is enabled on FreeBSD

Is it possible to find out if hyperthreading is enabled within the BSD kernel of a given machine without watching the boot up sequence?
3
votes
3answers
2k views

Failed to boot a fresh FreeBSD 8.2 installation on an Intel SS4200-EHW

I've installed FreeBSD on an Intel SS4200-EHW which has four hard disks and a flash DOM (Disk On Module) disk through an IDE interface. I want to install FreeBSD on the Flash DOM. In order to get the ...
3
votes
1answer
592 views

RealTek 8101E ethernet card or similar doesn't work on FreeBSD

I'm trying to install FreeBSD on my netbook using an usb sitck but I'm running into a major problem, my ethernet card doesn't work. ifconfig -a only returns me lo0 … but dmesg | grep re0 ...
3
votes
1answer
251 views

Invalid greeting from server

I'm trying to csup and i'm getting "Invalid greeting from server" su-3.2# /usr/bin/csup -z -h cvsup.freebsd.org /usr/share/examples/cvsup/standard-supfile Connected to 72.233.193.64 Invalid greeting ...
3
votes
0answers
65 views

FreeBSD setup RTL8187SE wireless NIC

I am running FreeBSD 10. My wireless card is: none1@pci0:9:0:0: class=0x028000 card=0x818210ec chip=0x819910ec rev=0x22 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = ...
3
votes
0answers
45 views

Figuring out physical cache layout in FreeBSD

I'm trying to figure out they physical cache layout of my CPU in FreeBSD 10. I see the following from sysctl kern.sched.topology_spec kern.sched.topology_spec: <groups> <group level="1" ...
3
votes
1answer
45 views

Fix partition alignment in FreeBSD

I'm working on a FreeBSD 8.x (pfSense 2.1) system and post-install, realised that the partition is misaligned to the disk (starts at sector offset 63). GParted doesn't recognise UFS so that is out. ...
3
votes
1answer
444 views

How do I mount a UFS disk in read-write mode?

I have a system drive that has filled up to the last sector, so that it doesn't boot anymore. The file system is UFS (it's an old Freenas 0.7 installation), but since UFS write support doesn't appear ...
3
votes
0answers
351 views

how to solve ports dependencies conflict

What is the best approach to avoid conflict among the dependencies from two or more unrelated ports? I'm facing the following problem. A script that I'm using has the follow approach to try to install ...
3
votes
1answer
383 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 ...
3
votes
1answer
397 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 ...
3
votes
0answers
436 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
1answer
268 views

How to autoboot boot0?

How can automatically boot FreeBSD in boot0 and, when needed, manually load win by pressing a shortcut button?
3
votes
1answer
457 views

freebsd make install openjdk6

I am having problem installing openjdk6 using ports using the make install clean commands. The error I got is: /usr/ports/java/openjdk6/work/build/bsd-i586-debug-fastdebug/j2sdk-image: No such ...
2
votes
1answer
695 views

how to get out from the command iostat on unix?

I was installing a .iso 8,2 version in a vmware to learn unix., and i am stuck with iostat command, i run iostat 3 and is keep going to show me the results, but whem i put exit or q or q! to exit, he ...
2
votes
5answers
2k views

How to completely hide stuff from a user?

I want to let some of my friends access my computer by making them user accounts. They will mostly access my computer by sftp and ssh, but they could also sometimes access it at my home. However I ...
2
votes
2answers
917 views

daemonize rtorrent

Just read the man page, but found no option for this. Maybe I missed it, maybe it doesn't exist. I have a server at home I'm SSHing to for rtorrent, but the torrent stops downloading and won't restart ...
2
votes
2answers
745 views

Too many open files in system in FreeBSD 9

I just installed FreeBSD 9 version with GNOME interface. Each time I want to open a folder from root a message box pops up and warns me with this message: Too many open files in system. What is the ...
2
votes
2answers
281 views

What's the motivation behind kfreebsd

I use both FreeBSD and Debian-based Linuxes on a daily basis. (I am mostly a user/developer/sysadmin not an OS-developer). I want to know what is the motivation behind kFreeBSD? Why people may want ...
2
votes
5answers
1k views

Starting A Bind/DHCP server

I am looking for some reading material on starting my own BIND/DHCP server. I mainly want the bind server to just be a caching server and for my home computers but it may also need to be authoritative ...
2
votes
2answers
1k views

Installing Freebsd as guest OS on kvm without using VNC

I want to run Freebsd as a guest OS on kVM running on Ubuntu server 10.04. All howtos mention VNC as a necessity to start and finish the installation process. Can I install freebsd on kVM without ...
2
votes
2answers
95 views

Is there an equivalent book/resource to “The Linux Programming Interface” for FreeBSD? [closed]

Most of you here are probably aware of the famous The Linux Programming Interface, which presents a truly masterful guide to the Linux and general POSIX APIs. I know that much of the general POSIX ...
2
votes
2answers
732 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
2k views

How to Install BASH in FreeBSD

I really find that using bash helps a lot, when you need to retrieve strings of text that you used previously. But how can I install it on FreeBSD? I have tried typing bash into the terminal, but ...
2
votes
2answers
771 views

FreeBSD based routers

I am looking for a FreeBSD based wireless router to hack around it and also use it at home. I saw some listed on www.bsdrouter.org but those seem outdated. Can someone point me to such a ...
2
votes
1answer
1k views

How do I install the latest gcc on FreeBSD?

How do I install the latest gcc on FreeBSD ind set up the system so that this latest version would be used to compile further programs? At the moment of this writing the latest release of gcc is ...
2
votes
2answers
389 views

How to install GNU make on FreeBSD 10?

I have this error configure: error: GNU make is required! and I can't change into /usr/ports/devel/gmake/ $ cd /usr/ports/devel/gmake/ cd: /usr/ports/devel/gmake/: No such file or directory How ...
2
votes
1answer
370 views

How to make a custom FreeBSD distribution [closed]

I have been struggling for several hours on how to find a coherient guide on how to create your own BSD distribution based off of FreeBSD. I have looked at the GitHub repositories for pfsense, but I ...
2
votes
2answers
150 views

FreeBSD's net/ntp port is forbidden due to CVE-2013-5211, with no support upstream

FreeBSD port net/ntp was marked forbidden because it is vulnerable to traffic spoofing and amplification attacks, as documented in CVE-2013-5211. However, there's been no support from the upstream ...
2
votes
1answer
281 views

how install freebsd in minimum size?

I want to install a FreeBSD just to use squid cache server on it. i want to know how can i make this installation to its minimum size? i installed the boot-only ISO file on virtual box, but it took ...
2
votes
1answer
90 views

Can I figure out why port X is a dependency of port Y?

Is there an easy way to figure out why, when I'm trying to install a certain port in FreeBSD, some other certain port is listed as a dependency? Specifically, I'm trying to install the Webalizer port ...
2
votes
2answers
2k 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 ...
2
votes
2answers
1k views

OpenSSH, chroot user: Root needs to own the user directory, is there any consequence?

I want to create an account for my friend on my computer, but I don't want my friend to be able to view all my files. I saw that with OpenSSH, there is an option for that. Inside the SSHD ...
2
votes
4answers
6k views

FreeBSD 9 and Windows 7 Dual Boot

I have two hard drives installed on my machine. I installed Windows 7 on one hard drive and FreeBSD 9 on the other. I used GPT for FreeBSD. My question is: how can I install a boot manager so that I ...
2
votes
2answers
3k views

huge .sujournal file on FreeBSD

I am running out of space and when I checked, I found that I have # pwd /usr # ls -l .sujournal -r-------- 1 root wheel 33554432 Dec 31 1969 .sujournal I wanted to ask should/can I remove it? ...
2
votes
1answer
248 views

How can I upgrade a package recursively in Arch Linux?

Is there any equivalent to FreeBSD's portupgrade -R in Arch Linux? From man portupgrade: -R --upward-recursive Act on all those packages required by the given ...
2
votes
2answers
862 views

How to startup FreeBSD in console mode

I have recently installed a VMware image of FreeBSD, although when I boot up I get the message: Welcome to DesktopBSD, select from the following options: http://i.imgur.com/VWahL.gif The trouble is ...