Auto connect Alliance Broadband


Alliance Broadband a known ISP having web based authentication and sharing IP Connector tool for window users only, made my life difficult. It was mandatory to start X and then a browser to complete the authentication even I wanted to just upgrade the box. And that challenge is nicely handled by Linux itself. Read the rest of this entry

X broken as drmSetMaster failed


That was a bad evening, I upgraded my debian box and X failed to start throwing below errors.

6017.269] (EE) modeset(0): drmSetMaster failed: Permission denied
[ 6017.269] (EE)
Fatal server error:
[ 6017.269] (EE) AddScreen/ScreenInit failed for driver 0

Read the rest of this entry

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