0

Tips & Tricks : Windows 8.1 as wireless hotspot

-

When you need to use your computer as wireless hotspot, you can easily enable that functionality with PowerShell:

Windows PowerShell
Copyright (C) 2013 Microsoft Corporation. All rights reserved.

PS C:\windows\system32> netsh wlan set hostednetwork mode=allow ssid=Windows-Wireless-Hotspot key=password123
The hosted network mode has been set to allow.
The SSID of the hosted network has been successfully changed.
The user key passphrase of the hosted network has been successfully changed.

PS C:\windows\system32> netsh wlan start hostednetwork
The hosted network started.

PS C:\windows\system32>
5

Tips & Tricks : iTunes store crashes on Windows 8.1

-
NOTE: iTunes version 11.1.4.62 or above is free from that issue.

When trying to access iTunes Store from iTunes installed on Windows 8.1 it crashes. Problem is that iTunes can’t find specific DLL which is used to display content of the store.

In order to fix problem cop: QTMovieWin.dll

from:  C:\Program Files (x86)\Common Files\Apple\Apple Application Support

to: C:\Program Files (x86)\iTunes

and now you can access iTunes Store without any problems on Windows 8.1.

0

Config snippets : Cisco : DHCP on Catalyst switches

-

Usually I tend to create DHCP server on Windows Server. However, sometimes there is no server on site. Only what I have are network devices, workstations and voip phones. In those cases I used to create DHCP server on switches. As environment I operate in contains mainly Cisco devices, each location has at least one or more Cisco Catalyst switches (2960 or 3560) it is possible to provide DHCP service using IOS features. Example contains DHCP configuration for network with different VLANs for data, voice and printers.

Below is short description and set of commands demonstrating how to setup:

  • DHCP scopes
  • Exclusions
  • Define DHCP helper on the interface
  • Check status of DHCP assignments

(more…)

3

How-to : Windows Server 2008 R2 : Installing ADLDS

-

ADAM (Active Directory Application Mode) was predeccesor of ADLDS and Microsoft distributed it as additional download. Now in Windows Server 2008 R2 ADLDS (Active Directory Lightweight Directory Services) are built0in server role. ADLDS offers LDAP-based directory service which can be utilized by application LDAP-enabled. In addition to that ADLDS works as Windows-service and is non-operating-system service which allows multiple instances of ADLDS on same machine.

(more…)

0

Tips & Tricks : Yii framework update issue

-

When Yii-based project doesn’t want to update, there might be missing component.

Once you add one plugin everything goes back to normal.

[root@arb-srv-01 easyforms]# composer update
Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- yiisoft/yii2 2.0.7 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable -> no matching package found.
- yiisoft/yii2 2.0.7 requires bower-asset/jquery 2.2.*@stable | 2.1.*@stable | 1.11.*@stable -> no matching package found.
- Installation request for yiisoft/yii2 2.0.7 -> satisfiable by yiisoft/yii2[2.0.7].

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
[root@arb-srv-01 easyforms]# composer global require "fxp/composer-asset-plugin"

Changed current directory to /root/.config/composer
Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
Using version ^1.2 for fxp/composer-asset-plugin
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing fxp/composer-asset-plugin (v1.2.1)
Downloading: 100%

Writing lock file
Generating autoload files
[root@arb-srv-01 easyforms]#

Hope that helps.

0

How-to : Running Cisco Nexus 1000 as virtual machine on vSphere Hypervisor ESXi 5

-

In one of the previous articles I did quick overview How-to Install vSphere Hypervisor ESXi 5 on VMware Workstation 9. One of the reasons I did that in my Lab environment was to run Cisco Nexus 1000v with NX-OS on it and evaluate this operating system and how it can integrate with other products. So, here is quick overview how to make Cisco Nexus 1000v happen on vSphere ESXi.

(more…)

0

How-to : Create DAG on Exchange 2010

-

Set of screenshots from old archives. It shows how to setup DAG on Microsoft Exchange Server 2010.

If there will be interest in that subject I will put some description around that, just request that in comments.

Otherwise, enjoy step-by-step screenshot guide for DAG on Exchange 2010

(more…)

0

Games : Codes : Skyrim – Removing HUD for better screenshots

-

It is really cool to take a screenshot of the favorite game and have it as wallpaper. Unfortunately usually HUD spoils whole effect.

But… there is a solution 🙂 Turn off HUD.

(more…)

0

Config snippets : Cisco : Configuring SNMPv3

-

Create Read Only SNMPv3 user – IOS

snmp-server group viewers v3 auth
snmp-server user snmpView viewers v3 auth md5 uHNKmuLP0lXOp8ODFkmJ
snmp-server group viewers v3 auth read viewConfig
snmp-server view viewConfig system included
snmp-server view viewConfig internet included
snmp-server view viewConfig mib-2 included
snmp-server view viewConfig cisco included
snmp-server view viewConfig ciscoConfig included
snmp-server view viewConfig ciscoImageMIB included
snmp-server view viewConfig snmpMIB included

Create Read Write SNMPv3 user – IOS

snmp-server group writers v3 auth
snmp-server user snmpWrite writers v3 auth md5 jB7HCiNBoGsk5qgfasHQ
snmp-server group writers v3 auth write writeConfig
snmp-server view writeConfig system included
snmp-server view writeConfig internet included
snmp-server view writeConfig mib-2 included
snmp-server view writeConfig cisco included
snmp-server view writeConfig ciscoConfig included
snmp-server view writeConfig ciscoImageMIB included
snmp-server view writeConfig snmpMIB included

Create Read Only SNMPv3 user – ASA

snmp-server group viewers v3 auth
snmp-server user snmpView viewers v3 auth md5 uHNKmuLP0lXOp8ODFkmJ
snmp-server host inside 0.0.0.0 version 3 snmpView

NOTE: Please keep in mind that certain ACLs might require modification in order to allow SNMP protocol access.

0

Code snippets : Handy wmic commands

-

Some handy wmic commands which might be helpful when automating OS deployment:

wmic bios get serialnumber
wmic computersystem get manufacturer
wmic computersystem get model