Colorize log files on CentOS and Ubuntu using ccze tool

ccze

ccze is a wonderful tool that brings real joy to the arduous task of reading or searching thru log files. It uses a modular approach to support custom colour formatting for popular applications such as Apache, Postfix, Exim, etc. Continue reading

How to install and use vnstat (Network Traffic Monitor) in Linux

vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It uses the network interface statistics provided by the kernel as information source. This means that vnStat won’t actually be sniffing any traffic and also ensures light use of system resources.
In this article we will show you how to install and use vnStat (Network Traffic Monitor) on RHEL/CentOS linux distribution. Continue reading

SSL/TLS Alert Protocol & the Alert Codes

There have been many occasions where a event corresponding to SChannel is logged in the System event logs which indicates a problem with the SSL/TLS handshake and many a times depicts a number. The logging mechanism is a part of the SSL/TLS Alert Protocol.
SChannel logging may have to be enabled on the windows machines to get detailed SChannel messages. Please refer the following article to do so: http://support.microsoft.com/kb/260729

These warnings sometimes are very helpful in troubleshooting SSL related issues and provide important clues. However, there is not much documentation available on the description of the alert codes. Continue reading

Reset administrator password in Drupal

When in Drupal 8, the password for user #1 (the administrator) is lost and the email notification don’t work, it is possible to set the password via a database query.

You’ll need access to your hosting server’s shell and database in order to reset administrator’s password in Drupal. Continue reading

Asterisk installation on CentOS with YUM

Asterisk PBX

Officially now Asterisk packages repository is gone (but packages are still on place). Asterisk installation manual gone as well. This post is some handy memo on Asterisk install from packages using YUM. Continue reading

Updating Polycom SIP Phone firmware

Polycom LogoThis process can be used on any of the Polycom SIP Phones which support 4.x software today (SoundPoint IP, SoundStation IP, VVX, and SpectraLink models).

This only applies to devices which are already running at least version 4.0.0 of the UCS firmware. In previous versions (Polycom SIP software 3.x or earlier) this manual process was not available.  Also the firmware was packaged differently in the previous SIP versions as the device firmware was provided as two separate binary files, the bootloader image and the application image.  In the 4.x UCS release these were merged into the same binary file.  New devices like the VVX500 and SpectraLink phones have only ever shipped with 4.x UCS releases, while older devices like SoundPoint IP phones may still have previous 3.x SIP releases on them.  In order to utilize Lync integration a one-time update process must first be used to upgrade devices running 3.x to 4.x.

Continue reading

Configuring SENDMAIL for use GMAIL as Relay

Sendmail

To have emails from your linux servers accepted by destination email server you need to send it via trusted smarthost (relay). Google mail relay servers are what we need here. Let’s configure our sendmail for sending mail via gmail relay…

Preparation and installation

Sendmail installation:

Continue reading

Use a Mobile Phone as a GSM Gateway in Asterisk (Asterisk + chan_mobile)

Asterisk + chan_mobileMy task is to use mobile phone as GSM Gateway to my Asterisk with a help of chan_mobile so in case I’m unavailable on mobile people can leave a message in my voicemail box. SMS text messages arrive as emails, my replies to which are sent by SMS.
So I used my old Sony Ericsson k530i phone in pair with Asterisk by connecting it to ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter USB dongle.

Asterisk support for bluetooth connections to mobile phones and headsets is accomplished through chan_mobile. Not all phones are supported, so it’s worth taking a look at voip-info.org’s page which lists the confirmed compatible dongles and phones. I am getting good results with a KY-BT100 dongle and Sony Ericsson k530i phone, Samsung Galaxy S4 phone.

Here is how to connect your mobile phone to Asterisk with chan_mobileContinue reading

Cannot start Microsoft Office Outlook: Cannot start Outlook window

“Cannot start Microsoft Office Outlook. Cannot Open the Outlook Window.” This issue seems to be caused by either an add-on or a navigation pane within the Outlook program being moved in to a position that is illegal within the Outlook program.

  • On the desktop of the computer that receives the error message, close all open windows
  • On your keyboard, hold the Windows key and tap the letter R.

Continue reading

Load more