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

learn more… | top users | synonyms

4
votes
4answers
6k views

List all devices connected, FreeBSD

What's the FreeBSD variant of Linux's lsblk and blkid? I want something that provides the same sort of information as lsblk does in the example below: NAME MAJ:MIN RM SIZE RO TYPE ...
0
votes
1answer
44 views

tmux refuses to split

I'm fairly new to tmux. I tried to google a solution but no luck. My problem is that after I (sucessfully) split my window vertically for the first time, the second attempt to split the window fails. ...
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
26 views

working netgraph configuration for ipfw and ng_bpf on FreeBSD

I'm trying to get a raw BPF bytecode packet filter working on FreeBSD using a combination of ipfw with ng_ipfw, ng_bpf and ng_tag. However none of the documentation or presentations I can find ...
2
votes
1answer
41 views

USB automount call another x-session

I have FreeBSD 10.2 installed with Openbox as wm. When I put flash drive in USB new instance of openbox starts automaticaly. I don't undestand why. /etc/rc.conf # Hostname hostname="dark" ...
0
votes
1answer
249 views

Cross compile ports freebsd 11

I want to make cross compile environment for raspberrypi. Now I have VM with qemu-arm based cross compilation environment (based on this article), and it is VERY SLOW. I think that native i386 ...
1
vote
1answer
45 views

FreeBSD equivalent of Linux's “xt_bpf” filtering module

In Linux 3.9 there's a packet filter module called xt_bpf that can take compiled BPF bytecode and use it directly in an iptables rule. Is there any equivalent for FreeBSD's ipfw system?
1
vote
1answer
87 views

pfSense: What package may I install for the `make` command?

I am new to BSD, and have installed pfSense (FreeBSD based) in order to test it and learn. The first thing I wanna do is installing some undetected network card (Silicom PXG6BPi) driver, but it ...
3
votes
1answer
32 views

FreeBSD: How can I install kernel sources for 10.2-STABLE version?

Lots of articles and posts on internet tell how to install the kernel sources for FreeBSD x-RELEASE versions, but none of them for X-STABLE. For example, my FreeBSD version is 10.2-STABLE. How can ...
0
votes
1answer
53 views

FreeBSD Broadcom BCM43225 Setup

I'm new to FreeBSD, it's working fine one my Laptop. Only problem is, that my wifi device isn't in ifconfig so I can't use it. I tried a lot of reading but I couldn't get it to work. How can I get my ...
0
votes
0answers
40 views

pfsense: Network freezes when squid service started in bridge mode

We are using pfsense firewall in bridge mode. When squid service with Transparent proxy option is started the network freezes. On routing mode, squid works pretty well. Squid setup is as below: ...
2
votes
1answer
16 views

copied a folder - getting different used space on destination (using FreeBSD and UFS)

So I'm trying to backup a folder with subfolders to another disk and it won't fit. I used rsync -aiv --delete /mysrc /mydest There are no links (symlinks or hardlinks) of any sorts on the source. ...
6
votes
2answers
2k views

How to disable daily run output email?

How to disable daily run output email from "Charlie &"? Googled couple of pages, but there is no clear answer. I use ssmtp instead of sendmail
27
votes
1answer
18k views

Linux LXC vs FreeBSD jail

Are there any notable differences between LXC (Linux containers) and FreeBSD's jails in terms of security, stability & performance? On first look, both approaches look very similar.
0
votes
0answers
33 views

Symlink files to mirrored directory tree

I'm attempting to symlink files to a mirrored directory tree. Both directories (source and desired destination of symlinks) are on separate mountpoints inside a FreeBSD jail. Source directory: ...
1
vote
1answer
65 views

FreeBSD 10.2 unable to find package

When checking the ports website I find a package for btsync. https://freshports.org/net-p2p/btsync When I try to install via pkg install btsync pkg is unable to find it sudo pkg install btsync ...
0
votes
0answers
9 views

FreeBSD: Include logwatch output in periodic

I'm running several Jails with HTTP and mail servers. I would like to get emails if mails get rejected, the queue fills up or HTTP servers throw errors. Those outputs should be included in the ...
0
votes
0answers
35 views

FreeBSD - slow remote mysql

I have classic webhosting and VPS with FreeBSD. The website is on webhosting and mysql server is on VPS. When I try to remotely connect from webhosting to mysql server, page is loading very very slow ...
1
vote
1answer
42 views

Netstat Listen Queues

What information can I gather from netstat listen queues? Looking at the man page I can see that using "-L" in netstat it shows me the size of listen queues. It tells me information about each ...
0
votes
1answer
30 views

setuid.today date format changed after FreeBSD 10.2 update

My setuid.today has a different date format than setuid.yesterday: setuid.today (German localization?) 3 Dez setuid.yesterday Dec 3 I'm getting emails with the diff reports every day. I guess ...
3
votes
2answers
65 views

NTP works but clock is not the same

I'm trying to sync multiple machines (9 machines that are cloned from one machine so they have exactly same config) on a LAN using NTP. All machines are running FreeBSD 10.2 on VirtualBox with Ubuntu ...
2
votes
2answers
603 views

Screen size in FreeBSD in VirtualBox

I am installing FreeBSD 10.0 on VirtualBox, and I can't figure out how to change the size of my screan, in the virtualbox? The freebsd in the virtualbox treats my screen like it's 1/4th the size of ...
2
votes
1answer
73 views

FreeBSD jails - Nginx, PHP-FPM, Wordpress - Share folder between jails (read-only)

Question I want to seperate PHP (PHP-FPM) and Nginx into different jails. One jail with Nginx, and one with PHP-FPM / PHP / Wordpress. Nginx is good at serving static assets, so I would like to ...
2
votes
1answer
44 views

FreeBSD complains “invalid partition table”—still boots

I've recently installed FreeBSD 10 on my Dell Precision M4800 with ZFS as the root file system. The operating system is installed on an mSATA SSD, a 2½″-HDD is installed, too. On startup, the system ...
1
vote
1answer
21 views

Can't connect from OSX to FreeBSD with mosh [closed]

I've installed mosh on my laptop using Macports and on my FreeBSD server using ports. Whenever I try to connect to my server I get the following error: Password for xxxxxx@xxx.xxx.xx.xx: zsh:1: ...
3
votes
2answers
842 views

Installing FreeBSD in VirtualBox aborts unexpectedly

I have tried installing FreeBSD-10.0-RELEASE-i386-dvd1.iso into VirtualBox 3 times already today (each time starting from a fresh creation of a VM) and right when I'm about to Exit (Apply ...
2
votes
1answer
55 views

How to allow unauthenticated logins over ssh on FreeBSD?

I created an account ckurs on my FreeBSD 10 workstation. This account uses a custom shell-script as a login-shell that attaches the user to a tmux-session in read-only mode. I have sufficiently ...
0
votes
0answers
50 views

NFS client much more inbound traffic than outbound? Why?

I have a debian box that acts as a NFS server: Debian 8 server settings: $ apt-get install nfs-kernel-server nfs-common #/etc/fstab /dev/disk/by-uuid/6e7815a5-cd91-450c-8e83-479f732ecd87 ...
3
votes
1answer
54 views

How to install portmaster on FreeBSD?

I'm trying to install portmaster on FreeBSD but I get an error about the port format: root@freebsd:/usr/ports/ports-mgmt/portmaster # make install clean ===> portmaster-3.17.8_1 pkg(8) must be ...
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 ...
0
votes
2answers
31 views

FreeBSD create user without utility?

I have a user that I created via the pw utility on FreeBSD. The full command I used was: pw add user example -s /usr/local/scripts/example.sh -w none The user can login as example without requiring ...
2
votes
1answer
149 views

How to boot FreeBSD 10.2 on a MacBook Pro 7,2?

Objective Obtain a full installation of FreeBSD 10.2-RELEASE on a MacBookPro 7,2. Hardware Intel Core 2 Duo, 2.4Ghz, 3Mb L2 Cache, 4Gb Memory, NVidia MCP89 AHCI SATA controller. What has been ...
7
votes
2answers
1k views

FreeBSD 10 trace disk activity

Is there any way to find some process which is periodically writing to disk (according to hdd led) on FreeBSD 10 with ZFS (maybe turn ZFS into verbose logging mode)? lsof and other instantly ...
1
vote
1answer
86 views

FreeBSD: adding ip alias to interface breaks network on primary ip

I am trying to add an alias to my network card (I would like to use jails) on my FreeBSD box. It is running version 10.2-RELEASE-p7 (generic amd64 kernel). The machine is running in a Hyper-V virtual ...
2
votes
0answers
40 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
1answer
30 views

Can I jail an older 32-bit FreeBSD on a (current) 64-bit FreeBSD?

My question is actually pretty much in the title. Is it possible to jail an older 32-bit FreeBSD, such as 6.4 or 8.4 in a 64-bit FreeBSD 10.2? I'll also appreciate pointers and explanations on how to ...
1
vote
1answer
53 views

Cannot install PC BSD

Currently I am using Ubuntu. I wanted to try PC BSD so downloaded 10.2. On trying to install it on a separate primary partition(so that I can dual-boot) I am getting the following error. Do anyone ...
0
votes
0answers
107 views

Cant mount USB drive in Freebsd (pfsense)

I`m trying to mount a USB drive. It shows up in dmesg. Root mount waiting for: usbus1 ugen1.3: <Generic> at usbus1 umass0: <Generic Mass Storage, class 0/0, rev 2.00/1.03, addr 3> on ...
2
votes
2answers
686 views

Number of cores on FreeBSD

What would the equivalent of Debian's nproc be in FreeBSD? I'm trying to include this in a bash script variable so if it could just print out the number of cores that would be fantastic.
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 ...
2
votes
1answer
44 views

Disable SCSI (CAM) device

I want to tell the FreeBSD kernel to completely ignore a SCSI cam(4) device. # cat /var/run/dmesg.boot | grep '\<da1\>' ada0: 600.000MB/s transfers (SATA 3.x, da1 at umass-sim0 bus 0 scbus4 ...
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 ...
5
votes
0answers
40 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 ...
0
votes
1answer
25 views

Can't login into sftp

I'm get this error when trying to connect through filezilla with sftp: on server: fatal: Write failed: Broken pipe [preauth] on filezilla: Received unexpected end-of-file from SFTP server I ...
-2
votes
1answer
95 views

/bin/false: No such file or directory | Can't login as root or do anything

Yes, I created another topic with a guest acc and I couldn't edit or comment it so here: I'm having a huge issue and I'm freaking out. This all started when I booted today and I couldn't connect to ...
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 ...
3
votes
2answers
73 views

PC-BSD PBI, what reasons made it to be scrapped?

What are the detailed specific technical/organizational reasons that the PC-BSD team faced that ultimately lead them to scrap PBI and return to ports? Was because of the difficulties compiling and ...
2
votes
2answers
34 views

How can I get FreeBSD `patch` to tolerate null bytes?

The patch of the final line fails on FreeBSD 10.2, but works on GNU: #!/bin/sh echo a > f1 printf '\0' >> f1 echo c >> f1 cp f1 f2 echo d >> f2 diff -au f1 f2 > diff patch ...
4
votes
4answers
2k views

FreeBSD 8.1 on MacBook 5,2

I've been trying to dual-boot FreeBSD 8.1 with Mac OS X on my MacBook (5,2), but am having trouble trying to get the live cd to boot. I reach the FreeBSD Boot Loader Screen with the options for boot, ...
6
votes
1answer
10k views

How To create a FreeBSD 10 bootable USB?

Currently I am Using Linux Mint 17 and I want to dual boot FreeBSD and Linux Mint 17. How can I create Bootable USB for FreeBSD 10? I tried Unetbootin, Image writer and powerISO but it's not ...