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

learn more… | top users | synonyms

2
votes
1answer
427 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
586 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
3answers
6k views

ls to show only directory/filename and size

First of all, this is not a duplicate of this: Linux ls to show only filename date and size Because I want to print actual directory name additionally. I was always using this command: ls -l | awk ...
2
votes
2answers
162 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
548 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
1k 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
809 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
2k 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
27 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
1answer
57 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
182 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
235 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
2answers
158 views

How to measure PCI-Express bus usage?

I'm looking for a way to find out if PCIe bus is the bottleneck or not. It's not a problem to measure how much bytes was transferred through any particular NIC: Is there a way to find how much ...
2
votes
1answer
464 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
162 views

FreeBSD Base packages

Recently, I've stumbled upon an interesting question about the difference between Linux and FreeBSD (Why would someone choose FreeBSD over Linux?) and found there a link to this site. I've read that ...
2
votes
2answers
307 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
131 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
308 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
941 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
1k views

Can I run Bash scripts in FreeBSD without modifying them?

Correct me if I'm wrong: "sh" script != "bash" script Linux script are written in Bash Bash script usually #!/bin/sh In GNU/Linux, /bin/sh is Bash In FreeBSD, /bin/sh is not bash, it's the true sh ...
2
votes
1answer
944 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
631 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
5k 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
844 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
593 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
1answer
469 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
220 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
178 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
311 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
33 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
28 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
1answer
47 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
318 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
2answers
65 views

netstat command doesnt work anymore on the new dedicated server

I was using the following command on my previous dedicated server with the same version of the FreeBSD installation: # uname -a FreeBSD 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 ...
2
votes
1answer
269 views

Samba 2.2.12 accepts my password, but is rejecting other user accounts?

I'm using a legacy system and I'm stuck with FreeBSD 5.4 and Samba 2.2.12, trying to access it from a Windows 7 system. I've created a unix account in FreeBSD using the adduser command and added ...
2
votes
1answer
71 views

Change a driver's source code and compile

I have made some little change to if_igb in /usr/src/sys/dev/e1000/if_igb.c. How can I compile only this file and load it to kernel dynamically? I'm using FreeBSD 8.2 Release.
2
votes
1answer
303 views

Debian/kfreebsd VirtualBox guest additions

I'm trying and failing to install the virtualbox guest additions for a unstable Debian/kfreebsd virtual machine running in VirtualBox. Without the guest additions, the idle process pegs one of my CPU ...
2
votes
1answer
141 views

FreeBSD: Partition with Multiple Mount Points

On the latest FreeBSD installation, how can I make a partition have both /var/ and /tmp/ as a mount point? That is, one partition would contain /var/ and /tmp/. Is that even possible? I know of course ...
2
votes
4answers
700 views

Process is eating all of the CPU time

Is there any magic command to track down which process is starting this perl task that is eating 100% of CPU time? I have this problem on several machines where JBoss AS is installed.
2
votes
1answer
266 views

GDM not showing when I boot my FreeBSD system

I've installed FreeBSD 9.1 in a VirtualBox VM, and did some basic setup. After that, I had installed Gnome2 via sudo pkg_add -r gnome2. Along the way, there were some errors. Mostly it was (I think) ...
2
votes
1answer
403 views

How to boot into FreeBSD installed in the second partition of an external drive

I have installed FreeBSD 9.1 on the second partition of an external hard disk and I'm not able to get my computer to boot from it. FreeBSD was installed using the FreeBSD memstick image dd'd onto a ...
2
votes
1answer
1k views

enable networking inside a freebsd jail

So I'm mostly a linux newbie itself. Let alone freebsd, so please bear with me. I just need some very basic clues to get this to work. I use FreeBSD 9.1 64-bit from the list here. On my freebsd ...
2
votes
1answer
510 views

tcsh alias - find FreeBSD port

I am trying to create an alias for tcsh. I would like to find a program in ports (FreeBSD ports). So far I made an alias, which works, but finds only ports which end in *port_name. I would like it to ...
2
votes
2answers
199 views

Rebuilding sendmail on FreeBSD application server after adding new activedirectory domain controller to network

In the process of adding a new ActiveDirectory domain controller to our network, we decided to rename the domain from "domain.local" to "domain.priv." I scoured all parts of our application server for ...
2
votes
1answer
126 views

what is internal 1 and internal 2 ip in freebsd , what is external 1 and external 2 ip in freebsd

# ifconfig gif0 create # ifconfig gif0 internal1 internal2 # ifconfig gif0 tunnel external1 external2 what is internal 1 and internal 2 IP? in freebsd what is external 1 and external 2 IP? in ...
2
votes
1answer
912 views

What is the `ucond` process state?

When debugging a program I saw that top -U username showed the following: 39769 eigenein 107 98 0 179M 38448K ucond 19 0:00 0.00% program What does it mean that a process in the ...
2
votes
1answer
1k views

FreeBSD USB devices - given /dev/da* device is on which speed?

I use machine with USB 2 and USB 3 ports, and I have USB 3 external disk which works perfectly in term of speed (I use it as backup drive so during the night new files are nicely transfered to this ...
2
votes
1answer
500 views

How to mount FreeBSD 9.0 iso file writable mode?

I want to edit bsdinstall script of freebsd 9.0 iso file. I tried to extract files,edit and recreate iso but I couldn't boot it.I realized that some of files missed while extracting. I also use ...
2
votes
2answers
1k views

Installing new Operating System such as FreeBSD with PXE boot?

I am no expert on this issue, I am maybe even using the wrong technical term. Anyway, my goal is this: to install a new OS from a server that has the installation documents etc so some settings in ...