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

learn more… | top users | synonyms

6
votes
0answers
449 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 ...
5
votes
0answers
39 views

FreeBSD throttle cpu clock on high temperature

I'm using a laptop with bad cooling system, so my CPU sometimes hits very high temperature, and linux kernel is able to throttle cpu clock to cool it as I can see in dmesg: [22612.245243] CPU3: Core ...
5
votes
0answers
39 views

enable external display on FreeBSD console

tl;dr, I'd like to use the external display with FreeBSD 10.0 on an HP Pavilion g7-2270us. Don't care if it's mirrored or I have to select one or the other. Here's the symptoms: When a display is ...
4
votes
0answers
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 ...
3
votes
0answers
62 views

FreeBSD shared swap partition with Linux

What must I do, to run these commands before Arch Linux calls swapon -a? mkswap /dev/sdaX swapon /dev/sdaX Just in case it matters, /dev/sdaX was created in FreeBSD 10.1 environment, as soon as ...
3
votes
0answers
506 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
123 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
674 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
486 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
17 views

Changing fonts in the FreeBSD terminal

How would I change the font of my terminal in FreeBSD to the Noto Sans font? I am interested in Noto's support for a wide variety of Unicode characters. I downloaded the font using the package manager ...
2
votes
0answers
23 views

Use a “Friendly” Label on Drives or Partitions in FreeBSD

Maybe I am missing this and it's really simple, but I cannot figure out how to label a BSD disk. I have looked at tunefs or gpart and even disklabel, however none do what I am looking for - I don't ...
2
votes
0answers
39 views

How to distinguish ZFS pool from mounts?

I'd like to zerofill all free space in partitions inside a FreeBSD virtual machine. The virtual machine contains a 512K boot freebsd-boot type slice (hope I got the terminology right here), followed ...
2
votes
0answers
23 views

Certain folders are always missing using Rsync to server

I have tried several different ways using rsync modules and ssh trying to pull my linux desktop from my freenas server and no matter how I do it, certain folders are always missing. I am trying to ...
2
votes
0answers
53 views

Slow downloading from own server

I've a small VPS and I can download anything only with slow speed - only sometimes (and sometimes with normal speed). I can download from any other webpage (for example the FreeBSD's ISO files) with ...
2
votes
0answers
37 views

Compiling FreeBSD on OSX

I currently have the source for the FreeBSD kernel. I want to compile it and create an iso image, on my OSX 10.9 computer. Can this be done? Do I need any other tools?
2
votes
0answers
414 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
672 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
598 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
85 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
226 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
576 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 ...
2
votes
0answers
48 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
826 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
597 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
192 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
602 views

Can't boot FreeBSD after installation

I've installed FreeBSD on my system along with Windows 7 using this tutorial. When I turn on my PC the screen says something like this: F1 FreeBSD F2 Win F3 ? F6 PXE Boot: F1 _ Pressing F2 ...
2
votes
0answers
253 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
990 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
574 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
390 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
359 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
1k 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

FreeBSD 10.2 - Is three-way HAST replication possible?

I have a pair of FreeBSD 10.2 servers using HAST to keep a volume replicated between them. I'm introducing two new storage nodes that have much newer hardware and will eventually replace the existing ...
1
vote
0answers
49 views

How to pass an HTTPS scheme request to a proxy without using a CONNECT tunnel on FreeBSD?

The client (C) pass through a proxy (P) to contact a server (S): A --http--> P --https--> S I need the proxy to be able to investigate the request content, for this I see two options: SSL ...
1
vote
0answers
45 views

Dell Workstation t7910 and FreeBSD

I want to install FreeBSD on a Dell Workstation t7910. This workstation has a nVidia Quadro graphics card and two Xenon processors. Would FreeBSD recognize the hardware on a Dell Workstation t7910?
1
vote
0answers
27 views

What is the proper way to create a VirtualBox image using NanoBSD?

Based on instructions at https://www.freebsd.org/doc/en/articles/nanobsd/howto.html, I am trying to construct a VirtualBox format hard drive file with an image generated by NanoBSD. When the VM is ...
1
vote
0answers
26 views

Quagga bgp advertisment stop after peer reboot

I am using quagga and FreeBSD boxes to achieve this: http://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13762-40.html#conf3. Only change is that upstream provider is sending full ...
1
vote
0answers
31 views

How do I install freeBSD without bsdinstall?

I would very much like to install and generally configure freeBSD from the command line without using bsdinstall UI. How do I prevent the live CD from starting into bsdinstall and more important is ...
1
vote
0answers
36 views

In FreeBSD, how do you send a mail message from a user on one server to a user on a different server?

The environment is FreeBSD 10.2 with default services including sendmail. Sending a message from one user to another on the system works fine: mail -s "A message" userb Hi b, this is a. CTRL-D ...
1
vote
0answers
52 views

FreeBSD,no sound

My speakers does not seem to work under FreeBSD 10.2-RELEASE .All drivers are loaded using kldload snd_driver. What to do? pciconf -lv: hostb0@pci0:0:0:0: class=0x060000 card=0x50001458 ...
1
vote
0answers
40 views

Find all physical interfaces in FreeBSD

I have a use case to find all physical (no virtual or vlan interfaces) on FreeBSD. How can I get a count of the number of physical interfaces on a box consistently regardless of any virtual interface ...
1
vote
0answers
175 views

Unable to mount UFS2 partition on Linux - ufs_fill_super(): bad magic number

In FreeNAS 9.3, I created a partition (slice?) by doing: fdisk -BI /dev/ada3 bsdlabel -wB /dev/ada3s1 newfs -O2 -U /dev/ada3s1a This drive is now /dev/sdg on Ubuntu 14.04, which I've been unable to ...
1
vote
0answers
44 views

Capture a screenshot of XDM login screen?

I would like to screenshot my XDM login screen on FreeBSD-CURRENT. It’s currently configured on ttyv8. What I’ve tried: I have tried xwd with various options from ttyv1, but it reports is cannot ...
1
vote
0answers
60 views

Unable to run OpenLDAP on freeBSD

I've installed openLDAP on my FreeBSD machine. When I try to run the service, I get the following error. Unrecognized database type (mdb) Can someone point me towards what could be wrong?
1
vote
0answers
62 views

Emacs and gvim display no content on FreeBSD 10.2

I just installed FreeBSD 10.2 with the Mate desktop environment and most things seem to work. I have a problem with emacs and gvim though. Since the problem has the same symptoms with both editors, I ...
1
vote
0answers
117 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
95 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
117 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
267 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
54 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: ...