FreeBSD is a Unix-like operating system which has grown out of the original BSD (Berkeley System Development) of the early days of Unix.

learn more… | top users | synonyms

1
vote
3answers
422 views

Is having more CPU cores a better thing for running a web server?

I was reading about how User threads are mapped to kernel threads on Wikipedia. From this article I understand that FreeBSD uses the 1:1 (Kernel-level threading). So each User thread created by the ...
1
vote
1answer
552 views

How do I configure my wpa_supplicant to match these?

How do I configure my wpa_supplicant (on FreeBSD) to match the windows params in the picture? So far I have tried this in /etc/wpa_supplicant.conf : ctrl_interface=/var/run/wpa_supplicant ...
1
vote
1answer
262 views

FreeBSD csh style history auto completion in bash

I am looking for a way to make it so that my ubuntu bash shell has the same kind of history completion as you get with csh in FreeBSD. The behavior is that on the command line if i start to type ...
1
vote
2answers
835 views

What is the BSD equivalent of Linux `netstat -lptun`?

In Linux, netstat -lptun gives a list of servers with the following details: protocol local and foreign address state PID and program name What is the command's equivalent in FreeBSD? Thanks.
1
vote
2answers
320 views

Possible to use “screen” over SSH in script?

I am having this interesting problem, where I would like to start this command nc -l 8023 | zfs receive tank3/pro1 on a remote host 10.10.10.11. If I run ssh -n 10.10.10.11 'nohup nc -l 8023 | ...
1
vote
3answers
3k views

How to create an image of a Live system over ssh?

I have a question about a FreeBSD server that I cannot access at the moment. But because we would like to try some new stuff we want to create a backup of this system first. The question is: is ...
1
vote
1answer
214 views

cpan in freebsd 9.0

I have a FreeBSD 9.0 installation which works fine. The only problem is cpan. I tried forums.freebsd but didn't help much. Here is some cli output: [user ~]$ cpan --version Cannot load ...
1
vote
2answers
677 views

FreeBSD password file

What would be FreeBSD password file equivalent of linux /etc/shadow and /etc/passwd? Is it the same? According to what I heard /etc/passwd exists in FreeBSD, but not sure in case of /etc/shadow.
1
vote
2answers
321 views

FreeBSD: connect to switch console

I am using FreeBSD to connect to a juniper switch using console connection. I have crossover network cable: 1 end in switch and other in my freebsd laptop. What do I need in freebsd and how do I ...
1
vote
1answer
578 views

folder permissions on FreeBSD

I have a drive on my FreeNas (8.2) box which transmission copies files automatically when it is finished downloading them. It works fine as long as the download is a single file, if it's folder with ...
1
vote
1answer
697 views

FreeBSD: What is taking up all the space? I find df and du seem to be inconsistent

I have an old FreeBSD (5.3) server and I need to clear space from /var but I cannot seem to find what is taking up all the space. I have 6.8G of total space but I cannot seem to see that much data ...
1
vote
1answer
2k views

Symlink all files in a Folder to a new Folder

Ideally what I am seeking is a way to rename all my anime keeping original files intact without using extra data space The solution I can think of is creating a duplicate folder path to another ...
1
vote
1answer
725 views

rc.conf error causing read-only boot, FreeBSD

I recently edited my /etc/rc.conf and believe there to be a syntax error. When I try to boot I receive an error message in regards to the file and then it boots and mounts the file-system in read only ...
1
vote
1answer
412 views

mv - move dir with destination-dir having the same subdirs as source-dir

In FreeBSD (I suppose it works like Linux et al in this regard), I'd like to move src_parent/mydir to dst_parent/mydir. dst_parent/mydir already exists, and it contains some subdirs that's also ...
1
vote
1answer
63 views

freebsd post-installation issues

I've installed freeBSD 8.2 and now trying to get GUI working. I did install KDE and related packages from sysinstall. On bootup, at shell prompt, when I do X or Xorg, screen goes blank and I cannot ...
1
vote
1answer
156 views

How to encrypt a large file with limited disk quota?

On a FreeBSD server, is there any way to encrypt a file, which is probably 90%+ of my quota? I thought of using split, then after encrypting a file, delete the original.. but then, when I have all ...
1
vote
3answers
4k views

Freebsd (Freenas 8) and robocopy gives Error 5 Time-Stamping Destination File WHy?

I have a NAS running FreeBSD/FreeNas 8.0.4 When I copy files from a windows system to it via SMB/CIFS normally (explorer/copy) it all goes fine. User can create/delete/update files When i attempt ...
1
vote
1answer
437 views

Why is de-dupe feature of ZFS not working with FreeBSD 8.2

I have FreeBSD 8.2 installed on AMD/64 with 3 GB RAM and 690 GB pooled HD under ZFS. I have two copies of an identical file (180 MB video) in same directory and yet df -h indicates that both are using ...
1
vote
3answers
789 views

How can I change the drive number

I installed FreeBSD 8.1 on a machine where the drive was /dev/ad6 but have moved it to a new system where the drive is now /dev/ad4. The new system boots but I need to manually specify that the root ...
1
vote
3answers
260 views

Notebook Operating System with extreme support cycles/security updates

I'm a long-time Apple User since 1992, have always felt at home there, but I've am currently looking to switch to an alternative Operating System. I've also been working with Unix machines since ...
1
vote
1answer
563 views

Setting up an IPv6 DHCP + DNS router - hardware?

I would like to set up a DHCP (with MAC-bound allocation to mimic static) + DNS(SEC) router at home. I'm looking for hardware and software suggestions that fit into a small enclosure, approximately ...
1
vote
1answer
770 views

How to make freebsd's terminal prompt show current directory

My freebsd terminal always only show "#" I want it show current directory. How can I manage that? Thank you indeed!
1
vote
2answers
622 views

vim not starting in bash shell

My terminal(FREE BSD) uses CShell by defualt , under which vim is working fine . But to run some testscripts , i have to use bash shell ,where some of my env variables are defined . Once i am in bash ...
1
vote
2answers
86 views

If I exchange the CPU, must I reinstall the OSes? (swapping cpus from one *nix-like to another)

as suggested by the title, I want to change CPU: actually I have two computers, one with Ubuntu running on an AMD Athlon 64 dual core 5200+ and the other with FreeBSD running on an AMD Sempron single ...
1
vote
2answers
663 views

How to manage local patches to the FreeBSD ports tree?

What is the preferred way to manage local patches in the FreeBSD ports tree. As an example look at textproc/urlview. This port installs the url_handler.sh script. This script defines applications to ...
1
vote
1answer
48 views

Is my NAS accessible from the Internet?

I have a FreeNAS server set up to do nightly backups for my various Windows machines. I turned SSH on to make administration a little easier - I have plenty of Linux VMs and it's easier for me to SSH ...
1
vote
1answer
59 views

OpenSSH, FreeBSD screen overwrite when closing application

I installed a fresh FreeBSD 10 on a VM and connected via SSH and I've noticed that whenever i close a program (e.g., htop, top, nano etc) the contents of the session gets overwritten. This doesn't ...
1
vote
3answers
223 views

How to compile a shell script in FreeBSD?

How can I compile binary shell script for FreeBSD? I tried the Linux binary emulator but it doesn't work.
1
vote
1answer
3k views

ZPOOL how to remove volume?

I had a strange issue with FreeNAS reporting mulitpath/disk1 is not stable for a while with a crcck of 5. I do not have any SAS on my MB. The rest all report as ada_ except that drive. In multipath ...
1
vote
2answers
349 views

freebsd guest works from commandline `kvm`, hangs before boot inside virt-manager

I have a FreeBSD-7 guest (in a qcow2 disk image) which works just fine when I start it from the commandline with # kvm -drive file=freebsd7.disk But when started from the virt-manager GUI, it gets ...
1
vote
1answer
3k views

How to install software packages from FreeBSD 9.1 DVD?

When FreeBSD 9.0 switched to the new installer, I could still manually launch bsdinstall at end of normal installation process to install pre-built packages on DVD, however this way no longer works in ...
1
vote
1answer
144 views

Strange disk issues sunfire x2200 freebsd 8.3

So, my Sunfire x2200 M2 has two SATA drives in it, a 250GB and a 2TB. Sometime last night/this morning, the system rebooted by itself. It came back up fine, but after reviewing a few logs, I found ...
1
vote
1answer
91 views

Is it possible to upload setuid-set file to ftp-accessible directories?

Just curious, is it possible to upload files set with setuid permission to directories using ftp and retain its setuid permission? Or does FTP always change the permission?
1
vote
2answers
812 views

How can I give my normal user access to read and write on directories created by root?

Just installed FreeBSD for a Webserver, and the www directory which was created by the 'root' user can only be managed and changed while running commands under su. I understand that I need to add the ...
1
vote
2answers
2k views

run_interrupt_driven_hooks still waiting after 60 seconds for xpt_config

I have downloaded the FreeBSD 9.0 for i836 but during boot/installation I get the following message: run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config I waited for 10 ...
1
vote
1answer
363 views

Does FreeBSD support the AR9380 chipset?

I'm building a file server (home use) and would like to put in a wireless card based on the Atheros AR9380 chipset. However I can't find whether this one is supported or not. I know there is the ahk9k ...
1
vote
1answer
348 views

Create floppy disk image with FreeBSD

So I don't have a usb floppy drive for my laptop, but oddly enough, I find myself wishing I did now. I do have an old machine with a floppy drive running FreeBSD 8.2, so I thought I might just use it ...
1
vote
1answer
930 views

Cron alternative with timeouts and second resolution

Do you know an alternative to cron daemon that has second resolution, timeouts, and advanced system for error reporting? But it should be lightweight and should support different platforms(linux and ...
1
vote
1answer
159 views

Questions about installing BSD on a *technically* external HDD

A little bit of background: 1) I have a 160 GB hard drive from a netbook 2) I also have a SATA->USB enclosure that the drive fits in perfectly Now, I'd like to install some flavor of BSD (probably ...
1
vote
2answers
472 views

How to make [home] go to beginning of line instead of beginning of buffer?

I know there is an existing shortcut to do this but I'd like to have the home key mapped to beginning-of-line instead of beginning-of-buffer. I tried putting this in my ~/.emacs file but it seems ...
1
vote
1answer
204 views

nanobsd.sh outputs ': not found'

[root@bsd /root]# uname -a FreeBSD bsd.localdomain 7.4-RELEASE FreeBSD 7.4-RELEASE #0: Thu Feb 17 03:51:56 UTC 2011 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 When I run, ...
1
vote
1answer
2k views

FreeBSD: Using rsync to backup a Windows-hosted share over Samba

I am trying to backup a Windows-hosted share, using rsync, from a FreeBSD8.2 box: bash$ sudo -i bash# uname -a FreeBSD zeus.companyname.gr 8.2-RELEASE ...amd64 bash# cat /root/.nsmbrc ... ...
1
vote
1answer
210 views

Can't install py-subversion on freebsd 8.2

I'm trying to install python bindings for subversion: # cd /usr/ports/devel/py-subversion # make ===> Patching for py26-subversion-1.6.15 ===> Applying extra patch ...
1
vote
1answer
1k views

How feasible is it to setup a FreeNAS to be more like a full install of FreeBSD

So I've been playing with FreeNAS over the last week, finally trying to get my act together and store my important files properly. I'm finding myself wanting to install and compile additional ...
1
vote
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 ...
1
vote
1answer
290 views

wildmode and wildmenu settings in FreeBSD

I'm using FreeBSD. I know that it's possible to set wildmode and wildmenu in vim using set commands. How can I do similar stuff in a Linux shell? That is, what is the settings file's name? What I ...
1
vote
1answer
555 views

su: bashlia: No such file or directory

[user@freebsd ~]$ su root Password: su: bashlia: No such file or directory How come i cannot switch user to root account?
1
vote
1answer
689 views

python-imaging and libjpeg on FreeBSD

I had a problem with image uploading to Django with FreeBSD, so I asked on SO: http://stackoverflow.com/questions/1959447/django-uploading-image-error and got an answer. Our admin can't install these ...
1
vote
3answers
439 views

freebsd: configure a different default directory

When I ssh into my freebsd I want to be automatically in another directory, and not my home directory. I.e. instead of /users/home/john I want to be in /users/home/john/what/i/am/working/on
1
vote
1answer
495 views

What chsh did when I type `chsh -s SHELL` and how to go back to previous SHELL?

I have mistakenly setting my user login shell to some unknown directory:([1]. Now, I can't login to this user. Every time I try to ssh, it always failed as if I enter the wrong password. I try to ...