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

learn more… | top users | synonyms

2
votes
1answer
178 views

What is the corresponding freebsd command of these rpm commands?

I know about rpm, but I am newbie about freebsd packaging system. I learnt about how to create package and know I want learn how to get some information about packages or files. Can somebody give me ...
2
votes
1answer
622 views

Extract UNIX dump file in Windows 7

I have a dump-file of the UFS partition created with FreeBSD's dump. How to view its content and extract some files from it on Windows 7? Cygwin's restore provides very limited functionality and ...
2
votes
1answer
1k views

Replacing Mac OSX with Linux Distro, or FreeBSD [closed]

I have a Macbook Pro 8,2 and really want to make the switch to something a little less stubborn and a little more flexible than the proprietary Mac OS X. I am a bit frustrated with MacPorts lately and ...
2
votes
1answer
825 views

Enabling bwn in FreeBSD

I am trying to load the bwn driver as a module as mentioned in the man page. However, when I attempted to edit /boot/defaults/loader.conf I could not write the changes to the file, this was attempted ...
2
votes
2answers
183 views

Writing usb on FreeBSD to access on windows

How can I write "stuff" into USB drive on FreeBSD such that, the "stuff" is accessible in Windows [yes my wife still uses that :( ] and Ubuntu?
2
votes
1answer
825 views

static ip to a freebsd server

I have Comcast cable <====> modem <===> router <===> freebsd server My freebsd server is connected to wireless router via a network cable. What I want to do is, to have a static ...
2
votes
1answer
2k views

Cannot get startX / Xorg to work on freeBSD 8.1

I am following this link for Xorg configuration on FreeBSD 8.1 After this step: Xorg -config xorg.conf.new -retro I can see the screen and mouse is also working but I cannot exit out of it any ...
2
votes
1answer
1k views

Find the DVD-ROM path in FreeBSD

I do not know the path of my DVD-ROM and also my external hard drive to mount them in FreeBSD using the mount command. What command should I use to find their path?
2
votes
1answer
3k views

How to install compiler and binutils on FreeNAS?

I'd like to run a backup tool, duplicity, that apparently requires a cc compiler and binutils. I'm able to locate and install the required BSD packages for python, gcc, and dependencies from ...
2
votes
1answer
153 views

Problem with pkg behind a chunking proxy

I have a freshly installed FreeBSD 10.1 at work in a VM. As it is behind a corporate proxy, I had to set HTTP_PROXY in environment and it began to run fine. But no way to get pkg to work correctly. I ...
2
votes
2answers
852 views

What should I do about Python 2.7.9 not looking for SSL certificates in the right place on FreeBSD?

I have a FreeBSD 10.0 system, and a couple of days ago, I upgraded my python27 port from Python 2.7.8 to Python 2.7.9, which enabled SSL verification by default. Unsurprisingly, it broke my existing ...
2
votes
1answer
2k views

Total CPU usage and CPU usage under processes list is different in FreeBSD top implementation?

For some reason, overall CPU usage on my FreeBSD machine fluctuates between 1% and 85%, but the CPU usage in processes column never adds up to this amount. For example here the overall CPU usage is ...
2
votes
1answer
91 views

kvm_open: cannot open /proc

I have 100+ boxes running FreeBSD 8.4 amd64 RELEASE (p9) with the same configuration. And only one of them sometimes behaves strangely: load average (generally 4~6, it's ok course box have 8 CPU ...
2
votes
2answers
1k views

How to disable daily run output email?

How to disable daily run output email from "Charlie &"? Googled couple of pages, but there is no clear answer. I use ssmtp instead of sendmail
2
votes
1answer
285 views

How to add a read only group permission to a folder that already has a default group, and have it inherited for all newly created files & folders?

In Windows this is easy. I never fully figured out Linux permissions, I have a directory such as this: /Photos The current ACL permissions are as follows: owner: root - full access group: photos ...
2
votes
1answer
795 views

Why am I still getting pkg deprecation warnings?

I'm still getting warnings about the old pkg tools being deprecated and saying I should switch to pkgng, despite the fact that I followed the directions to switch weeks ago. I did the pkg2ng thing, ...
2
votes
1answer
562 views

Analyse the performance of an rsync command from FreeNAS to a USB drive

I infrequently run a task where I rsync my photos (~30 directories with 10-100 files in each) from my FreeNAS machine to an external USB hard drive (500GB WD) as a redundant backup. I execute the ...
2
votes
2answers
975 views

How to remove or shorten F1 Boot Prompt on NanoBSD 4G USB disk that fail with “fdisk: /boot/mbr: Device not configured”?

I have read the pfSense documentation Remove F1 Boot Prompt, however that doesn't seem to apply to our pfSense-2.1.1-PRERELEASE-4g-amd64-nanobsd_vga-20140131-1030.img installation. The fdisk -B da0 ...
2
votes
2answers
615 views

ssldump: PCAP: syntax error

I'm using: # uname -ro FreeBSD 9.0-RELEASE-p3 And the latest ssldump: # pkg_info | grep ssldump ssldump-0.9b3_4 SSLv3/TLS network protocol analyzer When I try starting it with decryption - I ...
2
votes
1answer
12k views

FreeNAS 9.2: install FreeBSD packages

I have installed FreeNAS 9.2amd64 (based on the same FreeBSD version) on a VirtualBox VM. I created users and pool/volume for my data. In anticipation of installing ...
2
votes
1answer
380 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.
2
votes
1answer
257 views

bmake error on Mandrive: “bmake: no system rules (sys.mk)”

I'm trying to use bmake to build OS161 on Mandriva. When I try to run bmake, I get the following error: bmake: no system rules (sys.mk) I get the same error, even when I run bmake -m ...
2
votes
1answer
1k views

How to add crontab in FreeBSD

I am trying to add a job to my crontab in FreeBSD but it is not working : I have used this to add the job: sudo crontab -e -u vaibhav @daily /home/vaibhav/applications/comparison/scrapy but it is ...
2
votes
2answers
437 views

Installing Gnome on FreeBSD

I am trying to install Gnome on a freshly installed FreeBSD using the ports. I am stuck with an error message that says: Checking for headers required to compile python extensions ... not found Then ...
2
votes
1answer
410 views

Where are Python dist-packages stored in FreeBSD?

I am trying to find this path on FreeBSD but it is not working: /usr/local/lib/python2.7/dist-packages This same path is working on Ubuntu. Can please some tell me where I can find Python ...
2
votes
2answers
443 views

How do I change emails from: address on FreeBSD?

Emails are now sent from www@hostname, but I want them to be sent from webmaster@my-domain.com My developer said it should be in php.ini but I figured out this is true only for Win32 systems. How do ...
2
votes
2answers
2k views

Changing partition sizes on FreeBSD using bsdlabel

I have recently installed FreeBSD but I don't like the partition sizes that I accepted during installation and would like to change them. I have followed the instructions to do so in the man pages, so ...
2
votes
1answer
830 views

Extract files from FreeBSD 9 ISO

With FreeBSD 8 you could manually install by doing something like: # mdconfig -f /FreeBSD-8.2-RELEASE-amd64-disc1.iso # mount -t cd9660 /dev/md0 /cdrom # cd /cdrom/8.* # export DESTDIR=/mnt # cd ...
2
votes
1answer
7k views

Mounting ufs partition with read/write permissions on ubuntu 10.04

According to this writeup ufs kernel module is compiled with only read permissions. I could mount a ufs partition with this command: sudo mount -t ufs -r -o ufstype=ufs2 /dev/mapper/loop0p1 ...
2
votes
1answer
1k views

How to mount a USB stick in FreeBSD?

I am running a FreeNAS (FreeBSD version) on a DELL R310, but when I connect a USB stick it does not automatically get mounted. The same stick does get automatically mounted in CentOS/Fedora. How do I ...
2
votes
1answer
768 views

FreeBSD: Mixing packages and ports?

I would like to build the newest port of Firefox (version 4.0.1,1). I currently have the package version installed (3.6.13). How well does the packages/port system handle mixing ports and packages? ...
2
votes
3answers
1k views

Unique hardware signatures in BSD?

What unique hardware signatures can you get from, for example, a FreeBSD system? I am right now using the ethernet mac address (getifaddrs(3)) but as we all know this can easily be changed with ...
2
votes
1answer
549 views

[FreeBSD] rc.conf, loader.conf vs static kernel linking

I'm curious: What, exactly are the benefits to statically linking modules into the kernel rather than loading through rc.conf, etc? For example: To add linux emulation, I could add ...
2
votes
2answers
242 views

Is there a port list migration command set for FreeBSD?

On debianized linux distros there is dpkg --get-selections, dpkg --set-selections, dpkg -C to respectively list installed packages, select a list of packages for installations, and list packages that ...
2
votes
1answer
1k views

FreeBSD: Opening X applications after su to root?

Using FreeBSD 8.2. I'm accessing my machine over vnc using tightvnc. I log in as my normal user. This is okay. I can open X applications and they display fine. Then I su to root and they won't ...
2
votes
1answer
188 views

Why does `last` show '{' and '|' in the TTY field?

We recently set up a new FreeBSD 7.2 machine on March 11. When looking at last, we noticed some funny characters for the TTY field. What do these characters mean? Note that at this time, the ...
2
votes
2answers
352 views

How do I recursively apply PKGREPOSITORY when calling make package-recursive in FreeBSD?

I'm trying to create a package of Apache and its dependencies: sudo make package-recursive \ __MAKE_CONF=~/make.apache22.conf \ PKGREPSOITORY=/usr/home/gvkv Everything works fine; Apache and its ...
2
votes
1answer
32 views

ACLs and classic permissions

I'm trying to set up a git server on my FreeNAS server. The problem I have is with setting up the permissions for different users/groups just as I want. Basically I have two different groups: ...
2
votes
1answer
35 views

What is the difference between the FreeBSD flags, immutable and unlink?

What are the differences or similarities among the FreeBSD flags, simmutable/uimmutable and sunlink/uunlink? Reading man chflags, I see these flags: schg, schange, simmutable set the system ...
2
votes
1answer
133 views

What is the difference between vim and vim-lite?

I want to install vim on my FreeBSD machine, and this other site suggests installing from FreeBSD ports like this: # cd /usr/ports/editors/vim-lite/ # make install clean This is all great, and I ...
2
votes
2answers
64 views

Porting Linux date parsing to FreeBSD

I have date in this format: date -d $datum +"%Y-%m-%d" and on Linux it worked OK but in FreeBSD says this: ERROR wrong format usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
2
votes
1answer
109 views

Custom Resolution For vt Console in FreeBSD 10

In FreeBSD 10 there is new vt driver for having nice framebuffer console. By default it chooses resolution from the EDID data of monitor. However, I have a display that has incorrect EDID data. ...
2
votes
1answer
57 views

FreeBSD: Restart one service each time another restarts

On FreeBSD, what is the correct/canonical way of specifying that one rc script is reliant on another, such that each time the service it depends on is restarted, the dependent service is then ...
2
votes
1answer
83 views

FreeBSD - major and minor upgrades using ports?

while upgrading my FreeBSD for the first time (from 10.0 --> 10.1) I got confused about the different possibilities. As far as I understand, freebsd-update does a binary update of FreeBSD like pkg ...
2
votes
2answers
912 views

How to install FreeBSD 10 from USB Hard drive?

I need to install FreeBSD 10 on an old PC with no CD drive but it has a USB port. I'm on a laptop running Windows 8.1 and have downloaded the FreeBSD 10 DVD ISO image. I have an external USB hard ...
2
votes
1answer
220 views

Do I need to setup my ZFS (using FreeBSD 10) for foreign-language files (e.g. filenames in Japanese/Thai/etc language)?

I am in the process of setting up a ZFS file server. I am planning to store all sorts of files in it. I have several hundred music tracks that are in Japanese/Korean native character. I want the file ...
2
votes
1answer
89 views

Unix. pecl memprof

Im trying to install https://github.com/arnaud-lb/php-memory-profiler on FreeBSD 9.2 After pear install http://pecl.php.net/get/memprof-1.0.0.tgz got such error: In file included from ...
2
votes
2answers
1k views

Force fsck at boot time on the root file system (prior to mounting file systems, without Single-User mode) [duplicate]

I just wonder if there are any solutions available at all (Googled for 2 hours). How to automatically force fsck disks after crash in `systemd`? - does not mean anything. Setting fsck_y_enable="YES" ...
2
votes
1answer
112 views

add newlines in .cshrc command output

I'm trying to set up a "dynamic" motd for users when they log in on FreeBSD 10. I've got it set up so that it uses .cshrc and has a few commands to output some info. However one of those prints as a ...
2
votes
1answer
264 views

Screen size in FreeBSD in VirtualBox

I am installing FreeBSD 10.0 on VirtualBox, and I can't figure out how to change the size of my screan, in the virtualbox? The freebsd in the virtualbox treats my screen like it's 1/4th the size of ...