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

learn more… | top users | synonyms

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
58 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
64 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
313 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
214 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
169 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
58 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
40 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
299 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
64 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
87 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
522 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, ...
4
votes
1answer
86 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
15 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
551 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
111 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
69 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
134 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
71 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
159 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
285 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
42 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
48 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
267 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
178 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
28 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
66 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
134 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
37 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
78 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
74 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
90 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
67 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
141 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
86 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
475 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 ...
1
vote
0answers
69 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
311 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
92 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
114 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
266 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
67 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
63 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
163 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
53 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 ...