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

learn more… | top users | synonyms

1
vote
2answers
40 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 ...
2
votes
1answer
8k views

Why can't I enable Transmission on FreeNAS 9.2? I keep getting an error

I have installed the plugin correctly, but every time I try and start it either using service transmission start, or trying to flip the on switch from the plugins page, I get this error: ...
0
votes
0answers
15 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 ...
1
vote
1answer
32 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
4k 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 ...
3
votes
1answer
486 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
3answers
57 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
13 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
17 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
35 views

Different Congestion Cotntrol algorithms in FreeBSD

Is there a way I can run a different (than the default) TCP congestion control algorithm in FreeBSD? I am trying to modify an existing TCP congestion control algorithm with some ideas published in ...
0
votes
1answer
1k views

Configuring Apache 2.4 for CGI on FreeBSD

I am trying to run CGI on FreeBSD 9.2. I installed Apache 4.2 (pkg install apache42) Configured it to load CGI module. Also, I did chmod a+x on files in cgi-bin directory. And when I connect to ...
1
vote
1answer
54 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 ...
0
votes
0answers
44 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
14 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
24 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?
3
votes
1answer
684 views

How do I allow user permissions to data on a Couchpotato and Sickbeard Plugin using Freenas

Trying to setup permissions for the plugins sickbeard / couchpotato. I’ve read almost every thread google / the forums have but haven’t really found a solution yet. I’m assuming it’s the data here: ...
3
votes
1answer
34 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
69 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
35 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
57 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 ...
0
votes
1answer
30 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 ...
3
votes
1answer
705 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 ...
0
votes
1answer
541 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" ...
4
votes
2answers
2k views

How to install PostgreSQL 9.3 in FreeBSD jail?

I configured virtual NICS using pf, and a jail for FreeBSD using qjail create pgsql-jail 192.168.0.3. When I tried to install PostgreSQL 9.3 using port collection, it shows strange message at first. ...
5
votes
2answers
1k views

How can I boot the PC-BSD live DVD-ISO IMAGE directly via GRUB2?

Via the loopback command, GRUB2 allows to directly boot an ISO file. Now, I've configured the according menuentry to boot the PC-BSD Live DVD ISO, but when I try to boot it, the FreeBSD bootstrap ...
5
votes
2answers
463 views

What is causing a pause during the system device probe?

I am running FreeBSD 10.0-RELEASE. During the boot device probe there is a two-times 30 second pause. The output relevant to this is # dmesg ... (aprobe0:ata0:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 ...
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
61 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
21 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 ...
4
votes
3answers
4k 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 ...
2
votes
2answers
856 views

How to dual boot PC-BSD 10.3 (with zfs file system) and debian 7 (crunchbang) using grub2 boot loader in MBR?

I want to dual boot PC-BSD 10.3 with ZFS as the root file system (the only file system) with Debian 7 (crunchbang linux) with ext4 using grub2 boot loader installed in MBR and grub is managed by the ...
4
votes
2answers
719 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 ...
6
votes
3answers
3k 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 ...
2
votes
1answer
63 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 ...
0
votes
1answer
31 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
28 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
votes
0answers
11 views

Outside IP curl cron on FreeBSD

I have FreeBSD 10.1 (ssmtp,curl) I want to receive outside IP from cron. */10 * * * * root curl http://ifconfig.me/ip | mail my@mail But I got the following response Null message body; hope that's ...
4
votes
2answers
1k views

NAT and source IP filtering in PF, using OpenBSD >= 4.7

I just read a book about PF (The Book Of PF, No Starch), but there's one question not answered by it. If I have a gateway machine using two interfaces, $int_if and $ext_if, and I NAT the packages ...
1
vote
0answers
21 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 ...
1
vote
1answer
523 views

FreeBSD ipfw keepstate vs setup keep-state

A lot of examples where people are using keep-state with setup together. For example: ipfw add 1 allow tcp from any to me 22 setup keep-state Because of setup, this rule will allow only SYN ...
3
votes
1answer
480 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
3answers
173 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 ...
1
vote
1answer
708 views

VirtualBox Hangs when installing freebsd 9.0

When installing Freebsd 9.0 as virtualbox guest, it hangs. Freezes the guest OS, other VirtualBox windows works fine. Logs attached, hardware is pentium D, 4 GB ram, Asus p5ld2 deluxe mainboard, OS - ...
2
votes
2answers
39 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]] ...
2
votes
1answer
801 views

Status of 5GHz support for 802.11 WiFi devs in BSD (2014)

To put it simply, 2.4GHz band doesn't work anymore due to the plethora of various Wi-Fi and other devices, whereas 5GHz is still almost entirely empty. Do any of the BSDs -- FreeBSD, OpenBSD, NetBSD, ...
1
vote
1answer
634 views

Network fail on FreeBSD: Ping to router fails, but router believes computer is connected

I have a TP-Link TL-WN851N wireless adapter, which is based on an Atheros device. When I attempt to connect to my WPA2 wireless network, ifconfig wlan0 tells me that the connection is 'associated'. My ...
1
vote
0answers
51 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 ...
1
vote
0answers
30 views

Custom Resolution For vt Console in FreeBSD 10

In FreeBSD 10 there is new vt driver for having nice framebuffer console. By default it chooses resolution from the EDID data of monitor. However... I have a monitor that lies in its EDID data, and so ...
0
votes
1answer
34 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...
3
votes
0answers
187 views

FreeBSD on Raspberry Pi2

I want to build FreeBSD custom Image for my Raspberry Pi2. I have read about the boot process in RPi2. I also went through the chrochet build instruction document. I learned from some websites that ...