Happy FOSS

Opensource, Technology, Programming & Computer Science

Meaningful mount point names

I renamed mount points from the usual conventions of hda1 hda2 etc.
If one has to make changes about the mount point changes in /etc/fstab file.
To edit this file, one has to be root.

Before, my mount points used to be
/mnt/hda5 for /dev/hda5
/mnt/hda4 for /dev/hda4

Now they are more meaningful like
/mnt/dev for /dev/hda5
/mnt/backup for /dev/hda4

The fstab file looks like below
# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
/dev/hda6 / ext3 errors=remount-ro 0 1
/dev/hda7 /home ext3 defaults 0 2
/dev/hda3 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hda1 /mnt/hda1 ext3 rw 0 0
/dev/hda5 /mnt/dev ext3 rw 0 0
/dev/hda4 /mnt/backup ext3 rw 0 0

Once the editing the file is done. Just execute the following commands to umount and mount the partitions. make sure to save and close all applications before executing the below commands.
sudo /etc/init.d/umountfs stop
sudo /etc/init.d/mountall.sh

December 6, 2009 Posted by | FOSS, Linux | , , , | Leave a comment

Wildcard string match in C

A project that implements the wildcard string matching that test a given string with a wildcard string. The wildcard string may contain wildcard characters * and ?. The result of the match will be either true or false.
For example
The result for the match of a given string Dinesh against the following wildcard strings will be true
1. Dinesh
2. Dines?
3. D*
4. Din???
5. Din*???
6. *Dinesh*

The source code can be checked out from here

September 9, 2009 Posted by | FOSS, Programming, Software | | Leave a comment

Open source in Engineering Curriculum

Take GNU/Linux as your case study and use FOSS in subjects that you will encounter

for example

1.System Software
2.Data Structures
3.OOPS
4.Operating Systems
5.Computer Networks
6. Web Technology
7.Cryptography & Network Security
8.Embedded Systems

One can do his/her assignments, projects, research using Open Source Software!

When you can come to position of contributing to open source projects,
please do 🙂 I guess it takes final year for that, but it depends on the individual.

Like a biology student disects rabit to learn biological science, Computer Science student has to essentially use Open Source tools and software to understand Computer Science.
Disect the code 😉

Join mailing lists of your favorite open software to collaborate with the community.

October 10, 2008 Posted by | FOSS, Linux, Software | , , | 2 Comments

mailsend

Mailsend is a multi platform command line tool to send mails.

It has two modes : commandline and interactive

I have used this mailsend binary to send mails as a background process by using a wrapper shell script to read the necessary inputs required by mailsend from XML files. This script would be called by cron periodically. The XML files have the email data contained in it.

You can download the Opensource software from the below link

http://www.muquit.com/muquit/software/mailsend/mailsend.html

July 5, 2008 Posted by | FOSS, Linux, Software | , , , | Leave a comment

Bluespam

From my blog statistics i find that there is a good hit for bluespam.So i decided to write an article on bluespam.

I have not used the exact bluespam software, but i trimmed version of the program.I use the modified version to send a file to all the bluetooth devices that have been discovered.The bluetooth devices receive a prompt saying do you want to receive a file from my device.Once accepted the file is sent to the device.Some devices require authentication, so a pairing has to happen before sending the file.The passkey can be made fixed or dynamic.Suppose my device is running without the user, then i have to hard code the passkey into my hcid.conf file.Since its hard coded this particular key has to be publicly distributed.

Further documentation can be found here http://www.mulliner.org/palm/bluespam.php

Refernce Manual

Refernce Manual 2

March 8, 2008 Posted by | FOSS, Linux, Mobile, Software | , | Leave a comment

Google’s Summer of Code

code.google.com

http://en.wikipedia.org/wiki/Google_Summer_of_Code

http://googleblog.blogspot.com

March 5, 2008 Posted by | FOSS | , , | 1 Comment

Testimonial – ubuntu gave a new life to my friend !

Today evening was a cool ubuntu evening.my friend srini was suffering a lot with windows.The remedy was “ubuntu” lol.He complained to me lot about viruses, spyware etc.His internet explorer itself has been corrupted by …i am not able to say what has happened because the system is black box.

Taught him and another friend on installation procedure.And i did the install because srini was too much pissed off with the operating system going mad and unmanageable ! It was he who urged me to install linux as soon as possible.He was amazed to see so many free softwares !

I wish he acknowledges this by writing a comment lol

March 4, 2008 Posted by | FOSS, Linux | , , , | 1 Comment

FOSS for beginners made easy

Hello Newbies !

FOSS stands for Free/Open Source Software

Free does not mean free as in free lunch, it means free as in freedom of speech.But mostly FOSS softwares are free of cost too.Why use FOSS? A fantastic question to ask.The answer is, rather than writing a huge paragraph i would like to give a pointer to a set of slides with “only pictures”.http://sirsasana.org/slides/

In order for engineering students to learn software engineering they cannot use a proprietary software like windows or any other software whose source code is not open.Through proprietary software one can only learn about the cost and the interfaces, not software.Linux alone is not an example of open source,even applications like Mozilla Firefox is an instance.The source code of firefox can be found at here

Linux was initially a simple kernel, but it was continuously improved and enhanced to reach the current stage.With so many packages for linux.It was possible by people like you and me.This is an example of how powerful is contribution.Contribution can be

  1. Development – i.e. writting code for kernel/device driver/application
  2. Testing Bug/Reporting Bugs/Fixing Bugs
  3. Localization i.e. Help translating the FOSS software to local languages
  4. User
  5. Donation – FOSS softwares run on donations, but they not compulsory.But if you are satisfied its ethical to pay for the software.
  6. Advocacy – Spreading the word to your friends
  7. Documentation – wiritng HOWTO & documenting the free software can help people to learn them better.

The advantage of free software being free is that the community can improve the software for ever, and ultimately the community is benefited.One can learn a lot of intellectual property issues likes copyright, trademark & patents in FOSS.The famous license in FOSS is GNU GPL, which focuses on copyleft.Other licenses can be found here.

References

Why is Microsoft so rich ?

recommended to know restrictions of proprietary software http://www.debian.org/intro/free

http://www.gnu.org/philosophy/philosophy.html

If you had spent some time through this entire post & the links mentioned, then you know what is FOSS !

See my credits page too 🙂

February 29, 2008 Posted by | FOSS, Software | , , , | 1 Comment

My project – openscatternet

FOSS really helps my project.When i use open source software, i am able to study, analyse and modify it to suit my purpose.I was clueless how to go about with my project until i met Kenny Jacob at FOSS.IN.He introduced me to a open software called bluespam & btopush open library.Reference manual of can be found here.They helped me to understand how to PUSH files into discoverable bluetooth devices using Object Push profile of bluetooth.I learned how the software was built.I wanted the functionality of pushing files into discoverable devices, so i modified the software to my own purpose.The btopush library depends on openobex, which in turn depends in bluetooth library.

Scatternet is a concept in bluetooth.I am implementing an IEEE paper “SHAPER:A Self Healing Algorithm Producing multi-hop Bluetooth scattERnets”.

My SVN can be found at

http://code.google.com/p/openscatternet/

February 28, 2008 Posted by | Bluetooth, FOSS, Programming, Software | , , , , | Leave a comment

Converting Audio Cassettes to CD is easy

My father and me used to do this conversion work, since 2 years.We converted many cassettes into few CD.Recently, i was surprised to know that this was an article in LFY !All you need for doing this is just a cassetter player, it could be a walkman too, then a chord to connect your pc’s audio in and the player’s audio out & audacity

Configure audacity so that it listens & records the audio in or line in port of the pc.Now start playing the cassette.Once recorded you can export the captured signal to any audio format.

we can save audio content in cassettes from corruption !

February 27, 2008 Posted by | FOSS, Linux, Software | , , , | 4 Comments