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

learn more… | top users | synonyms

0
votes
1answer
46 views

User Access Permissions

I have recently taken ownership of a (FreeBSD) FileServer and need to identify which shares users have access to on an individual basis. Is there an easy way to achieve this with a single command?
12
votes
5answers
489 views

How to achieve portability with sed -i (in-place editing)?

I'm writing shell scripts for my server, which is a shared hosting running FreeBSD. I also want to be able to test them locally, on my PC running Linux. Hence, I'm trying to write them in a portable ...
0
votes
1answer
89 views

Recover rc.conf in FreeBSD

I'm using FreeBSD 9.1 and I accidentally deleted the file /etc/rc.conf. How can I recover it?
2
votes
0answers
216 views

How to configure Sendmail in a jail to get correct FQDN?

I am building a mail server using FreeBSD 9.1-RELEASE with a jail. On the direct OS, all what I have to do was only adding my domain name to /etc/mail/local-host-names file. Anyway I wanted to run ...
1
vote
1answer
255 views

FreeBSD ipfw keepstate vs setup keep-state

A lot of examples where people are using keep-state with setup together. For example: ipfw add 1 allow tcp from any to me 22 setup keep-state Because of setup, this rule will allow only SYN ...
2
votes
1answer
251 views

NFS mount properties (options) in FreeBSD

I am trying to determine how to examine the actual properties of an NFS mount in FreeBSD. In CentOS (6.4 tested) one can cat /proc/mounts or execute nfsstat -m to determine all of the mount ...
2
votes
0answers
130 views

FreeBSD gettytab configuration

I have a serial port on my system which is named cuau3 under FreeBSD. I want to change the properties of this port, I can change the device's speed using /etc/ttys and /etc/gettytab files, but I can't ...
1
vote
0answers
125 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
0answers
105 views

FreeBSD pf firewall, new connections severly delayed when nating

I have a newly setup fbsd 9.1 with pf, which itself doesn't experience any slowness when for example downloading a debian iso from my local debian repo (ftp.se.debian.org). Any machine behind it, ...
3
votes
1answer
67 views

What is the correct partition type for a geli-crypted partition on FreeBSD?

I am currently in the process of setting up an encrypted homeserver with zfs and geli. However I am not sure what the correct partition type for geli-crypted filesystems are. Do I just take ...
3
votes
1answer
167 views

Low-level disk access in FreeBSD

I'm developing a utility that needs to do low-level random access of disks (read individual sectors). In Linux I accomplish this by accessing the corresponding block device (e.g. /dev/sda). However, ...
3
votes
2answers
260 views

Mac OS X command-line tools - differences from FreeBSD

As I understand it many Mac OS X command-line tools (like ls, cp, chmod, chown etc.) are imported from FreeBSD. Which version of FreeBSD contains the command-line tools most compatible with the OS X ...
1
vote
0answers
494 views

Mount MTP device in FreeBSD

I have an Android tablet which uses MTP instead of USB Mass Storage for transferring files. I'd like to mount it in a FreeBSD machine. I tried the method described here. I installed mtpfs by going ...
1
vote
1answer
106 views

Get system notification at a certain time?

Is there a way, in Linux or FreeBSD, to receive notification from system at a specified time? I'm thinking something in like of what inotify in Linux does for filesystem events. There IS a way to ...
0
votes
1answer
123 views

What is the state of new format packages (pkgng) in recent FreeBSD

So, I was searching around with no results about what is the state with new format packages on FreeBSD. As I understand after this spring's security issue package building has been postponed. And they ...
2
votes
4answers
15k views

How can I change the default gateway?

Currently I'm running a FreeBSD 9.1 and the default gateway is already configured in the rc.conf. rc.conf: defaultrouter = "10.0.0.1" But now I want to change the default gateway without rebooting ...
0
votes
0answers
70 views

Redundant and Load Balanced storage on FreeBSD?

Back from: Load balanced & Redundant Storage on FreeBSD How do I create a (Redundant and Load Balanced) Storage based on FreeBSD? Storage should be located on (2 or more servers) providing ...
1
vote
1answer
160 views

How do I resolve a “rm: libtoolT: No such file or directory” error?

I'm doing a "portmaster -f" update on a machine just upgraded from FreeBSD 8.3 to 9.1 and am getting a "rm: libtoolT: No such file or directory" error. I see it's something that commonly afflicts ...
1
vote
1answer
56 views

Can I use several pipelines as a argument? [duplicate]

I want to check the difference of two file list one is ls | cut -c 1-4 another is ls | cut -c 1-4 | uniq does there exists any way can let me do like this diff (ls | cut -c 1-4) (ls | cut -c 1-4 | ...
1
vote
1answer
45 views

FreeBSD: Put Server Files on Its Own Partition/Slice

When installing FreeBSD v9, can I specify that a particular partition/slice have /var/www/ as a mount point?
2
votes
1answer
149 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 ...
0
votes
3answers
745 views

Custom crontab does not work (FreeBSD)

I created file crontab.custom with: */1 * * * * /home/username/data/www/run.sh And run.sh contains: php script.php After this I run this command crontab crontab.custom. Now crontab -l ...
2
votes
1answer
500 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 ...
1
vote
2answers
71 views

startx error doesn't load from terminal

I have installed GNOME v2 in my freebsd but when I try to do startx it gives the following error. Please Help.
4
votes
1answer
222 views

tcpdump don't show src and dst address

I'm having a problem with a tcpdump. The output is: 21:53:53.877873 MPLS (label 266837, exp 0, [S], ttl 255), IP, length: 193 21:53:53.878037 MPLS (label 326819, exp 0, [S], ttl 255), IP, length: ...
5
votes
1answer
1k views

FreeBSD: Can't install Python 2.7

I can't seem to be able to install Python 2.7 on my FreeBSD system. Here is some info: # portsnap update Ports tree is already up to date. Version: # uname -r 7.1-RELEASE Installation: # cd ...
0
votes
2answers
239 views

PF and types of NAT(Network Address Translation)

As you know, at least 3 types of NAT are used. Of course i need to two types of them.DNAT and SNAT. DNAT : hiding server behind NAT, SNAT : hiding your client behind NAT. Question: I read a quick ...
0
votes
2answers
254 views

Guide on how to install FreeBSD on a laptop [closed]

Is there a guide on how to install FreeBSD on a Laptop with some basic GUI elements or a Desktop Manager? Please assist and I know some more people would want to know this.
2
votes
2answers
619 views

daemonize rtorrent

Just read the man page, but found no option for this. Maybe I missed it, maybe it doesn't exist. I have a server at home I'm SSHing to for rtorrent, but the torrent stops downloading and won't restart ...
1
vote
1answer
801 views

Gnome not starting in FreeBSD

I tried to install gnome2 in FreeBSD using the command pkg_add -v -r gnome2. I also edited my file in /etc/rc.conf and added the lines gdm_enable="YES" and gnome_enable="YES" and also added the lines ...
2
votes
4answers
758 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.
-1
votes
1answer
262 views

Install GNOME in freebsd

I'm new to FreeBSD it comes with a CLI mode not a graphical interface. How can I install GNOME in FreeBSD. Can I install GNOME by downloading its package from a different machine if its possible and ...
1
vote
3answers
362 views

FreeBSD reboots during install and leaves invalid install

I just downloaded the most recent FreeBSD CD image, and put it in VirtualBox. It looks like it installs fine but then it reboots and boots from the CD image again. When I make it boot from the ...
6
votes
1answer
282 views

Any random password results in successful login on tty

I can login to my machine (FreeBSD 9.1-RELEASE) for any user (for example: root or operator or any that exists in /etc/passwd) with any random password that I type... I tried to reset password for ...
2
votes
2answers
176 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 ...
1
vote
1answer
53 views

Are there any PaxTest for OpenBSD?

Pax: PaX is a process memory protection patch For FreeBSD, there exists a testsuite called PaxTest, is there a PaxTest available for OpenBSD?
0
votes
1answer
330 views

newsyslog.conf logrotate when file is older than 6 month

I would like to delete following files with newsyslog.conf when the files are older than 6 month: # logfile [owner:group] mode count size when flags [/pid_file] ...
4
votes
1answer
132 views

what is the linux boot param “memmap” equivalent in freebsd

In linux kernel, there is an option to reserve a portion of system ram i.e memmap=512M$2G (boot param) Here 512M starting from 2G would be reserved and not available to OS What is the equivalent in ...
2
votes
2answers
646 views

Load balanced & Redundant Storage on FreeBSD [closed]

Did Google for this the last week, still can't find any reasonable solutions for FreeBSD. Most of the articles contain solutions for a fail-over storage only (FreeBSD HAST). This is NOT what I'm ...
3
votes
1answer
323 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"; ...
1
vote
1answer
82 views

kinit returns error salt type 3 unsupported on FreeBSD 9.1-RELEASE install

When attempting to run kinit to log into a Kerberos V5 realm I get the following error on a default install FreeBSD 9.1-RELEASE kinit: krb5_get_init_creds: salt type 3 not supported Any ideas?
1
vote
2answers
103 views

kfreebsd ISO boot to grub menu

Having obtained the kfreebsd ISO image from here, I set up a VirtualBox VM to install from the ISO. When I boot up the VM, the session ends up with the grub menu instead of initializing the ...
2
votes
2answers
125 views

quick filter of IP that's causing sendmail DOS under FreeBSD

I've got what appears to be a malicious/spam host that is overloading my Sendmail server causing it to refuse connections to other hosts. I'm overloaded by connections from one particular IP address. ...
3
votes
1answer
79 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 ...
0
votes
1answer
52 views

How can I setup mail server with ipv6, pam and db?

I'm looking for solution for a specific problem: I want to setup a good and secure mail server but I need ipv4 + ipv6, some kind of autouser mapping (if I add new user to machine, system should ...
3
votes
1answer
746 views

FreeBSD or PC-BSD?

After years of Linux I would like to give *BSD a try, but I'm uncertain if I should use FreeBSD or PC-BSD. With KDE out-of-the-box and graphical package-manager and such, PC-BSD strikes me as ...
-2
votes
2answers
228 views

Joe,pico,emacs missing

I've installed a 'linux in a box' at home using FreeBSD and Virtual Box.But when I tryed to make a C file,joe,emacs and pico give me 'Command not found'. joe z.c,emacs z.c, pico m.c are the commands ...
1
vote
0answers
426 views

Why does my server not shutdown properly?

When I run $ reboot on my embedded FreeNAS 0.7 (FreeBSD 7.2) it does start the shut down procedure but seemingly hangs. I have registered a command to start a service script which is executed on ...
2
votes
2answers
324 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 ...
0
votes
0answers
337 views

Can't boot FreeBSD after installation

I've installed FreeBSD on my system along with Windows 7 using this tutorial. When I turn on my PC the screen says something like this: F1 FreeBSD F2 Win F3 ? F6 PXE Boot: F1 _ Pressing F2 ...