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

learn more… | top users | synonyms

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
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 ...
1
vote
1answer
172 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
83 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 ...
1
vote
0answers
58 views

Dell Workstation t7910 and FreeBSD

I want to install FreeBSD on a Dell Workstation t7910. This workstation has a nVidia Quadro graphics card and two Xenon processors. Would FreeBSD recognize the hardware on a Dell Workstation t7910?
0
votes
0answers
313 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
95 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
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
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 ...
2
votes
1answer
67 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
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 ...
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 ...
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
328 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
43 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
1answer
240 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
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 ...
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
251 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
41 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
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
115 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
216 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
180 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
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 ...
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: ...
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 ...
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 ...
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
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
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) ...
1
vote
0answers
300 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
82 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
130 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
126 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
212 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
84 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
73 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
26 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
55 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
62 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
310 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
57 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
208 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 ...