user-avatar
Today is Thursday
November 28, 2024

March 23, 2010

Fatal: Module fuse not found

by viggy — Categories: linux, tech — Tags: , , Leave a comment

This was the error that I was getting when I tried to mount my NTFS partition in CentOS5.3 final. I tried to search for a solution for one full day but I couldnt find a solution. Finally I got a forum where it was suggested that this is basically a mismatch of kernel-headers and kernel modules. So I tried to find the kernel-modules which matched my kernel-headers version. However even after I tried to install the correct version of kernel-modules, I still faced the same issue. Hence I finally gave up and decided to upgrade my kernel to the latest stable version.

So when I updated my kernel to 2.6.18-164.15.1.el5, and I rebooted, I could easily mount the NTFS partion.

March 15, 2010

FSMK weekend

by viggy — Categories: experience, Fun — Tags: , , Leave a comment

It has been one of the most useful weekends I have spent. Not only did I enjoy the weekend to its fullest, I could also make sure that it was fruitful. The weekend started right from Friday evening. I left office at around 7 and met Naveen and went with him to FSMK office. There while watching the opening match of IPL season 3, KKR vs DC, we planned the events for the weekend. We discussed for around 2 hours and divided the tasks among all the FSMK volunteers. We had planned few run-up events before the National Conference on Open Source which is going to be held on 20-21 March. Two of the main events that we had planned were a freedom walk of 2 groups of students on Garuda Mall and Jayanagar on Saturday and the release of “namma debian” and a photo gallery of Mani’s art in AC3 on Sunday.

So as decided during the meeting, early morning on Saturday, me and Naveen went to 3 different engineering colleges on Bannerghatta Road and met the concerned authorities over there and asked their permission to stick posters on the notice boards and also asked if during the weekend we could talk personally to students and get some on-the-spot registrations for the conference. Luckily we got positive response from all the 3 engineering colleges but unfortunately since all the colleges had holiday on Saturday we could not directly talk to students. However I am sure we will follow it up during this week. We finished visiting the colleges in the afternoon and then we geared up for the Freedom walk on Jayangar. We had decided to meet YDIT students at 4:00 at Jayangar 4th Block bus stand. So at around 4:30 we, around group of 10, started our Freedom Walk carrying the banner of National Conference and distributing pamphlet. We tried to explain to anyone who showed even little interest in discussing with us about the event. I am pretty sure we were able to distribute pamphlets to around 200 people and also explain to around 50-75 people personally and in detail about the conference. The group at Garuda Mall which was a much bigger group of around 35 students must have had a much more impact on people and must have really caught a lot of attention. The Freedom Walk stopped at around 7 after which I went back to my aunt’s house where in I again enjoyed a lot and celebrated the birthday of Meghna with other PG girls at midnight.

On Sunday, I met other FSMK volenteers at AC3 in the evening and we started preparing for the event. There was lot of excitement among the slum people. They helped us in all the ways they could in organizing the stage and cleaning up the venue. By around 5:30 we had around a group 75 people other than FSMK volenteers with atleast 30-40 children. The event started with a inspiring speech by G Ramakrishna, Editor of Hosatu. He told people how they could change their lives by working hard and giving education to their children instead of leaving everything for the fate to decide for them and complaining about all the problems in their life. After that, a small boy gave a wonderful speech about Mr. B.R. Ambedkar’s life and also how all the holy-books of different religions regards the gift of knowledge and education much higher than any other worldly gifts. He explained these facts by reciting specific examples from Bhagvad Gita and Kuraan. This was followed by the main event of the program which was the release of “Namma Debain” cd. It is a flavor of debian in Kannada language which we plan to distribute in villages throughout Karnataka so that people who are only literate in Kannada language can also use computers for their day-to-day life without any hassle. This was followed by a brief demo of the Namma Debian where in we tried to explain to the slum people how easy it was now for them to use computers now. This was followed by a display of different pictures made by Mani using the GIMP software. Then we had few cultural activities by the slum children. It was a great event and I was proud to be a part of it. I could see the impact that AC3 was having in the slum and this made us more determined to start such centers through out the city.

March 1, 2010

Why I did not subscribe to Google Adsense?

by viggy — Categories: tech — Tags: , , Leave a comment

Around 4-5 months ago I had an idea of starting a portal dedicated only to all the errors faced by GNU/Linux users. I had thought that if there is one portal where every user can post and search for the error message that he got while using GNU/Linux, sooner or later these portal will become a good database of all the commonly found errors faced while using GNU/Linux. And then I had thought of using Adsense to generate money to maintain portal and if possible make some profit myself.

However the main question that I asked to myself before using Adsense was “Can I restrict the Ads that are displayed through Adsense?” Because I didnt want the portal to end up promote any proprietary softwares through google adsense? I knew about Adbard then, but I did not believe using Adbard would help me earn as much as Adsense. Anyways I thought that google must have some way through which I can restrict some ads or allow only a category of ads. So when I asked this question in the Google Adsense help forum they told me that unfortunately they did not have any category for proprietary softwares. Anyways I figured out Adbard was the only solution for my problem.

I remembered the situation after all these days when I opened a blog by a core developer of Ubuntu Server and I see MIcrosoft Online Services ad, sad isnt it?
Why Open source enthusiasts should not use Google Adsense?

February 18, 2010

Is security really a concern in open-source software or proprietary software?

by viggy — Categories: Uncategorized — Tags: , Leave a comment

I am writing this blog as a reply to the article by Glyn Moody

http://www.h-online.com/open/features/Is-Open-Source-Too-Open-for-its-Own-Good-932940.html

In the article, he mentions that as more and more people contribute to the project, it becomes difficult to check the authenticity of the patch and to understand the real motivations of the contributor . He predicts that it may happen in future that contributors who have commit access to important projects can commit patches such that they create back-doors for the benefits of any third-party. This seems to be a genuine fear for a person recently introduced to philosophy of FOSS. However one should understand that a open source software generally has a much larger user base than the contributor base, a good percentage of which are active bug reporters. The whole community relies on it to report any activity that the software is not supposed to do.

The more intriguing question that I would like to ask all the people who have this fear is: “How have you till now trusted the developers of proprietary software to have not created back-doors in their software?” I mean, I seriously fail to understand how government of all the countries have till now trusted the intentions of proprietary software companies to have not created backdoors in their softwares?

Atleast, in the open-source software, the source code is open and governments can always have a department which tests the software before using it in government organization. But can you do the same for proprietary software?

January 13, 2010

split and join huge files

by viggy — Categories: linux, Misc, tech — Tags: , , , , , , Leave a comment

I recently has asked my friend to download edubuntu9.10 iso . It was a 3.4 gb iso. After he finished downloading when i had to transfer it to my system, we faced a small problem. His LAN card was not working and we had only 1gb pen drive. So the only option we had was to split the iso into files of size 1gb and then transfer them using pen drive.

command to split a huge file into smaller file.

split -b 1G

is the prefix of the smaller files that will be created.

After I split the files, i transfered each file in to my system and then joined the files using a very simple “cat” command.

Join the files splitted by the above commad.

$cat aa bb cc dd>huge-filename

The above command will join all the files and create the file huge-filename.

I need to test whether the order of the smaller files matters in the cat command. Logic says that it should matter. lemme check it out.

Confirmed it. The order of the smaller files is very importent to get back the original file.

January 3, 2010

real player sound problem solved

by viggy — Categories: linux, tech, ubuntu — Tags: , , , , Leave a comment

Thanks to this post, I was able to solve the real player sound problem in my machine.

1. Enable Alsa soft-mixing as described in post http://ubuntuforums.org/showthread.p…multiple+sound
(also setup esd and multimedia system settings as described in that post)

2. Install realplayer as described in http://ubuntuguide.org/#realplayer

3. Install alsa-oss

4. Open the launcher script realplay located in Realplayer’s install directory (/opt/RealPlayer if you followed previous instructions)

5. Find lines
Code:

if [ -n “$LD_PRELOAD” ]; then
echo “Warning: LD_PRELOAD=”$LD_PRELOAD””
fi

6. …and after add this code:
Code:

LD_PRELOAD=”$LDPRELOAD:/usr/lib/libaoss.so”
export LD_PRELOAD

7. Now you get RealPlayer working with Alsa mixing (and so combinations of Realplay, Xine, Mplayer, Frozen Bubble,…sounds work at the same time )
mriya3 is offline Reply With Quote

December 16, 2009

my name in Economic Times. :)

by viggy — Categories: experience, Fun — Tags: , , , Leave a comment

http://economictimes.indiatimes.com/infotech/internet/Post-online-CAT-disaster-IIMs-plan-to-switch-to-Foss-/articleshow/5338309.cms

Just in case they remove that article, copying the contents here. :). Thanks to Abrar for calling me an expert.

Online CAT may use open source code post glitch

15 Dec 2009, 1235 hrs IST, Peerzada Abrar, ET Bureau

BANGALORE: The leading IIMs, still smarting under the recent fiasco over the online CAT debut, are creating their own firewall against similar disasters in
future. After an elaborate post-mortem of the recent disaster, many IIM officials are exploring the idea of using free and open source software (Foss), rather than going in for proprietary software, to prevent online common admission test disasters in future.

“Online exams can be easily conducted using Foss as it can not only reduce costs by over 50%, but it is also safe against virus and malware attacks,” said one of the IIM officials. Infact, US-based Prometric — which bagged the high-profile $40-million contract to organise the online CAT using proprietary software like Microsoft Windows, along with NIIT — has pinned the main reason for this year’s disaster on the virus attacks.

Despite installing several security measures, they were unable to circumvent the virus attacks, which impacted over 20,000 candidates. Unlike the open source software, proprietary software is not for free and has to be bought.

Experts like T Vignesh Prabhu, a hacker at ‘deeprootlinux’, which is dedicated to developing and supporting Foss, said virus attacks form the major concern of IIMs. “The only solution is to discard the virus-prone operating system you have been using and install Foss, such as GNU (a free software) and Linux-based operating systems,” he said.

Foss software, which grants users the right to study, change, and improve its design through its source code, is the most preferred option. He said, there is enough statistics to prove that GNU/Linux-based operating systems are less prone to virus attacks. The only other way is to keep fighting the viruses by installing the latest updates of various anti-virus softwares.“And, you have to keep your fingers crossed hoping that developers of anti-virus companies are just as fast as the virus-writers,” he added.

Officials at Prometric, which had used proprietary software this time, said many centres were affected by mainly two viruses — Conflicker and W32.NIMDA. IIM officials said this happened despite the fire-walls systems installed. They said the CAT computers were sourced and leased from local colleges in the cities where the examinations were held. They said most of the CAT computers got infected through the servers and other computers in various colleges through the local area network (which is a computer network covering a small physical area like a group of buildings). Also, the existing data on some of the 17,000-20,000 CAT work stations has not been deleted.

IIM officials said many of these 17,000-20,000 computers were prone to virus attacks as they may not have used the genuine proprietary software.

“I doubt whether Prometric really checked this. Many colleges may have used pirated software,” said one of the IIM officials. The Foss model is already working successfully in states like Kerala, where the state government’s IT@School provides IT-enabled education to 1.6 million students a year in the state using Foss. “We will use Foss to handle over four lakh admission application forms in a period of 10-15 days for two lakh 11th standard seats in government and government-aided institutions,” said IT@ School executive director K Anvar Sadath. He said the CAT exam can be run successfully on Foss without any virus threats.

Despite all these advantages, some IIM officials also said it will be difficult to conduct exams like CAT on Foss as it is not user-friendly and there is very less awareness about it.

Meanwhile, top IIM officials said they are determined to continue to hold the CAT exam according to the online format, and not go back to traditional paper-pencil one. “Online tests take place globally on a large scale. IT-enabled education is the way ahead,” IIMB director Pankaj Chandra told ET on Wednesday. He said they are reviewing student grievances and are coming up with new guidelines to screen those who deserve to be given a retest to ensure that only genuine candidates enter IIMs.

IIM officials said they were reviewing thousands of hours of video recording of the entire CAT 2009 exam to screen such candidates. Infact, European Union is one of the biggest supporters of Foss at present, having shifted all its public administration details to the Foss format.

Japan aims to switch some of its government computers to the free Linux operating system and reduce its dependence on Microsoft Windows. Japan saw the use of Linux as a way of lowering procurement costs and bolstering its defence against cyber-attacks. Like Germany, France and other European countries, Japan, South Korea and China long have been wary of leaving too many government computers and networks dependent on Windows. Many experts view Windows as too prone to computer viruses and hacking.

December 11, 2009

rm -rf *

by viggy — Categories: debian, linux, tech — Tags: , , Leave a comment

I just got an idea of trying out the command rm -rf * in a virtual system. I had thought of creating a new domU in xen server in the office and then testing in it. However I just tried to switch on my Desktop which had been shut since last week due to some problem with my HDD. Strangely when I started the desktop, the BIOS detected my HDD and it booted into ubuntu. Now this made my expiriment lot more easier because now all I had to do was take a backup of the VM image and then boot using the image in qemu.

After booting up I started a screen and tried the command
rm -rf /
I got an error saying that “/” could not be deleted.

Then I tried the command
cd /; rm -rf *

and then it started deleting all the files in my filesystem. I went to another screen and tried the command “ls”. It told me that “ls” command not found. Then I tried various commands, but none of them worked, except echo and cd. I dont know why these didnt get deleted.

At last I was left with following file structure:
notice:/# cd
dev/ home/ lib/ proc/ .rnd sys/ var/

When I just press Tab twice, I get the following output:

notice:/#
: } case continue elif export getopts kill popd select then ulimit
! alias cd declare else false hash l printf set time umask
./ bg cdcgi dirs enable fc help let pushd shift times unalias
[ bind cdtmpl disown esac fg history ll pwd shopt trap unset
[[ break command do eval fi if local read source true until
]] builtin compgen done exec for in logout readonly suspend type wait
{ caller complete echo exit function jobs ls return test typeset while

Though this would be a very stupid thing to do in any circumstances, I didnt loose anything as I was just testing it on a VM. However the importent question still remains that is there any way to recover fmo here?

December 9, 2009

pushd and popd commands

by viggy — Categories: linux, tech — Tags: , , , Leave a comment

Suppose you are presently working some directory and for some reason you need to cd into some other directory for some trivial but urgent work. So how do you remember which directory you were in. This is where pushd and popd commands are used.
Pushd command adds a directory to the top of the directory stack, or rotates the stack, making the new top of the stack the current working directory. With no arguments, exchanges the top two directories and returns 0, unless the directory stack is empty.
sumit@sumit-Desktop:/var/www/cgi-bin$ pushd /usr/share/apps
/usr/share/apps /var/www/cgi-bin
sumit@sumit-Desktop:/usr/share/apps$

and popd command removes entries from the directory stack. With no arguments, removes the top directory from the stack, and performs a cd to the new top directory.
sumit@sumit-Desktop:/usr/share/apps$ popd
/var/www/cgi-bin
sumit@sumit-Desktop:/var/www/cgi-bin$

I hope it is useful. Definitely very useful for me.

December 7, 2009

svn commit error

by viggy — Categories: tech — Tags: , , , Leave a comment

I wanted to commit to a repository but whenever i tried the “svn commit” command. I was getting the following error.
svn: Server sent unexpected return value (500 Internal Server Error) in response to MKACTIVITY request for’ ‘
Well I did not understand what the error was till i checked the svn info.
The error was because I had checked out the code using http protocol and hence I had not been authorized to commit. So what I did was checkout the code again using https protocol.
However my senior told me that the right way is to do “svn switch”.

svn switch NEW_URL