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

learn more… | top users | synonyms

0
votes
0answers
8 views

Hook serial port interrupt in FreeBSD

I need to write a program to react to the modem control lines changing in the serial port on my FreeBSD 10.3 machine. I don't want to read any data from it (there won't be any). I'm aware I can ...
1
vote
3answers
1k views

NFS mount fails at boot time

I have the following in /etc/fstab on FreeBSD: venture:/usr/redacted /usr/local/redacted nfs rw 0 0 This fails during boot. However, after boot, the following command succeeds ...
1
vote
1answer
63 views

You have security/openssl installed but do not have DEFAULT_VERSIONS+=ssl=openssl set in your make.conf

On FreeBSD, ever since I installed openssl explicitly I have the following message when I install most ports that require openssl: /!\ WARNING /!\ You have security/openssl installed but do not have ...
7
votes
2answers
2k 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 ...
4
votes
2answers
908 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 ...
0
votes
1answer
41 views

Where is the __sysctl function defined in FreeBSD?

I am reading the source code to understand sysctl in FreeBSD. It looks like the most important function int __sysctl(const int *name, u_int namelen, void *oldp, size_t *oldlenp, const void *newp, ...
0
votes
1answer
21 views

Configuring fluxbox (or any other WM) on FreeBSD

First time using FreeBSD (or any BSD). I recently installed FreeBSD and installed xorg and fluxbox with: pkg install xorg fluxbox And put this in the .xinitrc for my user: exec xterm & ...
5
votes
2answers
3k 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. ...
0
votes
2answers
4k views

How to remove a (plugin) jail from FreeNAS

I'm running FreeNAS (v9.2.1.9) as a file and media server and have several jails installed, some of them as plugin jails others as "standard" jails. After I had replaced one of the plugin jails by a "...
0
votes
0answers
24 views

Cannot start X server on new FreeBSD install

I Installed FreeBSD (from the USB image) and was able to log in. I installed xorg using pkg install xorg . But I cannot start the X server. When I use startx, I get an error: xinit: unable to run ...
4
votes
1answer
3k views

Howto fix my PHP install on FreeBSD using pkg

I've been messing around with pkg install, installing / removing both php5-5.4.29 and php55-5.5.13. But when I run php from the command line, it will give me an error like this: PHP Warning: PHP ...
1
vote
1answer
38 views

2 different libelf.h and libdwarf.h in FreeBSD?

In FreeBSD 10.3 there are 2 libelf.h, /usr/include/libelf.h and /usr/local/include/libelf/libelf.h. And they have different defines, such as enum Elf_Cmd. Also there are 2 libdwarf.h, /usr/include/...
5
votes
1answer
2k views

Mount MTP device in FreeBSD

I have an Android tablet which uses MTP instead of USB Mass Storage for transferring files. I'd like to mount it in a FreeBSD machine. I tried the method described here. I installed mtpfs by going ...
4
votes
3answers
3k 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" ...
2
votes
1answer
44 views

Freebsd: pf firewall doesn't work on restart

I'm running FreeBSD 10.3 p4 and observed some strange behavior When restarting the machine pf starts due to /etc/rc.conf entry # JAILS cloned_interfaces="${cloned_interfaces} lo1" gateway_enable="...
4
votes
1answer
1k 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: (...
1
vote
2answers
60 views

How do I change FROM address using mailx on FreeBSD from command line?

I'm using following system: $ uname -a FreeBSD X 9.2-RELEASE-p17 FreeBSD 9.2-RELEASE-p17 #0 r282430: Mon May 4 13:59:58 PDT 2015 root@X:/usr/obj/usr/src/sys/R610 amd64 $ pkg info mailx mailx-0....
0
votes
1answer
2k 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
30 views

How can I find duplicate processes on FreeBSD?

I suspect that there is some replicate (many instances) process that is overloading the CPU of my FreeBSD 10.3 (pfSense v2.3) computer, but I don't know what its name could be. The process is ...
0
votes
0answers
27 views

QEMU/KVM: USB3 passthrough to FreeBSD

I'm making my first steps in FreeBSD, so please excuse any possible "linuxism". My goal is to run FreeBSD 10.2 inside virtual machine with QEMU/KVM and allow USB3 network card passthrough from the ...
0
votes
1answer
232 views

FreeBSD Selenium PhantomJS - Can not connect to the Service

i am stuck to run PhantomJS with selenium. So i have prepared a FreeBSD Jail and installed phantomjs via ports. whereis phantomjs > phantomjs: /usr/local/bin/phantomjs /usr/ports/lang/phantomjs /...
4
votes
1answer
885 views

Keys for copy & paste in FreeBSD console

How do I copy paste text inside the FreeBSD console? I tried ctrl + c, ctrl + v super + c, super + v I have FreeBSD 10.1 installed in VirualBox on a Mac. I am selecting text with the mouse in ...
3
votes
0answers
48 views

BTX Halted. When I trying to install freeBSD 10.3 on my notebook I got this message:

I'm trying to install FreeBSD-10.3 (FreeBSD-10.3-RELEASE-amd64-dvd1.iso) It's done perfectly on vmware virtual machine (with windows 10 host), but when I'm trying to install it on my notebook (ACER ...
5
votes
1answer
898 views

How to install FreeBSD on Thinkpad?

I am trying to install FreeBSD but I am having a problem. My computer is a Thinkpad T400. I followed the instructions to install so I have downloaded the file FreeBSD-8.3-RELEASE-amd64-dvd1.iso and ...
0
votes
1answer
16 views

setxkbmap il and then setxkbmap us: How to switch back keyboad layout to English after changing keyboard layout to some other language

I do this setxkbmap il on my xterm and then do my stuff in my local language layout. When done, I want to switch back to English layout with setxkbmap us but I cannot type English in my xterm. What ...
13
votes
3answers
14k views

ssh port forward to access my home machine from anywhere

http://serverfault.com/questions/303937/how-to-make-freebsd-box-accessible-from-internet I want to understand this whole process of port forwarding. I read so many things but failing to understand ...
0
votes
0answers
27 views

Running a Sabrent PCI-802N Wireless Card on pfSense 2.3.1?

The wireless card I'm using is a Sabrent PCI-802N Ralink RT3062F PBG26220E0 I tested the card in Linux and was able to connect another access point and retrieve webpages; in Linux it used the ...
6
votes
2answers
1k 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 ...
4
votes
0answers
23 views

Let ifconfig wait for IPv6-address to not be tentative

I claim an IPv6 address using ifconfig in a script. This address is then immediately used to listen on a TCP port. When I write the script like this, it fails because the service is unable to listen: ...
2
votes
2answers
901 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: /...
2
votes
1answer
11k 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:   &...
2
votes
1answer
132 views

Recompile Apache22 with threading seamlessly? [closed]

I just found out today that our apache installation was installed without threading support (we need this for mod_wsgi). Will the following in the apache22 ports folder reinstall our apache with ...
2
votes
2answers
4k views

FreeBSD: How to install Django with mod_wsgi?

Using FreeBSD 8.2-RELEASE. I want to mess around with Django and I want a working setup on my freebsd system. My understanding is I need to install python, apache, mod_wsgi, and django. The ...
1
vote
1answer
16 views

Permissions to allow files to be written, but not read, overwritten or modified

I'm setting up a file share for a small group (CIFS/samba on FreeNAS, so the base system is FreeBSD/ZFS using ACLs). I want to allow users to put stuff into a folder on the share - but not to be ...
2
votes
0answers
20 views

separate debug-info files in FreeBSD

In GNU/Linux, there are debug-link and build-id sections in ELF files which shows separate debug-info files name or CRC32 [https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html]. There ...
2
votes
1answer
27 views

Installed ImageMagick7-7.0.1.5 on FreeBSD 10.3 but there is no `import` command available after installation

After running $ sudo pkg install ImageMagick7-7.0.1.5 on FreeBSD 10.3, noticed that what I needed is not installed: import Am I missing something?
5
votes
1answer
59 views

How can I use terminfo entries on FreeBSD?

On my local Linux machine, I'm using termite (VTE-based). It it comes with its own terminfo file (xterm-termite), which is not distributed with ncurses by default. I try to connect to a remote ...
3
votes
0answers
751 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
194 views

No packages Apache and mod_wsgi3 have been found in the repositories

I'm trying to instal Apache24 and mod_wsgi3 to my FreeBSD VPS (droplet) with this command: sudo pkg install bash ap24-mod_wsgi3 py27-virtualenv mysql56-server but apparently 'ap24-mod_wsgi3' has ...
0
votes
1answer
697 views

“Too many arguments to function” error while installing php5-pdo_mysql from ports in FreeBSD [closed]

I'm having a trouble while installing php5-pdo_mysql in my FreeBSD environment. Everytime I trys to do /usr/ports/databases/php5-pdo_mysql make install the console gives me this error: /usr/ports/...
2
votes
1answer
57 views

Installing Swift on Freebsd Cannot Make LLVM

I am attempting to build Swift using the new port on FreeBSD 10.2, however, make throws the following error : llvm38-3.8.0_3 is marked as broken: LLDB does not build with Python 3. What do I ...
6
votes
2answers
327 views

What to do when “nice” isn't good enough (FreeBSD)

I've been using x265 to encode some video on my workstation lately, but I have a problem: even though I launch it using nice -n 20 x265 to deprioritize it, it still slows the computer to a crawl while ...
0
votes
1answer
51 views

Configure wireless network on FreeBSD: router shows wireless device is connected, but cannot ping

My issue looks similar to this one. I configure my Broadcom BCM4311 802.11b/g device on FreeBSD 10.3-STABLE like this: sudo kldload if_bwn sudo kldload bwn_v4_ucode sudo kldload bwn_v4_lp_ucode #...
3
votes
3answers
623 views

How do I disable the system beep in FreeBSD 10.1?

How do I disable the system beep on the console in FreeBSD 10.1? The recommended commands don't work. The sysctl setting: # sysctl hw.syscons.bell=0 hw.syscons.bell: 1 -> 0 # sysctl -a | grep ...
1
vote
0answers
27 views

FreeBSD display resolution under Veertu

I'm trying to set up FreeBSD 10.3 under Veertu. When starting X, the largest resolution I can get is 1280x720 (well, I can select 1280x768, but then I have to scroll). My actual screen is much bigger ...
3
votes
4answers
3k 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 ...
7
votes
2answers
9k views

How do I add PC BSD / FreeBSD to Grub 2 boot loader?

I have Ubuntu 10.04 installed as my primary operating system, and I installed PC BSD in a different partition: /dev/sda4 without installing it's boot loader. I figured out that I need to edit /etc/...
3
votes
1answer
191 views

How do I check checkboxes using only a keyboard?

I apologize for the simplicity of this question. When I am in an install wizard, how can I check the check boxes using only a keyboard? I have tried every conceivable keyboard command. +, -, Enter, &...
3
votes
1answer
29 views

Use two differents keyboards in FreeBSD, in X env'

So I have bought a laptop and installed FreeBSD on it. I am now trying to finish this all. The laptop has a danish keyboard, but I have also a usb typematrix keyboard with bépo (french dvorak) layout ...
0
votes
1answer
18 views

Why are all files incoming via FTP erased into empty files?

My FTP service is misbehaving. Erasing all incoming files to empty (0 filesize) I have been running FreeBSD 9.0 webserver, and finally thought I would upgrade. I tried to to it using this command: ...