FreeBSD is a free Unix-like operating system descended from AT&T UNIX via BSD UNIX.
0
votes
2answers
23 views
Can't boot after installing FreeBSD in VMware Workstation
I'm trying to install FreeBSD 9.1-i386 in VMware Workstation.
I'm following the guide in the manual on freebsd.org to do this.
When I come to the partitioning part I use the guided setting and it ...
1
vote
0answers
23 views
how to solve ports dependencies conflict
What is the best approach to avoid conflict among the dependencies from two or more unrelated ports? I'm facing the following problem. A script that I'm using has the follow approach to try to install ...
1
vote
1answer
15 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) ...
1
vote
1answer
26 views
How do I set affinity of a particular thread on FreeBSD?
As the title says, I'm trying to figure out how to set the affinity of a particular thread (but not the entire process) on a FreeBSD system.
On Linux, I'm able to do this with ps -L uH [pid], ...
2
votes
1answer
43 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 ...
1
vote
1answer
27 views
Setting up network cards on FreeBSD
I just installed FreeBSD 9 on a new laptop and I'm having some trouble getting the network cards to work. Presumably the file representing the cards is in /dev, but where would the configuration files ...
1
vote
1answer
46 views
reinstall all FreeBSD packages with pkg_add, pkg_info
In OpenBSD, I have the possibility to take a snapshot with all my installed packages, with
pkg_info -m > output.txt
and then move this file to a different server and on this new server run a:
...
3
votes
3answers
52 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 ...
2
votes
3answers
68 views
Detect which interface traffic to an IP address goes through
I'm making an script, and I need to detect in what interface is the traffic of an IP going through. This is because in the arch, an IP address is attended only for one of four NIC's, but can be any of ...
1
vote
0answers
52 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 ...
1
vote
0answers
24 views
Looking for meta-recipe for installing homebrew recipes under BSD
Is there a way to install homebrew recipes under BSD? (NetBSD, to be more precise.)
(To make matters worse, I don't have write access to /usr/local in this system, so I'd be installing homebrew ...
1
vote
0answers
77 views
nas4free server can't access local network
I'm not a linux/unix/freebsd expert. I'm a Microsoft .NET developer that knows Windows pretty well. Please bear with me :)
I'm trying to configure an old desktop machine as a NAS device with ...
1
vote
1answer
46 views
Is there any way to install freeBSD from Debian?
I know that one can install Debian from (AFAIK) any Linux computer using debootstrap.
Is there any way to do the same for freeBSD or do I need to make a CDROM?
2
votes
1answer
53 views
SSH lets me login with a password even though I set “PasswordAuthentication no”
I'm trying to turn off password authentication for SSH after setting up public key access. I have these set in my /etc/ssh/sshd_config file:
PermitRootLogin without-password
PasswordAuthentication no
...
1
vote
2answers
109 views
FreeBSD telnet does not take root login
I have just installed FreeBSD 8.1 as a VMWare host and can establish ipv4 connectivity to the instance and telnet through the virtual console. I have also uncommented the /etc/inetd.conf lines
telnet ...
0
votes
1answer
37 views
How to add GTK Theme Preference on Gnome 2 using FreeBSD
GTK Theme Preferences is available in the Shimmer Project PPA for Ubuntu 12.04 Precise Pangolin and 12.10 Quantal Quetzal. Add the PPA and install it using the following commands:
sudo ...
0
votes
1answer
53 views
Command substitution in alias resolved in bash profile? [duplicate]
I want to make an alias for randomly changing my mac address
alias chrandmac="sudo ifconfig en0 ether $(openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//')"
but the command substitution part is ...
1
vote
0answers
152 views
Obtain device name and mount point if partition label is known
How to obtain the partition device name and mount point when the file system
label is known?
There are several possibilities:
Linux
File system label to device name
The device name can be obtained ...
0
votes
1answer
92 views
Mouse and keyboard not working in FreeBSD 9.0
Could not use keyboard and mouse at KDM log in screen in FreeBSD 9.0 KDE
Typed on nano:
hald_enable="YES"
dbus_enable="YES"
local_startup=${local_startup} /usr/local/kde4/etc/rc.d"
kdm4_enable="YES"
...
1
vote
1answer
202 views
Virtualbox: Mount a shared folder in Guest FreeBSD from Host Ubuntu
I have Ubuntu 12.10 as Host OS and FreeBSD 9 as Guest OS in Virtualbox 4.1.18. I have Samba installed in both Ubuntu and FreeBSD and shared a few folders from virtualbox, also ticking the automount ...
2
votes
1answer
69 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 ...
2
votes
0answers
51 views
Unable to reduce core frequency freebsd
I'm working on a FreeBSD project where I need to maintain the temperature of the processor below a threshold value. In order to reduce the temperature I'm trying to dynamically change the frequency of ...
1
vote
0answers
68 views
FreeBSD 9,1 - upowerd's cpu consumption off the roof and causes OS to restart
I've been experiencing a really annoying problem with a FreeBSD setup on my laptop. The setup is as follows:
FreeBSD 9.1 / KDE4 desktop / Broadcom wireless 4313 through NDIS / Intel GPU with the new ...
0
votes
0answers
178 views
Why is mouse freezing in FreeBSD 9.1 Gnome or Fluxbox?
I'm new to FreeBSD 9.1 and I wanted to install a desktop GUI environment. I first tried Gnome 2 since I am familiar with it. I appended the following lines to the /etc/rc.conf file:
hald_enable="YES"
...
0
votes
1answer
135 views
NFS mount fails at boot time
I have the following in /etc/fstab on FreeBSD:
venture:/usr/redacted /usr/local/redacted nfs rw 0 0
This fails during boot. However, after boot, the following command succeeds
...
5
votes
0answers
335 views
FreeBSD: “Too many open files” but should be able to open another 160,000 files
I have a FreeBSD 8 system running ZFS, with a MySQL 5.5 server which is about 355GB and projected to grow to be a couple of Terabytes.
MySQL is triggering errors about "Too many open files" on ...
1
vote
1answer
56 views
How to give an ordinary user privileged access to a particular syscall in FreeBSD?
I want to give an ordinary user the ability to fchown() files arbitrarily (as if they were the superuser) on FreeBSD. Generally speaking, is there a right way to change the privilege-checking of a ...
0
votes
1answer
136 views
Nas4free (freeBSD) wont make it past bootloader without keyboard?
I've got an old Compaq machine re-purposed as a Home NAS using Nas4free. I've had it connected up to a monitor and keyboard (PS/2) for a while, (which boots fine, no issues) but I would like to have ...
1
vote
1answer
169 views
should I fix “No ALTQ support in kernel” to run the firewall?
I just messed with my pf.conf and ran pf and I got:
Enabling pf.
No ALTQ support in kernel
Of course the fix is to re-compile the kernel, but that article is for freebsd 7. I'm on FreeBSD 9.1
I ...
0
votes
1answer
42 views
How to upgrade a tbz package that I create in Freebsd?
I am newbie at freebsd packaging and I want to learn way of upgrade a package. I created a package on my development server and I installed it to test server by
pkg_add foo-1.0.tbz
then I changed ...
1
vote
1answer
84 views
the right way to synchronise sources on freebsd
Update: I'm happy to report @dartonw 's answer worked and I went and did a checkout and then buildworld and it built successfully in about 6 hours.
So I've been having some issues with jails in ...
2
votes
1answer
207 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 ...
1
vote
1answer
155 views
vim install on freebsd has taken 5 hours and counting
Ok, so installed portmaster and I'm trying with it, I'm hoping it won't take time.
So I've been up all night and my vim installation is still going on.
I have an amazon ec2 freebsd server setup. I ...
2
votes
3answers
130 views
How to make GNU grep the default in FreeBSD?
I'm running FreeBSD 9.1-RELEASE. I've installed GNU grep with portmaster textproc/gnugrep.
However the "default" grep for users is still FreeBSD grep.
# /usr/local/bin/grep -V
/usr/local/bin/grep ...
2
votes
2answers
238 views
How do I get pkg_add to look in the correct directory on the remote ftp repository when installing vim?
I have a brand new clean installation of FreeBSD 9.1 on Virtualbox.
Running pkg_add -r -v vim, the terminal runs an ftp script to:
...
2
votes
1answer
64 views
What is the corresponding freebsd command of these rpm commands?
I know about rpm, but I am newbie about freebsd packaging system. I learnt about how to create package and know I want learn how to get some information about packages or files. Can somebody give me ...
0
votes
0answers
79 views
'dereferencing pointer to incomplete type' in compiling FreeBSD 4.2 custom system call - FreeBSD [closed]
I already posted this question on Stack overflow, but no luck there:
http://stackoverflow.com/questions/14784525/dereferencing-pointer-to-incomplete-type-in-compiling-freebsd-custom-system-caF
I am ...
4
votes
3answers
548 views
Host CPU does not scale frequency when KVM guest needs it
I have asked this question on serverfault, but it could also have been posted here. I will synchronise the answers if one is found.
Observation:
I have an HP server with an AMD dual core CPU (Turion ...
2
votes
1answer
104 views
Cross-compile FreeBSD package as unprivileged user
My goal is to cross-compile binaries from an amd64 FreeBSD host to an armv6 RaspberryPi FreeBSD target.
The problem I am running into is I am required to be root in order to make install, where my ...
3
votes
1answer
210 views
How do I make use of unused space on my boot drive on FreeBSD
I have an old FreeBSD Server (running 7.3-RELEASE) that desperately needs additional storage. In fact, it has some-- the original 20G SCSI drives have been replaced by 300G SCSI drives, so in theory ...
4
votes
1answer
101 views
How can I mount a directory of the host system for use inside a FreeBSD jail?
I am performing the following on FreeBSD 9.0-STABLE:
mount_nullfs /foo /jail/foo
After that, from within the host system, the mount works. So this works:
touch /foo/bar && ls /jail/foo/bar
...
0
votes
0answers
122 views
Does Chrome run on Debian kFreeBSD?
I know that some Linux applications run on FreeBSD. All the more so, they should run on Debian kFreeBSD (since it only uses a FreeBSD kernel while Linux userspace).
Does Google Chrome (not Chromium, ...
2
votes
0answers
149 views
Startx failing in FreeBSD
I've install gnome2, xorg, and xinit (should xorg have done that for me?), and startx yields:
"xinit: unable to run server "/usr/local/bin/X": No such file or directory"
I checked in the directory, ...
1
vote
0answers
52 views
Can I install junos on an alix router?
Has anyone tried installing junos on an alix router?
I was going to follow the following tutorial for installing junos in a vm on top of freeBSD, but instead installing it for the alix router and was ...
2
votes
1answer
216 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 ...
4
votes
2answers
152 views
FHS differences between OS X, Linux and FreeBSD
I've read that there is a different behavior between FreeBSD and Linux with the /usr/local, in FBSD ports are installed there, in Linux not, can someone explain more on this?
I'd like to know where ...
1
vote
1answer
85 views
Cannot get ccache to work with ports in FreeBSD
I'm new to FreeBSD (9.1) and I'm just setting up the system. One problem that I could not solve yet is to get ccache working. I installed it from ports and followed the guidelines in the documentation ...
2
votes
2answers
102 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 ...
1
vote
3answers
195 views
FreeBSD and Linux shared partitions
Which directories, and how, can I share between FreeBSD and Linux? In particular, how can I deduplicate respectively /usr/home and /home?
I guess directly sharing a partition between both systems ...
10
votes
3answers
211 views
Unix on a DEC VAX?
I just picked up a DEC VaxStation 4000 model 90 with a built in CDROM and an auxiliary SCSI storage module with tape archive drive. I believe it is functional although I cannot test it yet since I ...

