IPTables: Personal Firewall to protect my laptop

Categories: Howto, Linux, Networking

Firewall! What a high sounding word! Means high protection & a safe cocoon for all the newbies. Thats exactly what I did setup in my laptop: A firewall! A personalized firewall. My use cases & reasons were very simple. Every once in a while, I expose my laptop to unsafe open Internet like the cafes, […]

HowTo: Show/Display available network interfaces

Categories: Howto, Linux, Networking, Ubuntu

The biggest problem I found was not identifying all the network interfaces available but the ones that are up. For instance, the 2 quickest way to identify all the available network interfaces are: ip link $> ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default link/loopback 00:00:00:00:00:00 brd […]

Ubuntu: How to solve a GPG Error (BADSIG)

Categories: Howto, Linux, Ubuntu

Well, well, haven’t we all faced this irritating issue where apt-gets begin to fail? I have faced it one too many times. Frustrating and mind-numbing. One of the common error is the infamous GPG Error. A “BADSIG” scenario. For instance, I faced this today: $> sudo apt-get update … … … Ign http://archive.ubuntu.com trusty-security/main Translation-en_IN […]

Ubuntu: Disable start of a service on boot

Categories: Howto, Linux, Ubuntu

A simple problem I was facing in Ubuntu was finding an equivalent of “chkconfig” available on the Redhat flavors. Well, for the unaware people: ‘chkconfig‘ is popularly used for adding or removing any services during boot. In other words, it updates and queries runlevel information for system services. So, my search was for a similar tool […]

Quick tip: Byte order of your system

Categories: Linux, Quick tips, Ubuntu

Byte Order! Well, this is one thing many of us have kinda forgotten and/or don’t bother. Well, after all this is more on how the hardware works and not on how the software is written. Of course, this needs to be taken into consideration in network programming as well but again not so much in […]

Simple Character Device Driver

Categories: device driver, Linux, Linux Kernel

It has been nearly 5 years since I did any work on device drivers. Also since then I have been off C or its sibling languages (on Python now-a-days), I thought first lemme get comfortable with linux kernel (& C, of course) before I can even dream of getting back to my core. In that […]

Wine – Run windows app on Linux

Categories: Howto, Linux, Ubuntu

Wine is a free & open source software application designed to run windows-based application on other operating systems. In English, using wine one can run any windows software (games including) in Linux! Trivia: WINE is an acronym for WINdows Emulator or Wine Is Not an Emulator. Wine for Ubuntu and Ubuntu derivatives Wine is not […]