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

learn more… | top users | synonyms

2
votes
1answer
138 views

Custom Resolution For vt Console in FreeBSD 10

In FreeBSD 10 there is new vt driver for having nice framebuffer console. By default it chooses resolution from the EDID data of monitor. However, I have a display that has incorrect EDID data. ...
1
vote
2answers
154 views

Different Congestion Control algorithms in FreeBSD

Is there a way I can run a different (than the default) TCP congestion control algorithm in FreeBSD? I am trying to modify an existing TCP congestion control algorithm with some ideas published in ...
1
vote
1answer
46 views

FreeBSD desktop

I don't know how to set up a desktop environment.Some explanations along with the commands to type in console after fresh installed FreeBSD would be nice.
0
votes
0answers
283 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: ...
3
votes
1answer
220 views

Keys for copy & paste in FreeBSD console

How do I copy paste text inside the FreeBSD console? I tried ctrl + c, ctrl + v super + c, super + v I have FreeBSD 10.1 installed in VirualBox on a Mac. I am selecting text with the mouse in ...
1
vote
1answer
161 views

Cannot install composer on FreeBSD 10

I have a FAMP SERVER I'm setting up. FreeBSD 10.1 Apache 2.4 MySQL 5.6 Php 5.6 Everything working ok so far. I installed symfony no problem but now trying to install composer. curl -sS ...
1
vote
0answers
37 views

FreeBSD: Control operational and administrative status of virtual interface

I'm looking for a way to freely control the administrative and operational status of a virtual interface as seen by a snmp get requests: $ snmptable -c public -v 2c myserver iftable SNMP table: ...
0
votes
1answer
90 views

FreeBSD bootable usb

How can I make a bootable USB stick with FreeBSD on it and then boot the image from Plop Linux? (I am using Linux mint) I want to install this OS ,also I want to know if Plop will detect the the BSD ...
2
votes
1answer
42 views

What is the difference between the FreeBSD flags, immutable and unlink?

What are the differences or similarities among the FreeBSD flags, simmutable/uimmutable and sunlink/uunlink? Reading man chflags, I see these flags: schg, schange, simmutable set the system ...
0
votes
1answer
477 views

How to remove a (plugin) jail from FreeNAS

I'm running FreeNAS (v9.2.1.9) as a file and media server and have several jails installed, some of them as plugin jails others as "standard" jails. After I had replaced one of the plugin jails by a ...
3
votes
3answers
9k views

Set up Grub2 to boot Freebsd using either Ubuntu tools or LiveUSB to find what partitions?

I currently have Windows7 and Ubuntu 11.04 (Natty) installed on my computer. I also made a FreeBSD liveUSB (or installer, not sure; just dded their .img to the USB stick) and installed it without ...
0
votes
1answer
119 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. ...
0
votes
1answer
124 views

Cross compile ports freebsd 11

I want to make cross compile environment for raspberrypi. Now I have VM with qemu-arm based cross compilation environment (based on this article), and it is VERY SLOW. I think that native i386 ...
0
votes
0answers
38 views

FreeBSD php (cli) in host system with application jail

Case: platform with FreeBSD (10.1) on the host system and multiple application jails. One of the important goals for multiple jail - multiple php versions. Users have access only in host system. ...
3
votes
3answers
3k 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
1answer
3k views

Which shell should I learn for FreeBSD and Debian?

I have read many articles that say the official shell in FreeBSD is tcsh, and in Debian, its dash. However, when I either echo $shell (FreeBSD) or env in Debian, it says that the shell is csh in the ...
0
votes
1answer
56 views

Ubuntu K/FreeBSD

I was wondering if it is possible to alter Debian K/FreeBSD so it becomes Ubuntu? I know there are builds of Debian 7 running on FreeBSD, so would it be possible to get a working Ubuntu system with ...
0
votes
1answer
121 views

What's the difference between the three FreeBSD versions?

What is the difference between the three FreeBSD versions (Current, Release and Stable)?
1
vote
0answers
26 views

Configure the network interface to send frames with 802.3 format on freebsd

Is it possible to configure my Freebsd (or Linux) so that all frames are sent in the 802.3 frame format (with the LLC part of 802.2) rather than Ethernet 2 frame format ? Thank you
17
votes
6answers
2k 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 ...
1
vote
1answer
39 views

Can not get the file names with convmv

I have just uploaded some files on a FreeBSD server. Some files have the ??? into their names. The files came from a windows machine, so I try this: $ convmv -f cp850 -t utf-8 * Starting a dry run ...
1
vote
0answers
144 views

GitLab install: psql error “role ”git“ does not exist” [closed]

I'm new to Unix administration. I have a virtual machine with FreeBSD 10.1 and I would like to install GitLab. I used this guide to install it, but on step 4 it doesn't work: ...
3
votes
1answer
329 views

GCC not runnable on FreeBSD

I'm trying to run GCC on FreeBSD and I get this error: % gcc ar: unrecognized option `--plugin' usage: ar -d [-Tjsvz] archive file ... ar -m [-Tjsvz] archive file ... ar -m ...
1
vote
0answers
56 views

How do I check checkboxes using only a keyboard?

I apologize for the simplicity of this question. When I am in an install wizard, how can I check the check boxes using only a keyboard? I have tried every conceivable keyboard command. +, -, Enter, ...
1
vote
2answers
692 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 ...
4
votes
1answer
829 views

How do I mount a UFS disk in read-write mode?

I have a system drive that has filled up to the last sector, so that it doesn't boot anymore. The file system is UFS (it's an old Freenas 0.7 installation), but since UFS write support doesn't appear ...
0
votes
1answer
218 views

Not able to install modules p5-Expect, P5-IO-Tty, p5-IO-Stty, p5-Digest-MD5, p5-YAML in FreeBSD 10

I have installed OS FreeBSD 10.1 and installed perl 5.16 from my folder /usr/ports/lang/perl5.16. then i did: # portsnap fetch # portsnap extract then I am trying to make install clean port ...
4
votes
1answer
3k 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 ...
7
votes
1answer
1k views

How to boot FreeBSD system with broken bootcode?

I have an HDD (or SSD, or flash drive) with FreeBSD installed on it, and somehow I broke the bootcode (first 446 bytes of MBR). How could I boot into this FreeBSD?
0
votes
1answer
50 views

No buffer space available when using Dummynet in FreeBSD 9.3

I have a peculiar problem - as soon as Dummynet Kernel module is loaded and appropriate ipfw add pipe 1 from localhost to localhost command is issued, I no longer can ping localhost - I receive the ...
-2
votes
1answer
62 views

FreeBSD and GUIs [closed]

From what I've heard, FreeBSD has no GUIs. Out of sheer curiosity, without even reading the handbook, I installed it onto a CD, then ran it. Only a terminal. Naturally, I was confused. So I look ...
1
vote
1answer
153 views

Is there a canonical method to restrict ssh access to certain IP addresses in Unix?

I checked man pages related to ssh on OS X and other systems and tried using hosts.allow and hosts.deny files as per this post, and sshd_config to no avail. $ cat /etc/hosts.allow sshd: ...
3
votes
1answer
487 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 ...
0
votes
1answer
30 views

How to change the key repeat interval?

How can I change the key repeat interval in FreeBSD? I'm talking about when you hold down a key, and the terminal repeatedly registers key presses for that key. I'm having a problem where if I type ...
4
votes
1answer
125 views

Create a loopback interface and make it permanent (FreeBSD)

I create a loopback interface using: #ifconfig lo1 create The problem is when I reboot the machine I loose my configuration. I tried to modify the /etc/rc.conf file but I didn't figure the right way ...
0
votes
1answer
176 views

What is the purpose of flag kern.geom.debugflags in FreeBSD?

My question is as stated above, on a FreeBSD system, what is the use of the kern.geom.debugflags ? I see it written before the command to write on to a disk. sysctl kern.geom.debugflags=16 What ...
5
votes
2answers
414 views

How to measure PCI-Express bus usage?

I'm looking for a way to find out if PCIe bus is the bottleneck or not. It's not a problem to measure how much bytes was transferred through any particular NIC: Is there a way to find how much ...
2
votes
1answer
178 views

Problem with pkg behind a chunking proxy

I have a freshly installed FreeBSD 10.1 at work in a VM. As it is behind a corporate proxy, I had to set HTTP_PROXY in environment and it began to run fine. But no way to get pkg to work correctly. I ...
2
votes
2answers
617 views

Is there any PF log parser for FreeBSD

I am runing FreeBSD 8 stable with PF as firewall, I am looking for any tool for parsing PF log's.
2
votes
1answer
1k views

Install a package manager in FreeBSD 10

I was trying to install a package using pkg add, but I got the reply that package manager not installed To install that I used: tar -C /tmp -zvxf pkg-1.2.1_1.txz and then: ...
0
votes
2answers
113 views

How to you force fsck at reboot on FreeBSD10?

I need to force a file system check on reboot to try and fix my mounted file system. All the commands/methods I find are obsolete in FreeBSD10 [\u@vader:/root] # tune2fs -c 1 /dev/vtbd0p2 tune2fs: ...
1
vote
2answers
94 views

How to test modified FreeBSD source code?

I am trying to modify the default congestion control algorithm in FreeBSD (NewReno) by creating a copy of the source file (cc_newreno.c, located in /usr/src/sys/netinet/cc) called cc_newreno_mod.c and ...
0
votes
0answers
22 views

How do I set the operating directory in a script in rc.d (FreeBSD)?

I have a rc.d script that fires up a program that normally looks for a configuration file in ~/.app/app.conf. However, when I use service app start (or when it is auto-started at startup), the app ...
4
votes
1answer
7k views

How do I install the latest gcc on FreeBSD?

How do I install the latest gcc on FreeBSD and set up the system so that this latest version would be used to compile further programs? At the moment of this writing, the latest release of gcc is ...
4
votes
3answers
141 views

How to add a user to a group in FreeBSD

How can I add an existing user to a group in FreeBSD? The command usermod does not work.
0
votes
1answer
61 views

ip_conntrack and FreeBSD

We can figure out number of connections in GNU\Linux with ip_conntrack module, And I can print current connections and maximum of connections with: root@debian:/home/mohsen/test/shell# sysctl ...
0
votes
0answers
66 views

Configure FreeBSD pf firewall (non GUI) for beginner

I am running Mac OS X 10.10, but my research has led me to the understanding that the particular flavor of pf was ported from FreeBSD. I have tried the popular GUI software (IceFloor) but it is a bit ...
1
vote
1answer
177 views

Set up multi-head environnement on FreeBSD running X.org

My goal is to set up a multi-head environnement: I need to have an extended desktop available on both screens with the ability to drag and drop windows from one screen to another. The left screen is ...
1
vote
0answers
147 views

Kolab on FreeBSD

I want to install Kolab on FreeBSD 10. It seems there are no precompiled packages available, so I have to compile from source. On Kolab's Git server the latest Kolab server available is version 2.3.4 ...
0
votes
0answers
24 views

FreeBSD bsdinstall menu selection

When navigating the menu selections like Distribution Select and System Configuration within bsdinstall, what keys do you need to press to toggle selected items marked by an * or +?