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

learn more… | top users | synonyms

3
votes
1answer
464 views

GCC not runnable on FreeBSD

I'm trying to run GCC on FreeBSD and I get this error: % gcc ar: unrecognized option `--plugin' usage: ar -d [-Tjsvz] archive file ... ar -m [-Tjsvz] archive file ... ar -m [-...
3
votes
1answer
908 views

How to install FreeBSD in minimum size?

I want to install FreeBSD to run a squid cache server on it. I want to know how can I can make this installation as small as possible? I installed the boot-only ISO file on virtual box, but it took ...
3
votes
3answers
4k 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 ...
3
votes
3answers
3k views

How much disk space should be allocated for FreeBSD?

I have a Samsung N150 netbook with 160 GB hard disk. I want to install FreeBSD OS. There will be no other OSs, no dual booting or like that, just FreeBSD. So the manual says to have a separate ...
3
votes
1answer
157 views

How to install portmaster on FreeBSD?

I'm trying to install portmaster on FreeBSD but I get an error about the port format: root@freebsd:/usr/ports/ports-mgmt/portmaster # make install clean ===> portmaster-3.17.8_1 pkg(8) must be ...
3
votes
1answer
90 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 ...
3
votes
2answers
1k 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 ...
3
votes
1answer
2k views

How to make a custom FreeBSD distribution [closed]

I have been struggling for several hours on how to find a coherient guide on how to create your own BSD distribution based off of FreeBSD. I have looked at the GitHub repositories for pfsense, but I ...
3
votes
1answer
3k views

Install a package and all its dependencies without a confirmation prompt with FreeBSD pkg

Is there a way to automatically install packages and their dependencies, like with apt-get -y in Debian, without being prompted each and every time? Installing Webmin, NGiNX and nano in 1 step, all ...
3
votes
1answer
155 views

Insert a new directory path to PATH in .cshrc file fail

I want to add a additional directory to PATH in .cshrc in my home directory . But after I put the path to it ,It still not working . I don't know what's the problem ... After I add this directory to ...
3
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 ...
3
votes
3answers
794 views

Updating FreeBSD 8.0 to 8.1 (methods and policy)

I have 8.0-RELEASE-p4 + few ports installed. I wonder wheather I should update to 8.1. How long is 8.0 supported? How to update the system? I couldn't find anything about it in handbook. SOLUTION (...
3
votes
1answer
244 views

How to change Squid service UID in FreeBSD?

Strangely enough, it appears that Squid cannot start if the squid user is not affected to the UID 100. When trying to use another PID, the service systematically fails to start with the following ...
3
votes
1answer
57 views

FreeBSD: How can I install kernel sources for 10.2-STABLE version?

Lots of articles and posts on internet tell how to install the kernel sources for FreeBSD x-RELEASE versions, but none of them for X-STABLE. For example, my FreeBSD version is 10.2-STABLE. How can ...
3
votes
2answers
140 views

NTP works but clock is not the same

I'm trying to sync multiple machines (9 machines that are cloned from one machine so they have exactly same config) on a LAN using NTP. All machines are running FreeBSD 10.2 on VirtualBox with Ubuntu ...
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) ...
3
votes
1answer
1k views

FreeBSD on Raspberry Pi2

I want to build FreeBSD custom Image for my Raspberry Pi2. I have read about the boot process in RPi2. I also went through the chrochet build instruction document. I learned from some websites that ...
3
votes
2answers
78 views

How to prevent FreeBSD from disconnecting a drive device?

While accessing a drive with high error rates (as, for example, here for opensuse) in FreeBSD, the system eventually disconnects the drive and it disappears from /dev. This makes it impossible to run ...
3
votes
2answers
2k 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 ...
3
votes
1answer
78 views

FreeBSD missing PCIIDS

I was trying FreeBSD in VirtualBox and so when I was compiling the VirtualBox guest additions (through ports), I got an error. PCIIDS could not be found on any of the FreeBSD servers, and so, my ...
3
votes
1answer
777 views

Why are devd rules applied before devfs rules?

My problem I have the following lines in /etc/devd.conf which execute the usbhidaction for a /dev/uhid* device with the named vendor and product id. attach 100 { match "vendor" "0x046a"; ...
3
votes
3answers
642 views

Other than /etc/rc.conf what other config files control system services at boot time?

I am still very new to FreeBSD, from what I have learned in manuals, /etc/rc.conf controls system services at boot time. There is no mention of sendmail and syslogd in /etc/rc.conf, so how come they ...
3
votes
2answers
2k views

How do I check active crons?

I'm trying to hunt down a cron job (or the equivalent) which I know is running, but I can't find it in the default cron files for my system (FreeBSD / Linux / BSD). How can I tell which ones are ...
3
votes
2answers
468 views

Verbose shutdown messages

I am using BSD at the moment and think I have an X compatibility problem where my computer doesn't shut down. It can cause problems because I have to turn off the power manually while there is no ...
3
votes
3answers
3k views

Installing centos and freebsd with serial console

I am trying to install Centos 5.7 and FreeBSD 8.2 on KVM with serial console access. This is what I used: sudo virt-install -n freebsd -r 1024 --vcpus=2 --os-type unix --accelerate -v --disk /var/...
3
votes
2answers
702 views

How to block outgoing connections from process/user on FreeBSD?

My server executes third party software which processes user submitted files. I want to block outgoing connections from my process. How can I do it in FreeBSD?
3
votes
1answer
605 views

What does 'mergemaster' do that 'make distribution' doesn't?

After calling make installworld (or make world), there are two ways of updating source files in the new world: calling mergemaster -p or make distribution. I know that mergemaster calls make ...
3
votes
1answer
86 views

How can I mount an Apple Time Capsule in FreeBSD (FreeNAS) as a smbfs share?

I am trying to mount a 3rd generation Apple AirPort Time Capsule share on a FreeNas box. I can connect to the share using smbclient and the remoteUser password. % smbclient -U remoteUser -L //...
3
votes
1answer
90 views

Accessing Luks-encrypted disc from FreeBSD

I have some data on a ZFS in a machine running FreeBSD that needs evacuation. I have a disc in a USB enclosure with enough space, but it's encrypted using Luks on a machine running Linux. Is there any ...
3
votes
1answer
64 views

Create binary package without ports?

I am trying to build a binary package on freebsd. All the guides which i am finding are saying basically to build binary package from already installed software using ports. What i am searching for a ...
3
votes
1answer
55 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). ...
3
votes
1answer
197 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 ...
3
votes
1answer
364 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 ...
3
votes
1answer
120 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 ...
3
votes
1answer
194 views

How do I check checkboxes using only a keyboard?

I apologize for the simplicity of this question. When I am in an install wizard, how can I check the check boxes using only a keyboard? I have tried every conceivable keyboard command. +, -, Enter, &...
3
votes
1answer
111 views

Not possible to use batch mode?! FreeBSD gpg 1.4.19

I use a script to decrypt my password for offlineimap, but somehow it's not working anymore ... The file was encrypted with gpg --symmetric password For offlineimap I use this combination. gpg --...
3
votes
2answers
906 views

Restart/reload IPFW remotely via ssh without losing connection

Is it possible to restart IPFW or reload its script remotely via ssh connection without loosing current connection?
3
votes
1answer
3k views

How to dual boot PC-BSD 10.3 (with zfs file system) and debian 7 (crunchbang) using grub2 boot loader in MBR?

I want to dual boot PC-BSD 10.3 with ZFS as the root file system (the only file system) with Debian 7 (crunchbang linux) with ext4 using grub2 boot loader installed in MBR and grub is managed by the ...
3
votes
2answers
379 views

Non-interactive customization and installation of FreeBSD Ports

I'm new to FreeBSD, coming from a Linux background. I want to install a port, changing one of the default configuration options, in a non-interactive way (so that I can script the installation for ...
3
votes
2answers
949 views

Installing FreeBSD in VirtualBox aborts unexpectedly

I have tried installing FreeBSD-10.0-RELEASE-i386-dvd1.iso into VirtualBox 3 times already today (each time starting from a fresh creation of a VM) and right when I'm about to Exit (Apply ...
3
votes
1answer
6k views

Reading FreeBSD UFS formatted external drive in Mac OS X

I have an external USB drive with backup files formatted in FreeBSD's UFS file system. When I plug it into a computer running Mac OS X 10.9.4, I cannot read the drive's contents, and I don't have ...
3
votes
1answer
381 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 ...
3
votes
1answer
10k views

Expanding the disk size on pfsense under VMWare ESXi

I've been testing pfsense on ESXi for a while. And now I'm almost running out of space. Currently it holds around 30GB and I would like to expand it to 150GB as I'm planning on installing squid for ...
3
votes
1answer
1k views

FreeBSD 10 on VirtualBox not booting into GDM

Instead, I get a plain shell prompt log-in. After logging in, I try gdm start but get this: # gdm start ** (gdm-binary:977): WARNING **: Failed to acquire org.gnome.DisplayManager ** (gdm-binary:...
3
votes
2answers
921 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.
3
votes
1answer
456 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 /usr/local/...
3
votes
1answer
2k 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 ...
3
votes
1answer
2k 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 ...
3
votes
2answers
2k views

Logrotate maually on FreeBSD 8

I am able to rotate any log file manually via logroatate like this: logrotate -f /etc/logrotate.d/my-hourly-file I want to know how to perform the same action on FreeBSD 8? My investigation shows ...
3
votes
1answer
961 views

Network interfaces for Jails

I have been reading over the creation of Jails on FreeBSD, and one stumbling block I have is regarding network interfaces. Say my local router is 10.0.2.1, and the BSD box is 10.0.2.5. I would like ...