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

learn more… | top users | synonyms

2
votes
1answer
86 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
54 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
117 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
80 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
47 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
242 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
174 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
84 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
51 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 ...
0
votes
0answers
315 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
820 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.
0
votes
0answers
45 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
61 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
24 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
78 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
31 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
331 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
44 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
98 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
37 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, ...
2
votes
1answer
2k views

Which virtual machine image for installing FreeBSD?

The FreeBSD download page offers links to Virtual Machine Images, including one link for AMD64. That AMD64 folder offers three files: FreeBSD-10.1-RELEASE-amd64.raw.xz ...
0
votes
0answers
140 views

How do you add netmap into the GENERIC kernel configuration for a custom install?

I'm trying to build a "custom" FreeBSD install. Starting small, I'm just trying to add netmap into the kernel during install vs installing the OS and then doing a kernel rebuild. In the source I added ...
0
votes
1answer
253 views

How to use new ports on ancient FreeBSD versions?

So I have some of the older FreeBSD versions (6.4, 8.4) still running at the company and I'd like to install and update a bunch of tools, such as Python 2.7, Midnight Commander, Tmux, Vim and so on. ...
1
vote
0answers
42 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 ...
7
votes
6answers
4k views

Read files owned by another user as non-root

I'm backing up servers on a backup server. Each server which is backed up has it's own account on the backup server, and the files are rsynced. It is important that the permissions remain intact ...
0
votes
3answers
87 views

Unable to figure out how to route a packet through a multi-homed nic

The environment is FreeBSD for the most part and looks like this: HOST_A <-> ROUTER <-> LOKI <-> HOST_B Minimally, I would like to be able to ping ROUTER from HOST_B. ROUTER is ...
1
vote
1answer
117 views

FreeBSD Clonezilla Not Restoring

I made a backup with Clonezilla of my FreeBSD install. I used the default options for doing a disk image. It backed up 3 partitions into the image. The boot, the root and I forget the third. When ...
0
votes
0answers
218 views

How should a two nic gateway be routed (FreeBSD 10.2)?

I am trying to set up a freebsd router that sits between the cable/dsl modem and my lan machines. Here is the logical setup: Cable/DSL modem connected to internet: gateway 192.168.0.1 FreeBSD ...
3
votes
1answer
3k views

How to dual boot PC-BSD 10.3 (with zfs file system) and debian 7 (crunchbang) using grub2 boot loader in MBR?

I want to dual boot PC-BSD 10.3 with ZFS as the root file system (the only file system) with Debian 7 (crunchbang linux) with ext4 using grub2 boot loader installed in MBR and grub is managed by the ...
0
votes
1answer
182 views

“ruby: Command not found” on FreeBSD, despite having installed it

I just tried to run a ruby script on a FreeBSD box I hadn't used in a while, and got "ruby: Command not found." So I figured I just hadn't previously installed it. Went to /usr/ports/lang/ruby22 and ...
16
votes
7answers
6k views

What is using this network socket?

I'm trying to use NTP to update the time on my machine. However, it gives me an error: host # ntpdate ntp1.example.org 10 Aug 12:38:50 ntpdate[7696]: the NTP socket is in use, exiting What does the ...
12
votes
9answers
13k views

How to apply updates on OpenBSD, NetBSD, and FreeBSD?

I'm using OpenBSD for quite a while now. All I do, however is go from one release to the next, always just doing an update. I configured the system so it works as my router and firewall, and it works ...
1
vote
0answers
54 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
2answers
584 views

Extract files from FreeBSD ISOs - how to know locations?

How can I extract some of the folders of a stock FreeBSD install from the ISO without actually installing FreeBSD? I am trying to build a number of cross-compilers for various major versions of ...
1
vote
1answer
76 views

Can I rely on binary packages (pkg) in FreeBSD

Since last October binary packages have been available for FreeBSD (http://lists.freebsd.org/pipermail/freebsd-pkg/2013-October/000107.html). Before that, they had some trouble, preventing binary ...
1
vote
1answer
440 views

FreeBSD - delete a partially installed gnome2?

I've been trying to compile x11/gnome2 under FreeBSD 10.0-REL, but have been running into all sorts of issues. Eventually I found things indicating that gnome2 is no longer really supported, and that ...
2
votes
1answer
2k views

Install a package manager in FreeBSD 10

I was trying to install a package using pkg add, but I got the reply that package manager not installed To install that I used: tar -C /tmp -zvxf pkg-1.2.1_1.txz and then: ...
0
votes
0answers
126 views

Unable to install php 5.2.12 on FreeBSD 10 because of libphp5.so missing

I participate in a project where old PHP 5.2 is needed. But I can't install it on FreeBSD 10, always I get this error: [trex@H417 ~/Install/php-5.2.12]$ sudo make install Installing PHP SAPI module: ...
2
votes
1answer
344 views

How can I upgrade a package recursively in Arch Linux?

Is there any equivalent to FreeBSD's portupgrade -R in Arch Linux? From man portupgrade: -R --upward-recursive Act on all those packages required by the given ...
2
votes
2answers
4k views

How do you install the FreeBSD10 kernel sources?

I am trying to run an update of freebsd10 and I am being asked for the kernel sources ===>>> Launching child to update lsof-4.89.b,8 to lsof-4.89.d,8 ===>>> All >> ...
0
votes
0answers
38 views

`cp -iprv` from UFS to NTFS panics FreeBSD and reboots

My nas4free OS seems to be dead, so I mounted its 2GB UFS data partition on my FreeBSD machine, and my 1TB external USB NTFS HDD (using ntfs-3g /source /mnt/dest). I tried the casual cp -iprv /SOURCE ...
0
votes
0answers
39 views

fstab and mount -a problem

I decided to divide my problem into two, for clarification purposes: My second slice (which is DATA part) at freebsd based (possibly dead)(NAS4) can not be automounted anymore. Strange thing is that ...
3
votes
1answer
50 views

FreeBSD restore(8) confusion

I have successfully backed up the /, /usr and the var slices from an old machine. I have tar files on my windows machine. I need to restore the original slices to a new machine (Virtual Machine). ...
1
vote
0answers
91 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 ...
0
votes
2answers
577 views

Convert .fnt to .ttf?

In FreeBSD's /usr/share/syscons/fonts one finds the syscons-fonts in .fnt-format. Is there a way to convert them to .ttf format?
1
vote
1answer
299 views

ping6 error 'operation not permitted'

I am unable to ping6 my gateway or beyond. I am able to ping6 my loopback successfully, but that is all. [\u@r2d2:/root] # ping6 ipv6.google.com PING6(56=40+8+8 bytes) ...
0
votes
1answer
43 views

FreeBSD - Automatic reboots on boot attempts - init / getty failure?

$ uname -a FreeBSD MACH1 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 19:31:38 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 On booting, everything seems to ...
0
votes
0answers
22 views

Analyzing existing FreeBSD installation

I get some server with FreeBSD installation. A lot of things run on it. I know that I need check cron, /etc, /usr/local/etc folders, zfs config and other settings. But there is a mess about what to do ...