Operating Systems

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 152015
Hide user accounts on Windows logon screen

To hide user accounts on Windows logon screen:

  1. run Registry Editor (at Run type regedit or regedt32 and press Enter)
  2. once in Registry Editor go to HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
  3. in the left panel, right click on Winlogon, select New and click Key
  4. type SpecialAccounts and press Enter
  5. in the left panel right click on SpecialAccounts, select New and click Key
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

Oct 292013
NeverFail Heartbeat DNSupdate for servers not in AD

NeverFail’s Heartbeat allows installation of servers (nodes) in 2 ways:

  • High Availability (HA), commonly called LAN implementation, in which nodes have the same IP address and Packet Filter is responsible for isolating respective node from the network by blocking (filtering) traffic on Principal (public) interface
  • Disaster Recovery (DR), commonly called WAN implementation, in which nodes have different IP addresses and
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 202013
SolarWinds Orion Webconsole slow...

Well, that is very common complain. And in majority, and I mean majority cases I came across it is related to the way system’s environment is set up. Starting from the fact that everybody is going virtual without serious review of requirements to meet expectations, to simple DNS mistakes. So to highlight how to go about it:

  1. check OS itself
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://svn.freebsd.org/base/stable/9 /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