Loading... Born a day after the American Independence in Jalandhar, Punjab, India, I've spent most part of my life there. Studied till 5th standard in St. Joseph's Convent School, Jalandhar, and later had to join Apeejay School, Jalandhar as, perhaps, the former school decided boys could be troublesome in a girls' school after 5th. After completing schooling in APJ (till 12th), joined National Institute of Technology [NITJ] (again, in Jalandhar) as a Computer Science & Engineering student in 2005. During the worst period of downtime (recession), got an on-campus placement in Accenture in 2008. Graduating from college took another year after that, and finally joined Accenture in mid-2009. This is my story so far... Btw, you can find me at: facebook twitter last.fm digg librarything granular
Jan 28

BSNL EVDO

BSNL EVDO


So you just bought yourself a swanky new BSNL EV-DO broadband Internet device. It works happily on your Windows, fine, as they provide a Windows-friendly CD along with the device that installs the required software and drivers easily. But what about if you want to use your EV-DO in Linux, if you have it? Due to lack of official Linux support, setting up EV-DO in Linux can be quite tricky, but here is how to do it easily, without much fuss.

Linux comes in many flavors (from different vendors), like Ubuntu, openSuSE, Mandriva, Fedora, Mint. If you have one of these, or any modern Linux distro, proceed as follows.

In Linux, plug in the USB modem device. Now check if device nodes for it are created in your /dev folder. Usually, they are like /dev/ttyUSB0, /dev/ttyUSB1, /dev/usb/ttyUSB0, and so on. In most cases, this step should automatically happen. If it doesn’t, then you’ll have to manually create the device nodes for your USB modem by inserting its module in the kernel. To do it:

Check for the device ID of the USB modem. You do this using the following command. Run the command first with the modem unplugged, and then with modem plugged in. Compare the output in both the cases; whichever new entry appears in the list is of your modem.

lsusb

Within the output that you get, your modem (in most cases a ZTE device), will be listed something like:

Bus 002 Device 004: ID 19d2:fffe ZTE Corporation
or
Bus 002 Device 004: ID 19d2:fffe

Now using this device ID, you’ll create its device nodes by using this command:

depmod
modprobe usbserial vendor=0x19d2 product=0xfffe

This should create the relevant device nodes for the modem in /dev folder. If not, try unplugging and then plugging in the modem. Now your work is half done.

Next, you’ll need these packages installed to configure the modem:

wvdial
pppd
kppp or kinternet (for KDE users)
gnome-ppp (for GNOME users)

After making sure wvdial is installed, edit the file /etc/wvdial.conf to make it look similar to (note – you can use the command wvdialconf to setup the file automatically):

[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 =
Area Code =
Phone = #777
Username = xxxxxxxxxx
Password = xxxxxxxxxx
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 0
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1

Replace xxxxxxxxxx in case of username and password with the 10-digit phone number of your modem. Now, execute this command:

wvdial

Voila! Your Internet should work now, in full glory. To ease up things a bit, you may want to connect to Internet using a graphical (GUI ) tool everytime. Use kppp (KDE) or gnome-ppp (GNOME) for that.

UPDATE: As pointed out by my friend Yatin, NetworkManager is another great and easy way to setup EVDO. Most modern distros come pre-installed with it. If not, you can always install it manually.

Tagged with:
Dec 31

I keep hearing people say, “I am happy with my Windows; don’t want to switch to an alien OS such as Linux.” And, “Hey, this Linux thing looks cool. But I do not want to switch over to it suddenly (or at all) because my Windows just works.” Even, “I would really like to switch over to Linux, but don’t know how hard it is to make that shift (replacing Windows or dual-booting). And my X-Y-Z app works in Windows, and I’ve heard it doesn’t in Linux.”

Rubbish! Have you ever even tried to know that there existed such a thing as dual-booting? And how easy it is to set up dual-booting?

I have also heard promoters of Linux say, “Now that you know of all the benefits of Linux, it’s time you make the switch to it from your existing OS (Windows).” And, “So what’s holding you back, just make the switch today.” Some even go to such extremes, “You know, you are wasting your precious money on this crap OS (Windows), which first drains all your money and then keeps on crashing. Switch to Linux today, it’s free!”

Rubbish, again! You cannot force Linux down people’s throat just because of your own reasons.

Has anyone noticed how we use the word “switch” so often? Why do we have to *switch* to another OS just to try it out, or because someone told us to, or because it’s free, or because… whatever?

Actually, “We don’t.” To use (or try) Linux, there is always the nice option of dual-booting (yep, that’s the word) Windows with Linux. Or better yet, using Linux on a live CD/DVD/USB (or if you are a geek, you can try Linux through virtualization as well). This way, you’ll get a feel of the incredible OS Linux is, and on the same time not lose access to your favorite (it-just-works) OS (Windows).

That, actually, is the best first step to *switch* from Windows to Linux, if you really decide to later. And, not to mention, this is the best way to encourage users to use Linux.

After all, we cannot ignore the fact that despite getting competition from Linux and Mac since long, Windows still holds the largest piece of market share pie. So the current situation rather kind of demands having to dual-boot along with Windows, instead of instantly switching.

[Image courtesy: Lifehacker]

Tagged with:
Aug 13

I’ve never really updated an entire OS in the strictest sense. When I say I have an up-to-date OS, that means I’ve all the major applications (mostly UI-based) in their latest versions. But this time I decided, having gotten back by beloved EV-DO, to go for a full OS update for my Fedora 11 (Leonidas). The command was as simple as:

yum update –skip-broken

Issuing the command showed there were approx. 1 GB worth of updates to be installed. But why think twice about the download size when you have an EV-DO with an unlimited data plan? Also, that gave me a reason to keep the EV-DO busy. I love downloading. I simple love it!

I’ll post some screenies of my updated Fedora as soon as it gets updated fully.

Update: Here is a screenshot of my updated desktop. Pretty, isn’t it? And reminiscent of my XP desktop a while back.

My updated Fedora 11

My updated Fedora 11

Tagged with:
May 20

So, what’s keeping me busy these days? It’s office work, of course. Working on quite a challenging and bigger project has its side-effects as well (working till late and missing daily fruit juice doses in my case). Other than that, I am enjoying the work as it has to do with web development, my area of interest.

Being a strong advocate of open-source and Linux, I read a lot of articles on these topics daily. And I hate when people use words like “switch”, “migrate”, etc. when referring to making the move from Windows to Linux. Why do people, who try to compel people to switch from Windows to Linux, forget that there is always an option called “dualbooting” and that Windows still has the astronomically largest market share? I really hope people use the word “dualboot” more when advocating the use of Linux to others. By the way, I am also writing an article highlighting this matter (Why Switch? Dualboot!), which I intend to share pretty soon.

Talking about Linux, the latest Ubuntu release (10.4; Lucid Lynx) has been getting good reviews from all around. I can hardly wait to get my hands on it. I am planning to install it on my home PC (the one currently in use by my Dad and sister).

Also, two of my good friends, Chandan Puggal (working at Aricent) and Amritpal Singh (working at Accenture) recently joined me in Gurgaon (my present work location). :)

Finally, I did mention it earlier also, but it really is a frustrating life without a proper Internet connection. (Looking upward) God, please me my EV-DO back. Amen.

Tagged with:
Apr 11

Granular LinuxAs was hinted in a post at Team Granular blog, Granular will now be a part of the Unity Project. Unity is in it’s beginning stages, but development is already on full swing. The enthusiasm of developers and members can be seen clearly on Unity’s devel mailing list and its public forum. At this point of time, I’ll refrain myself from giving full details about the association of Granular with Unity, but detailed announcements will come out at a later stage. What all I can tell you right now is I am pretty happy with the progress that’s been going on at Unity and Granular.

One more thing. You see only the Granular logo at the left and no logo of Unity as it’s still being finalized. But I am sure the creative artwork guys there will come up with something interesting pretty soon.

Tagged with:
preload preload preload