Posts Tagged ubuntu
Getting Reliance (Huawei) USB Data Card to work in Ubuntu 9.04 (Jaunty)
Posted by Gautham Pai in Technology on July 11th, 2009
In order to get Reliance USB Data Card to work in Ubuntu, follow these steps:
- Make sure wvdial is installed
sudo apt-get install wvdial - Add the device configuration to your /etc/wvdial.conf
Replace <phone-number> with your 10 digit Reliance connection number.
[Dialer Defaults]
Phone =
Username =
Password =
New PPPD = yes
[Modem0]
Modem = /dev/ttyUSB0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)
[Dialer cdma]
Username = <phone-number>
Password = <phone-number>
Phone = #777
Stupid Mode = 1
Inherits = Modem0
- Run wvdial
sudo wvdial cdmaYou will see some output like this:
~$ sudo wvdial cdma
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT 230400
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Sat Jul 11 22:56:19 2009
--> Pid of pppd: 4299
--> Using interface ppp0
--> pppd: ????[18][18]m X[19]m
--> pppd: ????[18][18]m X[19]m
--> pppd: ????[18][18]m X[19]m
--> pppd: ????[18][18]m X[19]m
--> local IP address <IP>
--> pppd: ????[18][18]m X[19]m
--> remote IP address <IP>
--> pppd: ????[18][18]m X[19]m
--> primary DNS address <IP>
--> pppd: ????[18][18]m X[19]m
--> secondary DNS address <IP>
--> pppd: ????[18][18]m X[19]m
--> pppd: ????[18][18]m X[19]m
--> pppd: ????[18][18]m X[19]m
That’s it! You must now be able to browse the Internet. In order to disconnect press Ctrl+C.
Getting Rosegarden to work in Ubuntu (Gnome)
Posted by Gautham Pai in Technology on July 15th, 2008
I am one of those many people out there who had trouble in getting Rosegarden to “sing” in Ubuntu under Gnome Window Manager. Finally after trying a lot of permutations and combinations, I got Rosegarden to work. I made this post to share what I did so that others don't have to go through the same trouble I did!
So let's proceed.
Required software
Rosegarden requires some other applications to be installed in your system. So before you fire up Rosegarden ensure that you have the following:
- qjackctl
- qsynth
- rosegarden
If you don't have any of these you could execute this:
$ sudo apt-get install qjackctl qsynth rosegarden fluid-soundfont-gm
Ok, now we have everything we need. Let's proceed to the configuration steps:
Start the Jack server
(Somehow not using sudo gave me problems)
$ sudo qjackctl &
Jack Audio Connection Kit setup
Click on Setup
Here are the settings I used:

Start the Jack server
Start the synthesizer
$ sudo qsynth &
QSynth setup
MIDI Setup
Audio Setup
Soundfonts Setup
Start rosegarden
Ok, it's time to fire up Rosegarden.
$ sudo rosegarden &
Configuring Rosegarden
Go to Settings – Configure Rosegarden.
Ensure that the connections are right in Jack Audio Connection Kit (Connect):

Play one of the sample files and you should hear music!

Troubleshooting
In case your Jack server is not running, you might want to execute this command and then start the Jack server:
$ sudo /sbin/alsa force-reload
Adventure with Ubuntu, Wubi, yum, libc and the like
Posted by Gautham Pai in Technology on July 12th, 2008
Note: This is not for the casual reader. If you are facing any issues with any of the keywords mentioned above, you might want to continue…
So here I was trying to install some packages from a YUM repository on my Ubuntu 8.0.4 system. Why YUM when you have apt-get? Well, let's just say, the situation demanded it.
The installation seemed to be going fine. What I did not realize is that, the installation had innocently relinked my libc files to a new location (actually to an older version of libc). The yum installation failed. Without checking the error, I executed sudo yum install again.
And I got this:
sudo: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by sudo) sudo: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /lib/libpam.so.0)
Next I executed ls. Same error! And soon I realized, I was not able to execute most of the commands. The only things running were, things that were already open. I had closed my terminal by then, and was not able to bring it back neither was I able to login in an alternative terminal.
It is extremely difficult to figure out what has gone wrong without a terminal. I tried out various things, but I soon realized that since I don't have sudo access anymore, I won't be able to fix anything in the /lib directory, so no point trying.
The only solution was to reboot in recovery mode and then see if I could relink the libc files. So I popped in the Ubuntu live CD.
Now here is an added twist to the tale. I run Ubuntu on Wubi. So how do I mount my NTFS 'file' which is actually a Linux partition?
With some pointers from my colleague, I realized that it is possible to mount a file as if it were a filesystem. I executed this:
mount /dev/windows/filesystem/containing/wubi/installation /media/disk mount /media/disk/path/to/wubi/disks/root.disk /media/root -o loop
Guess what! The Wubi file got mounted and I was able to access the files.
After some inspection I realized that the problem was that, while Ubuntu has all the libc files in /lib/tls/i686/cmov, the message indicated that these files should be in /lib/tls.
I did a 'ls' in the /lib/tls directory and found that there are some files of an older version of glibc at this location but the live cd version didn't have any files there. So it was apparent this is what is causing the problem.
I unlinked all the files, and relinked them to the new location and rebooted.
This time although it was able to boot Linux, it did not bring up the UI. I booted once again in recovery mode and ran xfix and continued with the boot.
Things seem to be fine now.
Update: Not everything was fine. Some applications, like Totem threw a SEGFAULT. So I did this:
sudo apt-get install --reinstall libc6
Things seem to be fine now.
Want a Linux flavor for human beings?
Posted by Gautham Pai in Technology on July 25th, 2006
My first experience with any Linux flavor has been usually bad. But this one wasn't.
I had heard about Ubuntu a long time back but somehow could not use it. The requirement of the Internet for installation was too much to ask.
However, I was interested in trying out a new flavor of Linux and so asked
There were no hassles. The live CD booted without any problems. I was even able to access the net.
The installation however gave me some problems. (My success rate of installing Linux in one try, thus, still remains at zero!
) I had forgotten that I had mounted a Linux ext3 drive and I was trying to format it during the installation. The install process crashed and asked me to refer to some logs for more info (which I did not). Failing during installing Linux is not a big deal! So I tried again.
This time I tried a slightly different option and I was given a clue that I could be trying to format a partition that is mounted.
That was it. I did not face any problems after that.
If you are like others and wants to use open source software, but are shuddered by the idea of a 'Linux installation' or 'package dependencies', try Ubuntu.
There are more packages than you can imagine. There is something (actually a lot) for everyone. You will find applications that you use in your day to day use or atleast find equivalents.
Overall, I am more than satisfied with Kubuntu. Thanks to all the developers and the people behind this wonderful revolution.
Wanna try it out? You can ask for free CD's by asking for it here.













Recent Comments