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
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
Recently I found already running VNC landed with blank screen out of the moon. Debugging revealed after uninstalling some packages related with Window/Desktop managers, existing xstartup of VNC failed to call Desktop manager. Experienced frequently with Gnome. My VNC again came back to life with below xstartup which instructs VNC to call DM explicitly. Read the rest of this entry
If you manage your own DNS & Mail Server , you need to arrange a shield to fight against spamming , phishing and sender address forgeries. We can configure few TXT records in DNS zone that helps upto a great level to maintain a secured email hosting. Read the rest of this entry
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 ?
ISP like wishnet provides a web interface to the customers for activating/deactivating the internet connection. Hence to be connected with internet, user needs desktop/window-manager and browser. Frustrated ? Linux has the commands to rescue you. Read the rest of this entry
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
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
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
On debian, add the official jenkins repo and add signature .
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - echo "deb http://pkg.jenkins-ci.org/debian binary/" > /etc/apt/sources.list.d/jenkins.list apt-get update
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 192.168.1.10 Read the rest of this entry