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

0
votes
1answer
21 views

c vim garbles 1st character of file when using via mobaxterm

this thing drives me crazy, and I am unable to find a solution... I am logging in to a FreeBSD machine via ssh using MobaXterm. Every time I open a text file with vim, it replaces the first character ...
2
votes
1answer
30 views

How to ssh in to BSD vm as root

I'm using vmware fusion pro 7 on OS X 10.10. I'm having trouble ssh-ing in to my vm as root. The process is simple ifconfig pull ip. Open terminal window ssh root@ip. However I can't seem to gain root ...
1
vote
0answers
13 views

Is there a Linux `setfacl --test` equivalent for BSD?

The Linux version of setfacl, as opposed to the BSD version has that very handy --test option: --test Test mode. Instead of changing the ACLs of any files, the resulting ACLs are ...
1
vote
0answers
13 views

FreeBSD turning off offloading

How can I turn off the following in FreeBSD? tx checksum offloading rx checksum offloading tcp segment offloading large segment offloading
0
votes
0answers
10 views

802.11n support with pfSense

I recently set up a pfSense router and I can't seem to get the Wireless interface up and working. I'm using a 300Mbps Wireless N PCI Adapter (TP-Link TL-WN851ND) configured as ath0. The interface ...
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 ...
2
votes
0answers
22 views

How do I set default (not inherit) acl permissions on file creation?

This is with a freenas box (FreeNAS-9.3-STABLE-201506292130). In debian-based linux generally there is a default permissions of 644/755 for files/directories (now 664/775?). As I understand it, this ...
8
votes
2answers
2k views

What prevents rm /dev/null?

What is the mechanism by which rm /dev/null is prevented? Specifically on FreeBSD, but I'm just as interested in all other Unix based systems.
0
votes
1answer
21 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 ...
12
votes
11answers
12k views

Inverse multiplexing to speed up file transfer

I have send a large amount of data from one machine to another. If I send with rsync (or any other method), it will go at a steady 320kb/sec. If I initiate two or three transfers at once, each will go ...
4
votes
3answers
3k 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
125 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
1answer
28 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
1answer
37 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
34 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
1answer
51 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
73 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
27 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
17 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
93 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
32 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
359 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
55 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
56 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
37 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
44 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
455 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
58 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
30 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
78 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
131 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 ...
3
votes
1answer
53 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
125 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
352 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
166 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
554 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
56 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
60 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
36 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
23 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
30k 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
38 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
19 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
67 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
945 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" ...