Recently I discovered something called Proxy ARP. I had seen this earlier in sysctl options but never understood it and why would someone need it, until one day I worked in a networking setup which used this to route traffic from the machine to the Internet. It’s an interesting technique and can solve a big problem when you want to use the currently popular tool, docker in your LAN subnet that has DHCP without having to do some other stuff like port forwarding when trying to give access to others.
If you’d like to access your Linux desktop over the network from anywhere in the world, or just want to share your computer’s resources on the LAN by giving all users accounts on your computer, you can set up a remote desktop server. It is quite easy to do so, and the best part is that it is compatible with the remote desktop client on Windows too, thanks to the software called XRDP which talks Remote Desktop Protocol (RDP).
Are you surprised that a blog that usually used to talk about Gentoo, is now posting about Ubuntu? Well, I made switch on my personal machine to Linux Mint Cinnamon because I was bored with Gentoo. I have nothing against Gentoo, and I still love it. It’s the perfect distribution if you want to customize your OS to the core.
If you are going with Linux Mint, I’d highly recommend the MATE desktop. MATE is basically a fork of the original GNOME 2 project. GNOME 3 / Cinnamon / Unity won’t work with XRDP because they rely on 3D graphics which is not possible (yet) on X11RDP or Xvnc (correct me if I’m wrong). You could also go with the other desktop environments like XFCE or LXDE if you prefer. Even KDE works fine in the remote desktop environment because it does not solely rely on 3D graphics.
GlusterFS is a clustered file system that can be used when you want to share the content across different machines which can be accomplished by NFS as well. But the difference is, NFS failover is hard.
In GlusterFS, you can add two servers known as bricks in Gluster’s terminology on which your volume can be created as a replica. All data is replicated to both the servers by Gluster. GlusterFS has support for advertising the volumes as NFS shares as well, but I didn’t use it because of the basic reason – failover.
Recently Acer launched a new Chromebook with fourth generation i3 processor. As per specifications it will come with 32 GB SSD and will have USB 3.0 port as well. All at a rate of 380$ which is around 23k INR as of writing this article.
Personally I’m not interested in tying myself to a closed sourced OS. I’ve been using Linux since 2007 and can’t move away from various nifty features I get due to either working on the command line or due to desktop environments like KDE and GNOME.
There are a few points which makes that Chromebook ideal for me –
- It is affordable, in fact cheaper than most smartphones launching these days.
- It can run Linux. This one’s rather important.
- It has USB 3.0, a missing feature in most budget laptops which come with Windows or FreeDOS installed, so I can connect an external HDD for my data.
- It has 32 GB internal storage. Currently on my home computer, I have a 128 GB Samsung SSD for OS. My Gentoo installation with GNOME requires about 10 GB. That leaves me with 12 GB data storage directly on the SSD.
I’ll see when this gets launched in India, and will try a demo at some showroom if possible. It’s highly likely that this is my first laptop.
A post after almost a year. But finally I have something new to post.
Linux Virtual Server is commonly employed for load balancing between multiple servers. The load balancer and real servers share a common IP address called virtual IP.
There are three methods for using LVS – Direct Routing, NAT and Tunnelling. The first two methods require direct link between your machines and you should be able to control the routers. There’s no such restriction in the tunnelling method – the servers can be even spread over WAN many kilometres apart.
If you haven’t worked with uWSGI yet for setting up applications of different kinds – let me tell you it’s a Swiss knife. It supports applications written in Python, Ruby, PHP, Perl and recently Java and Go too.
One tool to run a lot of stuff – that means life is easier if you’re on the managing side of the system.
About 2 months ago, I had a spare VPS at my host, Hetzner. So I decided to play with FreeBSD which was being offered for Hetzner servers and VPSes.
That’s how the whole thing started. I didn’t have much problems getting the concepts because it belongs to *nix family of OSes and I have been a pure Linux user since 2008.
First of all the basic difference between FreeBSD and GNU/Linux is that Linux is just the kernel and GNU is the userland. In layman’s terms, the hardware interface is called Linux, while the rest of the part: the shell, core tools, etc are GNU.It’s a piece from there, another from somewhere else and merging the whole thing into one collectively known as GNU/Linux. Linux itself cannot boot without GNU and GNU will not work without Linux (Yes, there is a GNU kernel project called GNU Hurd, but I don’t how far that went).
In FreeBSD, the whole thing is a complete unit. FreeBSD was derived from the original AT&T Unix and open sourced. You can read more about the differences at over-yonder.
Metalog is an easily configurable system logger daemon which can be substituted for standard syslogd and klogd. It has one limitation though, that you cannot log to remote machines. It’s very easy to configure Nginx to use Syslog (Metalog, in my case).
Linux has a in built timezone converter and I have been using various web services ever since.
Timezone is controlled by the TZ environment variable and you can set it to the desired timezone before executing a command, which will make the command think that you are in that particular timezone.
Here’s how to use it:
Fri Mar 1 22:55:56 IST 2013
$ TZ=UTC date
Fri Mar 1 17:26:02 UTC 2013
$ TZ=PST date
Fri Mar 1 17:26:08 PST 2013
$ TZ=CET date
Fri Mar 1 18:26:11 CET 2013
Accidental discovery at it’s best 😀