Tuesday, July 11, 2006

The magic has run out

Imagine, right after my previous post, I was again disconnected.

It means I will again have to run around debugging, and trying all permutations and combinations, and trying them again.

Einstein (I think) once said, madness is doing the same thing over and over again and expecting a different result. Or something like that.

By the way, once you have Linux fully configured and running with all the bells and whistles you wanted, what do you do? What comes next?

I have done something I haven't tried in a long time - sticking to a distro. I am still (happily) with Mandriva 2006. I have a Fedora Core 5 DVD, I have given away Ubunty Breezy Badger CDs (four sets plus one single CD), I have passed up Suse OpenLinux 10.1, and a Debian Sarge DVD. I am expecting to be the recipient of Mr. Shuttleworth's kindness, the latest Ubuntu CDs soon. The question is, will I ever try them?

My next quest is to get a 3D accelerator card - one that runs with open drivers on Linux, of course. Once I move my butt and buy something, I will install a good distribution with XGL and all that shiny shit. Currently, my Intel 865 board creeps with OpenGL. Oh, and I plan to double my 256 MB RAM.


Hey, I want somebody to tell me why installing software on any RedHat like system, with RPMs, tends to slow down the computer so horribly, if you do it from the GUI. There isn't too much of a performance problem if you go $ rpm -ivh xxx_aa-nn.rpm from a shell, but man, does it progressively deteriorate the system if you use a GUI package manager! Is there some tweak that I need to perform?

Tata Indicom Broadband is....weird!

Heh! Imagine my posting this after a full month of getting my connection! I am finally posting this from GNU/Linux

It was the same old story all over again. I thought I had clinched it, and using my connection with Linux would be a very easy task, but I was Wrong. Tata Indicom, like many other broadband service providers, uses PPPOE (Point to Point Protocol Over Ethernet), which means that it sells the very line it has sold to you many times over. Sarcasm apart, it goes like this:

I have installed a lan card (ethernet card) to which Tata have connected their LAN (WAN) cable. I am now part of an always-on network. I use a connection manager, which acts like a dial-up connection dialer (ahem), which helps me to log on to the broadband service. This method of using PPP over the ethernet, instead of a dial-up network, is PPPOE, where the PPP packets are encapsulated within standard-sized ethernet frames. Thus, the ISP has perfect control over authorising who connects, how much data passes through the connection. In itself, it is a cumbersome mechanism, but looks easy on Windows as usually people tend to design the protocols and frontends for the dominant OS.

On Linux, it is the exact opposite of easy. First, Tata Indicom doesn't 'support Linux', which means they won't (usually) help you configure your connection, or most of the time, even offer help over the phone.

Rather than go for a ball-by-ball commentary, I will just post the things I know:

1. On Windows, the Tata Indicom Broadband Manager loads a virtual Tata Indicom Broadband Adapter, which is actually a proprietary protocol developed by one Divinet Technologies of Pune. No mention of Linux support anywhere.
2. You connect with the Broadband Manager, which is basically a command to invoke a network connection, with the following properties: IP configuration through DHCP, and two DNS server addresses. And, your user ID and password. Of course, the tool doesn't have a Linux version.
3. On Linux, you have to search for, and discover some PPPOE connection managers such as RP-PPPOE (www.roaringpenguin.com).
4. You need to first set up your ethernet connection to the LAN/WAN. If you are a normal subscriber, you will need DHCP. Important notice: configure your ethernet card (eth0) to work in half-duplex mode.
5. Download and install rp-pppoe. Configure it. Run it. Waste one month trying to figure out what's wrong. Read lots of documentation, downloaded from within Windows.
6. Try everything under the sun, or within your box, including webmin, drakeconf or system-config-network or ifconfig, or whathaveyou. Fail.
6. Almost give up.
7. Wake up one day and discover that the internet is on automagically. I won't give you much of a clue here.

To make a long story short, IT'S WORKING!!!

p.s.:
8. Live in the constant fear of the magic running out suddenly one day, and your being left to reinvent the wheel once more.