April 2, 2009

First IOTA Teachers' FOSS Training @NIT Durgapur

This semester has been full with loads of events. Cultural and Technical fests swept past with high speed. Seminars, parties and so many different kinds of them. But last weekend something happened that was a first of its kind for our college. But before that let me tell you that NIT Durgapur is a IOTA resource centre an is the third of it's kind. IOTA offers courses on Basic Linux and Open Office. It is a program of West Bengal Govt. and is aimed at improving the training and support scenario of Open Source Softwares.
The program, organized by IOTA Cell, NIT Durgapur, was a three day training program, from 27th to 29th March, for school teachers. It objective was to introduce Linux and various Open source softwares available and consisted of training sessions to make them able to use FOSS in their day to day use. Around 75 teachers from various schools in and around Durgapur an Burdwan registered for the program.
First day was dedicated to basic computing concepts like software, hardware, open source, linux etc and acquainting them to the various flavours of Linux and applications available in the open source area. Some amount was also dedicated to GNOME, KDE, and basic usability. This was done over three sessions spread throughout the day and were taken by Debayan, Shreyank, Kaushik Nandy, Roshan Singh and Amit Daga. Fedora, Open Suse, and Ubuntu were demonstrated to them.
Second day started with the instructors demonstrating the Linux installation process and helping the teachers do the same on the computers in the LAB. This took almost the entire first half. Post lunch, OpenOffice.org basics were demonstrated to them followed by a demonstration and hand on workshop on OpenOffice.org Writer. The lecture stressed on various issues like open document format and compatibility issues with MS Office Suite. Everyone was provided with a hard copy of "OpenOffice.org for Beginners" documentation. All different steps of creating, saving, opening and formatting a document were demonstrated. The enthusiasm of the attendees could be understood from the volume of questions the instructors, which included me and Avishek Basu Mallick, had to answer. The hands on session was pretty productive and we tried to attend to almost all the problems faced by them. Thus ended another very fruitful day.
Third day was rather a continuation of second day had 3 sessions. First one was on OpenOffice.org Calc, second one was on OpenOffice.org Impress and the third one was dedicated to internet basics such as emails, google search, bengali search , groups, web pages etc. All the three sessions were followed by hands on workshops on the topics demonstrated. The instructors were the same as the second day except for Abhishek Gupta and Koushik Nundy. The attendees were pretty excited to find out how easily they can do their office chores with Calc. They simply loved OpenOffice.org. In the end feedback and suggestions were taken on a form so that the program could be improved next time. An almost exhaustive list of Windows alternative applications on Linux, compiled by iLUG-Cal, and a contact details were distributed. THe pictures can be found here.
These three days were a great learning for the teachers as well as for us. We were happy that we could reach such a diverse crowd and have been able to bring them into the world of FOSS, they being teachers can teach others about FOSS. It was a job well done by the IOTA Cell, NIT Durgapur.


March 16, 2009

Live USB Magic

Now a days almost all the computers have the ability to boot from USB. This ability can be put to use by installing an operating system on a usb stick. This makes it possible to carry your OS with you where ever you go. Live usb is an example of OS on usb stick. All you need to make a live usb is a live image of the OS and a usb disc with sufficient memory. This post explains in a step by step manner the process of creating a live usb.

1)Download the live image from the site

Here's the link for Fedora: Fedora10-KDE-Live

2)Check the size of your usb stick

You can do it by issuing this command:

df -h


3)Creating partition and filesystem on the usb stick


Issue the following command to get into fdisk and follow the steps:

fdisk /dev/USBDEVICE (/dev/sdc in my case)

Command (m for help): d (This deletes the partitions)
Selected partition 1

Command (m for help): n (This creates a new partition)
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1 (This gives the number of partitions)
First cylinder (1-960, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-960, default 960):
Using default value 960

Command (m for help): t (This sets the file system type)
Selected partition 1
Hex code (type L to list codes): 83 (For Linux flesystem types-
ext3/ext2 etc)
Changed system type of partition 1 to 83 (Linux)

Command (m for help): a (This toggles the bootable flag)
Partition number (1-4): 1 (This is the partition number which is
to made bootable- /dev/sdc1
in my case. So '1')
Command (m for help): w (Writes the changes to the partition table)
The partition table has been altered!

Calling ioctl() to re-read partition table.

Syncing disks.


4)Formatting the file system

First unmount the usb stick

umount /dev/USBPARTITIONNAME

Then issue the following command to format in EXT3 filesystem.

Caution: THis will erase all files on the disc

mkfs.ext3 -L usbdisk /dev/USBPARTITIONNAME (/dev/sdc1 in my case)


5)Copying the live Fedora image

su -c "livecd-iso-to-disk /path/to/ISO /dev/USBPARTITION" (/dev/sdc1 in
my case)
Password:
Copying live image to USB stick
Updating boot config file
Installing boot loader
USB stick set up as live image!


6)Booting from the live usb

Restart the computer and go to BIOS. Enable USB boot and change the priority of usb device to highest. This has to be done with the usb stick inserted. Then save the changes and exit BIOS. The computer will auto restart and voila. The live usb is in action. Behold the live OS (Fedora Live) coming up on your screen.


For troubleshooting refer to this Tutorial

March 8, 2009

Blooming Bijra

This post was supposed to be written one day back but since I was busy working on the offline repo and installing Fedora on friend's computer, so this post comes a little late. On the fine day of 6th March, Friday, Shreyank and me went for a visit to a high school in a village located on the outskirts of Durgapur and made famous by the DGPLUG project . This project set up a computer lab in a village school where you don't even get proper drinking water and where none of the students would have never had a chance of so as to even see a computer if not for this project. It was a farsighted one. Kudos to the DGPLUG people.

The Title Stone


Project Banner

I woke up that morning on a call from Ratnadeep informing me that they will be catching the 11:30 bus to Bijra and was telling me since I had showed interest earlier to go to Bijra. I confirmed our visit after getting the detailed route from him. After a hell lot of a trouble, we finally managed to reach Bijra.

That's Bijra Village

What I saw there was simply amazing. The students out there were in some ways more disciplined than Model School students and were so very enthusiastic about stuffs. Ratnadeep and gang were showing them some fun stuffs on Linux, not willing to overload their brains with blah blah information. DGPLUG had installed, with some help from WBUT, a computer lab out there which runs on LTSP. Several low grade network boot machines booting from a high grade server. This reduces the installation cost. After some time with showing them Marble and Kstars and other fun stuffs, they were moved to the lab in groups of 30, 10 per computer since only 3 computers were running. They were being showed the National Geographic videos which were archived there. Shreyank was explaining Global Warming to them. He was stammering a bit with Bengali since it's not his mother tongue. The small kids were actually telling him the bengali words for whatever he was trying to say. I was amazed by that.


Ratnadeep Teaching Geography

Marbles At Work

On other two consoles the small girls and boys were being taught how to use TuxPaint to write their names, change colours, styles, font size etc. Initally they were a bit rusty with the stuff but picked up easily with a little practice and encouragement. It was really awesome teaching them. Then colour filling was demoed and they were allowed to try it out themselves. They were so exhilarated with the experience of actually working with a computer. One thing that simply took me aback was the fact that they learned the 'ctrl+z' undo function just by observing me do it. I explained it to them. At this point I was almost killing myself for the fact that I didn't bring a proper camera. Every moment was photogenic. One incident happened that has to be, has to be mentioned here. A harmonium was lying on the table and its cover was on the other table. A small kid, yeah much smaller than me both in height and age, took the cover and put it on the harmonium, something I had never done in my whole school life. He actually made me feel small in front of him.


That Says "COMPUTER" in Bengali

Shreyank Showing Nat Geo Videos

The headmaster was quite nice and had warmth in his behaviour. He made acquaintances with us and we promised him to help him with the project whenever he needs any. He was very thankful about that. As we came out of the school and were waiting for the bus, the children kept waving at us from the windows (not Microsoft Windows). It was a sight to cherish. We too waved back Shreyank was pushed by all this to promise another visit to Bijra very soon. Thus a great day of enlightenment, for us, for the children there, came to an end.

If You Look Carefully You Could See
Tiny Hands Waing At Us

February 23, 2009

Not Just Another Install Fest

If you haven't guessed already what this blog post is going to be about, let me tell you that this post brings to you my experience at the Kalyani Government Engineering College Install Fest and FAD. It all started when I got a call from Rohit Gupta, whom I had met before at Mukti 09, telling me that they want to organize an Install Fest and FAD provided I can arrange for free DVDs and some expert help. I posted it on Fedora-India and Fedora-Ambassadors mailing list and soon I started getting replies from people who were willing to provide the resource that was required. Susmit Sannigrahi and Debayan Bannerjee were two of them. I was guided to the 'events' page at Fedora wiki where I filled in the required details and within no time the FAD and Install Fest was off to a very good start. In the next three days Rohit and me along with the much needed help of the KGEC final year and KGEC authority, not to mention the Fedora-India team, made all the arrangements for the one day event that was going to be a first of its kind in KGEC.
The preparations started the day before the fest was scheduled to happen. Stuffs like getting printouts, burning around 50 DVDs for distribution, fixing the agenda, final publicity were among the few things that we were busy with on the eve of the Install Fest. That day earier I had met Susmit da at Santoshpur and picked up the 50 Fedora 10 DVDs and othe stuffs like stickers and badges. These were to be distributed the next day. Debayan and Shreyank, who were coming on the day, were bringing in 50 Fedora 10 DVDs and 20 FEL DVDs with the. I called up Ratnadeep and Shreyank and querried about their journey plans. Then off for a good night's sleep.
The next morning the KGEC boys were busy making all the final arrangements. I woke up at somebody telling me frantically that they are unable to manage the crowd that had gathered at the areana for registration. The day had started with a good note. I did my cores and rushed to the arena to be surprised by what I saw. The queue was a neat 50 metres long and continued till the institution gate. People were waiting outside in a queue not being able to get in just because there was no room inside the seminar hall, not even to stand. Shreyank and Mitesh Sharma, who came in place of Debayan because Debayan couldn't com due to his friend being very ill, had arrived at Kalyani Main. I gave them directions on how to get to KGEC. Subhodip, Arindam and Ratnadeep were a bit late due to their bus getting caught up in some kind of road block. It was 11:30 and Indranil Das Gupta, the founder of ILUG-Cal had also arrived, inspite of being sick, and have had an informal meeting with the Pricipal and other faculty members regarding the prospects of FOSS and Linux in the college. We started the proceedings at around 11:35 with the indroductory speech of the anhor Snigdhadeb followed by speeches by the Faculty members and HODs who were present there. The hall was jam packed with around 140 - 145 people attending the event. 150 Fedora 10 DVDs and 20 FEL DVDs were distributed amongst the attendees and some faculty members as well. The principal of the CSE department talked about his experiences with Linux, about how everybody used to laugh at people who used Linux. His encouraging speech was followed by our very own Indranil da talking about the evolution of Linux and FOSS in India, how he managed to install Linux in those pre graphics days. His information impregnated speech touched the topics like LUG culture, GSoC, OSM, FOSS in India, mailing lists and many more things. He also tried to explain how one can contribute to FOSS exemplified aptly by Sayamindu Dasgupta, Arindam Ghosh, Gopal V. and Subhodip Biswas. He ended his speech quoting President Obama, "We will be the Agents of Change" and "Yes We can". Though he was ver interested to stay for the whole day, but he had to leave to attend a meeting in Kolkata. His speech really inspired the participants and got the rhythm going.

Just Look At The Length Of The Queue

The Install Fest Banner

That Is What I Mean By 'Jam Packed'

Anchor Snigdhadeb and Other Dignataries

Indranil Das Gupta's Inspirational Speech

During Indranil da's speech, there was a power failure and this 2 hour long blackout slowed things down to a halt. Unable to continue, lunch had to be announced. The next session was to begin as soon as the power comes back which did only after 2 very long hours at 14:00 hrs. The second session stared at 14:10 hrs with Arindam (aka makghosh) spreading the word about Fedora with his "Introduction to Fedora talk". We couldn't get Ratnadeep's nvidia card to work with dual sisplay and so Arindam had to use my laptop for the presentation. He played the very popular 'Truth Happens' video which thrilled the audience. He then talked about four 'F' s of Fedora, the development cycle, the Fedora community and a lot of other things related to Fedora. His talk was followed by Subhodip busting the myths about Linux with his really nice "Myths about Linux: Busted With Fedora" talk wherein he tried to remove the various misconceptions about Linux. He illustrated the licensing problems with proprietory formats like .mp3 and .wmv and also showed them how to get stuffs installed from rpmfusion and get their linux box to do whatever they wanted it to do. The audience was captured by his frivolous yet illustrative way of talking. Arindam and Subhodip then showed some demos and questions started flying in. In the mean time Ratnadeep and me were trying to set up the local repo in the lab. Though the interactive session was getting more and more interesting with mak and Subhodip addressing queries, we had to cut it short since we were running out of time for the actual install fest. It was already 16:15 hrs. and the participants were eager to move to the lab for the install fest. At 16:20 hrs. Subhodip and Arindam wrapped up and the people were asked to move to the lab.

Arindam Giving An Introduction To Fedora

Subhodip's Myth Buster Talk

Wow What A Crowd

Query Session With Mak Subhodip and Me

The install fest began with around 55-60 people attending it. Around 15 people had brought their laptops. The others were given around 15 lab computers which they shared to learn the install process. We atually had about 35 people who brought in their systems, but some them left as we were delayed by the power failure and they had to go home for the weekend. The installation kicked off at 16:30 hrs. and every step was explained by me on the projector. The custom partitioning and the default partitioning, both were explained properly. People had queries about partitioning problems but once it was explained, they all were quite content. then came the customization of packages and which is what stage. While the OS was being installed, I told them a bit about rpmfusion, IRC, mailing lists, rpm installation, bugzilla, bug triaging, artworks, how to join fedora etc. etc. Once Fedora installation was complete, Ratnadeep and me got busy with the configuring the systems and showed them how to do it. Ratnadeep's offline repo came handy. Many people jotted down the various steps involved. A brief demo of GNOME and KDE desktop was give. They were pretty fascinated by the superb look and feel of KDE 4.2. Some even christened it as being better than Vista. Some applications like network-manager, pidgin, samba windows networking, nautilus etc. were also shown. It was already 18:00 hrs. and we had to finish up quickly. Then came the enthusiasts and they asked about how to do this, that and various stuffs. One thing I forgot to mention is that among the large number of participants and enthusiasts, there were also a lot of girls. Well then we went back to the hostel but before the we left Fedora's mark in th lab by sticking Fedora stickers on the systems. About 50 of them were also distributed amongst the participants.
Me Demonstrating Install Process


Installing Fedora on Laptops

The install fest had'nt yet ended. In the hostel namely RBC Hall, Ratnadeep and me installed Fedora on a lot of systems having different configs. Faced some problems with nvidia cards with graphical install not working. Ratnadeep configured the systems using his newly made local repo and shell script. I had to configure triple boot with Ubuntu and Windows on some of them by manually editing the grub.conf file. I also showed them how to do it. Ratnadeep's offline repo was of great help. Finally it all ended at around 2:30 a.m. wen we decided to go to bed since we had catch the early morning train the next day.
The Team

It was a great experience to be in Kalyani for tha FAD and without the
support the KGEC boys and the college authority, it wouldn't have been possible. It felt really nice to share knowledge with so many people. I myself learnt a lot . Kudos to Rohit, Snigdhadeb, Sunil, Ekhlaque, Debraj, Tanmoy and others who made this possible. Hope to see more coming from you guys.

February 18, 2009

Talks @ Mukti 09

For those people who doesn't know what Mukti is, let me start by giving a brief introduction of Mukti. Mukti is a FOSS symposium organized by the Linux Users Group of National Institute of Technology, India. It is probably the biggest of its kind in eastern India. I don't exactly know when it all started but I have been a part of it since I was in first year. Now in my final year, I have witnessed various flavours of Mukti. This year it was planned to be little different from the previous ones and concentrated more on informing people and spreading awareness. This was to be done by organizing talks and workshops on different aspects of FOSS and Linux.
The FOSS week began on 2nd February and was inaugurated by the IT minister of West Bengal, Dr. Debesh Das. The talks and workshops saga started off on 3rd Feb with NRCFOSS workshop on "How to write C/C++ programs in GNU/Linux" and was followed by a workshop on "Python: An Integrated Programming Language" by our dear Shreyank Gupta in the afternoon. In the evening the "Fedora Electronics Lab" talk and hands on session, which was held alongside with the VariCAD session, was a first of its kind in our college. The talk was done on-line by Aajhan who stays in Switzerland. Thanks to Debayan for his Skype Video idea, we heard the creator's words though due o some technical problems, our microphone did not work and the session had only limited interactivity. We created history.








The next day i.e. 4th Feb was alsodedicated to nrcFOSS workshop namely "Collaborative Software Development Using SVN". A workshop on"Typesetting for engineers using LATEX" by our very own Prof. J Howlader was next . In the evening we had people from CDAC to give a demo of "Matlab alternatives for Linux: Scilab and Octave". The sessions were great learning experiences for all those people who attended them. That was enough the day. Needed to make preparations for the to come.



5th February did not have any workshops or talks and so moving along to 6th Feb, Friday on which day Mukti 09 started off with a talk on "How to run a successful free software business" by Mr. Abhas Avinav who was also an alumni of the college and has a successful free software business of his own. His company is called 'Deeproot Linux'. Met Pradeepto there. We really learnt a lot about business prospects in FOSS. In the afternoon I met Satya Komaragiri who was a GSoC student from Delhi and seemed really cool. Her talk on "How to contribute to FOSS" was next on the chart. It was a nice and interactive one and a half hour session though she kept asking me over and over again whether she looked nervous or not. In the mean time " A day with Fedora" had begun and we had to rush to attend it. Arindam and Subhodip were ready with their presentations and taught some cool stuffs. They showed how to make a live usb drive. Subhodip's presentation on "Myths about Linux busted with Fedora" was especially good. The first day of Mukti finally ended with a great talk on "Managing your on-line profile" by Yu Yu Din.



Next morning, 7th Feb, couldn't wake up early for the "SUN Technologies" talk but did just in time for the talk on "INGRES CAFE" by Mr. Tennyson Kaliyampadi which followed. Didn't really know a lot about DBMS or databases. Still it was interesting.Pradeepto's talk on "KDE: The Desktop Environment" was at 4:00 p.m. He was awesome. He demonstrated the KDE-edu applications like Kstars, Marble, Kletters etc. He also showed a program that he had written as an example to give us the feel about 'How easy it is to code in KDE'. It used the marblewidget and displayed a map. So much in only 10 lines. That's KDE. It was the coolest thing I have ever seen. After the talk was over we socialized with him for a while and heard a lot of stories about his experience in the community, FOSS.in stories, the KDE booklet and many more. Anurag who was present in the talk, had to rush to the IT lab for is workshop on "Ruby On Rails: Next Generation Web Framework". Could not attend it though.


On 8th Feb, we were supposed to have Sayamindu as the speaker on "OLPC project" but he couldn't make it. The only session left for the day was that by Indranil Das Gupta on "The Indian FOSS community". It was the beginning of the end of MUKTI 09 and was successfully concluded by the valedictory ceremony and the very precious vote of thanks by Mayank Daga, President of NITDGP LUG.
Debayan was in charge of the workshops and talks and indeed he did a wonderful job in organizing those, bringing in people from all walks of FOSS. Thanks to Debayan and the Mukti team for such a wonderful event.