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"
Tips & Tricks : HP TouchSmart tm2 : Screen Rotation
When upgrading drivers on HP TouchSmart tm2 tablet important is to keep in mind that HP Quick Launch Buttons package might disable screen auto-rotation. In order to restore that functionality remove HP Quick Launch Buttons and install older version of that package from here. Full information about package is available on HP Quick Launch Buttons web page availabel here.
Another option might be registry settings adjustment. Parameters which control screen orientation and bahevior are located under:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hewlett-Packard\HP Quick Launch Buttons\Schemes\Default\8526
There are two important parameters:
Notebook_Docked_DisplayOrientation = 0
Tablet_UnDocked_DisplayOrientation = 3
Available values for those parameters:
0 – primary landscape
1 – seconday portrait
2 – seconday landscape
3 – primary portrait
Apple iOS 6 Released
How-to : Riverbed Service Platform (RSP) installation on Riverbed Steelhead 250H
Previous article about Riverbed covered RiOS upgrade process. In this post I will show how to install Riverbed Service Platform (RSP).
First let’s see how to get RSP image and what is RSP and how this can be used.
RSP can be downloaded from Riverbed Support page (https://support.riverbed.com/software/rsp.htm), where appropriate version for particular RiOS and Steelhead model can be downloaded.
Best source of detailed description will be RSP User’s Guide, so I did use it as source of information.
RSP offers branch-office-in-a-box services with the following benefits:
- A VMware-based virtualization platform that provides the benefits of the most commonly deployed and advanced virtualization tool set
- Support for running up to five different additional services simultaneously on a single Steelhead appliance, depending on the service and Steelhead appliance model
- Support for more services and types of services, including in-band packages located in-line with optimization such as the Universal Threat Management (UTM) security services, proxy solutions such as video or network monitoring services, and improved support for out-of-band packages such as Windows Active Directory, DNS and DHCP management software, and print services.
- A comprehensive, integrated user interface that provides granular control of RSP, including setup, reporting, and the definition of the data flow between services
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 |
How-to : Introduction to Laravel : Create a Laravel Framework project on openSUSE Leap 42.1
It’s a simple step-by-step tutorial, how to setup Laravel project on openSUSE 42.1.
First some requirements to be able to proceed with all steps:
- openSUSE server (I have it as virtual machine with openSUSE LEap 42.1)
- Apache web server install on openSUSE (# zypper install apache2)
- PHP >= 5.5.9 (# zypper install php5)
- OpenSSL PHP Extension (# zypper install php5-openssl)
- PDO PHP Extension (# zypper install php5-pdo)
- Mbstring PHP Extension (# zypper install php5 mbstring)
- Tokenizer PHP Extension (# zypper install php5-tokenizer)
- Phar PHP Extension (# zypper install php5-phar)
Once all above are installed we can install composer.phar and then Laravel Framework…
How-to : Recover Nokia Lumia 820 when OS fails to load
When I tried to install Technical Preview of Windows 10 on my Nokia Lumia 820, I ended up with phone which went into infinite loop of updating.
As a result of that phone became unusable and there was no way to bring it back to life without any additional intervention.
To get phone back to life I used fostware available for free from Microsoft:
- Lumia Software Recovery Tool – http://go.microsoft.com/fwlink/?LinkID=525568
…and here is how that went…
Code snippets : SQL : Backup and FTP Database
When browsing repository of all scripts I did use in past, I found one which might be interesting. What this script does is:
- Backups database to disk (name of database stored in @dbname, patch for backup stored in @archive_path, name of backup fine stored in @fname)
- Compresses database backup using WinRAR (full command where to find WinRAR and how ot use it stored in @archive_cmd)
- Generates set of commands for FTP client (series of xp_cmdshell commands redirecting output to F:\Backup\ftpcmds)
- Uploads compressed backup to FTP server using command prompt FTP client command
I had that as small procedure executed automatically with SQL Server Agent. Script is for Microsoft SQL Server and I was running it on SQL Server 2000 and 2005. Here is code for that small procedure:
DECLARE @fname varchar(255) DECLARE @fname_backup varchar(255) DECLARE @fname_archive varchar(255) DECLARE @archive_path varchar(255) DECLARE @dbname varchar(255) DECLARE @archive_cmd varchar(255) DECLARE @put_cmd varchar(255) SET @dbname = 'dbApplication' SET @fname = @dbname + '_' + LTRIM(STR(DAY(GETDATE()))) + '.' + LTRIM(STR(MONTH(GETDATE()))) + '.' + LTRIM(STR(YEAR(GETDATE()))) SET @archive_path = 'F:\Backup\' SET @fname_backup = @archive_path + @fname + '.BAK' SET @fname_archive = @archive_path + @fname + '.RAR' SET @archive_cmd = '"C:\Program Files\WinRAR\WinRAR.EXE" a ' + @fname_archive + ' ' + @fname_backup SET @put_cmd = 'echo put ' + @fname_archive + '>> F:\Backup\ftpcmds' PRINT @fname_backup PRINT @fname_archive BACKUP DATABASE @dbname TO DISK = @fname_backup WITH INIT EXEC xp_cmdshell @archive_cmd EXEC xp_cmdshell 'echo open 192.168.10.101> F:\Backup\ftpcmds' EXEC xp_cmdshell 'echo user dbupload>> F:\Backup\ftpcmds' EXEC xp_cmdshell 'echo password123>> F:\Backup\ftpcmds' EXEC xp_cmdshell 'echo cd DB_Backup>> F:\Backup\ftpcmds' EXEC xp_cmdshell 'echo bin>> F:\Backup\ftpcmds' EXEC xp_cmdshell 'echo ha>> F:\Backup\ftpcmds' EXEC xp_cmdshell @put_cmd EXEC xp_cmdshell 'echo bye>> F:\Backup\ftpcmds' EXEC xp_cmdshell 'ftp -d -i -n -s:F:\BACKUP\ftpcmds'
I hope that will be handy for someone to automate databsae backups and transfers.
History : Upgrading Windows from 1.0 to Windows 8 Pro :)
Check this out 🙂 Upgrading Windows from 1.0 to Windows 8 Pro.
It’s great video showing the long way we went from Windows 1.0 to current Windows 8 🙂