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

learn more… | top users | synonyms

1
vote
0answers
126 views

Installing IPSEC on FreeBSD

how to install IPSEC on two FreeBSD 9.0 machines to can send an encrypted packets between them , and let them read the encrypted packets .
1
vote
2answers
113 views

zfs one pool error

I have zpool with name zroot and zroot has 4 pool when electricity down system reboots and than i saw some error with 1 pool: Solaris: Warning: can`t open object for zroot/var/crash log_sysevent: ...
2
votes
1answer
805 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 ...
3
votes
0answers
383 views

How do I go about making a wrapper for a driver to be used on FreeBSD?

The situation: I found myself in need of an additional NIC for my pfSense router/firewall. I had a few choices... shell out over $100 for a dual port gigabit card buy a new motherboard that has ...
3
votes
3answers
186 views

Bash port auto upgrading script in cron doesn't work properly?

I've been recently try to write a script to automate checks for new version of ports and software installed on my FreeBSD server. This script is added to root's crontab and fires daily. If I run it ...
4
votes
1answer
186 views

Determining the Source of a Given File System Mount on Unix

Background Recently I have run into a bit of a snag on my home FreeBSD server. I recently upgraded it to the latest stable release, and I have noticed some strange behavior with the /var partition. ...
2
votes
2answers
182 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 ...
1
vote
4answers
2k views

Would you say FreeBSD is more stable than Linux? [closed]

This question is a sequel or a parallel question to my previous one: Unity problems & Searching for a good WM I am wondering whether my personal assumptions that FreeBSD is indeed more stable and ...
-1
votes
1answer
144 views

Installing and using VNC for command-line purposes on FreeBSD

I am running a VPS with FreeBSD 8.3-RELEASE-p3 This is my first time using FBSD as a server, and as a newbie I locked myself out of su by taking my user out of wheel group. I have disabled the ...
2
votes
2answers
270 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 ...
1
vote
4answers
954 views

pysqlite install error on FreeBSD in virtualenv

I am trying to install pysqlite using pip under a virtualenv in FreeBSD 7.3, with Python version 2.6.2. I didn't have any issues for installing other packages like Django, PIL etc. All of them I ...
2
votes
1answer
384 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 ...
1
vote
0answers
119 views

Perform Cisco's DNS Doctoring on FreeBSD

How to perform a change in the DNS response from a DNS server to be a different IP address than the DNS server actually answered for a given name? ...
1
vote
1answer
251 views

Need help on setting up tty autologin on FreeBSD

I was trying to setup tty auto login for FreeBSD, I copied the P|Pc|Pc part and made a change: Pcal console:\ :al=root:ht:np:sp#9600 And modify the tty for ttyv0: ttyv0 "/usr/libexec/getty Pcal" ...
1
vote
2answers
1k views

proftpd does not change default group for new files

I am Trying to configure ProFTPd to change group for newly created files/directories. In my config I have this: <Directory /home/*> GroupOwner www </Directory> Which does not seem to ...
1
vote
1answer
181 views

dump freezes system

dump -h 0 -0Lauf /backup/ada0p2.dump / - causes total system freeze. server# cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ada0p2 / ufs rw ...
4
votes
1answer
515 views

How to add a Linux Partition on FreeBSD

Today I installed FreeBSD 9.0 PPC on my Mac mini G4 with 40GB HDD. During installation, (using the FSBD utility 'gpart') I have allocated a total of about 23GB for FreeBSD leaving 17GB totally free ...
3
votes
2answers
1k views

Is there an easy way to create a FreeBSD rc script?

I have a FreeBSD jail in which I run a server using the command: /usr/sbin/daemon /path/to/script.py At the moment I have to run this command every time I restart the machine and the jail starts. ...
123
votes
4answers
45k views

Why is FreeBSD deprecating GCC in favor of Clang/LLVM?

So I was surfing the net and stumbled upon this article. It basically states that FreeBSD, starting from Version 10 and above will deprecate GCC in favor of Clang/LLVM. From what I have seen around ...
5
votes
2answers
4k views

How do you dual boot Debian and FreeBSD using GRUB2?

I've been trying to install FreeBSD alongside my Debian installation in a single partition. All examples readily present on the Internet had shortcomings: Some required chainloading the FreeBSD ...
3
votes
3answers
2k views

How do I export a folder to a subnet using NFS in FreeBSD 9.0

The following NFS exports file does not work on FreeBSD 9.0. How should I be specifying that I wish to share with the whole subnet? mybox# cat /etc/exports /storage/build ...
3
votes
2answers
308 views

How do I set a script that it will run on start up in FreeBSD?

I am using FreeBSD 9 and I want to make a script that will check if an Ethernet cable is connected, and if so, connects to it. I want to set it so that it runs whenever the machine starts up, or ...
3
votes
1answer
374 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 ...
1
vote
2answers
1k views

Easily connecting to the internet with FreeBSD

I am a beginner at using UNIX, and I have a small Toshiba notebook computer which I installed FreeBSD 9.x on. I looked at the online handbook to try to find out how to connect to the internet, but ...
5
votes
2answers
260 views

Is it possible to keep a FreeBSD system up to date (base system + packages) using only binaries?

I have been using Debian and NetBSD systems for a long time, and I have got used to do binaries upgrades for the base system and for packages (using pkgin with NetBSD) Now the NetBSD kernel does not ...
1
vote
0answers
462 views

Differences between UNIX, BSD and FreeBSD? [closed]

Could somebody tell me the difference between UNIX, BSD and FreeBSD? I've been using Linux from always, but now I'm curious about FreeBSD and BSD, because maybe there are more "unix-legacy"... What's ...
1
vote
2answers
273 views

How do I set the mysql server character set in FreeBSD 8.2?

My mysql server's current server character set is latin1. My server is started on startup via rc.conf setting mysql_enable="YES". How to set my server to use utf8 as the server character set?
1
vote
3answers
325 views

Reconnect if the link is stale

I run FreeBsd box with pppd over Ethernet. Everything works just fine with only one exception. Sometimes, not too often, the connection becomes stale. Everything looks like if it is ok: ifconfig shows ...
2
votes
2answers
808 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 ...
9
votes
2answers
5k views

Get the chmod numerical value for a file

In FreeBSD and also in Linux, how can I get the numerical chmod value of a file? For example, 644 instead of -rw-r--r--? I need an automatic way for a Bash script.
4
votes
1answer
509 views

How to install FreeBSD on Thinkpad?

I am trying to install FreeBSD but I am having a problem. My computer is a Thinkpad T400. I followed the instructions to install so I have downloaded the file FreeBSD-8.3-RELEASE-amd64-dvd1.iso and ...
3
votes
1answer
398 views

FreeBSD: Remove symlinks in devfs

Background I have been rebuilding a small home NAS. This server represents my first 'real' foray into the world of server administration and it has taught me quite a bit already. Originally, the ...
4
votes
2answers
616 views

NAT and source IP filtering in PF, using OpenBSD >= 4.7

I just read a book about PF (The Book Of PF, No Starch), but there's one question not answered by it. If I have a gateway machine using two interfaces, $int_if and $ext_if, and I NAT the packages ...
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 ...
5
votes
3answers
4k views

How to deal with FreeBSD's move to pkgconf?

It seems that the FreeBSD ports tree is busy transitioning from pkg-config to pkgconf. http://www.mail-archive.com/freebsd-ports-announce@freebsd.org/msg00018.html I first thought as an end user this ...
2
votes
1answer
870 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
0answers
305 views

FreeBSD 9.0 install NOT configuring ports

We have a new FreeBSD 9.0-RELEASE with a ports tree generated via portsnap and none of the ports perform make config. To some degree it is behaving as though BATCH=yes was set. However, that variable ...
2
votes
1answer
1k views

How to Install BASH in FreeBSD

I really find that using bash helps a lot, when you need to retrieve strings of text that you used previously. But how can I install it on FreeBSD? I have tried typing bash into the terminal, but ...
4
votes
2answers
409 views

FreeBSD and Windows show different times

In a dual-boot system, I usually use FreeBSD 9 but when I boot to Windows 7 my system time in both OS automatically change and show incorrect time. What's the problem and How can I solve it?
3
votes
1answer
236 views

How to autoboot boot0?

How can automatically boot FreeBSD in boot0 and, when needed, manually load win by pressing a shortcut button?
5
votes
1answer
1k views

Korn Shell: End, pgup, pgdown, and delete key not working

So basically my End, Pageup/Pagedown, and Delete key are not working in ksh93. I'm running FreeBSD by the way. My arrow keys are working, and so is my home key. Those keys work when I put this in my ...
7
votes
2answers
894 views

Is there a way to create cow-copies in ZFS?

I am trying to make cow-copies of some files/directories, but of the several ways I know of, all seem sub-optimal. For example, btrfs can, with the use of cp --reflink=auto quickly generate ...
2
votes
0answers
427 views

How to use Public IP in case of Two ISP which difers from each other Pfsense [closed]

Please bare with my long explanation but this is important to explain the actual problem. Please also pardon my knowledge with PFsense as i am new to this. I have single PFSense box with 3 Ethernet ...
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
459 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
1answer
524 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 ...
3
votes
2answers
4k views

Sharing folder from Windows Host to Freebsd Guest

First of all, let me say that though I use Linux (Red Hat, at work) regularly, I am a complete beginner when it comes to actually administrating it. What I am trying to accomplish: I have (at home) ...
2
votes
5answers
2k views

How to completely hide stuff from a user?

I want to let some of my friends access my computer by making them user accounts. They will mostly access my computer by sftp and ssh, but they could also sometimes access it at my home. However I ...
2
votes
2answers
1k views

OpenSSH, chroot user: Root needs to own the user directory, is there any consequence?

I want to create an account for my friend on my computer, but I don't want my friend to be able to view all my files. I saw that with OpenSSH, there is an option for that. Inside the SSHD ...
2
votes
0answers
286 views

Media server RAID difficulties (on FreeNAS)

Disclaimer: I've never used FreeNAS or any type of RAID before, so this is a first. I've decided to build a media server in my new apartment. I'm going to be going with a total 10TB of space (6x2TB ...