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

learn more… | top users | synonyms

1
vote
0answers
47 views

Find all physical interfaces in FreeBSD

I have a use case to find all physical (no virtual or vlan interfaces) on FreeBSD. How can I get a count of the number of physical interfaces on a box consistently regardless of any virtual interface ...
0
votes
1answer
82 views

virtio-kmod in /usr/ports is not compatible; what can I do?

I tried to install virtio-kmod in a FreeBSD guest. make in /usr/ports/emulators/virtio-kmod gives virtio-kmod--0.250249 not supported ${OSREL} (10.1). The ports-tree is up to date. Is that a bug or ...
0
votes
0answers
32 views

How to set display to a higher resolution?

I'm runnning FreeBSD 10.2-RELEASE and I'm getting a low resolution 640x480 in the xfce session,I don't have the option to get to a higher one in settings. Here is my xorg.conf file xorg.conf
1
vote
1answer
552 views

FreeBSD: IPv6 in Jails (ezjail)

I'm on FreeBSD 10.1 and in the process of setting up a server. After some hassle I managed to get IPv6 running. I'm now setting up jails with ezjail and I learned how to set up a working flavor and a ...
1
vote
0answers
300 views

Unable to mount UFS2 partition on Linux - ufs_fill_super(): bad magic number

In FreeNAS 9.3, I created a partition (slice?) by doing: fdisk -BI /dev/ada3 bsdlabel -wB /dev/ada3s1 newfs -O2 -U /dev/ada3s1a This drive is now /dev/sdg on Ubuntu 14.04, which I've been unable to ...
3
votes
0answers
72 views

FreeBSD shared swap partition with Linux

What must I do, to run these commands before Arch Linux calls swapon -a? mkswap /dev/sdaX swapon /dev/sdaX Just in case it matters, /dev/sdaX was created in FreeBSD 10.1 environment, as soon as ...
1
vote
1answer
787 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 - ...
2
votes
0answers
82 views

Slow downloading from own server

I've a small VPS and I can download anything only with slow speed - only sometimes (and sometimes with normal speed). I can download from any other webpage (for example the FreeBSD's ISO files) with ...
0
votes
1answer
90 views

Unable to print to windows print server via Samba

I have setup my Canon laser printer (shared name canonMF4820d) on my windows notebook (hostname Yoga). And I have my Freebsd server (hostname Fruitfly) installed with CUPS and SAMBA and ...
5
votes
2answers
8k 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 ...
2
votes
2answers
130 views

Alternate screen on FreeBSD's sc and vt

By default, FreeBSD's virtual terminals (sc and vt) don't restore previous terminal content when exiting from a full screen app. Is there a support for this functionality? I've tried following ...
9
votes
4answers
10k views

How do I connect a serial terminal to a KVM instance?

Perhaps I'm misunderstanding what KVM is capable of, but the ability to add/remove hardware on the VM seems to imply I can add a serial port that then acts as a terminal. So, my questions are: ...
0
votes
2answers
126 views

NetBSD/FreeBSD and TP-Link TL-WN727N: Second encounter

Moved from SU. First part at http://superuser.com/questions/975564/netbsd-and-tp-link-tl-wn727n-atheros-ar9271-or-ralink-rt5370 So, I've installed NetBSD 7 and device shown again as ugen(ugein, ...
3
votes
2answers
205 views

ACLs and classic permissions

I'm trying to set up a git server on my FreeNAS server. The problem I have is with setting up the permissions for different users/groups just as I want. Basically I have two different groups: ...
3
votes
2answers
54 views

Understanding the relation between FreeBSD kernel configuration file and actual device

To my understanding, FreeBSD's kernel is configured via text files. Each kernel configuration entry is on a single line. Many entries also have comments set off with a hash mark. The GENERIC conf. ...
1
vote
1answer
78 views

Cannot access hard disks from FreeBSD installation CD

I have been using GNU/Linux for several years and now I am giving FreeBSD a try. Yesterday I managed to install FreeBSD 10.2 on an old computer using a 5 GB partition. I only installed the base ...
2
votes
1answer
26 views

running mountd with compiled rpcbind

I am trying to run mountd with my own compiled version of rpcbind. If I have rpcbind running in debug mode (./rpcbind -d) before I start mountd, I get the following error message: /etc/rc.d/mountd: ...
7
votes
1answer
212 views

How does FreeBSD allocate memory?

I am aware that this is simplified/generalized explanation, but top(1) utility divides memory in FreeBSD into six pools- Active, Inactive, Wired, Cache, Buffers and Free. Example from top(1) output: ...
5
votes
2answers
799 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?
0
votes
1answer
56 views

difference between inactive and free memory in output of FreeBSD top utility?

top -d1 displays following SDRAM usage statistics on one of my older machines: 125M Active, 42M Inact, 51M Wired, 17M Cache, 34M Buf, 2720K Free In total, there is 256MiB of memory installed. ...
0
votes
1answer
84 views

Export NFS share to all IP addresses

This is my current /etc/exports on my freeBSD machine /shared -alldirs 177.16.8.77 how do I share /shared with all IPs and not just 177.16.8.77 ?
0
votes
1answer
73 views

Finding memory corruption bugs in Linux and FreeBSD

In windows, we can enable page heap verification using gflags to catch memory corruption bugs more easily. Is there a similar service/program for Linux and FreeBSD operating systems?
1
vote
0answers
62 views

Capture a screenshot of XDM login screen?

I would like to screenshot my XDM login screen on FreeBSD-CURRENT. It’s currently configured on ttyv8. What I’ve tried: I have tried xwd with various options from ttyv1, but it reports is cannot ...
0
votes
1answer
133 views

play MIDI (*.mid) files in firefox

Many of the (German) Wikipedia articles about bands contain short music samples, like the one for Emerson, Lake & Palmer. (Look for the speaker symbols). Firefox then asks for an application to ...
1
vote
2answers
57 views

How to make + work in sed's regexps on FreeBSD?

Consider the following typescript: $ freebsd-version 10.0-RELEASE-p5 $ echo ' found' | sed -n '/[[:blank:]]\+/p' $ echo ' found' | grep '[[:blank:]]\+' found When I do this on Arch Linux with GNU ...
1
vote
1answer
311 views

Run a Python script in the background on boot

I recently installed the Google App Engine Development server on my FreeBSD home server to be able to test my GAE app remotely. What I can't figure out is how to run the Python development server as a ...
1
vote
1answer
209 views

Why can't I import an ZFS pool without partitioning the data disk with fdisk?

I have a strange situation here, in which I am unable to import an ZFS pool that I brought from another OS UNLESS I fdisk the disk of the pool. I am puzzled as to why this is happening and hoping to ...
3
votes
1answer
207 views

Fix partition alignment in FreeBSD

I'm working on a FreeBSD 8.x (pfSense 2.1) system and post-install, realised that the partition is misaligned to the disk (starts at sector offset 63). GParted doesn't recognise UFS so that is out. ...
4
votes
1answer
609 views

ZFS: Trying to remove top-level drive from Zpool

I have a zpool called storage that contains a five device raidz1 array. Today I went and bought another 3TB device and put it in my enclosure. However, instead of creating a new pool and adding that ...
1
vote
1answer
538 views

How to fix “pkg: Not enough space in /var/cache/pkg, needed 32mib available” error?

I'm a beginner on FreeBSD and downloaded the latest version from ftp://ftp.freebsd.org/pub/FreeBSD/releases/. After the installation I wanted to install the nginx web server on my virtual OS (using ...
3
votes
1answer
852 views

How to install FreeBSD in minimum size?

I want to install FreeBSD to run a squid cache server on it. I want to know how can I can make this installation as small as possible? I installed the boot-only ISO file on virtual box, but it took ...
0
votes
1answer
57 views

Upgrade FreeBSD using DVD?

I have a FreeBSD installation that had an upgrade failure between 8.? and 9.4 (IIRC). In the interest of getting 10.2 working properly on the machine, I downloaded the DVD image and burned a disc. Now ...
2
votes
1answer
232 views

Using pkg add with a NanoBSD image

I'm running into a problem on a NanoBSD installation where I cannot install OpenJDK7 via pkg add because it first saves to either /tmp or /var (not sure which) and on a NanoBSD installation, there is ...
0
votes
0answers
380 views

RaspberryPi GPIO FreeBSD assignment

First my Assignment: I'm a beginner with BSD and low level peripherals like GPIO etc., and I need to toggle Raspberry GPIO Pins from a C programme on BSD. I am Using this BSD Image i took from here: ...
0
votes
1answer
273 views

How to set proxy with a config file provided in freebsd

I'm currently trying to update and install packages and other things on a FreeBSD server, but I’m blocked by my proxy. I'm in an university, and there are a few proxies before to go on the internet. ...
3
votes
1answer
287 views

What does iwa/iwl/iwm/iwn mean in FreeBSD?

I have a Lenovo Thinkpad T440 which I was looking to install FreeBSD on. The laptop has an Intel Dual Band Wireless-AC 7260 chip which doesn’t seem to be supported (yet). On my travels, researching ...
2
votes
1answer
40 views

understand the output of bsdlabel

I have a Juniper router which uses Junos(based on FreeBSD) operating system where I can backup certain partitions from router CLI. Under the hood router starts the restore process and copies ...
3
votes
1answer
166 views

No packages Apache and mod_wsgi3 have been found in the repositories

I'm trying to instal Apache24 and mod_wsgi3 to my FreeBSD VPS (droplet) with this command: sudo pkg install bash ap24-mod_wsgi3 py27-virtualenv mysql56-server but apparently 'ap24-mod_wsgi3' has ...
1
vote
2answers
87 views

`last` alternative showing logins only for current user

I'm aware that I can use last $USER, however this won't work correctly or securely on machines with many users - no user should know another users IP or when they logged in. Is there a known solution ...
1
vote
2answers
489 views

How do I disable the system beep in FreeBSD 10.1?

How do I disable the system beep on the console in FreeBSD 10.1? The recommended commands don't work. The sysctl setting: # sysctl hw.syscons.bell=0 hw.syscons.bell: 1 -> 0 # sysctl -a | grep ...
6
votes
2answers
5k views

How do I set dhclient debug info on?

On a FreeBSD computer Is there a DHCP client log that I could use to debug a DHCP issue? Can I set a debug param to get more information from the dhclient? UPDATE #1 I found a lead on this ...
0
votes
1answer
517 views

Trying to use portsnap to install vim in FreeNAS

I am trying to install vim in FreeNAS but when I try to use portsnap, I get "command not found". When I tried using pck_add -r portmaster I get the following: pkg_add -r portmaster Error: Unable ...
1
vote
1answer
63 views

Giving a FreeBSD talk. How do I pronounce rc.conf? [closed]

I was going to do a short talk about FreeBSD, but I'm at a lost at how certain things are customarily said when in person. How would someone say /etc/rc.conf? I think it would be "Arrh Ceee dot ...
6
votes
1answer
36 views

How can I tell which of my ports I compiled myself and which I installed from pre-compiled binary packages?

I have two FreeBSD 10.2-RELEASE systems and I'm trying to set up the second to be almost identical to the first. I don't wish to use ZFS snapshots for this task; I would just like to select, install, ...
4
votes
1answer
86 views

Prevent users changing password in FreeBSD

How can I prevent a user to change its password in FreeBSD. In Linux i can do this by using chage -m 99999 <username> where chage is found in shadow-utils Reason for this is I created one shell ...
0
votes
0answers
15 views

FreeBSD's built-in ftpd and awstats

How can I use awstats with the FreeBSD's built-in ftpd's xferlog? Sample lines from /var/log/xferlog (simple syslog): Sep 12 19:05:51 bsd-vps ftpd[35082]: connection from ###.###.###.### Sep 12 ...
1
vote
3answers
5k views

How to forward port by (sub)domain name?

I have this setup: a (Host) FreeBSD 9.2 host server running VirtualBox with another (Guest) FreeBSD guest server. I have set up port forwarding on the Host to the Guest like this: VBoxManage ...
1
vote
0answers
106 views

Unable to run OpenLDAP on freeBSD

I've installed openLDAP on my FreeBSD machine. When I try to run the service, I get the following error. Unrecognized database type (mdb) Can someone point me towards what could be wrong?
1
vote
1answer
89 views

ex/vi: Input encoding conversion not supported

I've a problem with vi, every time I launched it I get this message: Input encoding conversion not supported; /tmp/vi.PSzqmm9ox9: new file: line 1. Despite of this message I'm able to edit and save ...
4
votes
1answer
219 views

TCP Westwood implementation available?

Is there a way to install TCP Westwood congestion control algorithm module for FreeBSD? If not, maybe there's a source code available that could be compiled into a loadable Kernel module?