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

learn more… | top users | synonyms

-2
votes
1answer
61 views

FreeBSD and GUIs [closed]

From what I've heard, FreeBSD has no GUIs. Out of sheer curiosity, without even reading the handbook, I installed it onto a CD, then ran it. Only a terminal. Naturally, I was confused. So I look ...
1
vote
1answer
136 views

Is there a canonical method to restrict ssh access to certain IP addresses in Unix?

I checked man pages related to ssh on OS X and other systems and tried using hosts.allow and hosts.deny files as per this post, and sshd_config to no avail. $ cat /etc/hosts.allow sshd: ...
3
votes
1answer
484 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 ...
0
votes
1answer
26 views

How to change the key repeat interval?

How can I change the key repeat interval in FreeBSD? I'm talking about when you hold down a key, and the terminal repeatedly registers key presses for that key. I'm having a problem where if I type ...
4
votes
1answer
97 views

Create a loopback interface and make it permanent (FreeBSD)

I create a loopback interface using: #ifconfig lo1 create The problem is when I reboot the machine I loose my configuration. I tried to modify the /etc/rc.conf file but I didn't figure the right way ...
0
votes
1answer
128 views

What is the purpose of flag kern.geom.debugflags in FreeBSD?

My question is as stated above, on a FreeBSD system, what is the use of the kern.geom.debugflags ? I see it written before the command to write on to a disk. sysctl kern.geom.debugflags=16 What ...
5
votes
2answers
389 views

How to measure PCI-Express bus usage?

I'm looking for a way to find out if PCIe bus is the bottleneck or not. It's not a problem to measure how much bytes was transferred through any particular NIC: Is there a way to find how much ...
2
votes
1answer
153 views

Problem with pkg behind a chunking proxy

I have a freshly installed FreeBSD 10.1 at work in a VM. As it is behind a corporate proxy, I had to set HTTP_PROXY in environment and it began to run fine. But no way to get pkg to work correctly. I ...
2
votes
2answers
600 views

Is there any PF log parser for FreeBSD

I am runing FreeBSD 8 stable with PF as firewall, I am looking for any tool for parsing PF log's.
2
votes
1answer
1k views

Install a package manager in FreeBSD 10

I was trying to install a package using pkg add, but I got the reply that package manager not installed To install that I used: tar -C /tmp -zvxf pkg-1.2.1_1.txz and then: ...
0
votes
2answers
88 views

How to you force fsck at reboot on FreeBSD10?

I need to force a file system check on reboot to try and fix my mounted file system. All the commands/methods I find are obsolete in FreeBSD10 [\u@vader:/root] # tune2fs -c 1 /dev/vtbd0p2 tune2fs: ...
1
vote
2answers
87 views

How to test modified FreeBSD source code?

I am trying to modify the default congestion control algorithm in FreeBSD (NewReno) by creating a copy of the source file (cc_newreno.c, located in /usr/src/sys/netinet/cc) called cc_newreno_mod.c and ...
0
votes
0answers
21 views

How do I set the operating directory in a script in rc.d (FreeBSD)?

I have a rc.d script that fires up a program that normally looks for a configuration file in ~/.app/app.conf. However, when I use service app start (or when it is auto-started at startup), the app ...
2
votes
1answer
132 views

What is the difference between vim and vim-lite?

I want to install vim on my FreeBSD machine, and this other site suggests installing from FreeBSD ports like this: # cd /usr/ports/editors/vim-lite/ # make install clean This is all great, and I ...
4
votes
1answer
7k views

How do I install the latest gcc on FreeBSD?

How do I install the latest gcc on FreeBSD and 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 ...
4
votes
3answers
98 views

How to add a user to a group in FreeBSD

How can I add an existing user to a group in FreeBSD? The command usermod does not work.
0
votes
1answer
49 views

ip_conntrack and FreeBSD

We can figure out number of connections in GNU\Linux with ip_conntrack module, And I can print current connections and maximum of connections with: root@debian:/home/mohsen/test/shell# sysctl ...
0
votes
0answers
59 views

Configure FreeBSD pf firewall (non GUI) for beginner

I am running Mac OS X 10.10, but my research has led me to the understanding that the particular flavor of pf was ported from FreeBSD. I have tried the popular GUI software (IceFloor) but it is a bit ...
1
vote
1answer
124 views

Set up multi-head environnement on FreeBSD running X.org

My goal is to set up a multi-head environnement: I need to have an extended desktop available on both screens with the ability to drag and drop windows from one screen to another. The left screen is ...
1
vote
0answers
122 views

Kolab on FreeBSD

I want to install Kolab on FreeBSD 10. It seems there are no precompiled packages available, so I have to compile from source. On Kolab's Git server the latest Kolab server available is version 2.3.4 ...
0
votes
0answers
21 views

FreeBSD bsdinstall menu selection

When navigating the menu selections like Distribution Select and System Configuration within bsdinstall, what keys do you need to press to toggle selected items marked by an * or +?
2
votes
1answer
38 views

Deleting all old files after rebuilding world on FreeBSD

I'm rebuilding world and would like to have every other file not created by the rebuilding of world to be deleted. Is there some mergemaster option for this?
4
votes
1answer
73 views

List serial devices on FreeBSD

On FreeBSD, I'm looking for a way to list serial communication devices. The computer has two of them installed: An on-board serial console (ttyS0), and an internal analog modem. I can find out about ...
1
vote
0answers
115 views

What am I missing in my SMTP-AUTH relay configuration?

I'm trying to setup sendmail on FreeBSD to relay (outbound) through an Exchange server on the MSA port via SMTP-AUTH. The Exchange server is already successfully relaying for Java applications that ...
0
votes
2answers
65 views

FreeBSD 10 and ZFS: Methods for encrypting files

I'm in the process of setting up a FreeBSD 10 server on a KVM vserver. I'm really new to FreeBSD in general (coming from Debian Linux). I installed the system choosing ZFS with encrypted root volume ...
1
vote
1answer
101 views

How can I resize an md device in FreeBSD?

I have 1GB RAM installed and I want to enlarge both nodes md0 and md1 /dev/md0 38M 216K 35M 1% /tmp /dev/md1 58M 20M 33M 39% /var I tried this ...
15
votes
6answers
5k views

What is using this network socket?

I'm trying to use NTP to update the time on my machine. However, it gives me an error: host # ntpdate ntp1.example.org 10 Aug 12:38:50 ntpdate[7696]: the NTP socket is in use, exiting What does the ...
0
votes
1answer
457 views

Which virtual machine image for installing FreeBSD?

The FreeBSD download page offers links to Virtual Machine Images, including one link for AMD64. That AMD64 folder offers three files: FreeBSD-10.1-RELEASE-amd64.raw.xz ...
3
votes
1answer
48 views

Not possible to use batch mode?! FreeBSD gpg 1.4.19

I use a script to decrypt my password for offlineimap, but somehow it's not working anymore ... The file was encrypted with gpg --symmetric password For offlineimap I use this combination. gpg ...
5
votes
3answers
5k views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
6
votes
3answers
4k 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 ...
0
votes
1answer
48 views

Why is freeBSD rebooting during installation ?

I have a samsung laptop which is around 1.5 years old. I am currently running arch linux and have run various linux distributions succesfully in the past. T The hardware is not obsolete and the ...
1
vote
2answers
44 views

Which bus drivers to include when compiling freeBSD kernel?

I'm trying to compile a FreeBSD kernel and make it as light as possible. I'm struggling with the configurations on the bus, especially the SCSI Controllers part. there are many modules e.g: ahc, ahd , ...
1
vote
0answers
38 views

FreeBSD: Permanent nodes for usb devices

In FreeBSD, USB devices appear in /dev as (for example) /dev/ugen2.5, /dev/ugen2.6, etc... However, I noticed after a reboot sometimes these are pointing to different devices. Is there a way to lock ...
2
votes
3answers
215 views

Double square brackets for FreeBSD

I have this code: [[ "$1" =~ [/\\]$ ]] On linux it works just fine, but when I tested it on FreeBSD an error occured : ./projekt2.sh: [[: not found and it .. I there any alternative which would ...
2
votes
2answers
64 views

Porting Linux date parsing to FreeBSD

I have date in this format: date -d $datum +"%Y-%m-%d" and on Linux it worked OK but in FreeBSD says this: ERROR wrong format usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
1
vote
0answers
143 views

Install man on FreeBSD 10.1 based pfsense 2.2

I'm running a pfsense 2.2 router. While not required most of the time, sometimes using the console is the way to go. Unfortunately pfsense doesn't come with /usr/bin/man I was able to run pkg pkg ...
0
votes
1answer
49 views

FreeBSD memory usage shell script

In FreeBSD, how to find the current memory usage (wired, inactive, cache, etc) in a shell script? This must be for a regular /bin/sh script, not bash, zsh, etc...
0
votes
1answer
63 views

How do I install freeBSD headers ?

I have been a arch linux user for the past 2 years and now moving on to freeBSD for kernel development. I have install freeBSD and want to compile a dynamically loadable kernel module for freeBSD. ...
3
votes
2answers
2k 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 ...
0
votes
1answer
24 views

can't find “buildkernel” target in FreeBSD source files

I'm trying to compile a FreeBSD 9.3 Kernel. in the docs it states that the commands make buildkernel and make installkernel must be run, However I can't find these two targets anywhere in the make ...
0
votes
0answers
29 views

BSD crashing after creating ZFS pool

I've just installed FreeBSD 10.1 on a virtual machine (using Oracle VirtualBox), and I'm attempting to enable and setup ZFS. I did the following commands: # mkdir /tut/ - from root dir # echo ...
2
votes
1answer
296 views

Understanding why such a discrepancy in network transfer?

Summary: I can't understand a peculiar discrepancy in network transfer. Why is there such a discrepancy in syncing from one machine to the other and vice versa? Also: Given the maximum network ...
0
votes
0answers
29 views

Is there any dynamically produced .log file showing up the memory usage on FreeBSD?

I am using FreeBSD 10.1-RELEASE and I was just wondering if there is any .log file produced by default from the system because I am using ELK and I want to pass this file to logstash and then ...
1
vote
1answer
24 views

Is there any dynamically produced .log file showing up the memory usage on FreeBSD?

I am using FreeBSD 10.1-RELEASE and I was just wondering if there is any .log file produced by default from the system because I am using ELK and I want to pass this file to logstash and then ...
0
votes
1answer
111 views

FreeBSD 10: Do I need jails?

I'm in the process of setting up a FreeBSD 10 server with just some services on a KVM server: NGINX webserver w PHP-FPM 2 domains, 3 subdomains Mailserver 3 Email addresses MySQL (or other) ...
0
votes
0answers
105 views

Dbmail / Postfix Send mail to local adress

I have a FreeBSD Server with Postfix and DBmail. The mail system is working perfectly except for one thing: I cannnot send an email from domain1.com to domain2.com if they are both hosted on the same ...
1
vote
0answers
152 views

FreeBSD: IPv6 in Jails (ezjail)

I'm on FreeBSD 10.1 and in the process of setting up a server. After some hassle I managed to get IPv6 running. I'm now setting up jails with ezjail and I learned how to set up a working flavor and a ...
1
vote
1answer
181 views

FreeBSD 10: Disable ZFS full disk encryption

I installed FreeBSD 10.1 and chose to encrypt the ZFS root volume and Swap during install. I'm now realizing that on the remote KVM vserver I'm on the encryption makes rebooting harder and probably ...
2
votes
3answers
116 views

Can you make a process pool with shell scripts?

Say I have a great number of jobs (dozens or hundreds) that need doing, but they're CPU intensive and only a few can be run at once. Is there an easy way to run X jobs at once and start a new one ...