Saturday, August 25, 2012

cross compiling lxc

Cross compiling lxc for arm - howto

Intial help from:
http://mfcoding.wordpress.com/2012/08/20/beagleboard-xm-cross-compile-lxc/#comment-65


export PATH=$PATH:/home/sara/projects/toolchain/tools/arm-gnueabi/bin
export CROSS_COMPILE=arm-linux-gnueabi-
export OUTDIR=/home/sara/projects/out/
###########################################################################
We need to copy these files(Note1) from existing rootfs to the toolchain path as mentioned in Note2.

Note1 :
[sara@cav_fc lib]$ ls libattr.* libcap*
libattr.a   libattr.so    libattr.so.1.1.0  libcap.so    libcap.so.2.16
libattr.la  libattr.so.1  libcap.a          libcap.so.2

Note2 :
[sara@cav_fc lib]$ pwd
/home/sara/projects/vega_desk/toolchain/tools/arm-gnueabi/arm-linux-gnueabi/libc/usr/lib
###########################################################################

$sudo ./configure -host=arm-linux-gnueabi CC=/home/sara/projects/toolchain/tools/arm-gnueabi/bin/arm-linux-gnueabi-gcc

$sudo make

$sudo make prefix=$OUTDIR install

Tuesday, August 14, 2012

bridge configuration


If the bridge is being used standalone (no other bridges near by). Then it is safe to turn the forwarding delay off (set it to zero), before adding interface to a bridge. Then you can run DHCP client right away.
 # brctl setfd br0 0
 # brctl addif br0 eth0
 # dhclient eth0
source:
http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge

Monday, August 13, 2012


படம் : என் சுவாசக்காற்றே
இசை : A.R.ரஹ்மான்
வரிகள் : வைரமுத்து
குரல் : உன்னி கிருஷ்ணன் & சித்ரா

திறக்காத காட்டுக்குள்ளே
பிறக்காத பிள்ளைகள் போலே ஆனோம்
பறந்தோடும் மானைப் போல
தொலைந்தோடிப் போனது எங்கள் நாணம்

பட்டாம்பூச்சிப் பட்டாம்பூச்சி
வட்டம் போடும் பட்டாம்பூச்சி
ஓடி வந்து முத்தம் வாங்கிச் செல்லு...
ஓடியோடி ஆலம் விழுதில்
ஊஞ்சலாடும் ஒற்றைக் கிளியே
காட்டு வாழ்க்கை நாட்டில் உண்டா சொல்லு..

அந்த வானம் பக்கம் இந்த பூமி சொர்க்கம்
காட்டில் உலவும் ஒரு காற்றாகிறோம்
நெஞ்சில் ஏக்கம் வந்தால்,
கண்ணில் தூக்கம் வந்தால்
பூவில் உறங்கும் சிறு பனியாகிறோம்

(திறக்காத............)

காற்றோடு மூங்கில் காடு என்ன பேசுதோ
மண்ணோடு விழுகிற அருவி என்ன சொல்லுதோ
அது தன்னைச் சொல்லுதோ
இல்லை உன்னைச் சொல்லுதோ
அட! புல்வெளியில் ஒரு வானவில் விழுந்தது
அதோ அதோ அதோ அங்கே,
ஐயையோ! வானவில் இல்லை வண்ணச் சிறகுகளோ
அவை வண்ணச் சிறகுகளோ
வானவில் பறக்கின்றதோ
அழகு அங்கே இங்கே சிரிக்கின்றது
புதிய கண்கள் நெஞ்சில் திறக்கின்றது
மேகம்போல் காட்டை நேசி
மீண்டும் நாம் ஆதிவாசி
உன் கண்கள் மூடும்
காதல் காதல் காதல் காதல் காதல் யோசி

(திறக்காத............)

கை தட்டித் தட்டித் தட்டி பூவை எழுப்பு
காற்றோடு ரகசிய மொழிகள் சொல்லியனுப்பு
அட என்ன நினைப்பு அதைச் சொல்லியனுப்பு
என் காலடியில் சில வீடுகள் நகருது
இதோ இதோ இதோ இதோ இங்கே...
ஆகாகா வீடுகள் இல்லை நத்தைக் கூடுகளோ
அவை நத்தைக் கூடுகளோ வீடுகள் இடம் மாறுமோ

புதிய வாழ்க்கை நம்மை அழைக்கின்றது
மனித வாழ்க்கை அங்கே வெறுக்கின்றது
நாட்டுக்குப் பூட்டு போடு
காட்டுக்குள் ஓடியாடு
பெண்ணே என் மார்பின் மீது கோலம் போடு

(திறக்காத...........)

Thanks to 
- ஸ்ரீமதி.

Sunday, August 12, 2012

debootstrap error - E: Couldn't work out current architecture


user1@cav_fc containers]$ debootstrap sid rootfs http://debian.osuosl.org/debian/
E: Couldn't work out current architecture



Just install dpkg as below:
[user1@cav_fc containers]$ dpkg
Command not found. Install package 'dpkg' to provide command 'dpkg'? [N/y] y
* Running..
 * Resolving dependencies..
 * Waiting for authentication..
 * Resolving dependencies..
 * Downloading packages..
 * Checking signatures..
 * Testing changes..
 * Installing packages..
 * Scanning applications..
dpkg: need an action option

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].

================================
Now debootstrap works fine

Wednesday, June 13, 2012

Songs


source: http://priyatamil.wordpress.com/2011/01/21/songs-2/


ஒத்த சொல்லாலே

 
 
 
 
 
 
4 Votes

ஹே ஒத்த சொல்லாலே என் உசிரெடுத்து வச்சுக்கிட்டா
ரெட்ட கண்ணாலேஎன்ன தின்னாடா
பச்ச தண்ணி போல் அட சொம்புக்குள்ளே ஊத்தி வச்சு
நித்தம் குடிச்சு என்ன கொன்னாடா
ஏ பொட்ட காட்டுலே ஆலங்கட்டி மழை பெய்ஞ்சு
ஆறொன்னு ஓடுறத பாரு
அட பட்டாம்பூச்சி தான் என் சட்டையில ஒட்டிக்கிச்சு
பட்டாசு போல நான் வெடிச்சேன்
முட்ட கண்ணால என் மூச்செடுத்து போனவ தான்
தொட்ட பின்னால ஏதோ ஆனேன்டா
ஏ பவுடர் டப்பா தீர்ந்து போனதே
அந்த கண்ணாடியும் கடுப்பு ஆனதே
நான் குப்பற தான் படுத்து கிடந்தேன்
என்ன குதிர மேல ஏத்திவிட்டாயே
ஒன்னும் சொல்லாம உசிர தொட்டாயே
மனச இனிக்க வச்ச சீனி மிட்டாயே
ஏ கட்ட வண்டி கட்டி வந்துதான்
அவ கண்ணழக பாத்து போங்கடா
அட கட்டு சோறு கட்டி வந்துதான்
அவ கழுத்தழக பாத்து போங்கடா
கத்தாழ பழச்சிவப்பு முத்தாத இளஞ்சிவப்பு
வத்தாத அவ இடுப்பு நான் கிறுக்கானேன்
அட ரேஷன் கார்டில் பேர ஏத்துவேன்
ஒரு நாள் குறிச்சி தட்டு மாத்துவேன்
ஏ ஊருக்கெல்லாம் சேதி சொல்லுவேன்
அவ காதில் மட்டும் மீதி சொல்லுவேன்
பொண்ணு கருப்பட்டி கண்ணு தீப்பெட்டி
மென்னு தின்னாலே என்ன ஒருவாட்டி
படம் : ஆடுகளம்
இசை : ஜீ வி பிரகாஷ்
பாடல் வரிகள் : ஏகாதசி
பாடியது: வேல்முருகன்

Wednesday, March 14, 2012

contact lens - some info

Started trying contact lens instead of spectacles

something which i wish to share.
1. there is chance that you may put the contact lens in reverse direction. - during that you will be able to see , but you will be irritated to have the contact lens , Remove the lens, Just make it correct direction and put the lens back. => Now everything should be set.
(OR in other words)
Whenever you are irritated to have lens in your eyes , it is most likely that you put your lens in wrong direction. thats the point :) , reverse it and wear it again , you are set.

2. first week wearing contact lens was bit awkward. I got so much pain sometimes in the eyes.
Slowly you will understand the nuances of wearing lens.
Watch youtube videos for understanding how to wear lens.

One idea which I follow is i comfortably sit in front of Large mirror, put the lens by looking at the mirror and then just start looking at the ceiling of your room closing the eyes immediately after putting the lens.
I mean you need to tilt your head from mirror view position to ceiling view position.
Everything will be set.

Monday, March 5, 2012

TFTP server returns "Error Code 0: Permission Denied"


TFTP server returns "Error Code 0: Permission Denied"

if you get this error, make sure the tftp folder access permission.

change it to chmod 777 /var/lib/tftpboot.

[EDIT]: So you are changing the permission of tftpboot folder such that anybody can access it. Beware of it!! 

The above is bit dangerous to play with, better way is :

chgrp -R tftpd /var/lib/tftpboot

Adjust the permission as per your need.

Wednesday, February 15, 2012

abroad titbits

Abroad travel - experiences and learning:

1. Always carry two baggage even if one is empty. While coming back, we may fill one package and other one will be required.
2. Donot carry toothpaste / any paste stuff in your hand baggage. have it in your checkin baggage.
3. Carry a water bootle along with you.
4. Carry nail cutter along with you.
5. Carry a small tiffin box if you are planning to carry lunch to office.
6. carry scissor, ear buds, etc.,
7.carry a simple chappel along with shoes.
8. carry as much as possible of socks :)
9. carry detergent power and cake.
10.carry earphone/headphone.