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

learn more… | top users | synonyms

1
vote
2answers
124 views

How to destroy existing disk partitions

I added some disks to my system, which were in use before. I tried to create them: $ gpart create -s GPT ada0 gpart: geom 'ada0': Operation not permitted $ gpart show ada0 gpart: No such geom: ada0. ...
1
vote
2answers
60 views

Why does FreeBSD require terminal programs to be started as root?

On FreeBSD all graphical terminal programs (e.g. xterm, rxvt) seem to be installed setuid root, or with setuid root wrappers. On Linux, this is not the case on any distribution I have ever used. Why ...
0
votes
3answers
81 views

How do I configure my Linux computer to provide Internet to a FreeBSD computer via Ethernet port?

I have FreeBSD computer to which I want to provide with an Internet connection via the Ethernet port. I bought a single board computer (SBC Wangboard DUAL) onto which I have installed Ubuntu. I ...
1
vote
2answers
1k views

Is FreeBSD's “sh” shell vulnerable to Shellshock?

I've got a server for personal use running FreeBSD 10, and it doesn't have Bash installed and never did. However, it comes with the its own POSIX-compliant shell "sh". Do I have to worry about the ...
0
votes
3answers
122 views

How to combine multiple HDDs into one big HDD in Linux?

I'm very new to Linux, being mainly a Windows 7 user, so I may not understand Linux-specific commands without explanation. I've decided to build a NAS running some form of Linux (probably FreeBSD or ...
1
vote
2answers
94 views

FreeBSD doesn't show on grub menu after installing onto DualBoot. (Now TriBoot system)

I've got Windows 7, Ubuntu and FreeBSD installed on one separate partitions on one harddrive. When I boot, I only have the option to choose Ubuntu or Windows 7. After a successful FreeBSD install, it ...
1
vote
1answer
86 views

How can i dual-boot FreeBSD and PC-BSD — with GRUB2 in MBR?

I have a computer with several operating-systems installed on different partitions: FreeBSD PC-BSD Solaris Extended Partition / -partition for Linux-Mint Swap for Linux-Mint /home for Linux-Mint / ...
2
votes
1answer
131 views

FreeBSD 10 root certificate store

Is on a default FreeBSD 10 no root certificate store? When I install one by hand it is in /usr/local/share/certs/ca-root-nss.crt, which I symlink to /etc/ssl/cert.pem and thats the main places I ...
1
vote
2answers
532 views

Force fsck at boot time on the root file system (prior to mounting file systems, without Single-User mode)

I just wonder if there are any solutions available at all (Googled for 2 hours). How to automatically force fsck disks after crash in `systemd`? - does not mean anything. Setting fsck_y_enable="YES" ...
0
votes
1answer
184 views

CMake fetch failed on FreeBSD when installing KDevelop

I'm trying to install KDevelop on my machine, How do I solve this issue Steps followed cd /usr/ports/devel/kdevelop-kde4 make install clean Output # make install clean ===> Found saved ...
1
vote
2answers
103 views

SpellCheck in FreeBSD

In FreeBSD; the SpellCheck doesn't work for me. For example I installed midori from the ports. In dependencies it installed enchantand enchant had the option for some dictionary (i.e. Hspell, Aspell ...
2
votes
0answers
98 views

Writing a simple rc.d script in FreeBSD

I would like to run the ELK stack in a FreeBSD Jail on an FreeNAS host. I have a hard time to get an simple init/rc.d script to work. #!/bin/sh . /etc/rc.subr name=logstash rcvar=logstash_enable ...
0
votes
1answer
278 views

How To create a FreeBSD 10 bootable USB?

Currently I am Using Linux Mint 17 and I want to dual boot FreeBSD and Linux Mint 17. How can I create Bootable USB for FreeBSD 10? I tried Unetbootin, Image writer and powerISO but it's not ...
0
votes
0answers
66 views

unable to boot after installation : freeBSD

I have Ubuntu installed in my system. I just installed FreeBSD 10.0 in to my system. Here is the screenshot of GParted.     Where /dev/sda1 is where my Ubuntu is installed, and ...
1
vote
1answer
171 views

Resolving FreeBSD pkg conflicts

I'm having some problems getting my FreeBSD 10.0-RELEASE-p7 system to update via pkg, when I run pkg upgrade, I get a worrying list of conflicts; I usually get scared about how much it's going to ...
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 ...
0
votes
0answers
17 views

How to set proxy with a config file provided in freebsd

I'm currently trying to update and install packages and other things on a FreeBSD server, but I’m blocked by my proxy. I'm in an university, and there are a few proxies before to go on the internet. ...
-1
votes
1answer
107 views

Set environment variable and run node.js server

In Ubuntu I have this: $ DEBUG=* node server.js But in FreeBSD I try this and got the following error: # setenv DEBUG * node server.js setenv: Too many arguments. How can I do this?
0
votes
0answers
17 views

How to set a different directoy for a FTP folder in FreeBSD

I am kind of new to FreeBSD and the idea is to set up a FTP server with specific users. I have created the users but I don't want to use their home directory to store the uploaded files. I want to set ...
2
votes
0answers
107 views

Enabling support for AddressSanitizer in FreeBSD

The question essentially is how to compile a program that uses AddressSanitizer in FreeBSD. I use FreeBSD 10.0 (64-bit). I am trying to compile the following code with -fsanitize=address flag: int ...
1
vote
3answers
843 views

Add FreeBSD to GRUB2 boot menu

I have Gentoo x64 installed with Grub2 on my MBR drive. Today I installed FreeBSD x64 9.2. Now I'm in Gentoo and trying to add FreeBSD to grub2 menu list. grub2-install /dev/sda os-prober ...
2
votes
1answer
72 views

How To Download All FreeBSD distfiles

How can I download all FreeBSD distfiles into /usr/ports/distfiles so that I have them for offline use? I realize it will be a huge download. I remember reading how to do this (possibly in the ...
1
vote
2answers
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 ...
1
vote
2answers
694 views

pkg: fail to extract pkg-static, New to UNIX

I am very new to UNIX, running FreeBSD 10 on an ASUS M50VM series laptop. I was following along with the handbook to the point at which it gets into using pkg to find software. Every time I run pkg, ...
0
votes
0answers
35 views

bloated font size rendered in webkit based browsers

Recently after a complete ports update in FreeBSD-10-p7 X86_64, my BSD system is also infected with font problem under webkit browsers such as vimb and dwb or even xombrero. But the difference is ...
2
votes
2answers
340 views

How to remove or shorten F1 Boot Prompt on NanoBSD 4G USB disk that fail with “fdisk: /boot/mbr: Device not configured”?

I have read the pfSense documentation Remove F1 Boot Prompt, however that doesn't seem to apply to our pfSense-2.1.1-PRERELEASE-4g-amd64-nanobsd_vga-20140131-1030.img installation. The fdisk -B da0 ...
0
votes
1answer
52 views

user disappeared, pw says user exists when trying to add, no such user when trying to mod in freebsd

I was following the steps at http://bin63.com/how-to-setup-a-git-repository-on-freebsd to setup git on a server and when I went to setup the user with pw useradd the server said the user disappeared ...
3
votes
1answer
738 views

Allowed and safe characters for ZFS filesystem in FreeBSD

Which characters are allowed and safe for ZFS file system name? Are this characters only ASCII or UTF-8 is supported? '@' is not allowed because it is reserved for snapshots. PS: I play with FreeBSD ...
2
votes
0answers
59 views

Restart specific racoon tunnel

I have several gif* interfaces on my FreeBSD box. They are representing tunnels, encrypted using racoon+ipsec. If, at some moment, one of the tunnels hangs up, I am forced to reset racoon this way: ...
9
votes
1answer
313 views

Linux: Is there handy way to exec a program binding it to IP-address of choice?

In FreeBSD 4.9 it was very easy to accomplish with just a single command like jail [-u username] path hostname ip-number command if path was / you had running just the same program as usual but ...
4
votes
1answer
85 views

Replace FreeBSD base clang with ports clang

FreeBSD 10 was the first release that officially released with Clang as the default, base compiler. Most ports, unless specially marked, now compile using the base ("pre-installed") clang. ...
4
votes
3answers
5k views

Sharing folder from Windows Host to Freebsd Guest

First of all, let me say that though I use Linux (Red Hat, at work) regularly, I am a complete beginner when it comes to actually administrating it. What I am trying to accomplish: I have (at home) ...
1
vote
1answer
46 views

Find files in multiple directories taken from list in a file?

FreeBSD 9.2 RELEASE p2 I have a file dirs.txt. In this file is a new line separated directory list like so: /etc /home /home/goods/ I need to first find in all directory's files which have names ...
4
votes
2answers
528 views

How to remove broken ZIL disk from ZFS pool

I have a ZFS pool, which contains two mirrored hard drives and ramdisk for logs. In my scenario is that log disk died: # zpool status -x tank pool: tank state: FAULTED status: An intent log record ...
0
votes
2answers
40 views

Where should I mount a disk to store backups?

I'm new to Unix, and wanted to give it a try. I had an old PC lying around and decided to turn it into a network based backup system to keep the data in the other PCs safe. So I installed FreeBSD on ...
3
votes
2answers
87 views

Non-interactive customization and installation of FreeBSD Ports

I'm new to FreeBSD, coming from a Linux background. I want to install a port, changing one of the default configuration options, in a non-interactive way (so that I can script the installation for ...
1
vote
1answer
30 views

How do I enable options for installed Ports in FreeBSD?

I installed the Vim editor using Ports and in the process didn't enable GTK2 or GNOME option. I assume that either these 2 options will let me use gvim. Here's my pkg info vim: vim-7.4.430_1 Name ...
13
votes
6answers
789 views

How to achieve portability with sed -i (in-place editing)?

I'm writing shell scripts for my server, which is a shared hosting running FreeBSD. I also want to be able to test them locally, on my PC running Linux. Hence, I'm trying to write them in a portable ...
2
votes
2answers
242 views

How to install FreeBSD 10 from USB Hard drive?

I need to install FreeBSD 10 on an old PC with no CD drive but it has a USB port. I'm on a laptop running Windows 8.1 and have downloaded the FreeBSD 10 DVD ISO image. I have an external USB hard ...
1
vote
0answers
23 views

FreeBSD: spdylay build error

I try to install the latest curl updates from ports (curl-7.37.1_2) with HTTP/2.0 support enabled and I need to build spdylay for that purpose, but I keep getting the following strange errors and ...
3
votes
1answer
228 views

Installing FreeBSD in VirtualBox aborts unexpectedly

I have tried installing FreeBSD-10.0-RELEASE-i386-dvd1.iso into VirtualBox 3 times already today (each time starting from a fresh creation of a VM) and right when I'm about to Exit (Apply ...
13
votes
4answers
2k views

Some people told me FreeBSD is NOT Unix, is that right? Confused

Some people told me FreeBSD is NOT Unix, is that right? I'm confused. I checked some articles, but the expressions are pretty vague, and I need some clarification.
1
vote
1answer
40 views

“Cannot find -lgdbm” when making xemacs in FreeBSD10

I have been trying to install xemacs 21.4.22 in FreeBSD10 x64. Once I run ./configure and try to run make it gives me this error with libgdm.so library [eddyraz@laptop-eddyraz] ...
7
votes
1answer
362 views

Multiple instances of Postfix throwing error fatal: unknown service: smtp/tcp

I am trying to configure multiple postfix-2.12 instances on FreeBSD 10.0-RELEASE following the README. postmulti -e init postmulti -I postfix-out -G mta -e create ... This all works I can start and ...
3
votes
0answers
93 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 = ...
0
votes
1answer
53 views

What are the differences between socket polling mechanisms of kqueue and epolling?

kqueue socket polling mechanism is used in FreeBSD and epolling in Linux. I would like to know what are the differences between the two mechanisms?
4
votes
3answers
390 views

FreeBSD 10 with Root-on-ZFS using only a part of the disk

I'm having a bit of trouble here. I'll try and be as concise as possible in describing my objective: I'm setting up a storage server for my employer, using two Intel DC S3500 series 120GB solid state ...
0
votes
1answer
70 views

gtar fails to perform incremental backup

The following script fails to perform incremental backup, but creates full backup instead. On another FreeBSD server exactly same script works just fine (creating incremental backups). Servers are ...
1
vote
1answer
7k views

switching from user to root and revers (FreeBSD)

I want to make some modification with root and then with my user, in fact I want to install sudo and he give me the error in the first step: cd /usr/ports/security/sudo make install clean ...
5
votes
1answer
259 views

Get CPU usage for single process

I've got a problem getting a real-time CPU usage of a single process (by its PID). I'd like to setup a watchdog for the CPU usage of a process because it's suddenly reaching 100% of the CPU usage ...