0

Tips & Tricks : ShoreTel : Logon and Logoff extension

-

Quick procedure to logon or logoff phone extension to or from ShoreTel IP phone. Steps listed below will allow to bring your phone extension to phone located in remote site and then send back to home ShoreTel IP phone. Of course both phones have to be part of same ShoreTel infrastructure (have to be managed from same ShoreTel HQ server).

(more…)

0

Games : Codes : Skyrim – finding Aldis in Solitude

-

During the quest about Angeline’s daughter it might be not possible even to find Aldis. It is possible that he died during attack on Solitude. In that case some easiest way is to bring Aldis to player 🙂

(more…)

0

Games : Codes : Skyrim – Free camera moves

-

Sometimes would be nice to hover over land of Skyrim and watch everything from above or even take some pictures of cities and places from sky. But how to do that?

Best way to fly around like a bird is to enable free camera moves. That will allow to freely move around and observe everything from above, like bird flying over Skyrim.

(more…)

2

How-to : Package virtual machine for Riverbed Steelhead with RSP

-

RSP platform installed on Riverbed allows to run VMware virtual machines on it. THat gives very powerful environment as Riverbed might become the only appliance deployed for branch office and with WAN optimization we can also provide basic services/systems to site. That gives us huge flexibility and same time no need to deploy additional systems for site can be placed on Riverbed as virtual machines. Of course that reuires special license and also additional RAM would be recommended, so we won’t suffer performance issues (additional memory can be purchased with Riverbed appliance and RSP license, so we get ready to go environment).

But it is not enough to create VMware cityual machine on PC and upload it to Riverbed. Few more steps is involved in the process and here we will go through all steps to see how to prepare virtual machine for Riverbed on Windows 7 PC with VMware Workstation 9 installed.

(more…)

0

Config snippets : Setting NTP server on Cisco IOS device

-

Quick config snippet to setup external NTP server to synchronize time on Cisco IOS router.

labisr-01(config)#ip name-server 4.2.2.2
labisr-01(config)#ntp server 0.europe.pool.ntp.org
Translating "0.europe.pool.ntp.org"...domain server (4.2.2.2) [OK]
labisr-01(config)#clock timezone GMT 0
labisr-01(config)#
Please note that first I setup nameserver on router to be able to resolve NTP server FQDN.

Once NTP server is set we can check status of it:

labisr-01#sh ntp associations
address         ref clock     st  when  poll reach  delay  offset    disp
*~88.191.227.26    82.197.188.130    3    37    64  377    38.7    2.04     1.4
* master (synced), # master (unsynced), + selected, - candidate, ~ configured
labisr-01#
labisr-01#sh ntp status
Clock is synchronized, stratum 4, reference is 88.191.227.26
nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is 2**18
reference time is D442C30E.7A93ED17 (22:58:22.478 GMT Mon Nov 5 2012)
clock offset is 2.0449 msec, root delay is 71.69 msec
root dispersion is 61.25 msec, peer dispersion is 1.36 msec
labisr-01#
0

Config snippets : Timezones for Cisco devices

-

One thing which came handy for me was list of timezones I can use on Cisco devices. That came very useful during NTP deployment. So, here is is… timezones available for use on Cisco platform.

(more…)

0

How-to : Enable SSH on Cisco Nexus 1000v

-

In order to enable SSH access to Cisco Nexus 1000v (if it’s not enabled yet) followign commands have to be issues from Console or Telnet connection:

Nexus 1000v Switch
login: admin
Password:
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2012, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
nexus1000v# conf t
Enter configuration commands, one per line.  End with CNTL/Z.
nexus1000v(config)# ssh key rsa 2048 force
deleting old rsa key.....
generating rsa key(2048 bits).....
.
generated rsa key
nexus1000v(config)# ssh server enable
nexus1000v(config)#

Now you can use SecureCRT or PuTTY to connect to Cisco Nexus vis SSH of course if IP address is configured on the device and it is connected to network 🙂

4

Config snippets : OpenSSL for Windows can’t find openssl.cfg

-

Little issue with OpenSSL for Windows came out recently when I tried to create certificate request. Just after installation when tried to generate cert request got error message:

WARNING: can't open config file: /usr/local/ssl/openssl.cnf
Unable to load config info from /usr/local/ssl/openssl.cnf

Reason was that by default OpenSSL couldn’t find configuration file (even if it was located in same folder as excutable file).

So, to fix it just set environmental variable with information where openssl.cfg file is located:

set OPENSSL_CONF=c:\OpenSSL-Win32\bin\openssl.cfg

You can consider adding this to system environmental variables.

0

Config snippets : PostgreSQL : Listening on all IP addresses

-

After installation PostgreSQL is listening on localhost only. To change that adjustment has to be done in postgresql.conf.

(more…)

1

Code snippets : PostgreSQL : Add new superuser after PostgreSQL installation

-

After I instaled PostgreSQL on Amazon Linux AMI, first thing after database server was up and running I start thinking how to create user with administrative privileges, so I can access it using some management applications.

So, here is how to create superuser and set password, which will allow to access PostgreSQL using admin tools.

(more…)