FreeBSD is an advanced operating system for a variety of architectures. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley; and is developed and maintained by a large team of individuals. It is a complete Operating System, including the kernel, drivers, ...

learn more… | top users | synonyms

0
votes
1answer
18 views

Boot .iso from PXE server via HTTP

I have set up on my FreeBSD 10.3 PXE Boot server, using Syslinux. Boot via TFTP works fine, but via HTTP returns to PXE menu. Getting all files from browser works fine. # cat /usr/tftpdata/pxelinux....
-3
votes
0answers
24 views

Route between two private networks [on hold]

I have a two private networks (home: 192.168.1.0/24 and virtual: 10.10.0.0/24) which I like to connect and have them to be reachable in both ways. Network home is managed by my home router which is ...
-1
votes
0answers
14 views

Will a router try to route traffic coming in from a mirror port? [on hold]

I am working on migrating an old bsd based firewall do a new solution. At first, we are going to migrate the firewall service to a new clustered set of machines running FreeBSD+PF. As the policy ...
4
votes
2answers
1k views

How to set up two-factor authentication with OTP on FreeBSD?

I have a FreeBSD server that I like to be able to get to from anywhere. Normally I use SSH publickey to log in, or if I don't have my SSH private key available then I might use regular password over ...
0
votes
3answers
5k views

upgrading to Apache 2.4: VirtualHost Invalid command 'AssignUserID'

I have many Apache 2.2 Virtual Hosts with same configuration: <VirtualHost *:80> ServerAdmin webmaster@site.com ServerName site.com ServerAlias www.site.com DocumentRoot /home/...
2
votes
1answer
2k views

Error creating new slice using gpart on FreeBSD

The virtual hard disk of one of my VPS has been enlarged, and I want to create a new ZFS slice using the extra space, but I couldn't be able to perform that. # gpart add -s 10G -t freebsd-zfs da0 ...
0
votes
1answer
16 views

Set an network interface in FreeBSD as DHCP-enabled, but totally silent until explicitly enabled

I'm setting up a FreeBSD carp router/firewall backup, my provider is giving out IP by DHCP, it's static and tied to MAC address of my NIC, so when carp switches state I'm trying to switch off the ...
0
votes
1answer
61 views

Phpmyadmin on FreeBSD 10.3 and Nginx 1.10.1

I am trying to install Phpmyadmin on a FreeBSD 10.3 server with Nginx 1.10.1 but it is not working. The Php version is 7. It is a WPMU server, everything is working except Phpmyadmin which is giving ...
1
vote
0answers
22 views

How to record audit logs for only one specified file in FreeBSD?

On Red Hat Linux I can specify the file I want to record audit logs for with this command: auditctl -a exit,always -F path=/tmp/foo.txt -F perm=war I cannot figure out how to do a similar thing on ...
0
votes
0answers
12 views

strftime() returns incorrect preferred time format

Migrated from: http://stackoverflow.com/questions/38175863/strftime-returns-incorrect-preferred-time-format I need to display time in preferred format by the country where user resides. setlocale(...
8
votes
4answers
11k views

Dovecot user lookup fails when using username@domain format

I have Dovecot v2.0.11 installed on a FreeBSD server and the user lookups for incoming email addresses are failing, but lookups for system users is successful. Dovecot is setup to use system users, ...
0
votes
2answers
1k views

FreeBSD 10: NFS unable to export folder

I am unable to export a folder using NFS. /etc/exports /storage/test -maproot=nobody client /storage/test1 -ro -maproot=nobody client /storage/test2 -ro -maproot=nobody client The first folder ...
0
votes
1answer
1k views

How to get access to Icinga on Apache 2.4?

I am trying to install Icinga on a FreeBSD 9.1 box with Apache 2.4. I use the Apache config which was provided with the Icinga port. But when i try to access the web frontend, i get the following ...
1
vote
0answers
16 views

FREEBSD - How to backup permission recursively?

How to backup permission recursively from folder, subfolders and files? I try using getfacl -R /xxx > permissions.acl, but freebsd not accept -R. Have another way to do this?
1
vote
1answer
25 views

FreeBSD bridge ARP replies not forwarded

I have a bridge between two networks using the same address space, and have very strange issues with ARP packets. Interface bridge0 has no IP address assigned, and has two members : em1 and em2. A ...
3
votes
1answer
39 views

Search option in resolv.conf getting overwritten by prepend statement in dhclient.conf

I have setup a DNS server for my department which is running FreeBSD 10.2. It is currently connected to the campus internet and receiving its address via dhcp, so /etc/resolv.conf looks like this: #...
2
votes
0answers
12 views

NFSv4 parameter specification for exported directories and client IP

On FreeBSD 10.1 REL (for both client and server), I'm trying to share certain directories (/etc and /root) via NFSv4 with a specific client. My /etc/exports - /etc /root -ro -maproot=nobody:...
-1
votes
0answers
7 views

PROFTPD settingup assistance needed [duplicate]

First of all hi, i have a small problem which i do not know how to fix i have a proftpd running at my freebsd server. Everything is fine now i had a problem at uploading file to it so i used a command ...
0
votes
4answers
2k views

How to find out the memory cost of each mysql connection?

I want to find out the memory cost of each mysql process. Right now, I have 800+ mysql connections but I have no idea when will the system start swapping. I use FreeBSD.
3
votes
2answers
2k views

Should I create ZFS zpools with whole disks or partitions?

I am making zpools on FreeBSD machine. While creating zpools I observe these two cases: If I take raw disks and create zpool then I am able to form zpools and they are working perfectly. If I format ...
0
votes
1answer
26 views

Why is outbound bandwidth on VPS much less than reversed inbound from same host?

I have a FreeBSD 10.1 VPS in Europe using the VirtIO Ethernet device that sees significantly smaller outbound bandwidth than inbound from the same distant hosts. This problem was originally noticed ...
5
votes
3answers
2k views

FreeBSD server - certified compatible hardware?

I am looking for recommendations for hardware that is "certified" with FreeBSD (8+) I suspect I am looking for a small server manufacturer that will build me a server that "just works". I have read ...
3
votes
5answers
635 views

Router limits network performance but its CPU load isn't 100%

I'm using a PC Engines APU device running FreeBSD as a NAT router. The setup is very usual: one WAN connection and one LAN connection. Theoretically, WAN connection is 800/40 Mbit/s and the LAN one ...
0
votes
0answers
26 views

Best practice for setuid and setgid in /root and user directories

ZFS allows to created datasets with setuid turned off, which (AFAIK) means that setuid bit can't be set on files stored in those datasets. Assume now that there are two datasets, one for the /root ...
0
votes
3answers
626 views

Forcing Apache 2.4 to cache files with query string using mod_cache without expires

I need to get mod_cache_disk to cache a site containing query strings. The issue is that it's a vendor product on IIS that we're trying to cache through mod_proxy and it does not contain expires ...
1
vote
1answer
28 views

BSD nc (netcat) does not terminate on EOF

Host A: tar cf - stuff | dd | nc -N -l 12987 Host B: nc a.example.com 12987 | dd | tar tf - On host A dd prints its summary after tar completes. Thus it is clear, that tar closes the pipe/...
0
votes
0answers
67 views

IPSEC passes only ICMP

I have FreeBSD and Mikrotik with IP 1.1.1.1 and 2.2.2.2. Local subnets are 192.168.1.0/24 and 192.168.2.0/24. Firewall is disabled for testing. I am bringing up gre tunnel between them. FreeBSD: ...
2
votes
1answer
2k views

FreeBSD pkg upgrade not working for jails with -j parameter

On a FreeBSD 8.4 system I have jais running with EZjail, and PKGNG (pkg) to maintain my ports. pkg works fine on the host but refuses to update software in jails. pkg -j 5 version -v gives the ...
0
votes
1answer
64 views

Recommended way to run CentOS 7 on a host FreeBSD: VM or jailed environment?

I need to deploy either a CentOS VM or a jailed instance on a FreeBSD server (10.3). The solutions devised: - run it through VirtualBox (headless) - use bhyve I thought about a third alternative: ...
0
votes
0answers
33 views

NGINX PROXY 0000 1204 0000 0000 0000 0300 0000 8000

After last update of nginx all my pages are getting: 0000 1204 0000 0000 0000 0300 0000 8000 0400 0000 0000 0500 ffff ff00 0004 0800 0000 0000 7fff 0000 0000 0807 0000 0000 0000 0000 ...
0
votes
0answers
12 views

ezjail-admin adds a faulty path to repo url when installing base.txz

today I've burned my brains trying to solve this and decided to post here. Here the problem: I have a local test freebsd 10.2 server and installed ezjail, but when I try to run ezjail-admin install ...
0
votes
2answers
38 views

SERVERFAIL error while doing nslookup on server itself. FreeBSD

I am using FreeBSD to setup a DNS server. I have install BIND and setup everything in resolv.conf and named.conf file. This is the ip address of my DNS server 192.168.10.100. in resolv.conf I added ...
-1
votes
1answer
338 views

Freshly installed MySQL server 5.7.12 fails to start on FreeBSD 10.3

root@w:/var/db # pkg install mysql57-server mysql57-client Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking integrity... done (0 ...
0
votes
1answer
79 views

ps aux | grep result depends on terminal size on FreeBSD

From experimenting, it seems that even when using ps aux | grep ... the output depends on the terminal size. This seems seriously weird for me. Isn't a pipe supposed to make command's output behave ...
0
votes
0answers
83 views

Can not start OpenVpn service within a FreeBSd Jail

Recentrly I've been fiddling with my FreeBSD VPS. I have it installed with FBSD 10.3, I created a jail with ezjail and installed openvpn from ports following the guide in http://bit.ly/1T6qg4G and ...
0
votes
1answer
95 views

One domain on Apache goes to default page without www

I'm using Apache/2.4.16 on FreeBSD 10.2. I have two instances of Apache running, each serving several domain names. The server has two network interfaces, one for the public Internet, one only ...
2
votes
0answers
26 views

How do I make su wait before retries in freebsd?

I want to make attempts at using the su command timeout for 1 second between tries. Alas, the Google and StackExchange, and rtfm have not yielded results.
0
votes
3answers
5k views

Can the Dell PowerEdge T320 boot from a USB stick in hard drive emulation mode?

I am trying to install FreeNAS on a Dell PowerEdge T320. I've followed the instructions here (http://doc.freenas.org/index.php/Burning_an_IMG_File) to write the .img file to four different USB sticks ...
0
votes
0answers
42 views

ZFS mirror migrated to other system with dd -> zpool import fails

I'm pretty new to ZFS and this might be an easy problem (but I don't find any discussions about how to do this): I've messed up a FreeBSD installation on a Root-on-ZFS mirrored ZFS Pool on a ...
5
votes
1answer
4k views

How to change default shell in FreeBSD?

The default shell in FreeBSD is sh and I really can't stand it: autocomplete is very limited, and rehash commands kill me. I feel like a one armed and one legged man... How can I change the shell ...
0
votes
0answers
64 views

Remote port forwarding via ssh tunnel fails

I am trying to do some remote port forwarding via a ssh tunnel on my NAS (NAS4Free running FreeBSD), which is behind a firewall. I have added gateway_enable="YES" in /etc/rc.conf and also net.inet.ip....
0
votes
0answers
33 views

nas4free partitioning os drive [Nas4free]

I tried the nas4free forums but it doesn't seem that responsive so I am going to try my luck here. version: 9.2.0.1 - Shigawire (revision 972) My boot drive is in raid 1. One of the hdd is ...
2
votes
2answers
840 views

KVM: how to confirm does kvm uses kvm-kernel-module?

This can sound a little bit paranoid but I really have a doubt that my configured libvirt+kvm uses any hardware acceleration in debian. I setuped it with this guide. in fact i've checked already, kvm-...
2
votes
1answer
59 views

How to understand the “SIZE” output of the command top on FreeBSD

I am working on a VPS with 512 of RAM, I installed mysql, run the command top and found that the value of SIZE for mysql is 638M: last pid: 2023; load averages: 0.17, 0.19, 0.21 ...
2
votes
1answer
371 views

FreeNAS ports/pkg not working after update to 9.10

I recently updated to FreeNAS 9.10 stable via the UI and now I'm having trouble with my packages and ports on my oldest existing portjail. It seems the catalog won't update and I can't really install ...
0
votes
2answers
298 views

Rewrite sh script for freebsd

I have an sh script: #!/bin/bash fullpath="$1" filename="${fullpath##*/}" dir="${fullpath:0:${#fullpath} - ${#filename}}" base="${filename%.[^.]*}" ext="${filename:${#base} + 1}" if [ -f $...
0
votes
2answers
290 views

How will BSD fare in the future for servers? [closed]

How do you think the BSD's like FreeBSD will fare in the future for servers against various distributions of Linux? Considering many servers will be moved to a cloud like environment, how will this ...
-1
votes
1answer
26 views

BSD Connection 'Drops'

I've been setting up a BSD server and every thing went fine. It still works fine except on my own IP address I cannot connect to my webserver at all and with SSH I can login but then as soon as I type ...
8
votes
4answers
6k views

Possible to disable “You have new mail in /var/mail/root”?

I would like to disable the mailcheck in FreeBSD 9.1. My login shell is BASH, so I have tried to add unset MAILCHECK in /root/.bashrc and /root/.profile, but I still get those messages. Question ...
0
votes
0answers
70 views

Postfix error Recipient address rejected: User unknown in virtual alias table

I have set up a Postfix email server with Dovecot for IMAP running on FreeBBSD 9.3. I am having an issue where I am unable to send an email to any users on the server from an external domain name. I ...