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

learn more… | top users | synonyms

3
votes
2answers
662 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
3answers
1k 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
580 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
219 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
11 views

ZFS: Trying to remove top-level drive from Zpool

I have a zpool called storage that contains a five device raidz1 array. Today I went and bought another 3TB device and put it in my enclosure. However, instead of creating a new pool and adding that ...
3
votes
0answers
27 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
0answers
34 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
403 views

FreeBSD 10 does not boot after clean install

Latest FREEBSD 10 does not boot after clean installation. Installed using this image: FreeBSD-10.0-RELEASE-amd64-memstick.img Used Guided Partitioning, where I selected my only hard drive, chose ...
3
votes
1answer
290 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
279 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
355 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
412 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
252 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
2answers
985 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?
2
votes
1answer
629 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
503 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
676 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
272 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
60 views

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

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
603 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
1k 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
658 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
359 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
126 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
148 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
105 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
117 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
79 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
4answers
12k views

How can I change the default gateway?

Currently I'm running a FreeBSD 9.1 and the default gateway is already configured in the rc.conf. rc.conf: defaultrouter = "10.0.0.1" But now I want to change the default gateway without rebooting ...
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 ...
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
3answers
5k 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
234 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
762 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 ...
2
votes
2answers
4k views

How can I switch one user to another in Freebsd?

How can I switch one user to another in Freebsd? For examples, I am user david now and I want to change to user Bob. This is a personal OS for my study. not a server. I searched it, but only got ...
2
votes
4answers
74 views

How much RAM needed for preventing use swap?

At my system always available some "Free" and "Inactive" memory, but sometimes system move couple megabytes to swap. Per night it maybe around 100MB, but for a few days in swap could be more than ...
2
votes
2answers
173 views

Conceptual difference between Linux and (Free)BSD Kernel

(I've already noticed that this question was asked before but I think it has not been answered in a way I'd like to understand the topic.) What are the conceptual and structural differences between a ...
2
votes
2answers
121 views

grep print relative file path when doing a recursive search

I'm trying to find out which version of hibernate the project depends on (this is orthogonal to my question). We have a parent project with several sub projects, and I know this is defined in one or ...
2
votes
2answers
117 views

quick filter of IP that's causing sendmail DOS under FreeBSD

I've got what appears to be a malicious/spam host that is overloading my Sendmail server causing it to refuse connections to other hosts. I'm overloaded by connections from one particular IP address. ...
2
votes
3answers
168 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 ...
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 ...
2
votes
3answers
375 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
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 ...
2
votes
2answers
259 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 ...
2
votes
1answer
422 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 ...