FreeBSD is a free Unix-like operating system descended from AT&T UNIX via BSD UNIX.
1
vote
1answer
17 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], ...
1
vote
3answers
456 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 ...
4
votes
1answer
746 views
How can I boot the PC-BSD live DVD-ISO IMAGE directly via GRUB2?
Via the loopback command, GRUB2 allows to directly boot an ISO file.
Now, I've configured the according menuentry to boot the PC-BSD Live DVD ISO, but when I try to boot it, the FreeBSD bootstrap ...
1
vote
1answer
159 views
Install r5u87x on FreeBSD
I need to install Ricoh r5u87x webcam loader on FreeBSD, because it solve not suspending in unix/linux boxes on my vaio laptop as I try it in UBUNTU, but the loader is simply for Linux, I think. Is ...
0
votes
1answer
87 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
67 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: ...
16
votes
3answers
2k views
FreeNAS grub2 booting ISO
I've got usb-keys setup to multi-boot different Linux images. I wouldn't mind adding FreeNAS, and there's a doc with samples to add to grub.cfg
menuentry "FreeNAS-8.0.4-RELEASE-x64" {
insmod ufs2
...
2
votes
1answer
35 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 ...
3
votes
1answer
270 views
What port range will ipfw nat use for aliasing?
I am using ipfw nat with the following config
ipfw -q nat 1 config if em0
Which TCP and UDP ranges will the NAT choose its alias ports from? I would like it to be always from the range 49152–65535, ...
0
votes
3answers
277 views
FreeBSD: Which branch is supported for longer?
Can someone help explain the FreeBSD support policy? I'm looking at http://security.freebsd.org/#sup , which says:
Branch Release Type Release Date Estimated EoL
RELENG_6 ...
1
vote
1answer
25 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
34 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:
...
11
votes
5answers
2k views
What is using this network socket?
I'm trying to use NTP to update the time on my machine. However, it gives me an error:
host # ntpdate ntp1.example.org
10 Aug 12:38:50 ntpdate[7696]: the NTP socket is in use, exiting
What does the ...
0
votes
1answer
36 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 ...
1
vote
1answer
55 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 ...
2
votes
1answer
211 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 ...
0
votes
1answer
132 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
1answer
5k views
How do I add PC BSD / FreeBSD to Grub 2 boot loader?
I have Ubuntu 10.04 installed as my primary operating system, and I installed PC BSD in a different partition: /dev/sda4 without installing it's boot loader. I figured out that I need to edit ...
14
votes
2answers
3k views
Where does Mac OS X come from?
Discussing with Mac owners, I got several versions of where Mac OS X comes from. It is known to have some root in BSD, but how much, and where?
Some say that Mac OS X has a FreeBSD kernel, with all ...
2
votes
2answers
250 views
How do I recursively apply PKGREPOSITORY when calling make package-recursive in FreeBSD?
I'm trying to create a package of Apache and its dependencies:
sudo make package-recursive \
__MAKE_CONF=~/make.apache22.conf \
PKGREPSOITORY=/usr/home/gvkv
Everything works fine; Apache and its ...
3
votes
3answers
44 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 ...
0
votes
1answer
127 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 ...
0
votes
1answer
435 views
VirtualBox Hangs when installing freebsd 9.0
When installing Freebsd 9.0 as virtualbox guest, it hangs. Freezes the guest OS, other VirtualBox windows works fine.
Logs attached, hardware is pentium D, 4 GB ram, Asus p5ld2 deluxe mainboard, OS - ...
20
votes
7answers
2k views
How can I use DD to migrate data from an old drive to a new drive?
I am upgrading the internal SATA hard drive on my laptop from a 40G drive to a 160G drive. I have a Linux/Ubuntu desktop which has a SATA card. I would actually like to do the same thing for a couple ...
2
votes
1answer
275 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
3answers
65 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
1answer
88 views
Find out what /dev/cuaU maps to?
I have an USB 3G modem (Huawei E353-u2) on pfSense 2.0.2 (which is based on FreeBSD 8.1-RELEASE-p13), it seems to create 2 /dev/cuaU devices:
/dev/cuaU0.0
/dev/cuaU0.3
1) Why are there 2 devices? ...
1
vote
0answers
45 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
20 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 ...
2
votes
1answer
318 views
freebsd make install openjdk6
I am having problem installing openjdk6 using ports using the make install clean commands. The error I got is:
/usr/ports/java/openjdk6/work/build/bsd-i586-debug-fastdebug/j2sdk-image: No such ...
3
votes
2answers
351 views
Installing FreeBSD without removable media from CentOS 6
I've been tasked with installing FreeBSD 8 alongside CentOS 6, without the luxury of removable media. CentOS 6 is already on the machine, and running quite nicely. However, I cannot figure out how to ...
2
votes
0answers
231 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 ...
3
votes
0answers
227 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 ...
5
votes
0answers
310 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 ...
3
votes
1answer
207 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 ...
1
vote
0answers
68 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
41 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?
1
vote
1answer
208 views
FreeBSD zfs timeout errors
I have FreeBSD 8.2 with ZFS v28. 8 cpu core, 16Gb ram.
Two disk drives (1.5Tb WD Green) on zfs mirror raid.
My system strangely uses memory.
With alot of free (wired) memory it start to use swap and ...
2
votes
1answer
50 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
103 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 ...
5
votes
3answers
7k views
FreeNAS versus a regular (CentOS/Ubuntu) linux server?
I'm looking to build a medium sized (6TB, mini ITX board) server for personal use. Most importantly, it will serve as a seedbox and will store a whole lot of data. I will be accessing the data over my ...
0
votes
1answer
51 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 ...
2
votes
1answer
61 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 ...
1
vote
0answers
137 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 ...
1
vote
1answer
181 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
0answers
49 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
66 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 ...
3
votes
3answers
1k 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 ...
2
votes
2answers
274 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 ...
0
votes
0answers
173 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"
...
