by lunarg on August 18th 2017, at 14:27
There's an issue with the Shorewall package in Debian 9 Stretch, causing Shorewall not to automatically start even when the required configuration files are in-place and/or modified. As stated here, the problem also exists on Ubuntu with some versions of the package (see article).

The problem lies with the package not enabling the startup script in systemd during installation. The solution is to manually enable this by running the following command (as sudo):

systemctl enable shorewall.service

This will enable Shorewall to automatically start during a reboot. Note that you will still have to set the correct parameters in /etc/default/shorewall (and possibly /etc/shorewall/shorewall.conf t  ...
by lunarg on August 9th 2017, at 12:20

You can easily run Transact-SQL (T-SQL) script files (with extension .sql) via the commandline utility sqlcmd:

sqlcmd -S Server\Instance -i C:\path\to\SomeScript.sql

By default, the output is written to the command prompt. You can also save the output to a file:

sqlcmd -S Server\Instance -i C:\path\to\SomeScript.sql -o C:\path\to\TheOutput.txt

Note that when using this, no output is written in the command prompt window.

by lunarg on August 4th 2017, at 16:17

An excellent resources website on how to configure Cisco phones to work on Asterisk. This includes the provisioning of phones, configuring them in Asterisk and enabling advanced functionality for Cisco on Asterisk.

by lunarg on August 1st 2017, at 09:31
You can quickly reset a Samsung A3 smartphone by booting into recovery mode (e.g. when you're locked out):

Turn off the phone by holding down the power button (right side) and then select to power off.

Hold down Volume up, Home and Power buttons to power the device on. Keep Volume up and Home down until you see the Samsung logo. After a while you will get the recovery menu.

Use the volume buttons to navigate in the menu (up for up, down for down). Select wipe data/factory reset, then press the Power button to confirm. Use the same keys to select yes if an additional prompt appears.

The reset takes a very short time after which the recovery menu will be displayed again. Either select rebo  ...
by lunarg on July 28th 2017, at 10:31
Safari has an option to automatically open files that are considered "safe". Usually these are document types (e.g. PDF) but sometimes it may become necessary to add other file extensions that are not considered "safe" by default. This can be achieved easily by adding/editing a plist configuration file to your profile (i.e. user-based setting).

The preferences file is located at ~/Library/Preferences/, and determines whether a specific file extension is considered safe or not.

If the file does not yet exist, create it with the contents below:

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.ap  ...
by lunarg on July 26th 2017, at 12:30
When attempting to connect to a SQL Server 2014 or SQL Server 2016 using SQL Server Management Studio 2012, you may encounter the following error:

Microsoft SQL Server Management Studio
An exception occured while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

Additional information: VIEW SERVER STATE permission was denied on object 'server', database 'master'. (Microsoft SQL Server, Error: 300)

Apparently, this is a known bug when using Management Studio 2012 to connect to a newer version of SQL Server:

The solution is to updat  ...
by lunarg on July 26th 2017, at 10:34
Resolving hostnames locally enables the use of hostnames (instead of IP addresses) without relying on a DNS server. If you do not want to use reverse DNS resolving but still would like to use hostnames instead of IP addresses, then this is a useful workaround. The key is to configure syslog-ng to use only the local DNS cache as a source for reverse DNS lookups, completely eliminating the need for a DNS server (and the negative impact this would entail).

Add the hostnames and IP addresses to the local name resolution file /etc/hosts, then reconfigure syslog-ng (by editing the global options in /etc/syslog-ng/syslog-ng.conf) to use DNS resolving but only use the persistent cache (i.e. whateve  ...
by lunarg on July 24th 2017, at 17:19
In order to succesfully convert Windows systems to a VMware virtual machine, you need to install the sysprep files of the to be converted host. Below is a list of downloads to these sysprep files:

The base folder of where to put the files is always:

%ALLUSERSPROFILE%\Application Data\VMware\VMware vCenter Converter Standalone\sysprep

Extract contents to: base-folder\2k

Available in SP4 or the CD-ROM of Windows 2000 SP4 at Support\Tools\

Extract contents to: base-folder\svr2003


Extract contents to: base-folder\svr2003-64


Extract cont  ...
« August 2017»
« You only find out who is swimming naked when the tide goes out. »
Warren Buffett