Mar 192017
Unable to mount FreeNAS Windows shares under FreeBSD

After FreeNAS upgrade to 9.10.2-U2 I lost all Windows shares mounted under FreeBSD (10.3-REL at the time). I’m using following configuration which seem to be working just fine as far as FreeNAS 9.10.2-U1


//ROOT@NAS/DISK1     /mnt/DISK1      smbfs   rw,-N   0       0
//ROOT@NAS/DISK2     /mnt/DISK2      smbfs   rw,-N   0       0
//ROOT@NAS/DISK3     /mnt/DISK3      smbfs   rw,-N   0       0
//ROOT@NAS/DISK4     /mnt/DISK4      smbfs   rw,-N   0       0


Feb 162015
Mount partitions under FreeBSD 10 using diskid

In FreeBSD 10 you will notice that every partition/slice is listed under /dev/diskid/ referencing vendor and a serial number of the physical disk. On my system I can see something like below:


This shows that there is Western Digital hard disk, with serial number WCASJ1263250, which has 1 partition with 1 slice (s1) on it. … MORE

Feb 092015
Observium - new monitoring software

Observium is an autodiscovering network monitoring platform supporting a wide range of hardware platforms and operating systems including Cisco, Windows, Linux, HP, Juniper, Dell, FreeBSD, Brocade, Netscaler, NetApp and many more. Observium seeks to provide a powerful yet simple and intuitive interface to the health and status of your network.

Observium Community is available free and open source. Observium Professional … MORE

Jun 262013
Apache/PHP crashes on FreeBSD

I will focus on Apache/PHP as this is a primary technology stack I interact with but you can freely apply principals demonstrated to debug other applications.
There are two ways to debug an application, the easiest approach is to simply wait for it to crash and generate a core dump that can work with. Another way is to use a … MORE

Jun 192013
Update FreeBSD source tree using Subversion (svn)

First you will need Subversion installed on the system, to do this you can install it from the ports or packages.

From ports:

# cd /usr/ports/devel/subversion
# make install

From package:

# pkg_add -r subversion

You can accept default port configuration options. Once installed you can then update the FreeBSD source tree using following command:

# svn co svn:// /usr/src
Jun 192013
Migrate system from i386 (32-bit mode) to amd64 (64-bit mode)


If an amd64 hardware has been initially installed in 32-bit mode (i.e. as a plain i386 machine), it might later be desired to turn it into a full 64-bit machine.

The recommended way to do this is to back up all personal and important data, and reinstall using an amd64 installation medium.

However, it’s also possible to migrate the … MORE

May 042013
Upgrading Midnight Commander (mc)

Compilation of Midnight Commander (mc) from ports usually goes with no issues. But when it comes to installing port it may actually get stuck on installation of FISH (FIles transferred over SHell protocol). At that point if you are not quick enough it will kill your box or at least make it very difficult to operate further.

To fix it … MORE

Apr 172013
My approach to... daily ports upgrade

I’m rather skeptic on complete automation, especially when it comes to upgrading critical systems. So I run a manual ones instead, mostly daily, but may not be the case when I’m otherwise engaged. In case of ALICE running FreeBSD the task is divided into few separate scripts which in normal run go as follows:

  1. upgrade
    • fetches all new ports and

OpenSSL Commands

 Posted by on 2013-04-14 at 12:03  *nix, FreeBSD, Linux, OpenSSL, SSL  No Responses »
Apr 142013
OpenSSL Commands

OpenSSL is an open-source implementation of the SSL and TLS protocols with versions available for most Unix-like operating systems (including Solaris, Linux, Mac OS X and the various open source BSD operating systems), OpenVMS and Microsoft Windows, even  IBM provides a port for the System i (OS/400).

OpenSSL is commonly used to create the CSR (Certificate Signing … MORE

Upgrading FreeBSD

 Posted by on 2013-04-10 at 00:35  FreeBSD  No Responses »
Apr 102013
Upgrading FreeBSD

Decided to get my FreeBSD 9.0-REL upgraded to 9.1-REL. Kernel upgrade went just fine and no issues when booting into the system. But noticed some ports needed rebuild. So went recompiling all ports with below as I used to in the past

/usr/local/sbin/portmaster -RafCd -m DISABLE_VULNERABILITIES=yes -m FORCE_PKG_REGISTER=yes

For some reason process was exiting pointing at ghostscript and x11. After … MORE