Support Wikipedia

Saturday, September 27, 2008

Broadcom 4322AG 802.11a/b/g/draft-n Wi-Fi Adapter Drivers for linux

I had a big fight with my Centos to get it to recognize the stupid wifi card that came with my Hp Pavillion dv9920us Notebook PC. Finally I had success.

For linux drivers :

Download the correct driver (32bit or 64bit) from here :
http://www.broadcom.com/support/802.11/linux_sta.php

From the README
BUILD AND INSTALLATION INSTRUCTIONS
-----------------------------------

hybrid-portsrc.tar.gz
hybrid-portsrc-x86_64.tar.gz

On the target machine, setup the source/hybrid/build directory

1. Create a new directory: mkdir hybrid_wl
2. Go to that directory: cd hybrid_wl
3. Untar the appropriate 32/64 bit file
to that directory
32 bit: tar -xzf /hybrid-portsrc.tar.gz
64 bit: tar -xzf /hybrid-portsrc-x86_64.tar.gz

After untar'ing you should have a src and lib sub directory plus a Linux
2.6 "kbuild" external makefile (Makefile). The lib sub directory has the pre-built
binary, wlc_hybrid.o_shipped.

You use the standard Linux 2.6 kernel build system as follows to make a Linux loadable
kernel module (LKM):

On the target machine, and cd'ed to the directory that contains the Makefile (fragment)

4. Cleanup (optional): make -C /lib/modules/<2.6.xx.xx>/build M=`pwd` clean
5. Build the LKM, i.e. wl.ko: make -C /lib/modules/<2.6.xx.xx>/build M=`pwd`

You should now have a LKM, wl.ko inside this directory.

On this or a machine with the same kernel version, install the driver.

1. Validate you don't have loaded (or built into the kernel) the Linux community provided
driver for Broadcom hardware. This exists in two forms: either "bcm43xx" or a split form
of "b43" plus "b43legacy". If these modules were loaded you would either
a) rmmod bcm43xx or
b) rmmod b43; rmmod b43legacy
2. Make available 802.11 TKIP crypto module: modprobe ieee80211_crypt_tkip
3. Insert the Broadcom wl module: insmod /wl.ko

Some kernel come with pre-installed Broadcom driver that support Broadcom 4312 family of
PCIE cards. If the kernel support one of those pre-installed driver, you must remove it
in order to install the new driver. Some of existing driver provided by the Linux community that
supports Broadcom hardware are b43/b43legacy/bcm43xx. There is also a ssb driver that is loaded
along with b43. This ssb driver also must to be remove.

If the kernel supports blacklist, you can add those drivers to the blacklist file so that it will
not be loaded on next reboot.
Courtesy : http://www.broadcom.com/docs/linux_sta/README.txt

After you compiled the drivers : make a small shell script that will let you load the LKMs and start NetworkManger (on Redhat based systems)
and save it as /home//bin/wireless.sh
#!/bin/bash
sudo /sbin/modprobe ieee80211_crypt_tkip
sudo /sbin/insmod /hybrid/build/hybrid_wl/wl.ko
sudo /sbin/service NetworkManager start

This will help you load the wireless drivers. The next time you login - run this script to get the drivers loaded.

Hope that helps. And you can be even more creative and make the drivers load up at startup by writing a startup script and putting in under the /etc/rc.d/ directory or something like that....


Oracle 10.2 on Centos 5.2

I was trying to install Oracle 10.2 on my Centos 5.2 and it threw the following error : even after I have installed all the pre requisites and even created all the directories and set all the permission.

NOTE : Error in RED and INFO in GREEN
[root@localhost ~]# cd /home/john/dump/oracle/database/
[root@localhost database]# ./runInstaller
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Failed <<<<

Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2008-09-25_09-51-17AM/installActions2008-09-25_09-51-17AM.log

[root@localhost database]# uname -a
Linux localhost.localdomain 2.6.18-92.1.10.el5.centos.plus #1 SMP Thu Aug 7 12:20:08 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost database]# cat /proc/version
Linux version 2.6.18-92.1.10.el5.centos.plus (mockbuild@builder10.centos.org) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Thu Aug 7 12:20:08 EDT 2008


FIX :

So, I edited the /etc/redhat-release :
[root@localhost ~]# cat /etc/redhat-release
CentOS release 5.2 (Final)

and changed it to indicate that I had a redhat EL 5.1 version. Then It worked:

[root@localhost ~]# cat /etc/redhat-release
redhat-4.1.2-42 # Enterprise Linux Enterprise Linux Server release 5.1 (Carthage)

For the whole process of installation (with screenshots ) :
http://bderzhavets.blogspot.com/2007/04/installing-oracle-10.html

iJohn - iPhone and me - guide to the best apps (FREE) out there for your iPhone

The best fun thing I ever did after I came to USA is to get myself a brand new iPhone 3G. I just cant stop messing with it. It rocks my world.

Things I love about my iPhone :
  • The look and feel ( Apple has the best UI sense in the market )
  • The whole multi-touch experience - it doesnt need a keypad and hence more screen space. Bigger the screen bigger the video fun.
  • The App Store - gotta love it. I have most of the free apps out there installed and it keeps getting better daily.
  • The video iPod features - it outputs great quality sound and great video playback.
  • I admit, the camera is not top notch (just 2Mpx) but still thats good enough coz I already have a camera.
  • Wifi anywhere with 3G - the internet is so rocking fast. I can browse internet from anywhere in the world and not need a computer for that.
  • Youtube in my hands - this is the best feature of all. I can search browse and view any youtube video I want anytime.
Missing Features (Good to have) :
  • The email client doesnt run in the background as a daemon coz of limitations on apple sdk (so you have to constantly keep checking your mail or have to keep it in the foreground.) - Blackberry lets you know when there is a new mail real time. I think iPhone too should do that.
  • IM+ cannot run in the background for the same reason so I have to keep it in the foreground or else I am offline :(
  • Camera - iPhone deserves atleast a 5Mpx.
  • Video Recording - follows my earlier point.
  • DataStorage - I have a 16Gb iPhone and there is no built-in filemanager that lets me store and transfer files other than what my iTunes allow. Thats just cheating Apple!
Anyways, here is a list of the best Apps (FREE) out there that will really help you and make your iPhone more useful despite the flaws I listed.

Coolest of the Lot :
  • AirSharing - Awesome - Must have if you want to use the iPhone as a wireless drive. Although slow at times but still Its a must have. Clear alternative for Datacase which costs $6.99 for the same functionality. I think Apple intentionally missed the filemanager so somebody decided to take up the responsibility. Kudos!
  • PangeaVR - this is the coolest app on iPhone - you can view panoromic pix (360 degree view) - just awesome , try it!

Radios
  • Pandora Radio - awsome collection of music.
  • AOL Radio - Really nice collection of radio stations (FREE)
  • Stitcher Radio - Personalized audio delivered
IM and Social networking
  • Whoshere - Awesome app that helps you meet people near you (finds people nearby and shows their profiles). Pretty neat haan?
  • Facebook - does what it says
  • Myspace - if you are a myspace fan.
  • IM+ - multi protocol IM client like Pidgin (formerly Gaim)
  • OneConnect - A yahoo IM, pulse and flicker. You add Bebo, facebook, myspace, youtube and twitter accounts. VERY SLOW but okay
News, blogs and Internet
  • Wordpress - if you are wordpress blogger
  • Wikipanion - your wikipedia companion.
  • NYTimes - a little slow but beautiful UI and free
  • iPhunny - funny bits from different sources (really funny)
  • Bloomberg - your personal stock market client. Search by stock and track your stocks.
Books
  • Constitution - your pocket copy of US Constitution
  • Stanza - ebook reader with a huge collection of books from various sources. You can download and maintain in your own library for reading. AWESOME
  • Bible - nice little bible with contributions from learned men in your pocket
Movies
  • Showtimes - great app to find movies near by and timings even maps and IMDB profiles - you can see which movies are most popular and based on User ratings. You can even watch the trailers too. Cool haan?
  • Movies by Flixter - same as Showtimes but gives the movies on DVD too.and Upcoming movies. It doesnt hurt to have them both :)
Utility
  • Vnc - You can actually view the the remote PC with VNC viewer (ofcourse you need a vnc server running on that PC). - Awesome app.
  • Remote - you can control your itunes from your iPhone
  • Trailguru - tracks the distance you travelled with data like speed and time and etc.
  • Midomi - this is a nifty little app that lets you find the song you just heard on the radio or you can sing the song and let it search for you or you can search by name of the song or artist. Isnt that cool?
  • Shazam - basically the same thing as Midomi. I like midomi better.
  • Whitepages - where you can search people, business and reversone phone search.
Personal Management
  • Spendlite - track you spending by budgets - for free (only daily and weekly budgets)
  • DoBot Todos - list of todos to keep you on track.
  • Groceries ($1.99) - must have if you always forget soemthing after returning from walmart.
  • BirthdayList - looks like a good idea but still havent figured out how to create a list. Its bad UI.
Food and Restaurants :
  • UrbanSpoon - this will help you find the restaurant near you based on random selection of food. Try it - its fun. you can browse or search by name.
  • Yelp - No random selection but you can search anything.
  • Where
  • iWant - brose based on categories like - Gas stations, drug stores, restaurants, movies, car Rentals and so on...

Games
  • Sudoku - For the die hard fans
  • Hanoi - The good old game (Towers of Hanoi) - I still dont know the algo :)
  • Audi A4 - Car race - not so great but okay
  • Labyrinth - Awesome game, ball on the board.
  • SB2Lite - Addictive game
  • BillBallLite - Awesome game - guide the ball through a path and pickup stars.
  • iDoodle2lite - your paint board.
  • iGolf - just downloaded but looks like fun.
  • CannonGame - pretty nice if you like tanks and missiles like my friend pavan.
  • BlueSkiesLite - guide the helicopter through enemy skies.
  • Hangman - get the word or you die.

Is it really worth it?

I had a great job, great friends and was having loads of fun back in hyderabad. But I had to come to USA and end my life as it is known to me.

I came to USA and was worried if I could coupe up with the environment changes and the cultural changes. I managed pretty fine till now.

I was unemployed for a couple of months but still was confident that I can make it here. I managed to focus all my thoughts in bettering myself and strengthening my profile so that I could get a job that I am comfortable with. And it has paid off. I didnt go into any kind of depression and although I miss home I kept myself busy so that I wont think about it.

Now I got a really nice job - there is huge of learning curve ahead and I am not scared of taking on it. I work practically all the time I am awake, weekends are not mine. I am just struggling to take time out to live.

I cant call my friends coz when I am awake they are asleep and when we both have a common time then I am busy with work. I cant even go out to have fun coz I dont have a car yet. I am pennyless to add to it.

I have alot of debts and the money I am making now would be hugely cut coz of the deals I made and taxes. I am working for others or taxes half the time. I am not pissed off with this coz this is a necessary evil.

I am not whining either, I am trying to think through the whole cloud of gloom that has set on me. I didnt expect a bachelor party everyday here but its just that life seems so mechanical.

We work, and work and work and never even take time out for ourselves. We dont have time for silly little things like crashing a mall, watching the sun set and stuff.

Sometimes I wonder is this really worth the ordeal? Why do we make ourselves soo mechine like ? Dont we wanna live happily ? Is this what we are working for?

Is this something that we love so much that we alienated ourselves from people ?

Questions and questions are what I can find.

Music is my only rescue in this time of stupid thinking. I am glad I brought alot of music with me from India. Boy I dont know what I would do with that.

Coming to think of it, noone forced me to be here, noone has put a gun to my head and told me to flee from home. Its my idea for quick money and money is good to have right?

But in this race for riches have I lost myself? this is a short introspection of what I missed and what I gained by making the BIG move....

Back home :
  • I had so many friends around who love me and would hang out with me just bcoz we feel like it. no reason!
  • I had a pretty good paying job that anyone would kill for.
  • I had a steady girl friend who loved me but I was too chickened to get married.
  • I had a family that loves me and I was just a bus ride away.
  • I had flat of my own and I could just do whatever I want.
  • I used to eat out daily and the prices never bothered me.
  • I was just rocking it BIG TIME.
Here :
  • I have no friends locally except for a few who I can call
  • I dont have a transport - NO CAR no outing
  • I have a job that I am trying to fit into - services job is a total different ball game compared to products.
  • I am pushing myself to prove myself everyday. It has come to a point that I am tired and stressed but thats when the whole learning starts right?
  • I have no timepass except for the laptop and iPhone.
Is this what I really can live with? Is this worth the ordeal?

Only time can answer but I can tell onething for sure, I am not gonna give up yet. Even though it feels so lonely and I miss home so much - I am not gonna get that to me. I am just gonna try to make it here for the next few years even though that means I have to become a machine myself. This way i will have enough money to go back home and start our own Company JVS Inc.

Wish me luck

Tuesday, September 16, 2008

Chandrakantha - the DD serial

Remember Chandrakantha - the Doordarshan serial that we all loved when we were kids.

I used to bung the Sunday school in the church just to watch this. Gosh, the good old times!

I like this description of Chandrakantha. Check it out!

http://dimpleslife.blogspot.com/2007/01/chandrakanta-swashbuckling-fare.html

Good job dimple!
--
Cheers,
John

Thursday, September 11, 2008

System Rescue disks : Linux


HOWTO: create a ultimate boot disc from ubuntu livecd
http://www.linux.com/feature/137524

Although I havent tried the above procedure but it looks like fun. Try it!

System Rescue CD :
http://www.sysresccd.org/System-tools

I have used System Rescue CD countless times and I can assure you, its a must have if you are messing with your computer too often. :)
--
Cheers,
John

Friday, September 05, 2008

Bhopal survivors Fight : bhopal.net

Everyone is aware of the Union Carbide's tragedy in Bhopal years ago. The survivors are still struggling for their right to live. And are demanding justice thats sooo overdue.

I stumbled upon this site ( bhopal.net ) and was impressed by the right use of internet for the right cause. They are posting the progress of their campaign in a blog and uploading pix and videos daily. They are even hosting these videos on youtube. Thats kind of cool for a village campaign and this shows how the internet can really be used. They even setup a way to fax the Prime minister of India with a petition from anyone who wishes to support the cause. 5832 faxes were sent this way and the faxing is now closed though. That was the best part~



Their walk to Delhi for justice - everything captured in pix on the blog. They walked for 172 days to get to delhi with kids and women.
http://www.bhopal.net/march/dharna2008_blog.html

Their Demands :
http://www.bhopal.net/march/padyatra2008_demands.html

The homepage :
http://www.bhopal.net

This is the best use of internet ever for a right cause and please do visit it to know more.

What you can do to help:

Send a free fax direct to the Prime Minister's office (this is closed now though)

Download, print and send a postcard

Other ideas for action


--
Cheers,
John
Support Wikipedia Support Wikipedia Support Wikipedia Support Wikipedia Support Wikipedia Support Wikipedia