0

How-To : Use Raspberry PI as Wireless Access Point

-

Here is how to turn Raspberry PI with Linksys WUSB100 v2.0 adapter and Raspbian into wireless access point. This might be handy for conference rooms where you have wired connection, but wireless signal is too low. Just quick setup on Raspberry, plugin the cable and you have wireless available.

Install required packages

apt-get install firmware-ralink wireless-tools hostapd bridge-utils

Modify /etc/network/interfaces to add bridge interface

auto lo br0

iface lo inet loopback
iface eth0 inet manual

allow-hotplug wlan0
iface wlan0 inet manual

iface br0 inet dhcp
bridge_ports eth0 wlan0

Once network configuration is modified reboot Raspberry PI.

Create /etc/hostapd/hostapd.conf file to define access point configuration

interface=wlan0
driver=nl80211
bridge=br0
country_code=PL
ieee80211d=1
ssid=raspb3rry-wifi
hw_mode=g
channel=6
wme_enabled=0
macaddr_acl=0
auth_algs=1
wpa=2
wpa_passphrase=raspberry123
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

Add configuration information to /etc/default/hostapd

That will make hostapd daemon to start automatically each time Raspberry PI will bootup.

DAEMON_CONF="/etc/hostapd/hostapd.conf"
0

Code snippets : Passing credentials to Get-WmiObject in PowerShell

-

If there is a need to pass specific credentials to Get-WmiObject in order to gather information from remote machine, here is how you can do it:

$LAdmin = "DOMAIN\Administrator"
$LPassword = ConvertTo-SecureString "Password!" -AsPlainText -Force
$Credentials = New-Object -Typename System.Management.Automation.PSCredential -ArgumentList $LAdmin, $LPassword

Once $Credentials object is created you can easily use it to gather information from remote PC:

Get-WmiObject -ComputerName $computername -Class Win32_VideoController -Namespace "root\cimv2" -Credential $Credentials
0

How-To : Automate application mapping using SCCM 2012 Powershell

-

During mass reainstallation/redeployment/migration of large number of PCs, always question about applications is raised.

How to deploy/deliver applications once all machines are resintalled?

If you have SCCM in the infrastructure, this might help a lot with automation. All you need is mapping between computer name and applications (to be more specific collection ids) and PowerShell console on SCCM server.

Then you just need to prepare input files for the script below and you can automate application deployment on mass scale.

(more…)

0

Apps : Cisco7PCF for Windows

-

Just released small app for Windows platform. This app allows to decrypt type 7 password from Cisco devices as well as passwords from Cisco VPN profiles (PCF files).

Password which can be recovered using this app:

  • wireless keys fro Cisco access points,
  • RADIUS/TACACS shared secrets
  • NTP authentication keys
  • Enable passwords (NOT enable secrets, which are stored using MD5)
  • enc_GroupPwd – VPN group password from PCF file
  • enc_UserPassword – VPN user password from PCF file

Application also allows to store password and/or send tchem via email after decryption.

You can find app in Windows Store:

Cisco Password Decryptor

0

Cheat Sheet : SCCM Client Versions

-

Handy information during pre-deployment checks/validations.

System Center 2012 Configuration Manager Beta 2 5.00.7561.0000
System Center 2012 Configuration Manager RC1 5.00.7678.0000
System Center 2012 Configuration Manager RC2 5.00.7703.0000
System Center 2012 Configuration Manager RTM 5.00.7711.0000
System Center 2012 Configuration Manager CU1 5.00.7711.0200
System Center 2012 Configuration Manager CU2 5.00.7711.0301
System Center 2012 Configuration Manager SP1 Beta 5.00.7561.0000
System Center 2012 Configuration Manager SP1 5.00.7804.1000
System Center 2012 Configuration Manager SP1 CU1 5.00.7804.1202
System Center 2012 Configuration Manager SP1 CU2 5.00.7804.1300
System Center 2012 Configuration Manager SP1 CU3 5.00.7804.1400
System Center 2012 Configuration Manager SP1 CU4 5.00.7804.1500
System Center 2012 Configuration Manager R2 5.00.7958.1000
System Center 2012 Configuration Manager R2   Hotfix: KB 2905002 5.00.7958.1101
System Center 2012 Configuration Manager R2 CU1 5.00.7958.1203
System Center Configuration Manager 2007 4.00.5931.0000
System Center Configuration Manager2007 SP1 4.00.6221.1000
System Center Configuration Manager2007 SP1 (KB) 4.00.6221.1193
System Center Configuration Manager2007 R2 4.00.6221.1193
System Center Configuration Manager2007 SP2 4.00.6487.2000
System Center Configuration Manager2007 SP2 (KB) 4.00.6487.2111
System Center Configuration Manager2007 R3 4.00.6487.2157
0

Cheat Sheet : Deprecated/Removed features in Windows Server 2012 R2

-
Windows Server 2012 Windows Server 2012 R2

Feature

Removed Deprecated Removed

Deprecated

AD FS v1 Web Agent x
AD FS in-place upgrade from AD FS 1.0 or “out of box” AD FS 2.0 x
AD FS support for “Resource Group” x
AD FS support for NT Token mode x
AD FS support for using AD LDS as an authentication store x
AD RMS license revocation x
AD RMS SDK x
Application Server role x
Built-in drivers for tape drives x
Cluster Automation Server COM API x (made optional) x (optional)
Cluster.exe command-line interface x (made optional) x (optional)
CertObj COM and InetInfo interfaces of the Web Server role x
Dcpromo.exe x
Dfscmd.exe x
Drivers for Jet Red RDBMS and ODBC x x
File Replication Service x
GAA_FLAG_INCLUDE_TUNNEL_BINDINGORDER flat in GetAdaptersAddresses x
Internet Information Service (IIS) 6.0 Manager x
Layered Service Providers x x
IscsiVirtualDiskSnapshot and associated WMI methods x
LPR/LPD protocol x x
Namespace for version 1.0 of WMI; WMIC (in WMI) x x
NDIS version 5.0, 5.1, and 5.2 APIs x x
Net DMA x
Network Access Protection (NAP) x
Network Information Service (NIS) and Tools (in RSAT) x
Nfsshare.exe x
NFSv2 support x
Oclist.exe x
ODBC support for 16- and 32-bit applications and drivers x x
ODBC/OLEDB support for Microsoft Oracle x
ODBC/OLEDB support for SQL beyond SQL Server 7 and SQL 2000 x x
Providers for SNMP, Win32_ServerFeature API, Active Directory, MSClus WMI1.0 (in WMI) x x
Recovery disk creation x
Remote Data Service x
Role Collector (Ceiprole.exe) and associated API x
SCSIport host-bus adapter x
Servermanagercmd.exe x x
SIS Limited API x
Slmgr.vbs options x
SMB 1.0 x
SMB.sys x
SMTP and associated management tools x x
SQLXMLX x x
Storage Explorer snap-in for MMC x
Storage Manager for SANs snap-in for MMC x
Subsystem for UNIX-based Applications x x
Support for 32-bit cluster resource DLLs x
Support for hardware drivers for XDDM x
Support for Microsoft SQL Server prior to 7.0 x
Support for native VGA via the PC/AT BIOS or UEFI CSM x
Support for Static VMQ x
Support for Token Rings x
Support for Visual Studio Analyzer 2003 over ODBC, OLEDB, and ADO x
System Image Backup (“Windows 7 File Recovery”) x
Telnet server x
VM Chimney (also called TCP Offload) (in Hyper-V) x
Windows Server 2003 domain and functional levels of Active Directory x
Windows Authorization Manager (AzMan) x x
Windows Help executable (WinHlp32.exe) x
Windows Identity Foundation 3.5 x
Windows Server Resource Manager x x
Winsock Direct x x
WMI root\virtualization namespace v1 (in Hyper-V) x x
XDR schema elements, XSl pattern feature of MSXML3 (in XML) x x