Decrypt BitLocker encrypted drive through Linux


Once I had a situation, my work laptop (based on M$ win7 as per choice of organisation) entered into most infamous “Blue screen of Death”. The hard disk was BitLocker encrypted and the data on it was very important for me due to its research value. Do you know how Linux helped me to recover my data ?

Read the rest of this entry

Wifi Access Point and Station on same chip – share internet too


Users of cable-net like 24online need authentication to activate internet connection. If the connection is attached with wifi router, user has to authenticate via wifi in station mode. If internet is required on mobile at the same time, an access point is also required.

Linux can configure both wifi station and access point on the same chip (if supported), so users can get internet on laptop and on mobile devices simultaneously.  This post is based on debain, though the same approach is valid for other distro. It is assumed the wifi station is already configured and internet is available through that station.  Read the rest of this entry

Setup free enterprise grade email hosting for business


So you have a domain and want free Industry standard Email hosting

Well, you are not alone 🙂 Many small business/startup needs such email system from day one. Even users having personal domain also want their own email hosting. Recently I have checked some Free email hosting providers and finally stuck with Zoho. Let me inform you, this post is neither a comparison between free email hosting providers nor an effort to promote Zoho, but a post about how to successfully setup an enterprise grade FREE email hosting on Zoho. Read the rest of this entry

Single click deployment by jenkins



Code is available at local git server. That same server is also hosting multiple tomcat. Jenkins build should pull the git to collect code, prepare mysql DB, execute ant target, finally place the resultant war file at particular webapps folder. Apart from all these build specific tasks, jenkins should shutdown the associated tomcat before ant task and start it again after placing the war file in webapps

Jenkins installation

On debian, add the official jenkins repo and add signature .

wget -q -O - | sudo apt-key add -
echo "deb binary/" > /etc/apt/sources.list.d/jenkins.list
apt-get update

Read the rest of this entry

Setup local domains for intranet


Recently there was a requirement to configure local domains like simpsoft.local, jenkins.simpsoft.local etc.. for the development team. While this could be achieved simply by declaring IP-domain mapping at host machine (/etc/hosts), is not a good solution for a large web development team. dnsmasq is a little gem in Linux perfectly fits in this situation.

dnsmasq a local DNS server with forwarding to upstream DNS 

dnsmasq accepts DNS queries and either answers them from a small, local, cache or forwards them to a real, recursive, DNS server. dnsmasq is DHCP + local DNS with forwarding of all query types to upstream DNS + DNS caching + TFTP server. Being easy to configure it also has reputation for its light weight foot print. As a DHCP is already running in my envioronment, I only need its DNS capabilities. On a debian box install the server as root

apt-get install dnsmasq

Server’s static I.P. is        Read the rest of this entry

Xposed Framework on CM 12.1


What is Xposed Framework ?

Xposed is a framework for modules that change the behavior of the system and apps without touching any APKs. All the modification are done in memory, hence deactivating the module/s revert back the change/s followed by a reboot. Easy !! With Xposed modules a new level of android experience can be achieved.

This post shows how to install Xposed on CyanogenMod-12.1 As there is still no Official release of XposedInstaller and framework for L-5.1, super alpha version is used from xdadevelopers. Credit goes to the developers; @rovo89 for his original work Xposed framework, @romracer for bringing the Xposed framework to Android 5.1  and @C3C076 for his further contribution
Read the rest of this entry