FreeBSD is a Unix-like operating system which has grown out of the original BSD (Berkeley System Development) of the early days of Unix.

learn more… | top users | synonyms

1
vote
1answer
3k views

Enable TRIM on FreeBSD 9 Install

I recently upgraded all of the parts in my FreeBSD 9 server. I purchased an SSD to run as a the root drive - I'd like to enable TRIM on it but the only documentation I can find on it is that it can ...
4
votes
3answers
2k views

What is the BSD equivalent of Linux `netstat -lptun`?

In Linux, netstat -lptun gives a list of servers with the following details: protocol local and foreign address state PID and program name What is the command's equivalent in FreeBSD? Thanks.
0
votes
2answers
30 views

Missing basic packages like pkg_add?

I recently performed a fresh install of 10.1-RELEASE (amd/x64_86) due to a botched upgrade. It seems like I'm missing basic utilities, like pkg_add. find / -name pkg_add is returning 0 hits (even when ...
0
votes
0answers
56 views

Where can I find copies of past releases of BSD UNIX? [closed]

I am looking for past releases of BSD UNIX. It would be especially nice to find an archive of every release, including the forks into OpenBSD, NetBSD, and FreeBSD. Where can I find a full or partial ...
0
votes
1answer
17 views

isc-dhcpd sanity check fail even though everything looks right

I have a machine in freebsd 8.1 and I am failing to do service isc-dhcpd start it keeps saying "Configuration file sanity check failed" Hint: I copy the /usr/local.rc.d/isc-dhcpd and ...
0
votes
0answers
20 views

mounting FreeBSD-image writeable under Linux; ufs-rw-support without recompiling kernel? [closed]

I tried to mount an image from ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0 under Linux writeable, to enable sshd at boot because I only have network access to my platform. At ...
0
votes
1answer
34 views

No space left: inodes

when I do df /dev/ada0p2 33927814 17086300 14127290 55% / devfs 1 1 0 100% /dev devfs 1 1 0 100% /var/named/dev It seems my ...
1
vote
1answer
33 views

How can you tell who access the root?

It's freebsd: I want to find who type a certain command in root in it's history."xyz" for example. Lets say you have person A B C D and E. All of whom have wheel access. How can I know which ...
0
votes
0answers
4 views

kinit worked but without kinit ssh doesn't work.

Case 1) machine: kinit machine: xxx@production.xxx.com's password: (inputted my password) machine: ssh machineB production.xxx.com Successfully sshd. Case 2) machine: ssh machineB ...
0
votes
1answer
32 views

How do I make netcat timeout nonsilently?

I'm trying to send some data to a server with a command like nc -w 3 IP_ADDRESS PORT < data where nc is the netcat from FreeBSD 5.4. When the server doesn't respond within 3 seconds I get no ...
2
votes
1answer
45 views

Unable to execute root commands inside an openvpn script

I'm using the openvpn option client-connect to run a script when a client connects. The script works fine when I use simple commands but when I add commands that need root privileges it doesn't work ...
0
votes
1answer
25 views

the nature of pxebooting

Got a question regarding pxe-booting into freebsd. Let's assume the following. Machine A = dhcpd/tftp/console server Machine B = no OS (about get one by PXE) After pxe-booting machine B, I expect ...
0
votes
0answers
11 views

Unable to upgrade packages after a major version upgrade

I recently upgraded from FreeBSD 9.3-RELEASE to 10.1-RELEASE. I'm trying to rebuild the packages after the upgrade according to 24.2.3.3. Upgrading Packages After a Major Version Upgrade. When I run ...
2
votes
1answer
78 views

NanoBSD: issue including firmware for ral driver in image

With my current NanoBSD build I'm not able to bring up the ral0 interface. Instead I get the following: ... rt2561sfw: could not load firmware image, error 2 ral0: rt2661_load_microcode: unable to ...
0
votes
3answers
7k views

Cannot access virtual machine via ping from the physical host machine

I'm installing a FreeBSD Server on VirtualBox. I set up the IP address (192.168.10.5) for the virtual server to run a mail server and the host computer(Windows 7) with 192.168.10.184. The two machines ...
0
votes
0answers
23 views

Passenger issue with Rails routes

I have been tasked with getting a Rails 2.3.14 app running with Phusion Passenger 5.0.7 standalone in FreeBSD 9. Setup is all complete and done, the issue I am facing is Passenger doesn’t seem to ...
0
votes
2answers
146 views

Handbrake: Getting avio_open2 failed, errno -2 when converting video on FreeBSD

On FreeBSD 9.2. Getting a cryptic error when converting a video using HandBrakeCLI. $ HandBrakeCLI --preset "iPad" --input "Wolf.Totem.mkv" --output "/mnt/media/Ad Hoc/Wolf Totem.mp4" [17:01:21] ...
0
votes
1answer
29 views

FreeBSD bash history: can't access last symbol of command

There's an old server I am working with, runs modified FreeBSD 6.1 with bash 2.05b.0(1)-release. On 'up' key press the last command from history pops up - but I can't access the last symbol, like the ...
1
vote
4answers
1k views

How can I change the drive number

I installed FreeBSD 8.1 on a machine where the drive was /dev/ad6 but have moved it to a new system where the drive is now /dev/ad4. The new system boots but I need to manually specify that the root ...
3
votes
1answer
49 views

How did I manage to combine O and c to © in PuTTY?

Today's mystery: I was going to type the word "Och", meaning "and" in Swedish. However, I ended up with ©h, and I don't know why, and I cannot reproduce it. The chain of software is as follows. ...
1
vote
1answer
249 views

Running emacs in GNU Screen overrides .emacs settings for [home] key binding in FreeBSD 8.2

If I use the following .emacs file, I am able to go to the beginning/end of the current line using the home/end keys as I would expect. (keyboard-translate ?\C-h ?\C-?) (add-to-list 'load-path ...
1
vote
1answer
43 views

FreeBSD configure package options when installing with pkg

I moved from ports to pkg and I'm trying to find out how can I install package with specific options, like I was able to do with ports (make config). E.g. I need to add LDAP support to sendmail, ...
2
votes
2answers
2k views

4k hard drives freebsd gpart and zfs

I have 3 hdd, with the next camcotrol identify. root@cirmos:/root # camcontrol identify ada1 pass2: <WDC WD10EZEX-00RKKA0 80.00A80> ATA-8 SATA 3.x device pass2: 300.000MB/s transfers (SATA 2.x, ...
0
votes
0answers
25 views

Raising a processes' memory limit on FreeNAS

I am using BackupPC, which is a Free Software backup tool based on rsync for transfers, to back up a FreeNAS box. Recently, with more files being added to the NAS, this has stopped working. I get ...
1
vote
1answer
34 views

how to mount a network drive from specified network adapter in freebsd

I want to mount a network shared drive by my freebsd 9.3. I know This is possible by: mount_smbfs -I 10.1.1.20 //user@10.1.1.20/shared /root/local_folder/ This is done by default from em0. How can ...
3
votes
4answers
451 views

FreeBSD with gnome?

Currenty I am using Ubuntu on my Desktop, but want to give FreeBSD a try. I know that there is a PCBSD but it uses KDE, which I am not a big fan of. So Wondering how to set up FreeBSD with Gnome, ...
0
votes
1answer
43 views

How to zero out unused space on UFS filesystem?

I have a FreeBSD system installed in VirtualBox and i want to compact its vdi. AFAIK, before doing this i need to fill unused space with zeros so VirtualBox can shrink it. On Windows there is sdelete ...
1
vote
0answers
23 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 ...
0
votes
1answer
45 views

Drive does not do “selftest” when using “smartctl?”

I have one drive which does not want to do the selftest: # smartctl -t long /dev/ada3 smartctl 6.2 2013-07-26 r3841 [FreeBSD 9.2-RELEASE-p3 amd64] (local build) Copyright (C) 2002-13, Bruce Allen, ...
0
votes
0answers
73 views

Can't get jumbo frames enabled with Mellanox ConnectX-3 VPI card on FreeBSD 10.1

I have a Mellanox ConnectX-3 VPI card, MCX354A-FCBT, which is configured in 40Gbps Ethernet mode on both ports. It's connected via two passive DAC QSFP cables to an IBM switch. Everything works for ...
2
votes
1answer
37 views

Meaning of red plus sign in FreeBSD ports configuration screen

Maybe a bit of a noob question, but I can't find it anywhere (I googled it, and I've tried the handbook, but I might have missed it): When I install a port and the port asks for configuration ...
0
votes
1answer
95 views

Slow internet connection speed compared to other hosts in the same network

My home network consists of an ADSL modem, directly connected to the Internet, and two laptops, connected to the modem using wireless cards. One of the laptops uses Microsoft Windows 7 and the other ...
1
vote
0answers
214 views

FreeBSD - Samba4 ignoring ZFS ACLs

I have a server running PC-BSD (FreeBSD) 10 and purely ZFS storage. I have created a jail with Warden and installed Samba 4. I have provisioned a domain, using the options for ntvfs and rfc2307 as ...
0
votes
0answers
112 views

FreeBSD with MySQL 5.6 installed fails on first launch

I am trying to start MySQL for the first time. The install_db script runs error free I used: mysql_install_db --user=mysql --basedir=/usr/local But first launch attempt ends with: 2015-03-10 ...
1
vote
0answers
524 views

Install4j, how can I fix “Exception in thread ”main“ java.lang.NoClassDefFoundError: com/install4j/runtime/launcher/Launcher”

I've just downloaded install4j version 5, as my previously working version 4 no longer works with my new JRE, but now I can't get it to do anything other than this: Exception in thread "main" ...
0
votes
1answer
44 views

IPv6 only works incoming and localy on FreeBSD 8.4

I am running FreeBSD 8.4 and have trouble with IPv6. I can connect to my server from outside, connect locally to my jails. But from the server I cannot connect to the outside world. When I ping6 to ...
1
vote
1answer
51 views

Where is this IPv6 address coming from?

When I run ifconfig (after rebooting) on my FreeBSD 8.4 system it outputs this: inet6 fe80::225:90ff:fe10:7e84%em0 prefixlen 64 scopeid 0x5 inet6 xxxx:xxxx:1009::2 prefixlen 64 ...
0
votes
2answers
32 views

How to figure out the revision of FreeBSD ports?

FreeBSD ports are upgradable (with portsnap fetch), ergo they must have some kind of revision which refers to the status of the complete ports collection. Which is easiest way to figure this revision ...
0
votes
0answers
22 views

How to drop privileges in an rc script on FreeBSD?

The manpage on rc makes it sound like one has to specify ${name}_user only in order to make rc drop privileges and execute the service command as the specified user. It doesn't work in my case and the ...
10
votes
3answers
28k views

Creating MP4 videos ready for HTTP streaming

How can I convert some.flv or some.avi or some.wmv with FFmpeg to be sure that this video will be playable and seekable in JW Player?
1
vote
0answers
29 views

how to get output of a running nohup process if nohup.out gets deleted

I have a nohup process running on my FreeBSD 8.4 box. Initially I was looking at nohup console messages output through tail -f nohup.out But I accidentally deleted nohup.out file. How can I access ...
0
votes
1answer
17 views

How to figure out which (potentially uninstalled) port provides a command in FreeBSD?

make search name=X and make search key=Y don't seem to find command names reliably, especially not if they aren't mentioned in the port's description. In Debian-based systems there's apt-file which ...
0
votes
1answer
54 views

How can I import the FreeBSD VM Current Snapshots into VMWare Workstation or VMWare Fusion?

I'm trying to import any of the .raw, .vhd, or .vmdk images from ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/11.0-CURRENT/amd64/ into VMWare Worksation (on Windows) or VMWare Fusion (on ...
1
vote
1answer
747 views

How to fix timezone data in pfSense/freeBSD?

We have special situation with timezones here in Russia. Recently government had cancelled timesave shifting and it was no timeshifts for some time, but recently they decided to make one "last" ...
0
votes
1answer
30 views

FreeBSD default router

I have two network interfaces in a FreeBSD box, both configured with DHCP; each is assigned an IP and gateway. FreeBSD is using the wrong interface for outbound traffic. How can I override the default ...
0
votes
0answers
138 views

Tor browser bundle not starting in Open/FreeBSD

Tor Browser Bundle not starting with both OpenBSD and PC-BSD I have downloaded and extracted 64bit version of the TBB, but when I click the 'start-tor-browser' it doesn't do anything. When I try: $ ...
0
votes
0answers
242 views

NAS4Free and SMB not allows me to access shared folders

I have some troubles trying to create a chared folder on my server hosted with NAS4Free. I enabled the CIFS/SMB service: Create some shares: However if I try to access to these folders from my ...
1
vote
1answer
29 views

Semiautomatic rename of files according to pattern?

I have a lot of files and directories named similar to [Origin]Description[Techinfo]. Sometimes, brackets can be round brackets instead of square brackets, or spaces between the parts. How can I ...
0
votes
1answer
50 views

How to configure a FreeBSD port with default values (recursively)?

After doing a research in multiple search engines and reading https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/building.html and ...
0
votes
0answers
136 views

No ntopng menu item in pfsense

I have ntopng package installed on pfSense. Unfortunately, I don't see appropriate menu item: Why