Archive for the 'general' Category

Aug 25 2013

Installing ubuntu from USB stick on a Via EPIA M System

Published by under general

I recently purchased a VIA EPIA M 10000 motherboard and a micro-ATX case to build my home server. There was not a CD drive and hence the installation of OS was not straight forward.

I wanted to install Ubuntu 8.10 ( Interpid Ibex) on this system and I had to install from a USB stick. Instalation from USB stick is not straight forward either. Hence, I thought of sharing how I installed the OS. Please follow the steps below:

My System Configuration

Via EPIA M 1000 motherboard ,1 GHz Fan cooled x386 Processor

160 GB harddisk and 512 MB PC3200 RAM

  1. Get a USB thumdrive with atleast 1 GB freespace.
  2. Format the drive using Windos Format tool
  3. Download syslinux . Syslinux utility is avilable for both Linux and WIndows. I downloaded Windows version. Follow this link to learn more about SysLinux. Syslinux is used to install the bootloader on the USB Drive
  4. Insert the thumbdrive into your Windows machine and open a command window
  5. Execute  syslinux.exe -m -a -d e: ( Here e: is assumed to be the Drive letter for the USB thumbdrive. ). After this command, you should see syslinux.cfg in the root dir of the thumdrive.
  6. Download Ubuntu 8.04 ISO image to your local drive. ( Please note, the kernel is  i386 compatible for these set of processors. I know for sure Ubuntu 8.04 and below are i383 compatible. VIA EPIA M 10000 instruction sets are not fully i686 compatible. So any OS kernel that is compiled for i686 instruction set will not boot on these systems. I learnt it the hardway. Ubuntu 8.10 did not work for me. Whenever I try to boot, the bootloader threw a warning ” ……”)
  7. Using “Winrar” extract the ISO image on to your harddisk. This is needed to copy some files into the USB thumbdrive.
  8. Download initrd.gz and vmlinuz files  for Ubuntu 8.04 ( Hardy ) from this link. These files are required for installing from USB Thumbdrive.
  9. Copy the following into USB thumdrive root folder
    1. copy the contents of isolinux into the root dir of USB thumbdrive. (To be unambigious:  isolinux is a folder you get when you extract the 8.04 iso image  )
    2. create a directory named “install” and copy “initrd.gz” and “vmlinuz”  into this folder.
    3. copy the whole 8.04 iso image into the USB thumdrive. ( To be unambiguous: You need to copy the whole ISO image and NOT the extracted files )
  10. Rename isolinux.cfg to syslinux.cfg
  11. Power your EPIA M based system  and hold the DEL key to enter the bootloader menu.
  12. In the “Advanced” option select the boot drive to be USB Drive
  13. Then plug in your USB thumbdrive and restart the system
  14. Ubuntu install screen will be presented and follow the instructions to complete Ubuntu 8.04 Instalation

Comments Off on Installing ubuntu from USB stick on a Via EPIA M System

Dec 23 2010

RF Power Conversion Table from dBm to mWatts

Published by under general

dBm = log10 (mW)*10
mW =10^(dBm/10)

40 dBm 10.00 watts
36 dBm 4.00 watts { Maximum ERP allowed by FCC in U.S.
30 dBm 1.00 watts
27 dBm 500 milliwatts
26 dBm 400 milliwatts
25 dBm 320 milliwatts
24 dBm 250 milliwatts
23 dBm 200 milliwatts { Typical output from WLAN devices at 915MHz
22 dBm 160 milliwatts
21 dBm 130 milliwatts
20 dBm 100 milliwatts { Maximum ERP allowed by E.T.S.I. In Europe
15 dBm 32 milliwatts
10 dBm 10 milliwatts
5 dBm 3.2 milliwatts
4 dBm 2.5 milliwatts
3 dBm 2.0 milliwatts
2 dBm 1.6 milliwatts
1 dBm 1.3 milliwatts
0 dBm 1.0 milliwatts
1- dBm 0.79 milliwatts
5- dBm 0.32 milliwatts
10- dBm 0.1 milliwatts
20- dBm 0.01 milliwatts
30- dBm 0.001 milliwatts
40- dBm 0.0001 milliwatts
50- dBm 0.00001 milliwatts
60- dBm 0.000001 milliwatts
70- dBm 0.0000001 milliwatts
80- dBm 0.00000001 milliwatts {Receive threshold for most WLAN devices

Comments Off on RF Power Conversion Table from dBm to mWatts

Jun 09 2010

GLOSSARY OF BOTANICAL, ENGLISH AND TAMIL NAMES OF CERTAIN CROPS

Published by under general

Government of Tamil Nadu

Department of Economics and Statistics

Season and Crop Report 2005-06

GLOSSARY OF BOTANICAL, ENGLISH AND TAMIL NAMES OF CERTAIN CROPS

BOTANICAL ENGLISH TAMIL jäœ
1. Oryza Sativa Paddy Nel beš
2. Sorghum Vulgare Cholam Cholam nrhs«
3. Pennisetm typhoideum Bulrush / Spiked Millet Cumbu f«ò
4. Eleusine cora cana Ragi Kelvaragu / Ragi Keppai nfœtuF
5. Satariaitalica Italian Millet Thinai Âid
6. Paspalum Scrobiculatum Kodo Millet Varagu tuF
7. Panicum Milliare Samai Samai rhik
8. Panicum Miliaceum Common Millet Panivaragu / Kaadaikanni gåtuF
9. Panicum crasgalliver-Frumenta-cum Sanwa Millet Kudiraivaali FÂiuthè
10.Zeamays Maize Makka Cholam / Thullukka Cholam k¡fh¢nrhs«
11.Triticum spp Wheat Godumai nfhJik
12.Hordeum Vulgare Barley Barley gh®è
13.Phaseolus Mungo Greengram Pacchapayaru g¢ir¥gaW
14.Gajanus indicus Redgram Tuvarai Jtiu
15.Phascolus radiatus Blackgram Ulundu cSªJ
16.Cicer arietinum Bengalgram Kadalai fliy
17.Dolichos lab lab Field bean Mochai bkh¢ir
18.Phaseolusa conitifolius Dewgram Naripayaru / Kallupayaru / Tullikkapayaru eç¥gaW
19.Vigna Cating Cowpea Karamani / Tattapayaru fhuhkâ
20.Capsicum annum Chillies Milagai äsfhŒ
21.Coriandrurm sativum Coriander Kothamalli bfh¤jkšè
22.Peper nigrum Pepper Milagu äsF
23.Curcuma longa Turmeric Manjal kŠrŸ
24.Allium sativum Garlic Vellaippoondu ó©L
25.Zingileer Offenale Ginger Inji ÏŠÁ
26.Carum copticum Omum / Bnishoop’s weed Omum Xk«
27.Saccharum officinarum Sugarcane Karumbu fU«ò
28.Mangifera Indica Mango Maa kh
29.Musa sapientum Plantain Vazhai thiH
30.Allium cepa Onion Vengaayam bt§fha«
31.Solanumtuberosum Potato Urulaikkizhangu cUis¡»H§F
BOTANICAL ENGLISH TAMIL jäœ
32.Arachis hypogea Groundnut Verkkadalai / Nilakkadalai ãy¡fliy
33.Seasamum indicum Gingelly Ell
34.Ricinus Communis Castor Amanakku / Kottaimuthu Mkz¡F
35.Cocos nucifera Coconut Thengaai nj§fhŒ
36.Linum usitatissimum Linseed Alivira Më éij
37.Braesicea spp Rapeseed and Mustard Kadugu fLF
38.Guizotia abyssinica Nigerseed Peyell / uchchel ngbaŸ
39.Carthmaus tincorius Safflower Kusumbavrai FR«gtiu
40.Gyossium spp Cotton Paruthi gU¤Â
41.Crotolaria juncca Sunhemp Sanappu rz¥ò
42.Hibiscus Cannabins Bombay hemp / Himlipatam Jute Pulichhai / Pulimanji òë¢ir
43.Crochorus spp Jute Sanal rzš
44.Indigo fera Sumatran Indigo Avuri / neeli mÎç
45.Nicotiena tabacum Tobacco Pugaiyilai òifæiy
46.Areca cattcehu Arecanut Paakku fKF
47.Coffee arabic Coffee Coffee fh~Ã
48.Camellia thea Tea Theyilai njæiy
49.Piper betel Betelvine Vethilai bt‰¿iy
50.Cannabis Sativa Indian hemp Ganja fŠrh
51.Heva Brasilienis Rubber Rubber Ïu¥g®
52.Bitrus aurantifolia Acid lime Elumichai vYä¢ir
53.Bitrus limon Lemon Kodi Elumichai bfho vYä¢ir
54.Brassica clavacca Varbullata Cabbage Muttaikose K£il¡nfhR
55.Aoacardpum Occiemtable Cashew Munthiri KªÂç
56.Vitis Vinifeia Grape Dratshai / Kodimunthiri Âuh£ir
57.Psidrium guajarvs Guava Koyya bfhŒah
58.Aropcarpus Integrifolia Jack Pala gyh
59.Hibiscus esculantus Lady’s Finger Vendai bt©il
60.Citrus cincsin Orange Orange MuŠR
61.Amanas Sutivus Pine Apple Annasi m‹dhÁ
62.Apomaca Batalas Sweet Potato Sarkaraivalli r®¡fiu tŸë
63.Mainhot utilissima Tapioca Maravalli kutŸë
64.Carice papaya Papaya Pappali g¥ghë
65.Daucus Carot Carrot Carrot nfu£
66.Helianthus annus Sunflower Suriyakanthi NçafhªÂ

Comments Off on GLOSSARY OF BOTANICAL, ENGLISH AND TAMIL NAMES OF CERTAIN CROPS

Mar 14 2009

Strong Password Generator & Verification Tools

Published by under general

Strong passwords are paramount if you have to protect your online resources from being accessed by bad guys. However, you may not be sure if the password you use is strong enough. To check the strength of your password, please use the Microsoft Password Strength Checker.  Enter your password, and the site offers immediate feedback on the strength of the password. I would recommend if your password is weak, then try until you get something you can remember and as well strong.

Actually, it is not that difficult to choose something you can remember and at the same time it is strong. In general a strong password should be at least 8 characters wide and should be a combination of  small letters, capital letters, numbers and one of  printable special characters like ~!@#$%^&*()_+ …

One way to generate a strong password and yet easy to remember is to follow the below methodology.

Choose a name that you can remember. Lets us choose justin

Let us create a 9 character password using “justin” as the core

In unix world, ^ stands for beginning of a word/line, $ stands for the end of word/line

So first morphing of justin is ^justin$

Now we need to add at least  a capital letter. Let us choose “s” in “justin” to be capital letter.

So the second morphing is ^juStin$

Now we need to add at least a number. lets count the position of letter “s” in the word “justin”. it is in the 3 rd position. Please not in previous line we capitalized character “s”.  This is in a way helps your brain to remember that 3 rd character in the word “justin” needs to be captilized.

so the third morphing is ^ju3Stin$

This is good enough. Microsoft Password strength checker shows this as STRONG password. To make it even stronger, you need to increase the length to 14 characters and above.

If you are too lazy to generate your own strong password

Then you can use pwgen.net to create a strong password. But, it is not easy to rembember the password generated by this site.

If you really want a super strong password, then you cant beat GRC’s password generator.  This site is recommended if you are looking for a Wifi WPA pre-shared key.

Also, you can use one of the free tools available in the Net. Please be aware of any downloadable tools as it may be infested with spyware, adware or malwares.

Comments Off on Strong Password Generator & Verification Tools

Feb 14 2009

Perl script to do Dynamic DNS update for the domains hosted at NearlyFreeSpeech.net [NFS.N]

Published by under general

If your domains are hosted at Nearlyfreespeech.net and if the  webserver for one of your sub-domains  is hosted on your home machine, then you need to update your sub-domain’s DNS info with the current IP address info. This is normally called as Dynamic DNS update. NFS.N provides a set of API’s to access  their DNS services to update the DNS information. I have created a simple perl script that does the Dynamic DNS update to NFS.N DNS servers.

How to use this script

1) Pre-requisites

Perl ( Perl 5 and above should work. Mine is Perl 5.8 )

Perl Modules:

WebService::NFSN;  LWP::Simple;  XML::Simple;  Data::Dumper;  Text::Trim;

You can install all the above mentioned modules via CPAN.

NFS.N Credentials

username ( This is the name you use to log into NFS.N website )

API auth Key. ( If you don’t have it , raise a secure support request at NFS.N support website. They will mail you the key )

2) Download the script into your home directory. The  script is available here

3) on the command prompt type, updateIP.pl username your-API-Auth-Key your-domain-name ttl_value name sub-domain-name type    A

( All the bold words as it is )

for example, your user name is jonny, your API auth key is XYSDGFGJHK , your domain name is jonny.net, ttl_value is 600 and sub-domain-name is home_server, then the command will be

updateIP.pl jonny  XYSDGFGJHK   jonny.net  600   name   home_server   type    A

4) You need to run this periodically. You can run a corn job that executes the above periodically. Recommended interval is 10 mins.

Acknowledgement

This script is based on a TTL_Value update script from C.J.Madsen. Infact, hs is the one who wrote Webservice::NFSN.

Additional Note:

NFS.N services requires that the time difference between your home server and its servers are not more than 5 secs. If it is , then the authentication step will result in error and hence you will not be able to update. The most reliable way to keep the time of your home server in sync with NFS.N server is to update your home server’s time using Network Time Protocol.  pool.ntp.org is a global , distributed NTP time servers that i use for keeping my server’s time in synch with NFS.N. And I do this once a day.

Here is the  command. You need to run this as root.

ntpdate  pool.ntp.org

4 responses so far

Dec 26 2008

OneLook: A search engine for words and phrases

Published by under general

How often you wondered that a definition for a word from different dictionaries would have been better. Stop wondering. OneLook is for you. It is more than  “words” search engine. It indexes words from various dictionaries and provides a comprehensive information about the word. For instance, it gives a quick definition, pronunciation audio clip and usage of the word in phrases. Please see the screenshot for the word “pleasant”

 

You can also use this tool to find a pattern consisting of letters and wild-cards * and ?, to find the words matching that pattern. This is really cool. For example, say, you want to find all the 4 letter words that start with ‘sh’ and ends with ‘t’  , then you would enter “sh?t”. This would produce the following result

1. sh!t
2. shat
3. shbt
4. shdt
5. shet
6. shft
7. shht
8. shit
9. shlt
10. shmt
11. shnt
12. shot
13. shut
14. shwt
15. shyt

Also there is sister site of this called RhymeZone. Check this out as well. 

Comments Off on OneLook: A search engine for words and phrases

« Prev - Next »