Suramya's Blog : Welcome to my crazy life…

April 21, 2008

Getting my wireless card working in Debian

Filed under: Computer Tips,Knowledgebase,Linux/Unix Related,Tech Related — Suramya @ 2:03 AM

As promised here are the steps that I followed to get my wireless card working on my Comaq Presario V3000 in Debian:

1. Install ndiswrapper

In my case I allready had the ndis wrapper installed. If thats not the case with your system run the following command as root to install it:

apt-get install ndiswrapper-common ndiswrapper-utils ndisgtk

2. Disable the “bcm43xx” driver on your system

Run the following command at a command prompt as root :

echo 'blacklist bcm43xx' | sudo tee -a /etc/modprobe.d/blacklist

3. Download the Windows driver for your card

My system uses the Broadcom Corporation BCM4310 card and I had to download the Windows driver for it from the Dell site. For some reason the driver I found at the Compaq site refused to work. You can download it from here.

Save this in the /tmp directory cd into the /tmp directory, and unzip the Windows driver package:

cd /tmp
unzip R123456.EXE (or whatever the name of the download is)

4. Install the Windows driver with ndiswrapper

To load the driver you need to run the following command as root:

ndiswrapper -i /tmp/DRIVER/bcmwl5.inf

The you should verify that the driver has been successfully loaded

ndiswrapper -l

The output of this command should look like the following if it is loaded correctly

Installed ndis drivers:
{name of driver} driver present, hardware present

or

{name of driver} : driver installed
device ({Chipset ID}) present

5. Load the ndiswrapper module

You now need to load the ndiswrapper module. Run the following steps at a command prompt as root:

depmod -a
modprobe ndiswrapper

if the above commands don’t give any errors then the drivers have been successfully installed.

6. Configure the wireless card

I have found the ‘netcardconfig’ command the easiest to use when configuring a new card. Run it as root and answer the questions it asks and it will configure the card for you.

7. Set the ndiswrapper module to automatically load at boot

ndiswrapper is not started by default when the system starts up so you must configure your system to load the ndiswrapper module at system startup. To do this, edit /etc/modules file as root to add an entry for ndiswrapper at the end of the file.

vi /etc/modules

Add ‘ndiswrapper’ (without the quotes) to the end of the file in a new line. Save and exit.

Now the module will be loaded when the system next starts up.
—-

A special thanks to JamesGu from the UbuntuForums for figuring out the solution and posting it there.

Hope you find this useful. I certainly did. 😉

Will post about my sound card next.

– Suramya

April 16, 2008

Last week brought a lot of changes

Filed under: My Life — Suramya @ 12:10 AM

This past week have brought a lot of changes. I started the week with a new job. Thats right I just switched jobs. I am now working for a company called SourceFuse Technologies that’s based out of Noida and has offices in the US also. I have joined as a senior project manager for PHP.

The week started off pretty well, I got to work at 1pm (yeah, I still work US hours) and was back home at ~1:30 am. Wasn’t that bad. The next few days however were crazy we were here in the office till almost 5 am. On friday I got home at 6:30am. This was because we had a project deadline. Thankfully that is now deployed and confirmed as working.

The other major change was that I got a new laptop from work, its a Compaq presario v3000 with Dualcore processors (1.7 Ghz) and 2 GB of RAM, 160GB hdd. Its a great system. It had Vista installed on it and it was running really slowly. Plus I hate Vista anyways. BTW, do you know. The first time you start a computer running vista it takes it about 20mins-1 hour to configure the system? Saw this on a piece of paper that I found with my laptop in the bag.

I have installed Linux on it and it ran great except for the following issues:

1. Headphones weren’t working. When I plugged the headphones in the system sound was played on both the speakers and the headphones. – Fixed

2. Can’t get a resolution higher than 1024x – Still working on it. Had fixed it but that broke the touchpad. 🙁 Not really a major issue. Just irritating

3. Wireless not working – Fixed. Needed to install the drivers.

Other than that, everything worked out of the box. Including the bluetooth, builtin webcam, LAN etc.

Really enjoying playing with it. In the process of installing windows on it in a virtual machine. I will make a separate post on how I got everything to work.

This is all for now. Will post more later.

– Suramya

April 6, 2008

Weekend was fun.

Filed under: My Life — Suramya @ 11:56 PM

This weekend was fun. Surabhi & Vinit had come over from Bangalore for a meeting/conference. So I got to go receive them at the airport. Surabhi came at 7:20 pm and I had reached the airport at 6:55 so I got to spend 30 mins sitting in the car waiting for her to arrive. Good thing that now I can read books on my phone, otherwise it would have been painful.

Vinit arrived at 1:20 am but thanks to Surabhi being impatient we reached the airport at 12:15am. So we got to spend one hour in the car. Thankfully there was a Narula’s express counter in the gas station where we were waiting so the wait wasn’t that bad. By the time Vinit arrived it had started raining so we got back pretty late.

On Sunday we went for a late dinner at this restaurant called Panjabi Pindi. Where the food was excellent and the prices were reasonable. Would have also watched a movie but nothing good was playing so we came back home and they both crashed as they have to get up early in the morning.

I watched the First episode of the new season of Dr. Who. I Loved it. The new companion is a lot better than Martha and thankfully they won’t have that stupid love interest this time with the new companion like they tried last time. So far I like this companion, though Rose was a good companion too… When I was reading the comments on the latest episode I saw this comment made by a user:

drewmit: But, by not being in DW, Billie Piper can instead do season 2 of Secret Diary of
a Call Girl. A series in which she appears nude. I think she should keep her
current job, don’t you?

It made me laugh.

The Second season of Torchwood has ended. Liked this season a lot better than the 1st one. Lot of good storylines this time. Actually make that: they actually had story lines this time… Too bad it ended.

Now I am off to bed. Long day tomorrow…

– Suramya

April 4, 2008

Converting Laptop to run Linux

Filed under: My Life — Suramya @ 7:11 PM

Today I finally decided to install Linux on my Laptop. Though I have been running Linux on my desktop since 2000. I have never installed it on my Laptop, primarily because I needed to run Windows for work. So for the past year I have been using Windows as my primary OS with Linux serving as a storage server and used for tasks where I needed to do some scripting/automating.

I used the Kanotix LiveLinux Cd to install Kanotix on the laptop, primarily because I wanted to see if all the components would be detected without issues. So far everything seems to work great. I didn’t allocate enough space for the Linux partition (I had only given 2 GB) so I will try to resize the partitions. Hopefully that will work ok. Obviously I need to backup the system before I try it. So I will not be doing it immediately.

Almost every component of the Laptop was detected without issues and they all are working without me having to manually configure anything.

The sad part is that since its been so long since I have used KDE (I used the command line for working on the desktop) that I have to relearn a lot of the workings, esp the configuration screens etc. Ah well, atleast I am learning some new and interesting stuff.

Other than that life has been fun. Busy but fun.

Well this is all for now. Will post more later.

– Suramya

March 24, 2008

Side effect of using Vista

Filed under: Humor — Suramya @ 1:11 PM

Side effect of using Vista:

0324.gif

Source:Herd Thinners Incorporated

– Suramya

March 23, 2008

Quantum Computing: Hype vs. Reality

A lot of you must have heard about quantum computing(QC) and a lot of articles have been written by people on how Quantum Computers could break any crypto in a short time. (Even I have written about it)

So I found the following blog post a really good read. It discusses the possible future of QC in a very interesting fashion with emphasis on how it might affect the world of Cryptology. Check it out over here: Emergent Chaos: Quantum Progress

Thanks to: Schneier on Security for the link.

– Suramya

March 22, 2008

Laptop has decided to boycott the net

Filed under: My Life — Suramya @ 11:27 PM

My laptop has decided that it has had enough of the Internet and started to boycott it. Basically what that means is that my network connection has stopped working on the laptop. Initially I thought that it was a software issue so I reinstalled Windows on the system (which is something I wanted to do anyways). Unfortunately that didn’t fix the problem. 🙁 So I booted into Linux using a Live Linux CD and had the same issue over there.

Now the wireless card probably works but I don’t have a wireless router at home. I am currently debating weather I should just get the laptop fixed or go buy a wireless router. In anycase I would like to have the LAN port working so I can use the net where there is no Wireless. So I am leaning towards getting the port fixed.

Currently I am using my desktop to access the web and its a pain. Oh it works fine and all that, its just that the stupid monitor has gone whacko since I last used it. Now half my screen has a purple tinge to it, so working on it for too long gives me a headache.

Ah well. Lets see when I can get the thing fixed. Then I will have to install all the software on it again. Re-installing windows is a pain. Applying all the patches etc takes so much time and you can’t just start the update and leave it unattended. In Linux you can perform an update and install all patches with a single command (In Debian its apt-get dist-upgrade).

I might just put linux on it. Dad probably won’t like it, as he is used to of windows but I think I can convince him that its not that hard to learn.

Well this is all for now. Will post more later.

– Suramya

March 7, 2008

Connectivity woes…

Filed under: My Life — Suramya @ 9:22 AM

A few of you might have been wondering where I have disappeared to these last few days.

Well I have been here struggling to identify why I couldn’t get to the net from my laptop. First I thought it was a network cable issue so I replaced all the cables with new ones (yeah I have a lot of them lying around). That didn’t solve the problem. The funny part was that my vonage was able to connect to the web and computers in the server room seemed to be able to connect to the web sometimes. I thought that it could be an issue with the Vonage router, as the rest of the house was going through it to get to the web. So I took out a linksys switch I had which was gathering dust and took the Vonage router out of the picture (The DSL modem was now acting as the router).

Unfortunately that didn’t fix the problem either. So I decided to move the entire system (router, modem and switch) to my room so that I could get net access there. Unfortunately over there even the vonage system lost net access. I couldn’t even ping the modem from my system. So I called Airtel and they sent a guy over to replace the modem. After they replaced the system it worked for a little while then something went wrong with its powesupply. It kept restarting randomly and ofcourse I couldn’t browse the web without frequent disconnects. So I called them again and they replaced both the router and the power adapter. So far it looks like its working.

In the mean time I found out that the network jack on my laptop is acting up… I could browse the web if I used the USB network jack I have but the net kept going down if I was using the built in network port. It might be a problem with Windows or it might be a hardware issue. I will probably be re-installing windows soon and if that doesn’t solve the issue I will get a wireless router.

Now I seem to be able to connect to the web. Lets hope it stays that way. *Crossed fingers*

– Suramya

February 25, 2008

FreeRice: Donate food by increasing your vocabulary

Filed under: Interesting Sites — Suramya @ 5:27 AM

FreeRice is a great site that has a simple vocabulary test. It donates 20 grains of rice to charities for every correct answer you give. The site earns the money to make the donations by banner ads that flash on every word page, so the more you get right, the more advertisers are happy, and the more rice is donated.

The site is free and requires no registration.

– Suramya

February 23, 2008

Attended Sandeep’s wedding

Filed under: My Life — Suramya @ 10:55 AM

Attended Sandeep’s wedding in Jhalandar on the 20th. Jhalandar is about 400 Kms from Noida and we had decided to drive there. Vinit, Surabhi and Pranav arrived in Delhi on the 18th at ~10:30 pm. As usual I had to go pick them up from the airport, by the time Pranav got out of the airport it was almost 11:30. On the way back we stopped over at Umang’s place and chatted till almost 5 am. Then also we only left because we had to leave for the wedding and Umang had to go to work.

We got home by 6am, had breakfast and crashed for a little while. Originally the plan was that we would leave after a few hours of sleep but by the time we got up it was almost 12:30. So we ended up leaving at 1pm. Then we got stuck in traffic while trying to get out of Delhi on the NH-1. That part took us almost 2 hours. After we got out of that the road was pretty good and the speed limit was a sensible 90 kms/hr. So we were driving at ~90-110 (with peaks of 120). Got to Jhalander at about 8:30 pm (we did take a 45 min break for a late lunch in the middle)

The wedding itself was fun. We first had the sangeet on the 19th night. All of us danced a bit, had dinner and then met everyone from Sandeep’s family. After that we all were tired so we crashed. The wedding day itself was nice and warm. The event was decent. The dance group they had organized was good. The wedding did go on till very late. The phera’s started at 12:30 and don’t know till how long they went on.

The next day we left our room at 6:00 am. The roads were empty so drove pretty fast. (Topped off at 160). Wanted to eat break-fast at macdonalds but all the ones on the road were closed. One for renovation, one opened at 9 am, and the third we have no idea about. Finally ended up having sandwiches for breakfast with Ilachi flavored milk. Plus Uncle Chips. What can I say… breakfast is the most important meal of the day. 🙂

Got home by 1pm. So the total drive took us 7 hrs. This included multiple stops, plus one hour of Delhi traffic. Over all a fun trip. Had been wanting to go on a road trip again for a while. So the wedding was a good excuse.

Well this is all for now. Having some internet issues (The home LAN is flaky for some reason) so more updates will be delayed till I fix that.

– Suramya

« Newer PostsOlder Posts »

Powered by WordPress