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

learn more… | top users | synonyms

0
votes
1answer
277 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
35 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, ...
4
votes
1answer
67 views

Prevent users changing password in FreeBSD

How can I prevent a user to change its password in FreeBSD. In Linux i can do this by using chage -m 99999 <username> where chage is found in shadow-utils Reason for this is I created one shell ...
0
votes
0answers
13 views

FreeBSD's built-in ftpd and awstats

How can I use awstats with the FreeBSD's built-in ftpd's xferlog? Sample lines from /var/log/xferlog (simple syslog): Sep 12 19:05:51 bsd-vps ftpd[35082]: connection from ###.###.###.### Sep 12 ...
1
vote
1answer
320 views

How to fix “pkg: Not enough space in /var/cache/pkg, needed 32mib available” error?

I'm a beginner on FreeBSD and downloaded the latest version from ftp://ftp.freebsd.org/pub/FreeBSD/releases/. After the installation I wanted to install the nginx web server on my virtual OS (using ...
1
vote
0answers
59 views

Unable to run OpenLDAP on freeBSD

I've installed openLDAP on my FreeBSD machine. When I try to run the service, I get the following error. Unrecognized database type (mdb) Can someone point me towards what could be wrong?
3
votes
1answer
47 views

List loaded libraries of a process on FreeBSD

How can I list all loaded libraries of a process in FreeBSD? On Linux I can use /proc cat /proc/$pid/maps on Solaris there is pldd pldd $pid For FreeBSD /proc also works: cat /proc/$pid/map ...
1
vote
2answers
81 views

How identify disk scsi address on FreeBSD?

I'm using FreeNAS 9.3 , which is a FreeBSD 9.3 . This under vmware ESXi . I have 3 disk, configured for this VM . Need replace one disk for other (because physically it's failing). Already add ...
1
vote
3answers
57 views

How to list atime for files?

According to this post can stat be used to give the atime on Linux, but FreeBSD 10.1 doesn't have the GNU stat. How do I list the atime for files?
0
votes
1answer
90 views

How to configure which user fcgiwrap runs as on FreeBSD?

I have Redmine/Git/nginx/fcgiwrap running in a jail on FreeBSD 9.3 for (potentially) authenticated Git commits over HTTP/S. Everything works until I restart the jail. In order for a commit to work I ...
2
votes
1answer
161 views

FreeBSD - No internet connection inside jail

I am currently trying to set up a server on FreeBSD. I want to create jails with ezjails according to the handbook. I am following the example to install BIND inside a jail but I am stuck at the ...
0
votes
1answer
25 views

Logout from jail

I'm trying to use FreeNAS on my office along with Syncthing, and some things are giving me headache. FreeNAS installed Syncthing as a jail, and I did the jexec command to login into the jail, but now ...
2
votes
0answers
36 views

Compiling FreeBSD on OSX

I currently have the source for the FreeBSD kernel. I want to compile it and create an iso image, on my OSX 10.9 computer. Can this be done? Do I need any other tools?
1
vote
1answer
200 views

Can I install FreeBSD, OpenBSD, NetBSD and DragonFly on one disc?

Is it possible to install all of FreeBSD, OpenBSD, NetBSD and DragonFly BSD on a single disc? What would be the proper procedure for success, and what are the caveats?
3
votes
2answers
165 views

What's the `name` argument to `sh` for/do?

Taken from FreeBSD's man page on sh (because its the most convenient online, target platform is Debian if it matters): SH(1) FreeBSD General Commands Manual SH(1) NAME sh -- ...
0
votes
1answer
24 views

How to have only one binary for FreeBSD 10-CURRENT and previous versions in case of using iconv

FreeBSD 10-CURRENT switched to native iconv instead of libiconv library. Our team has a code that uses iconv invocations and we compile it on earlier version of FreeBSD. When we launch the executable ...
1
vote
0answers
62 views

Emacs and gvim display no content on FreeBSD 10.2

I just installed FreeBSD 10.2 with the Mate desktop environment and most things seem to work. I have a problem with emacs and gvim though. Since the problem has the same symptoms with both editors, I ...
0
votes
1answer
98 views

play MIDI (*.mid) files in firefox

Many of the (German) Wikipedia articles about bands contain short music samples, like the one for Emerson, Lake & Palmer. (Look for the speaker symbols). Firefox then asks for an application to ...
3
votes
1answer
34 views

Is it possible to compile individual software from the FreeBSD source tree?

I wonder if it is possible to compile individual software packages from FreeBSD source tree without compiling the whole kernel and world....Say,for example ex , which is included in the nvi (new vi) ...
1
vote
1answer
62 views

Cannot access hard disks from FreeBSD installation CD

I have been using GNU/Linux for several years and now I am giving FreeBSD a try. Yesterday I managed to install FreeBSD 10.2 on an old computer using a 5 GB partition. I only installed the base ...
2
votes
1answer
58 views

on FreeBSD, how do I open a port on WAN but not on LAN?

I have one FreeBSD machine that I use as a playbox/server/torrentbox. It's part of my LAN. Here is the semantics (altered from an example on the OpenBSD website): [ desktop ] [ laptop ] | ...
1
vote
1answer
70 views

ex/vi: Input encoding conversion not supported

I've a problem with vi, every time I launched it I get this message: Input encoding conversion not supported; /tmp/vi.PSzqmm9ox9: new file: line 1. Despite of this message I'm able to edit and save ...
2
votes
1answer
55 views

creating a xar archive using the tar utility in FreeBSD

I am trying to create a xar archive using the tar utility in FreeBSD tar -c -f test --format xar index.html I get the following error Can't use format xar: Xar not supported on this platform How ...
-1
votes
2answers
113 views

best way to upload files(100gb+) from freebsd server

I need to upload lots of files(100gb+) from server, currently i get ssh connection, and i'm not restricted in software i can use and run anything. Please recommend me the way to upload files to my ...
0
votes
1answer
41 views

Using an alias when using NFS shares

When using Samba, I can use an alias which can pretty much point to any directory. E.g. an alias called videos pointing to /mystuff/here/anotherfolder/anotheronehere/oops/myvideosfolder Is ...
5
votes
2answers
413 views

How to allow direct root access via SSH on certain IP range?

I would like to login to root via ssh directly while at home (192.168.1.0/24). But while outside (e.g. at work), I can still login via ssh by using one of the custom accounts I created. I jus ...
0
votes
0answers
36 views

How to setup different permissions on parent/subfolder using FreeBSD/NFS sharing?

I have the following folder structure: Here's my sample/target /etc/exports # cat /etc/exports /storage -maproot=root -network 192.168.1.0/24 /storage/mysonsvideos -ro -maproot=root -network ...
2
votes
2answers
2k views

Upgrade from FreeBSD 10.1 to 10.2 fails because of incorrect hash

$ sudo freebsd-update upgrade -r 10.2 Fetching metadata signature for 10.1-RELEASE from update.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying ...
0
votes
1answer
133 views

How to build openssl with clang(rather than gcc) on a FreeBSD machine?

I have a 64 bit FreeBSD build machine. I need to add https support in my python3 application code. For that it is advised to build/compile python with openssl support. I do not need any gcc dependency ...
0
votes
1answer
65 views

Unable to print to windows print server via Samba

I have setup my Canon laser printer (shared name canonMF4820d) on my windows notebook (hostname Yoga). And I have my Freebsd server (hostname Fruitfly) installed with CUPS and SAMBA and ...
2
votes
1answer
72 views

Is it possible to create a freebsd 10 or 11 jail in freebsd 9?

My title question is exactly my question : is it possible to create a freebsd 10 or 11 jail into a freebsd 9 instance?
2
votes
1answer
158 views

Freebsd printing: Unable to print using lpd

i have setup the lpr for usb printer by following a guide from the web.. however, i have got the error lpr: Error - no default destination available Output from dmesg: ulpt0: Canon Inc MF4800 ...
1
vote
1answer
58 views

RC script that brings itself to foreground under certain criteria

I have a simple script that asks for user input ([y/N]) and then acts upon it. I wrote a daemon rc wrapper so that it can run from startup. I was wondering if it is possible to make the daemon/script ...
0
votes
0answers
50 views

KDE login freeze on Debian Jessie-kFreeBSD

I've been using Debian GNU/Linux with KDE for years (since Etch), but since my RAID driver is no longer supported in GNU/Linux (since kernel 3.10), I've switched over to the kFreeBSD-amd64 version of ...
0
votes
0answers
112 views

Protective master boot record boot flag - GPT

On an HP Elitebook 8760w, the BIOS does not support GPT well and I have found that it does not like GPT formatted boot disks which is default for many *nix platform installers. FreeBSD and OpenSuse ...
0
votes
3answers
45 views

Cron service running but not visible by “top”

I'm on my freeBSD server. Cronjob suddenly stop working. When I run "top" the service is not listed. But when i check "service cron status" , it is running with given PID. I restarted the service ...
1
vote
2answers
306 views

How do I disable the system beep in FreeBSD 10.1?

How do I disable the system beep on the console in FreeBSD 10.1? The recommended commands don't work. The sysctl setting: # sysctl hw.syscons.bell=0 hw.syscons.bell: 1 -> 0 # sysctl -a | grep ...
1
vote
0answers
116 views

lost FreeBSD efi loader after upgrading windows 10

How to return option to load FreeBSD, after it was lost next to upgrading windows 10. I use uefi-FreeBSD10, and didn't created another one ESP.
2
votes
1answer
61 views

Zeroing out FreeBSD swap space?

I'd like to zero-fill the partitions/slices in my FreeBSD VMs in order to provide for better compression for archival. For those partitions/slices with file systems the process is no problem for me to ...
3
votes
2answers
48 views

Understanding the relation between FreeBSD kernel configuration file and actual device

To my understanding, FreeBSD's kernel is configured via text files. Each kernel configuration entry is on a single line. Many entries also have comments set off with a hash mark. The GENERIC conf. ...
1
vote
1answer
94 views

Installation date and virtual status of the machine( For Darwin, FreeBSD and NetBSD)

How do I determine installation date (when the system was first booted) for Linux,Darwin, FreeBSD and NetBSD? Also, Is there any way to get the virtual status of the these machines (whether the ...
0
votes
0answers
34 views

My FreeBSD server busy rejecting sendmail relay

I'm on my BSD server and found my CPU usage at 98% for sendmail service. When I check the log file, I noticed that spammer trying to use a relay. And my server is busy rejecting thousands of request. ...
0
votes
2answers
387 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
237 views

FreeBSD “Fatal double fault” upon entering ZFS encryption password

I have just installed FreeBSD 10.1 Release i386 on a new computer. I pretty much used the standard installer defaults, except I chose ZFS, RAID-Z1, encryption, and encrypted swap, and I did not ...
3
votes
0answers
62 views

FreeBSD shared swap partition with Linux

What must I do, to run these commands before Arch Linux calls swapon -a? mkswap /dev/sdaX swapon /dev/sdaX Just in case it matters, /dev/sdaX was created in FreeBSD 10.1 environment, as soon as ...
0
votes
1answer
301 views

FreeBSD: Can't load libphp5.so or read php files

I'm having a bit of a trouble configuring my apache server on freebsd. I installed apache24, php5 and php5 extensions, moved my files over to ./data. I made some changes to httpd.conf: LoadModule ...
1
vote
1answer
169 views

How to install and configure FreeBSD without internet access?

After installing FreeBSD we would like to use following commands to install additional packages. pkg pkg install nano pkg install xorg pkg install mate-desktop mate pkg install slim The above ...
1
vote
1answer
63 views

Deleted boot partition accidentally with gpart

I just typed gpart delete -i 1 ada0 when I was supposed to write gpart delete -i 1 ada1 and unfortunately typed reboot before I noticed my mistake. The disk ada0 had the default GPT layout that ...
1
vote
0answers
95 views

How can I fix an overlapped FreeBSD/UFS partition?

I have a Seagate 1TB Drive [ST1000LM010-9YH146] which had one FreeBSD slice and was formatted as UFS and mounted at /home on a pfsense box. While changing some hardware around, the drive was ...
1
vote
2answers
173 views

Chromium User Agent String on FreeBSD or OpenBSD

I'm in need of a recent Chromium user agent string from a FreeBSD or OpenBSD desktop with the default user agent string. I can only find Chrome useragent strings but no mention of Chromium. Other ...