Saturday, December 27, 2008

Fedora 10 stumbling blocks

Hey Guys,

Having used Fedora (6, and subsequently, 8) for the past two years, I was excited to download the Fed10 DVD within the first few days of its release. The 'few days' was owing to my rather slow 256 kbps connection; the download began on the release day itself :). After 35 excruciating hours, the download was complete. Hurriedly, I burned the DVD and set it to work.

Unfortunately, my excitement was short-lived as I couldn't get it to work. The problem was fundamental: the installer screen appeared scrambled/corrupted. So, indeed, there was no question of proceeding any further. At that time, there were scant threads on any of the help forums, so I was unable to fix the problem. Now, however, things have been sorted out.

Here are the first two stumbling blocks any new Fedora 10 user is likely to encounter:

Installation screen is garbled / scrambled / corrupted / blank

The problem lies with 'Anaconda', Fedora's installer program. Here's how to fix it:

1. At the install screen of Fedora, press tab
2. A command line statement will appear. At the end of that statement, leave a single blank space, and type xdriver=vesa
3. Hit enter, and the installation will begin

That should take care of the problem. The rest of the installation is a piece of cake. Experienced Fedora users will find that there are fewer 'steps' in the installation process, and the dialogs are less ambiguous than previous editions.

Can't login as root from the login screen

Stupid thing (with the OS). Just follow the steps below:
  1. Login as any user
  2. $ su
  3. Enter the correct root password
  4. $ gedit /etc/pam.d/gdm
  5. Find the line that reads auth required pam_succeed_if.so user != root quiet
  6. Place a # (hash, or pound sign) at the beginning of that line. This will comment it out.
  7. Save the file
  8. Logout, and you shall have the right of passage as root

Cant connect to the internet using static IP

Now this is a cool one!! There is a bug in the configuration tool. It copies your default gateway address, to the subnet mask, irrespective of what subnet mask you specify !! Here's the solution:

  1. Login as any user
  2. Go to Applications > System Tools > Terminals
  3. $ su
  4. Enter the root password and hit enter
  5. $ gedit /etc/sysconfig/network-scripts/ifcfg-eth0
  6. Step 5 assumes your network device is called eth0
  7. This will open the network configuration file for the said device
  8. Type the required subnet mask after NETMASK=
  9. Save the file
  10. Quit the text editor
  11. Go to System > Administration > Services >
  12. Disable network
  13. Save settings and quit that dialog box
  14. Go to Network Preferences > eth0 > Edit > Deselect 'Controlled by NetworkManager'
  15. Reactivate eth0 (disable and enable, if already in the active state)
  16. Test connection using your web-browser
That should set things straight. I am still wondering how such a big bug went unnoticed while testing.......

Remember that if you are using DHCP, you are unlikely to face any such problem. DHCP requires the Network-Manager to be enabled.

If you ask my opinion, I have to say, I am pretty disappointed with Fed10, because of these silly bugs and deficiencies, which were not present in the earlier versions, and which you certainly do not expect from any OS that is in its tenth edition!

-----------------------------
Note: The above guide assumes the reader is familiar with Linux in general, and Fedora in particular. Hence, several basic steps and commands have not been mentioned, assuming the reader knows where to find the desired option, and how to set the stuff....

Sunday, October 12, 2008

Initial follow up on openSolaris (oSol)

Okay, now that I've booted from my oSol live CD at least 15~20 times, I think I can say a few words about it. 

  1. Its a breeze for newbies (like me) to get going with this OS. You have an ISO image of the live CD which you just need to Download > Burn > Insert. The OS loads pretty quickly and requires no login in this mode.
  2. It auto-detects and auto-configures your network (at least did that for my cable internet with static IP). It enables the LAN interface when your router/modem stabilises after powering on, and disables the interface when you power it off, or disconnect. Of course, it gives appropriate alerts after taking such actions. You can also turn this feature off, if you want manual control over the network connections.
  3. Like Bjourn (see comment on previous post) said, its a very well-documented OS (what else can you expect from Sun! ), and that helps learners a lot. I found it extremely useful to have a link to the 'guide' located on the desktop, and the entire guide being there on the CD. Sometimes, you cannot / do not want to connect to the internet, and it helps a lot having some offline material to get started with.

Now, here are some shortcomings:

  1. A big bug that exists in oSol 2008.05 is regarding the Screen Resolution setting. The system boots with a default setting of 800x600 px. If you try to change it to 1024x768, the screen goes irrecoverably blank, even though it is not turned off. And one is forced to shut down the system (using the 'soft' power switch; no need to soft-boot using the restart button; the system is still very much alive, even if one can't see anything..) and then start all over again. However, you can prevent this thing from happening by checking the "always use....." option in the same dialogue box. Strange !!
  2. There's no OpenOffice :( Now, I know I'd be asking too much from Sun to providea copy of OO within the 700 MB live CD. Yet, I haven't been able to find a way to get a copy of OO working on oSol
  3. Creating a user directory on a pen-drive doesn't seem to work in the live mode, at least. Will have to retry after making a disk installation

Friday, October 10, 2008

Welcome to openSolaris !!

Hey guys,

Can't wait to write to you about this. Yesterday, I got onto the net to find out some details about SCJP. When I visited Sun's site, I saw a small advert of 'openSolaris'. Now, I had heard of Solaris. But this seemed something interesting... Curiosity got the better of me, and I clicked on the link. The site seemed attractive, and anything from Sun is always welcomed here with open arms. So, there was the link to download a Live CD. It seemed like a very interesting proposition, especially for someone who has got a 40 GB disk partitioned into 5 drives, with no more space left for OS installation !!

Now, until yesterday, I had Fedora 8 as my default OS. And even today, I have Opera as my default browser. Knowing things to be in safe hands (Fedora, Opera, Sun), I started what was to be a night-long download. However, I had never done this kind of thing before. Granted, I have an unlimited internet connection, so, technically, even a failed download should not matter that much. But the fact that the PC coninues to burn power and heat up all through the night, after abandoning the pursuit of a download, somehow makes for a depressing thought.

Anyways, those things apart, I started the download. Now, I have a 256 kbps connection. So, I wanted to get a realistic time estimate of the entire download, and also check on the real speed I was getting. Carefully, I chose a Dutch university server for downloading over FTP. But it didn't give a speed high enough to untilise my entire (though humble) bandwidth. After trying several options, i finally found the best one: BitTorrent download. Clicking on it also led me to discover that Opera (9.5 and later, for sure) has got a built-in torrent handler. So, there, the download started, and was giving a 'phenomenal' rate of 27 KBps (theoretical maximum for my connection is 30 KBps). The estimated time was 8 hours, which meant the file would be downloaded by the time I wake up next morning (I started the download a little before midnight)

When I got up the next morning, the Live CD ISO image was downloaded. Logging in to Windows XP (yeah, thats where I still like to burn my discs from, using old faithful Nero...) I burnt the CD image. Being a Live CD, I immediately inserted the CD for a quick preview, before I even had my breakfast. I expected to see something new, something great, something fascinating !!

However, all hopes were crashed, as I saw the now very familiar Linux-like desktop (I mean GNOME). Subsequently, I discovered that Solaris is also UNIX based, and although architecturally far apart from Linux, it shares the same desktop environment. Neat !

As i write this, I'm at the end of a day of seemingly endless discoveries. Since a Live CD won't remember your customisations the next time you boot up, I've started installing applications on my 8GB Kingston pen-drive (which, incidentally, I bought for a steal, at INR 1,000 ). Here's how I'm going about it:

  1. I've created a /os folder at the root of the drive
  2. Next, I've created the folders /os/fedora, /os/solaris, /os/win_xp, to house the programs (runnable copies, NOT setups ) belonging to each of those OSs
  3. Within each of these direcories, I've created a app directory (e.g/ /os/solaris/app)
  4. Then, I've extracted the TAR files into this directory. (Those who are well-versed with Linux will instantly recognise that applications in the UNIX world do not essentially requireto be setup; just extract the TARballs, and run the program file from its location.)

Thats it. Now, althought, the OS might not remember my customisations, the individual aplications will, as the pen-drive is a read-write media. Besides, I'm saved the hassles of installing these apps over and over again. Now, wherever I go, I carry my apps, ready-to-use, with me! What could've been better?

Now, I'm also exploring the possibility of having a user directory located directly on my pen-drive. Its neither a complex nor a tedious task. But I'd like to rename my drive, something that can be done only in Windows. I'll now logout, get the thing done, and then update you again. Tada.....!

Sunday, September 7, 2008

Java (Sun JRE 1.6) plugin for Opera 9.5 on Fedora 8

Here's the simplest, quickest and easiest way to get your Java plugin working in Opera 9.5:

  1. Assuming you have successfully installed JDK/JRE on your computer, lets say at /usr/java/jdk1.6.0_03
  2. Assuming you have successfully installed Opera 9.5 on your computer, lets say at /opt/opera
  3. In Opera > Tools > Preferences > Advanced > Content > Enable Java
  4. In Opera > Tools > Preferences > Advanced > Content > Java Options > Java Path, type /usr/java/jdk1.6.0_03 and click on Validate Path
  5. Opera will automatically give a 'better' suggestion, for the Java path. Accept the suggestion, and click OK all the way back to the main screen
  6. Restart Opera
  7. Test installation by opening this site: http://www.bseindia.com/ If you see any tickers or 'Loading applet' boxes, your installation in successful

Another reason why a particular site may be unable to load the Java plugin on your computer, is, if Java plugins have been blocked for the site. To remedy this, while on the page itself, right-click > Edit site preferences > Enable Java

Things couldn't possibly be easier than this !!

Thursday, August 7, 2008

The ONLY reliable JDK + JRE

Fedora 8 comes with the bug-ridden IcedTea implementation of JRE with so-called version number 1.7 !! Although this means that you have a pre-installed JRE, it is not recommended to use this package. Instead, install the JDK+JRE provided on the official NetBeans DVD (if you are a hardcore programmer, and use NetBeans like MS Office :D) or download the JRE from Sun's official website: http://java.sun.com

NOTE: Use only Sun's JDK + JRE. Do not use any other implementations.

Fix for JRE/JDK error in Fedora 8

Problem: JRE/JDK fails to install

Error message: Assertion 'c->xlib.lock' failed

Diagnosis: The file libmawt.so has a known bug that needs to be fixed

Solution:

  1. Check if the JDK in question is visible throughout the system. For that, execute $ /usr/sbin/alternatives --config java
  2. If JDK 1.6 is not present, but you are sure you have installed it, execute this: $ /usr/sbin/alternatives/ --install /usr/bin/java java /usr/java/jdk1.6.0_03/jre/bin/java 3
  3. Copy paste the following code into a plain text file & save it with the extension '.sh' in any folder of your choice
  4. Right-click on the file. Select Properties > Permissions > Allow executing file as program (Enable)
  5. Close the dialog
  6. Double-click the file. Select "Run in Terminal"

#!/bin/sh
# S. Correia
# 2007 11 21
# A simple script to patch the java library in order
# to solve the problem with "Assertion 'c->xlib.lock' failed."
# see bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6532373
LIB_TO_PATCH=libmawt.so
for f in `find /usr/java/jdk1.6.0_03/jre/ -name "$LIB_TO_PATCH"`
do
echo "Patching library $f"
sudo sed -i 's/XINERAMA/FAKEEXTN/g' "$f"
done

Points to note:

  1. The patch will work on "as is" basis only for Fedora 8, while trying to install JRE/JDK 1.6 from the NetBeans DVD. For other OSs / JREs, please modify the path: "/usr/java/jdk1.6.0_03/jre/ " given in the file to point to the directory where the JRE is installed
  2. The file libmawt.so is present in multiple locations in a JRE and hence, finding each file and patching it manually is not recommended

Wednesday, July 9, 2008

Odd mix of units of measure in India

The measurement system in India is peculiar for having an odd mix of Imperial & Metric systems of measurement. A few points will illustrate this:

  • A newborn's weight is measured in pounds, but grown-ups weight is measured in kilograms
  • Body temperature is measured in degrees Fahrenheit, but atmospheric temperature is measured in degrees Centigrade
  • A person's height is measured in feet & inches, but cloth is measured in metres
  • Apartment area is measured in square feet, but office space is measured in square metre
  • Road distances are measured in kilometres

Thursday, July 3, 2008

Fedora can actually look much better....

Friends, if you've been using GNOME and are sick of the cream and blue look, here's something you can try out. Visit http://art.gnome.org/ It has a good collection of themes, window fascias, window borders, icon sets and login screens. You can download them and drag-and-drop into the Appearances window found under System > Preferences > Look and Feel (in Fedora 8). Try out those themese until you settle in for one that suits you best..Happy experimenting !!

Up next for upgrade..........the way ahead..

Being bitten by the upgrade bug, I can't help writing more about it. In this article, I'll disclose my future upgrade plans.

Now, there are 2 major things left to upgrade. Considering I've already made a sizeable investment in DDR memory, it implies I'm not looking forward to upgrade either the processor of the motherboard. Keeping in mind the inherent limitation that this PC can never be used for gaming (we have PlayStations for that, don't we?), there are 2 feel-good things that can be done.

  1. A 19" TFT monitor, which must have a VGA connector, and
  2. A 250GB or 500 GB HDD, which will ofcourse need to have an IDE interface

While the first upgrade is purely aesthetic, the second one is only marginally functional. Frankly speaking, I'm not likely to go in for any of these upgrades ever. What I am considering, though, is installing a TV-tuner card, that'll allow me to screen my DVDs on the TV in the living room, as well as provide for a way to see my own programs when mum wants to watch another.

Current configuration of my PC

  • Intel Celeron 2.0 GHz processor
  • HIS-manufactured Intel 845-GL motherboard
  • 1.25 GB RAM (1 x 1 GB DDR @ 400 MHz + 1 x 256 MB DDR @ 267 MHz)
  • Samsung 40 GB PATA HDD
  • Samsung CD writer (52-24-52)
  • Sony DVD writer DRU-840A
  • Sony 1.44" FDD
  • Samsung SAMTRON 15" CRT monitor 56V
  • Microsoft keyboard and wheel-mouse ( both wired)
  • Scientific-Atlanta Cable modem
  • HP PSC 500 All-in-One
  • Philips HTR-2000 5.1 Home Theatre System with FM Tuner
  • Bluetooth USB adapter
  • PCI IEEE-1394 adapter card
  • PCI LAN card

Wednesday, July 2, 2008

The Indian way of doing things

The world over, Indians are known for one ability: their ability to extract the maximum possible out of existing resources. And I am no exception.

Stuck as I was with my relic of a PC, I could've easily discarded the machine altogether and gonein for a brand new one. However, I carefully studied my requirements. Since games and me have nothing in common, I figured out I could do with my current Celeron processor. What I needed was not huge instantaneous processing power, but simply more room to accommodate the running programs. Having zeroed in on the issue at hand, I went in for an upgrade that cost me the least: 1GB of RAM for INR 1,550 only.

Now compare that cost to the cost of a new PC: approx 20,000 for a respectable configuration that won't be outdated in atleast a year's time. Even if I had bought such a rig, it would've offered me no real performance gain over my currently upgraded PC.

So, the same result was achieved in a fraction of the cost of a new PC. Thats what the Indian spirit is all about!!

1 GB RAM installed

Guys, you wont believe it. I got a RAM upgrade on 23-Jun-2008, that's a little more than a week back. But owing to sheer my laziness, I didn't update this blog. So, here's the update.

My PC, as you all are familiar now, is a 2004 relic that runs a 2.0 GHz Celeron on an 845-GL. It was bought with only 256 MB RAM. For four long years, I've struggled with this 1-room-kitchen of a memory called 256 MB. For the former part of my PC's life until today, the restrictions weren't as severe. They became obvious when I started using Fedora 6 earlier, and Fedora 8 later. My system was practically living off virtual memory. Every single operation required probably thousands of swaps out of and into the physical memory. The result was a PC slower than a snail, and a wait more frustrating than hearing Atal Behari Vajpayee's slowly progressing speech.

Opening every additional application meant a long-wait...sometimes taking several minutes. Saying that the waits were frustrating would be a gross understatement. To say the least, they were agonising.

Now, the better part. Soon after my vacations started, I decided to look into this issue. I asked Jatin to get me a quote for a 1 GB DDR RAM. Later I realised that the RAM speeds won't match. My motherboard supported a maximum of 267 MHz, while the only ones left in the market were 400 MHz. After discussing the issue out with Jatin, we finally came to the conclusion that a faster RAM would work with a slower board, at the maximum speed that the board supports. With that conclusion firmly in my head, I went to Lamington Road.

Now, a funny thing happened. I decided to check a few shops before buying the memory from the shop recommended by Jatin. So I checked out with not one, not two, but three shops. And all the counter-persons there told me that my conclusion was totally wrong, and that the RAM and board speeds had to match. To my astonishment, they were trying to sell me the slower RAM at double the cost of a faster one !!!

While the 400 MHz variant cost 1,500 bucks, the price quoted for the 267 MHz variant was......2,700 bucks ! Ridiculous! I phoned up Jatin again, and he assured me that our logic was correct and that I should go and purchase the specified RAM from the specified shop. I did as I was told.

Now, both of us has contemplated that the worst case scenario would be that both cards -- the older, slower one; and the faster, newer one -- may not work together. However, I myself had reasoned out that since the speed ceiling of the board coincided with the operating speed of the older RAM, the faster speed of the new one would be neglected, and both woudl operate harmoniously at 267 MHz.

Still unsure if I had blown up 1.5 grand, I reached home, anxious to test the card. First, I removed my old card and plugged in the new one. It worked!! Then, I plugged in my old card as well, and both worked!! I was the happiest creature on the planet alive. My PC's memory had just gone 5x. The machine ran fast. There were no hold-ups. From a time when my HDD access indicator used to flash all the time.....the indicator now acted as if it was off -- the disk being used only for loading programs once, and not for virtual memory swapping every millisecond.

Since then, the Fedora system manager has never shown a RAM utilisation of over 50%, and virtual memory has never been used since that day. Today my PC works really smooth. I'm happy and satisfied that I managed to identify the (performance) problem correctly, find the optimal solution (in terms of cost), and had enough knowledge and skills to rightly implement the solution. Equally important is the fact that, in Jatin, I had the right consultant at hand, and that I didn't hesitate to avail of his expert services.

Now, my PC has 1.25 GB RAM, and is one of the coolest machines in the world....atleast from my point of view.

Earlier, I had contemplated putting in a 512 MB card that would've cost me half as much. But I had turned down the proposal, because it wasn't future proof. Now, my PC can run smoothly for at least another 2 years. Besides, when I join the company, I might be posted out of this city. And it'll mean the PC is left only to be used by my folks for communicating with me via chat/video-chat, and for some internet-browsing and documentation work. So, the current rig should suffice.

CD Writer back in action !

Proud to be an Indian!

Finally, I achieved today, what I had been wanting to do for a long time. Not that its any great achievement. Nor that it couldn't have been achieved earlier. Just that didn't find the time and motivation to look into the problem with a view to solving it.

So, what was the problem, you may ask? If you've read my older post, you'll know that I had to unplug my CD drive to accommodate my newly purchased DVD-drive. Today, I asked my dad to get me an IDE (PATA) cable. For those, not in the loop, my PC has an 845-GL motherboard of 2004 vintage, that has no SATA slots, and no PCI-Express slots either.

I opened the cover of my PC to plug the new cable. But silly me that I am, I realised that both, Primary, and Secondary IDE slots had already been occupied: the HDD was sitting on the Primary, as expected; while the DVD-drive was connected on the secondary. "Now what to do?" I asked myself. The most reliable person in such situations is Jatin, my hardware-guru friend. I phoned him and hebrought it to my notice that every IDE cable has an additional connector approximately mid-way along the length of the cable. He mentioned that it can be used to connect another device on the same cable.

However, I was sure that both drives were set to be 'Master' according to their default jumper settings. I knew that if my new configuration is to work, one of them has to be made a slave. But I had no clue which jumper setting will be interpreted as slave. Thanks to my systematic approach to filing of device manuals, I was able to quickly locate the Sony manual. I saw the installation instructions chart, and figured out the way to connect my old drive as a slave on the secondary.

Fortunately, there also existed 2 extra 4-pin mole connectors, more than my requirement of a single-one. To sort issues out, I removed all IDE and power cables, and after a few rejigs, everything was set right. All drives had power and signal cables; they were connected in not only correct, but the optimal fashion; and the CD-drive was now a Secondary slave, while the DVD-drive was the Secondary master.

Another thing I'd like to bring to your notice, guys. Sometimes, simple solutions elude us. Unlike, I mentioned earlier, the extra connector on the IDE cable is not located exactly mid-way, but is rather close to one of its ends. Now, stupid as it may seem, I was connecting one of the two closely-placed connectors, onto the motherboard, and wondering how to connect the remaining two to the two drives. The solution, as I saw from Sony's manual, was to connect the far end on the motherboard, leaving the two closely-spaced connectors to be connected to the two closely-spaced drives. Simple!

So, what did we learn?

  1. Always preserve device manuals in an easily retrievable manner
  2. Analyse the situation at hand before ordering parts
  3. Apply your logic to other peopls's advice, instead of following it blindly
  4. Look for simple solutions when you are stuck in a problem
  5. Remember, there is no problem without a solution, only if you are willing to devote enough resources to solving that problem

DVD Writer Installed

I have no clue as to how I forgot to write this post, which, by the way should have been written long back. I bought a Sony DVD-Writer DRU-840A in mid-March this year. It was a small celebration of me being placed in Asia's foremost IT company.

The drive cost me around 1,500 bucks. I bought it from Anupam Stationers (Borivli). It was box-packed and a completely legal purchase. Got home and connected it the same day. However, since I did not have any spare connecting cables, I removed the cables on my existing CD-RW Drive, and plugged them into the new drive.

So now, I finally had a DVD-Writer, which had been overdue. However, I regreted the fact that my old drive had to be unplugged from the system. Now see guys, I'm not the kind of person who runs behind new things. Although I fully acknowledge that adopting new technologies is essential if we are to progress, I'm also quite attached to old things that I've been using for a while.

Anyway, since I was in one of the two most traumatic semesters, I couldn't ever find the time and thinking resources to find away of keeping both drives plugged in. Of course, buying additional cables was always the option. But it was simply never implemented.

However, the DVD drive brought one of the most important change, that is, I was able to install Fedora 8.

Wednesday, May 7, 2008

Evolution of connectivity in India

First of all, let me apprise you of the provocation for writing this article. A new unlimited internet connection has been activated at my place. My joy knows no bounds, today!! I think it's the best gift a techie can ever receive !!

So, India, indeed, has come a long way in providing internet connectivity to the common man. You can say that my family has been quite progressive in terms of technology, if not at the forefront. We were never able to afford things ahead of their time, but have mostly benefited every time some technology has just started to become commonplace. And so has been the case with net connectivity, as we have charted the progress over the past 11 years..

The story begins in 1997 when we first got the Internet connection. It was a 100 hour pack, purchase from then VSNL. The connection: 56 kbps dial-up. A new connection or purchase of the pack required a visit to VSNL's downtown office, something very, very far from the suburbs where I used to live. 100 hours might seem like a joke today. But, in those days, we used Outlook Express to check mail and there were only a handful of sites to be visited anyway. Remember, I am speaking of the days when there was no Orkut, Facebook, YouTube, etc, etc.... Those 100 hours used to be consumed thriftily, trying to prolong the renewal as far possible.

Another killer was that we had to pay uptime charges to the telephone operator
, for using the landline. The charges levied were the same as you being on a regular phone-call for that long !! So, using net meant having to pay VSNL, as well as the telecom company.

There's a certain patch after this that I don't remember. However, when we shifted back to Kandivli, we got ourselves a post-paid MTNL dial-up connection. It cost less than the setup at Vasai, but it was still time-metered. Then, under a new scheme, we bought a new landline number, one that offered unlimited Internet, ofcourse at 56 kbps. This setup continued for about....2 years, if I'm not mistaken.

The next wave of the true New India, hit us with the introduction of 256 kbps ADSL connection by MTNL. The old 24-hour line was disconnected, and replaced with an ADSL connection on the same line used for making regular telephone calls. An old single-port router was replaced by a new 4-port ethernet router, when we subscribed to IPTV service. This was the realisation of the full Triple-Play service envisioned by the telecom authorities.

Later on, the 256 Kbps connection was upgraded to a theoretical 2 Mbps connection; a move made by MTNL at no extra cost to the subscriber. It provided a realistic speed of 0.9 Mbps, and was quite satisfactory.

Then, tragedy struck. MTNL was continuing with its sloppy attitude towards customer management. The QoS of IPTV never stabilised to a point where it could be classified as acceptable. Frustrated, we replaced the service with the completely reliable TataSky, and have found no reason to complain in the 2 months that we have been using it.

Now see an important point here. Technologically, it is such that the IPTV service rides on top of a broadband connection. So, all IPTV users must be broadband users of the same service provider. However, now with the IPTV service gone, broadband was no longer a compulsion.

One Sunday (04-May-2008, precisely), I happened to read a newspaper insert by Hathway - a local cable-internet service provider. On offer was an unlimited 256 Kbps connection, at the price of a 1 GB connection offered by MTNL. No reason to switch? May be. But MTNL had fallen back on its promise of 2 Mbps. The connection speed had been down to about 240 Kbps in the past month. And there were growing concerns being voiced publicly that MTNL was unable to upgrade and expand its network as it waited endlessly for its chartered equipment supplier to deliver the new machines. The time was ripe, the opportunity was irresistible.

I decided to take the jump. The connection has changed from 256 kbps 1GB limit to 256 kbps unlimited. Those in advanced countries might not appreciate the speed; but what is of essence here is that its an unmetered connection ! Now I can actually get those podcasts, the iPlayer news, movies and all the media I ever wanted, but only window-shopped till today!

I'm really happy I made the change. I look forward to Hathway to provide a reliable service and live up to my expectations....

Monday, April 21, 2008

A taste of Java ME

I returned home from college on Thursday (17th April 2008), after completing my Sem-6 project. And I immediately set to work on the B.E. project. The first task was to grasp the structure of Java ME.

Started with it that very day, and made great headways.
Continued my upstream struggle for the next two days, and today,
I am sitting comfortably, 
with significant knowledge of the platform
to atleast begin designing my project in a native fashion.

------------------------------------
This article is only for chronicling purposes

Java EE installation problem on Fedora 8

Java EE server may refuse to install on Fedora 8. You end up clicking on the link, and nothing happens, ever. So, here's what you do.

Open the terminal. Become root. Invoke the .bin file of Java EE from the terminal itself. You are likely to get a 'no such library' message. The library is something related to C++. Now, unfortunately, I forgot to blog when I had actually found the solution to the problem. So, I am not listing the steps below, as I usually do, but instead, all I can say is that please google the complete error message you get at the terminal. You should find the solution in a few clicks.

The solution basically involves adding the C++ library, which is a measly 250 KB (approx). Then, try running the .bin file again. It should work this time....

Skype 2.0 on Fedora 8

It turns out Skype 2.0 has a hell lot of problems getting to work on Fedora 8. You need not get into the root cause of all those problems. Just implement the fix given below.

Please note:
  1. Although the Skype 2.0 download is about 14.3 MB in size, the 'fix' is a staggering 59 MB. Ridiculous !! But there's no alternative I could come across either.
  2. The entire process of getting Skype 2.0 to work on Fedora 8 may take hours. So, please be patient, and either have some work to do, side-by-side, or sit with your iPod, 'cause you are sure to get bored. However, do not leave the system unattended, except when downloads (esp the 59 MB jumbo download of QT4) are in progress, as your authorisation, and some other actions from your side, will be required time and again.
So, here we go:

Step 1: Download the libsigc++20-2.0.17-1.i386.rpm package:
# wget http://fedora.osmirror.nl/extras/5/i386/libsigc++20-2.0.17-1.i386.rpm
# rpm2cpio *.rpm | cpio -idmv

Step 2: Create directory /opt/libs32/ if you don't have it yet:
# mkdir /opt/libs32

Step 3:Copy libsigc-2.0.so.0 and libsigc-2.0.so.0.0.0 to /opt/libs32/ directory:
# cp ./usr/lib/libsigc-2.0.so.0 /opt/libs32/
# cp ./usr/lib/libsigc-2.0.so.0.0.0 /opt/libs32/

Step 4: Install everything that has anything to do with Qt4:
# yum install qt4*

Step 5: Download the skype-2.0.0.27-fc5.i586.rpm rpm package from http://download.skype.com/linux/skype-2.0.0.27-fc5.i586.rpm and enter command in terminal:
# rpm -i --force --nodeps skype-2.0.0.27-fc5.i586.rpm

Step 6: Give the path to those libraries:
# export LD_LIBRARY_PATH="/opt/libs32/"

Step 7: Now you can run skype by typing:
# skype

The section mentioned above will only get the application to install and boot up on your system. In no way does it guarantee a problem-free run. Try making the Skype Test Call. If you are able to hear the sound as well as record and hear your own voice, congrats !! However, the chances of this occurence (of Skype running straight out of the box) are minimal, if any.

Here's the most likely condition. Skype Test Call fails to load, citing 'Audio playback problem'. To fix this, go to Options -> Sound Devices. The default 'Audio In', 'Audio Out' and 'Ringing' devices are unlikely to work. First, we will fix the 'Audio Out' problem, so that we can atleast get started with the Test Call. Select an option (apart from default) from the 'Audio Out' device menu. Click on Apply. Close the Options box. Try to make a test call. Keep repeating the procedure until the error message disappears, and you are able to at least hear the lady's voice.

Then, comes the next problem. The call might terminate due to 'Problems with Audio Capture', as shown in the call window. Again, go to Options -> Sound devices -> Audio In. Here, usually, the same option that worked for 'Audio Out' is likely to work for 'Audio In' as well. So try that option first. If it doesn't work, go ahead and try each of the other options one by one, just as you did for 'Audio Out'

After doing all this, you should be able to hear and record your own voice succesfully. In case it still doesn't work, maybe you could try invoking skype with this little piece of code i found somewhere on the net....

$ pasuspender skype

Happy Skyping !!

-------------------------

Some content used from the following sites:

http://www.sinoberg.com/blog/article.asp?id=13
http://www.pulseaudio.org/wiki/PerfectSetup#Skype

Full credit to the authors of the articles on the above mentioned sites

Saturday, April 5, 2008

Installation Instructions for VLC Player for Fedora 8

Become root. Execute the following commands at the terminal:

#> rpm -ivh http://rpm.livna.org/livna-release-8.rpm
#> yum install vlc

VLC player supports almost all input streams, and contains decoders for almost every codec one could possibly come across, today. One stop solution for all your media playback issues in Fedora 8...

Wednesday, April 2, 2008

Flash player installation for Firefox and Opera

Instructions for setting up flash player plugin for Firefox and Opera:
----------------------
1. Login as root
2. Unzip the tar.gz file onto the Desktop
3. Rename the extracted folder as 'flash'
4. Copy the folder into the /opt directory
5. Create a link to the 'libflashplayer.so' file
6. Copy the link file into /opt directory
7. Rename the link file to 'libflashplayer.so', that is, without the 'Link to..' part
8. For Firefox, copy the link file into the 'plugins' directory of your current firefox version
9. For Opera, copy the link file into the /home/USER_NAME/.opera/plugins directory, for every non-root user, and in the /root/USER_NAME/.opera/plugins directory for Root. Create the 'plugins' folder under each of the usernames, in case it does not exist.
10. Restart all browsers for which you have installed Flash
11. Test the working, and let me know if there are any problems

Sunday, March 23, 2008

Log: Fedora 8 installed

Not much time to write, but just that I installed Fedora 8 on the evening of Saturday, 15th March 2008. Bought the DVD from a pirated-DVDs vendor sitting at the GKB Optolabs corner ;)

Pulling the plug on Orkut

Drat ! I had written a really lengthy article under this heading....only to realise that my logging out from orkut caused me to loguout from blogger as well !! When will service providers stop this stupidity? Why does the average Joe need to know that orkut and blogger are both operated by the same company, namely, Google Inc, and that all sites belonging to them store and delete a login cookie bearing the same signature?

To mention a gist of what I had written in the previous article, I've finally decided to quit orkut, owing to their lack of concern for safegauarding the privacy of their users, as also a complete loss of relevance of the services it offers, as seen in my rapidly evolving context.

I bid adieu at 19:27 on Sunday 23rd March 2008...