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

learn more… | top users | synonyms

2
votes
1answer
46 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 ...
2
votes
1answer
65 views

How to mount /boot from LiveCD (FreeBSD 11 ZFS)

FreeBSD 11 (current) with ZFS I can mount zroot with zpool import -fR /mnt zroot but /mnt/boot is empty (and it's even not a directory) I need to edit loader.conf, how can I do it?
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
69 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 ...
2
votes
1answer
57 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 ...
0
votes
1answer
29 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
254 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
37 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
89 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
1answer
227 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 ...
2
votes
2answers
36 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 ...
0
votes
0answers
119 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
207 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
38 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 ...
0
votes
3answers
79 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
106 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
192 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 ...
0
votes
1answer
160 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 ...
1
vote
0answers
46 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 ...
0
votes
0answers
113 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: ...
0
votes
0answers
38 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 ...
0
votes
0answers
37 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 ...
3
votes
1answer
48 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
82 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
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
21 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 ...
1
vote
0answers
47 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
1answer
276 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) ...
1
vote
0answers
265 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 ...
0
votes
0answers
32 views

How to set display to a higher resolution?

I'm runnning FreeBSD 10.2-RELEASE and I'm getting a low resolution 640x480 in the xfce session,I don't have the option to get to a higher one in settings. Here is my xorg.conf file xorg.conf
2
votes
0answers
72 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
2answers
123 views

Alternate screen on FreeBSD's sc and vt

By default, FreeBSD's virtual terminals (sc and vt) don't restore previous terminal content when exiting from a full screen app. Is there a support for this functionality? I've tried following ...
0
votes
2answers
123 views

NetBSD/FreeBSD and TP-Link TL-WN727N: Second encounter

Moved from SU. First part at http://superuser.com/questions/975564/netbsd-and-tp-link-tl-wn727n-atheros-ar9271-or-ralink-rt5370 So, I've installed NetBSD 7 and device shown again as ugen(ugein, ...
7
votes
1answer
207 views

How does FreeBSD allocate memory?

I am aware that this is simplified/generalized explanation, but top(1) utility divides memory in FreeBSD into six pools- Active, Inactive, Wired, Cache, Buffers and Free. Example from top(1) output: ...
0
votes
1answer
79 views

Export NFS share to all IP addresses

This is my current /etc/exports on my freeBSD machine /shared -alldirs 177.16.8.77 how do I share /shared with all IPs and not just 177.16.8.77 ?
0
votes
1answer
68 views

Finding memory corruption bugs in Linux and FreeBSD

In windows, we can enable page heap verification using gflags to catch memory corruption bugs more easily. Is there a similar service/program for Linux and FreeBSD operating systems?
2
votes
1answer
24 views

running mountd with compiled rpcbind

I am trying to run mountd with my own compiled version of rpcbind. If I have rpcbind running in debug mode (./rpcbind -d) before I start mountd, I get the following error message: /etc/rc.d/mountd: ...
0
votes
1answer
47 views

difference between inactive and free memory in output of FreeBSD top utility?

top -d1 displays following SDRAM usage statistics on one of my older machines: 125M Active, 42M Inact, 51M Wired, 17M Cache, 34M Buf, 2720K Free In total, there is 256MiB of memory installed. ...
1
vote
0answers
57 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
1answer
291 views

Run a Python script in the background on boot

I recently installed the Google App Engine Development server on my FreeBSD home server to be able to test my GAE app remotely. What I can't figure out is how to run the Python development server as a ...
1
vote
2answers
56 views

How to make + work in sed's regexps on FreeBSD?

Consider the following typescript: $ freebsd-version 10.0-RELEASE-p5 $ echo ' found' | sed -n '/[[:blank:]]\+/p' $ echo ' found' | grep '[[:blank:]]\+' found When I do this on Arch Linux with GNU ...
1
vote
1answer
193 views

Why can't I import an ZFS pool without partitioning the data disk with fdisk?

I have a strange situation here, in which I am unable to import an ZFS pool that I brought from another OS UNLESS I fdisk the disk of the pool. I am puzzled as to why this is happening and hoping to ...
3
votes
1answer
149 views

No packages Apache and mod_wsgi3 have been found in the repositories

I'm trying to instal Apache24 and mod_wsgi3 to my FreeBSD VPS (droplet) with this command: sudo pkg install bash ap24-mod_wsgi3 py27-virtualenv mysql56-server but apparently 'ap24-mod_wsgi3' has ...
0
votes
1answer
55 views

Upgrade FreeBSD using DVD?

I have a FreeBSD installation that had an upgrade failure between 8.? and 9.4 (IIRC). In the interest of getting 10.2 working properly on the machine, I downloaded the DVD image and burned a disc. Now ...
2
votes
1answer
39 views

understand the output of bsdlabel

I have a Juniper router which uses Junos(based on FreeBSD) operating system where I can backup certain partitions from router CLI. Under the hood router starts the restore process and copies ...
3
votes
1answer
263 views

What does iwa/iwl/iwm/iwn mean in FreeBSD?

I have a Lenovo Thinkpad T440 which I was looking to install FreeBSD on. The laptop has an Intel Dual Band Wireless-AC 7260 chip which doesn’t seem to be supported (yet). On my travels, researching ...
1
vote
1answer
62 views

Giving a FreeBSD talk. How do I pronounce rc.conf? [closed]

I was going to do a short talk about FreeBSD, but I'm at a lost at how certain things are customarily said when in person. How would someone say /etc/rc.conf? I think it would be "Arrh Ceee dot ...
1
vote
2answers
82 views

`last` alternative showing logins only for current user

I'm aware that I can use last $USER, however this won't work correctly or securely on machines with many users - no user should know another users IP or when they logged in. Is there a known solution ...
0
votes
1answer
467 views

Trying to use portsnap to install vim in FreeNAS

I am trying to install vim in FreeNAS but when I try to use portsnap, I get "command not found". When I tried using pck_add -r portmaster I get the following: pkg_add -r portmaster Error: Unable ...
6
votes
1answer
36 views

How can I tell which of my ports I compiled myself and which I installed from pre-compiled binary packages?

I have two FreeBSD 10.2-RELEASE systems and I'm trying to set up the second to be almost identical to the first. I don't wish to use ZFS snapshots for this task; I would just like to select, install, ...