Force apt / apt-get to use IPv4
At times, in systems configured to use both IPv4 and IPv6 addresses the debian package manager (apt / apt-get / aptitude) uses IPv6 by default for outgoing connections and fails to resolve/connect. The solution is to force it to use IPv4
-o Acquire::ForceIPv4=true when running
apt-get or apt.
If you want to make the setting persistent just create /etc/apt/apt.conf.d/99force-ipv4 and put
Acquire::ForceIPv4 "true"; in it:
No Comments | Read More...
echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4
Kerala Gramin Bank (KGB) Mobile Banking URL
Kerala Gramin Bank popularly known as KGB, based out of Kerala has banking application for Android phones, but there also exists a web interface, which is not widely publicized. Couldn’t find the link anywhere in the website or even with a google search.
The URL is https://mobile.canararrb.com/kgbmpaywap/kgb
It uses OTP to registered mobile number for authentication, along with a registered PIN.
It does most of the basic functions including balance check, mini statement, NEFT and IMPS based transfers. Really helpful for those who hate to use mobile applications due to various reasons.No Comments | Read More...
Automated fastest mirror selector for Debian
Having a gigabit connection and choosing a far-away mirror causing long time to update system is always frustrating. Its also hard to figure out the nearest mirror for every server, when you are dealing with servers deployed world-wide.
Luckily for Debian, there is a mirror selector which automatically finds the nearest one and uses it while working with apt.
To use it, replace the currently configured Debian mirror in sources.list with the following address:
e.g. for Debian jessie
deb http://httpredir.debian.org/debian jessie main contrib non-free
Its also available for Backports and older versions. More details at http://http.debian.net/No Comments | Read More...
VPS / Server Network Speedtest Scripts
wget freevps.us/downloads/bench.sh -O - -o /dev/null | bash
Script 2: (Credits)
wget dl.getipaddr.net/speedtest.sh 2>/dev/null -O- | bashNo Comments | Read More...
The Fappening incident and my insights
Few days before, when I heard of the iCloud leak and #Fappening, it wasn’t hard for me to find the mentioned files and I queued it for download. Sitting at home reading few books, with an almost unusable laptop, thoughts came to my mind, keeping the privacy issues apart, why do I need to see it?
I don’t even remember hearing those names, stopped collecting porn videos/images a long time ago, but I do watch videos streamed once in a while. Has that got any effect on me? Diving more into it over the internet lead me to many videos, articles and ebooks. Found this particular TEDx video worth sharing. Not just because of the content inside the video, but also the comments.No Comments | Read More...