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

1
vote
0answers
8 views

Can't read old UFS1 superblock using GELI (Blowfish-CBC) on FreeBSD

Trying to add encrypted partition on FreeBSD10.3 GELI/Blowfish-CBC. AES on / and /swap works fine, but I can't add an additional encrypted partition using Blowfish. Here is the way I did it: # mount -...
-3
votes
0answers
25 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 ...
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....
-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 ...
0
votes
1answer
62 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 ...
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(...
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?
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
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 ...
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
27 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 ...
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 ...
1
vote
1answer
29 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: ...
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
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
39 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
339 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
84 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 ...
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
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 ...
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 ...
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
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 ...
-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 ...
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 ...
2
votes
1answer
377 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
0answers
42 views

Find out reason behind IPMI watchdog hard reset

Tonight at 3.15am my NAS server (running FreeNAS) rebooted. Core cause seems to be watchdog timer running out: ~# ipmitool chassis restart_cause System restart cause: watchdog expired ~# ipmitool mc ...
0
votes
0answers
149 views

ownCloud 9 MySQL not supported

I'm trying to install ownCloud 9 to FreeBSD 10 with nginx as web server. I am using this official manual, which tells me to use this command: sudo -u www-data php occ maintenance:install --database ...
0
votes
1answer
41 views

SSH connect to FreeBSD9 suddenly started to freeze randomly

I have a KVM FreeBSD 9.2 box for a long time. 5 days ago I had a 2h ssh incoming session on this box with no freezes. No system/soft updates or significant system changes were made. Today I can't ...
0
votes
0answers
59 views

FreebSD 10.1 x64 KLDLOAD UCOM and UTDFI

Using a freebsd 10.1 x64 system. I am trying to get an LCD working and need to load UCOM.ko and UTDFI.ko. When I try to load them I get unsupported file type. I took them off another freebsd 10.1 x64 ...
0
votes
0answers
60 views

Can't enable TLSv1.2 on nginx on a FreeNAS jail

I'm quite new to the FreeBSD environment, I'm quite used to the Linux one. I've created a jail in FreeNAS 9.3 and installed nginx with ssl support following several online resources (googled "freebsd ...
0
votes
1answer
132 views

pfsense as a virtual host

There seems to be a fair bit of information about running pfsense as a virtual machine on another hypervisor of some sort, but I am wondering if I can do the reverse and use a pfsense install as the ...
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: #...
-1
votes
1answer
39 views

env not working in FreeBSD cronjob [duplicate]

On my FreeBSD server, I have setup a cron script for backups using Duplicity. This script is as follows: #!/bin/sh export PASSPHRASE= export FTP_PASSWORD= keyid= remote= excludelist= /usr/local/...
0
votes
0answers
112 views

What's the FreeBSD equivalent for the Linux pointopoint

What's the BSD (FreeBSD) equivalent of pointopoint used in /etc/network/interfaces on Linux (Debian)? I'm following this (Network configuration host system KVM/Routed) guide for how to use Hetzner's ...
0
votes
1answer
93 views

Drupal 8.0.5 and FreeBSD 10.2 Issues

I am running a FreeBSD 10.2 server with Apache 2.4.18, php56-, and SQL 57. I am trying to install Drupal 8.0.5, but I am stuck. I got the PHP stuff working, as well as the clean URL things that drupal ...
1
vote
1answer
51 views

How to prevent sftp users from viewing some directories (inside their chroot directory)

The sftp users of my server are chrooted together in a specific directory. They all belong to the group sftponly. The rights are ok, including a special right to prevent users from overwriting others'...
7
votes
3answers
251 views

SFTP with chroot depending on public key of connecting user

I want to build a server (running Debian or FreeBSD) that receives backups from different clients via sshfs. Each client should be able to read and write its own backup data, but not the data of any ...
1
vote
2answers
222 views

What kind of ACL storage to use for a Samba domain controller on ZFS and FreeBSD

I want to set up a Samba domain controller on a FreeBSD hosts that uses ZFS for file storage. When I try to run samba-tool domain provision as documented on the Samba Wiki article on setting up a ...
1
vote
1answer
32 views

zpool vdevs previously mirrored, now non-mirrored, unable to re-mirror

On FreeBSD 10.2-RELEASE, I had the following setup on a dev (luckily) environment until yesterday: NAME STATE READ WRITE CKSUM bigpool ...
0
votes
1answer
51 views

FreeBSD IRQ Affinity using cpuset. No mather use hexa or dicimal for -l #IRQ parameter?

I just put my FreeBSD 10.2-STABLE router in production running with Quagga 0.99.24.1, compiled throught Ports. After pass all traffic to this machine the load of S.O. been very hight and everything ...
0
votes
1answer
186 views

DNS lookup to localhost gives network error

I am running a recursive DNS server on Unbound in a jail on FreeBSD with pf as a firewall. Running drill @xxx.xxx.xxx.xxx example.com (where xxx.xxx.xxx.xxx is the servers IP) on my local machine ...
0
votes
1answer
99 views

How to let FreeBSD get IP address automatically in VMware?

I use FreeBSD 10.2 VM image in VMware workstation. Although I set bridge mode in VMware: I find the OS can't get an valid IP address: How can I let FreeBSD get IP address automatically in VM?
0
votes
1answer
48 views

Freebsd 10 install with non standard gateway route

Some service providers offer dedicated/vps nodes with non standard gateways (ie not in the same subnet). For instance : ip add 10.0.1.1/32 with gateway 56.0.1.1 For this purpose some manual steps ...
0
votes
1answer
144 views

ZFS: i/o error - all block copies unavailable

I am trying to install FreeBSD Sparc64 on my SunFire440 machine, I followed the tutorials to Install FreeBSD Root on ZFS using this tutorial link. Only the changes I made is that instead of using ...