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

learn more… | top users | synonyms

3
votes
0answers
308 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 ...
3
votes
0answers
353 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 = ...
3
votes
0answers
106 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
1k 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 ...
3
votes
0answers
582 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
0answers
471 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 ...
2
votes
0answers
38 views

FreeBSD shared swap partition with linux

What to do, to run this commands before Archlinux calls swapon -a ? mkswap /dev/sdaX swapon /dev/sdaX Just in case, /dev/sdaX was created in FreeBSD 10.1 enviroment, as soon as FreeBSD doesn't ...
2
votes
0answers
373 views

What is the kernel syntax when booting from ZFS?

I'm trying to write a grub.cfg completely from scratch that will boot one of several FreeBSD systems off of a single ZFS pool named tank with a set of root file systems named root1, root2, root3. ...
2
votes
0answers
594 views

Native IPv6 router on FreeBSD

I need your help to configure native IPv6 router on FreeBSD. Interfaces configured well, on both I can see two addresses (real and link local). I can ping ipv6.google.com and when do lynx ...
2
votes
0answers
469 views

How to configure FreeBSD to run headless without hitting high interrupt rates?

When running headless (without monitor, keyboard, mouse attached) FreeBSD versions 8.2, 8.3, 9.0 and NetBSD version 5.0 has known issues (FreeBSD PR 156596, NetBSD 46596) to generate extremely high ...
2
votes
0answers
79 views

How to restrict directory name creation to pattern?

I have FreeNas CIFS share. Mount command result: /dev/ufs/VSPHERE on /mnt/VSPHERE (ufs, NFS exported, local, soft-updates, nfsv4acls) I want to restrict users from creating directories that do not ...
2
votes
0answers
198 views

FreeBSD 8.4 pkgdb fails after upgrade to Ruby 1.9

I just upgrade Ruby 1.8 to Ruby 1.9. After the upgrade I followed the instructions in the UPDATING file located in /usr/ports. I issued the following two commands: portmaster -o lang/ruby19 ...
2
votes
0answers
43 views

pf out interface?

I'm trying to figure out how to allow all hosts in $dmz to reach any host when egressing $extif. I can't seem to find the equivalence of netfilters "-o $extif", and I'd like to avoid specifically ...
2
votes
0answers
631 views

FreeBSD: How to start a python script as daemon?

I'm facing an issue with a python file that I'd like to start as a service. I named my service ocrserver and the script I want to start is in /home/administrator/ocr/ocrserver/init.py with some ...
2
votes
0answers
450 views

How to configure Sendmail in a jail to get correct FQDN?

I am building a mail server using FreeBSD 9.1-RELEASE with a jail. On the direct OS, all what I have to do was only adding my domain name to /etc/mail/local-host-names file. Anyway I wanted to run ...
2
votes
0answers
172 views

FreeBSD pf firewall, new connections severly delayed when nating

I have a newly setup fbsd 9.1 with pf, which itself doesn't experience any slowness when for example downloading a debian iso from my local debian repo (ftp.se.debian.org). Any machine behind it, ...
2
votes
0answers
229 views

Unable to reduce core frequency freebsd

I'm working on a FreeBSD project where I need to maintain the temperature of the processor below a threshold value. In order to reduce the temperature I'm trying to dynamically change the frequency of ...
2
votes
0answers
862 views

Startx failing in FreeBSD

I've install gnome2, xorg, and xinit (should xorg have done that for me?), and startx yields: "xinit: unable to run server "/usr/local/bin/X": No such file or directory" I checked in the directory, ...
2
votes
0answers
551 views

FreeBSD 9.1 buildworld fails in libclangsema

I just went thru and updated a dozen or so machines from 9.0-RELEASE to 9.1-RELEASE and the last one is dieing during buildworld: c++ -O2 -pipe ...
2
votes
0answers
378 views

FreeBSD 9.0 install NOT configuring ports

We have a new FreeBSD 9.0-RELEASE with a ports tree generated via portsnap and none of the ports perform make config. To some degree it is behaving as though BATCH=yes was set. However, that variable ...
2
votes
0answers
345 views

Media server RAID difficulties (on FreeNAS)

Disclaimer: I've never used FreeNAS or any type of RAID before, so this is a first. I've decided to build a media server in my new apartment. I'm going to be going with a total 10TB of space (6x2TB ...
2
votes
0answers
965 views

pfsense long ping to google

I have a pfsense box set up. What happens is I set a rule so I can't hit the admin interface 192.168.3.1 from the box. With the rule enabled --- www.l.google.com ping statistics --- 2 packets ...
1
vote
0answers
18 views

Cannot access hard disks from FreeBSD installation CD

I have been using GNU/Linux for several years and now I am giving FreeBSD a try. Yesterday I managed to install FreeBSD 10.2 on an old computer using a 5 GB partition. I only installed the base ...
1
vote
0answers
27 views

ex/vi: Input encoding conversion not supported

I've a problem with vi, every time I launched it I get this message: Input encoding conversion not supported; /tmp/vi.PSzqmm9ox9: new file: line 1. Despite of this message I'm able to edit and save ...
1
vote
0answers
52 views

lost FreeBSD efi loader after upgrading windows 10

How to return option to load FreeBSD, after it was lost next to upgrading windows 10. I use uefi-FreeBSD10, and didn't created another one ESP.
1
vote
0answers
24 views

How can I fix an overlapped FreeBSD/UFS partition?

I have a Seagate 1TB Drive [ST1000LM010-9YH146] which had one FreeBSD slice and was formatted as UFS and mounted at /home on a pfsense box. While changing some hardware around, the drive was ...
1
vote
0answers
60 views

ath0 wi-fi connection breaks

Can't hold wi-fi connection in hostapd mode. Sometimes it's good, sometimes not, yesterday all day wi-fi works, today no chance even to connect. % more /etc/rc.conf wlans_ath0="wlan0" ...
1
vote
0answers
79 views

FreeBSD xfce not working

I am very new to the FreeBSD and I have installed xorg and xfce and added entry to xinitrc but when I type startx my pc displays the message "not support!", what to do? I did this as root.
1
vote
0answers
36 views

FreeBSD: Control operational and administrative status of virtual interface

I'm looking for a way to freely control the administrative and operational status of a virtual interface as seen by a snmp get requests: $ snmptable -c public -v 2c myserver iftable SNMP table: ...
1
vote
0answers
26 views

Configure the network interface to send frames with 802.3 format on freebsd

Is it possible to configure my Freebsd (or Linux) so that all frames are sent in the 802.3 frame format (with the LLC part of 802.2) rather than Ethernet 2 frame format ? Thank you
1
vote
0answers
56 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, ...
1
vote
0answers
45 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
0answers
169 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
178 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
0answers
144 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 ...
1
vote
0answers
271 views

FreeBSD can't mount fdesc?

I recently had a bad UPS lead to a sudden crash of several machines. One of them (running FreeBSD) didn't come back up until I replaced the power supply, but it's still not fully back. Both the BIOS ...
1
vote
0answers
118 views

cannot locate header while making buildworld in custom kernel source

I'm trying to install a custom kernel in freebsd and here's step I followed: install freebsd 9.1 on vm from the image get the source from hardenedBSD (branch hardened/9/kernsep) execute "make ...
1
vote
0answers
123 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 ...
1
vote
0answers
47 views

How to make a port recalculate dependencies

I am trying to install mail/pine-pgp-filters on my FreeBSD box, but I am running into a problem. I first tried to install it without having GPG installed, and it listed security/gpg1 as a dependency. ...
1
vote
0answers
24 views

How to create a master user for creating default settings in production programs?

I am interested in creating a master user whose default program settings are inherited by later users, like a template user. I know this used to be done in multiple-user Unix terminal settings such ...
1
vote
0answers
56 views

FreeBSD disk decrypt/mount order

TL;DR ā€” Is there a way to force certain GEOM encrypted drives to be attached and mounted before other drives are attached in FreeBSD 10.1? I have a machine running FreeBSD 10.1 with two drives for ...
1
vote
0answers
52 views

KDE4 PolicyKit backdoor(misconfiguration) (tested on FBSD10x,PCBSD, probably will work on linux)

recently found subj on FreeBSD 10.x out of the box (with KDE4): [user@fbsd10] /home/user% su Password: su: Sorry [user@fbsd10] /home/user% sudo csh Password: Sorry, user user is not allowed to ...
1
vote
0answers
146 views

Airport Extreme BCM4331 not recognised on FreeBSD

So I have recently installed FreeBSD 10.1 (now UEFI native!) on my Mid-2012 MacBook Pro. The install went fine, except for one problem: my wireless card wasn't recognised. I looked into bwi and bwn as ...
1
vote
0answers
43 views

Bridging/Sharing a networkable printer in freebsd

I'm trying to "bridge" a ricoh laser printer to the rest of my network with a freebsd box, I have some other services running on there, such as mediatomb and have been using it as a file/media server. ...
1
vote
0answers
77 views

Unicode emoji not showing up in tcsh prompt

I set my prompt on tcsh 6.18.01 to use some silly emoji characters, but they don't show up. > cat .cshrc set prompt = '\nšŸ”„ [%~]\n%# ' \360\237\224\245 [~] ...
1
vote
0answers
63 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 ...
1
vote
0answers
261 views

Metin2 server on FreeBSD error

I have private metin2 server on FreeBSD 9.1 32 bit and I installed packet filter PF. In pf.conf, I wrote metin2 ports (open for public) and my IP Which can be connected to the server. Everything is ...
1
vote
0answers
510 views

ulimit vs. limit on FreeBSD 8.3

I had the same issue with the error as this and this question (both of which I read and understood), the message being: $ ulimit -n 20000 ulimit: bad limit: Operation not permitted I encountered ...
1
vote
0answers
96 views

byobu-config not working

I installed Byobu 5.73 (latest port available) on "FreeBSD seer.fclar.unesp.br 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:40:52 UTC 2013" without a problem. However, when I try to run ...
1
vote
0answers
478 views

How to secure Apache/MySql/PHPMyAdmin against brute force/dictionary attacks? (Fail2ban?)

I'm wanting to run a publicly accessible server for web hosting. I'm interested in preventing brute force attacks made against PHPMyAdmin or any other form of authentication process I may include in ...