Configuration snippet I use to enable SSH on Cisco 2811 ISR and Catalyst 3560, but it will work on all Cisco IOS devices with appropriate IOS image which allows SSH to be enabled (IOS which has k9 in image name contains crypto compnents which allow to enable SSH).
As I had to fight with WIndows XP Autologon (we have it on many computers which are used for example for CCTV), I think can write down one more quick tips how to skip Autologon feature and use different account to access computer (for example to install Windows Updates).
So, situation I was dealing with was computer with Windows XP, connected to Active Directory domain with Autologn feature enabled. After computer started I’ve seen welcome dialog and after pressed ctrl-alt-del autologn procedure kick in and login to computer with restricted account. How to skip autologon process and be able to enter different username and password?
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.
Recently I decided to use Amazon AWS EC2 platform to host systems in the Cloud. As operating system I needed is Linux I quickly deployed Amazon Linux AMI, which is quick and simple to do.
Once instance was created I downloaded key pair. Now it came down to connecting to my virtual machine in the cloud.My SSH client of choice is SecureCRT. Let’s see how to configure session parameters in SecureCRT in order to connect to Amazon Linux AMI instance hosted on EC2 platform.
I’m using SecureCRT 7.0.1 to connect to server hosted on Amazon EC2 platform.
Some time ago I had to transfer SQL Server databases from remote retail locations to central system. At that time whol einfrastructure was operating on Microsoft SQL server 2000 and link in remote locations was 128kb/s ISDN. At that time I thought that the best idea will be backup database to local hard disk on SQL server, RAR it and FTP compressed backup of SQL database to headquater. It did work quite well. So, below is a script I scheduled to be run as part of scheduled job defined on SQL Server Agent.
Before script will be used few things have to be customized:
- location for database backups – @archive_path – default: F:\Backup
- location of WinRAR application – @archive_cmd – default: C:\Program Files\WinRAR
- IP address of FTP server – default: 192.168.10.120
- Username and password for FTP user – default: dbupload/password
- Folder on FTP server for backup upload – default: Site_Backup
As there might ba many remote sites uploading backups, each site can have different folder for data transfer.
Here is script to backup SQL Server database and trasfer backup to FTP server:
When you get a message “Your organization’s policies are preventing us from completing this action for you. For more info, please contact your help desk.” it means that you might want to apply this fix to be able to open links in emails:
Same fix applies also to other Office applications (they all might be affected along with Outlook).
I’m a big fan of Skyrim 🙂 so, sometimes I will put some codes and clues for that game.
If for some reason you have to leave Lydia and take another person with you and then you want to bring Lydia back you can speed up that process using codes.
- player.moveto a2c94 – will bring you to current Lydia location
- a2c94.moveto player – will bring Lydia to your current location
You might have to split up with Lydia if you need to hire someone else temporarily like in Boethiah quest.
Recently I came up with idea to upgrade operating system on my HP TouchSmart tm2t to Windows 8. In general there was no major issues except one. As this computer has two graphics adapters (Intel for low performance when operate on battery, AMD/ATI for better performance when operate on mains) there was small issue with configuring Switchable Graphics option.
After installation computer was operating only on low performance Intel card and thre was no possibility to switch to AMD/ATI. Here is what I’ve done ot make it work: