Saravana's Musings

Friday, December 6, 2013

grub2 default entry

Update default entry in grub.

you need to modify

set default="4" in   /boot/grub2/grub.cfg

first check the entries and map it with numbers. first entry is default ="0".
change it according to requirement.


Posted by Saravanakumar at 5:48 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Friday, November 29, 2013

NAT , bridge mode in (libvirt) Virtual machine

http://superuser.com/questions/227505/what-is-the-difference-between-nat-bridged-host-only-networking


Same concept as the normal network setup:)
Host-Only: the VM will be assigned one IP, but it's only accessible by the box VM is running on. No other computers can access it.
IP not received by DHCP .  It is static. You will see another interface in host with same IP range as assigned to guest.
NAT: just like your home network with a wireless router, the VM will be assigned in a separate subnet, like 192.168.6.1 is your host computer, and VM is 192.168.6.3, then your VM can access outside network like your host, but no outside access to your VM directly, it's protected.
IP not received by DHCP.It is static. You will see another interface in host with same IP range as assigned to guest.

Bridge: you VM will be in the same network as your host, if you host IP is 172.16.120.45 and your VM will be like 172.16.120.50. It can be accessed by all computers in your host network.
IP  received by DHCP.

#networking #libvirt
Posted by Saravanakumar at 7:30 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Monday, November 25, 2013

centos and Fedora dual boot issue - Updated grub2



After installing both CENTOS  and Fedora 18, Centos  "disappeared" from Grub menu. Only Fedora 18 is bootable.

Then, able to restore Centos by issuing following commands.
#grub2-mkconfig -o /boot/grub2/grub.cfg
#grub2-install /dev/sda

Posted by Saravanakumar at 4:27 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Tuesday, August 27, 2013

gdbserver in Board


Assuming you have networking already setup to your target board. Copy gdbserver to it, run:
$ gdbserver --multi :2345

On your development machine, run:
$ arm-linux-gnueabihf-gdb
(gdb) target extended BOARD-IP-ADDR:2345
(gdb) set remote exec-file /bin/true
(gdb) run
and you're up and running with remote cross debugging.

http://stackoverflow.com/questions/13269948/need-cross-gdb-for-device


Both gdbserver and arm-linux-gnuXXXX-gdb are  present in our toolchain.


Posted by Saravanakumar at 10:38 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Tuesday, August 13, 2013

disable read out aloud sender name when SMS received



You may have driving mode turned on and didn`t realize it. 1) Go into Settings 2) Select Voice Input Output 3) Select Text to Speech 4) Click off Driving Mode. 
Read more: How to stop samsung galaxy s2 reading the text message sender out? - Even when my phone is in silent mode, the phone still reads out the number of the sender. and i have no idea how to turn it off :: Ask Me Fast at http://www.askmefast.com/How_to_stop_samsung_galaxy_s2_reading_the_text_message_sender_out-qna1622993.html#q617165


Posted by Saravanakumar at 10:55 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

SMS option from gmail - change from hangout to chat option

From gmail, you should be able to send SMS.

I have noticed in one account, this option is not ENABLED. Here it was in "Hangout option"
If you revert from Hangout option to Chat option, You should be able to see SMS option available.

Also, note, the contact with which you wish to sms, have their mobile number updated in their contact info. Otherwise, OBVIOUSLY you will not see SMS option.


Posted by Saravanakumar at 2:54 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Tuesday, August 6, 2013

Linux wifi connect to router


iwlist scan
=> it should show the interfaces available.

iwconfig wlan0 essid CiscoEssid
=> associate with a essid

ifconfig wlan0 192.172.1.16 netmask 255.255.255.0 up
=> assign ip address

ping 
=> should be able to communicate 



Posted by Saravanakumar at 3:27 AM 1 comment:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Tuesday, July 30, 2013

iperf static build arm cross compile commands

# ./configure ac_cv_func_malloc_0_nonnull=yes  ac_cv_type_bool=yes ac_cv_sizeof_bool=1  CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++ --host=arm  CFLAGS=-static CXXFLAGS=-static

# make

# file src/iperf


Posted by Saravanakumar at 4:40 AM 2 comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Monday, July 8, 2013

Linux kernel preemption

Excellent article on kernel preemption

kernel preemption concepts clearly explained "with code"

http://www.linuxjournal.com/article/5600


    • Send to Kindle
    • Download ePub
    • Print
    Hide toolbar
    Posted by Saravanakumar at 6:47 AM No comments:
    Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

    Monday, April 29, 2013

    yahoo mail retreival from gmail - POP settings


    I have configured my gmail to retreive emails from yahoo mail id.
    (This helps in a way , you don't have to login to two accounts to check for email
    at the same time, maintain two mails for two different purposes.

    I was having yahoo mail id for a  long time and when I tried switching back
    to gmail, it was painful to broadcast all users about my yahoo mail id.
    So, I have configured gmail to retrieve emails from yahoo id automatically
    using "Account and Import" in gmail settings.)

    I have been happily receiving emails long time since, but all of a sudden
    it stopped working.

    While looking for the solutions around, I thought of just logging into yahoo
    and check the settings.


    I have just save relevant settings in Yahoo to enable POP as well as
    re-entered password in gmail. Cool...it started working again.

    Note, I have not done anything new, just save settings in Yahoo and just
    enable the same in gmail. I think its kind of reboot.
    These things happen in software world  ;)

    PS:
    Error  messaege observed in gmail.
    Error in RETR command: [SYS/TEMP] problem retrieving message 


    Posted by Saravanakumar at 12:08 AM No comments:
    Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

    Thursday, April 18, 2013

    Hibernation in Linux 2.6.29 from Varun Mahajan


    More linux links  here:
    http://www.slideshare.net/varunmahajan06
    Posted by Saravanakumar at 12:28 AM No comments:
    Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

    Thursday, February 7, 2013

    tamil font chrome + linux (Fedora distribution)

    All of  a sudden tamil fonts are not shown properly in chrome.

    I tried this step and then it had started working fine.

    # cd ~/.fonts/
    # mv *.ttf /tmp/

    Now reload the page.  Everything should be fine.

    PS:
    I am not sure about consequence of this in other software used. If you feels so, Please revert back by moving those files back from /tmp to ~/fonts/ back.  # mv /tmp/*.ttf ~/.fonts/



    Posted by Saravanakumar at 10:19 PM No comments:
    Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
    Newer Posts Older Posts Home
    Subscribe to: Posts (Atom)

    Blog Archive

    • ►  2025 (13)
      • ►  June (1)
      • ►  April (2)
      • ►  March (4)
      • ►  February (2)
      • ►  January (4)
    • ►  2024 (10)
      • ►  December (3)
      • ►  November (4)
      • ►  July (1)
      • ►  February (2)
    • ►  2023 (12)
      • ►  November (2)
      • ►  September (1)
      • ►  August (2)
      • ►  May (1)
      • ►  March (5)
      • ►  February (1)
    • ►  2022 (25)
      • ►  December (2)
      • ►  November (2)
      • ►  October (1)
      • ►  September (3)
      • ►  August (1)
      • ►  June (1)
      • ►  March (7)
      • ►  February (5)
      • ►  January (3)
    • ►  2021 (27)
      • ►  December (1)
      • ►  November (5)
      • ►  October (10)
      • ►  September (2)
      • ►  August (3)
      • ►  July (2)
      • ►  June (1)
      • ►  May (1)
      • ►  April (1)
      • ►  March (1)
    • ►  2020 (36)
      • ►  December (2)
      • ►  October (1)
      • ►  August (5)
      • ►  July (5)
      • ►  June (3)
      • ►  May (1)
      • ►  April (7)
      • ►  March (4)
      • ►  February (7)
      • ►  January (1)
    • ►  2019 (41)
      • ►  December (5)
      • ►  November (4)
      • ►  October (2)
      • ►  September (5)
      • ►  August (4)
      • ►  June (3)
      • ►  April (2)
      • ►  March (8)
      • ►  February (4)
      • ►  January (4)
    • ►  2018 (59)
      • ►  December (3)
      • ►  November (9)
      • ►  October (2)
      • ►  August (8)
      • ►  July (6)
      • ►  June (5)
      • ►  May (6)
      • ►  April (5)
      • ►  March (6)
      • ►  February (6)
      • ►  January (3)
    • ►  2017 (58)
      • ►  November (5)
      • ►  October (3)
      • ►  September (2)
      • ►  August (3)
      • ►  July (6)
      • ►  June (11)
      • ►  May (9)
      • ►  April (3)
      • ►  March (11)
      • ►  February (1)
      • ►  January (4)
    • ►  2016 (45)
      • ►  December (9)
      • ►  November (4)
      • ►  October (1)
      • ►  September (4)
      • ►  August (6)
      • ►  July (1)
      • ►  June (1)
      • ►  May (3)
      • ►  April (3)
      • ►  March (2)
      • ►  February (6)
      • ►  January (5)
    • ►  2015 (37)
      • ►  December (8)
      • ►  October (1)
      • ►  August (2)
      • ►  July (13)
      • ►  June (3)
      • ►  May (2)
      • ►  April (2)
      • ►  March (3)
      • ►  February (3)
    • ►  2014 (20)
      • ►  September (3)
      • ►  August (1)
      • ►  July (1)
      • ►  June (1)
      • ►  May (1)
      • ►  April (2)
      • ►  March (7)
      • ►  February (1)
      • ►  January (3)
    • ▼  2013 (12)
      • ▼  December (1)
        • grub2 default entry
      • ►  November (2)
        • NAT , bridge mode in (libvirt) Virtual machine
        • centos and Fedora dual boot issue - Updated grub2
      • ►  August (4)
        • gdbserver in Board
        • disable read out aloud sender name when SMS received
        • SMS option from gmail - change from hangout to cha...
        • Linux wifi connect to router
      • ►  July (2)
        • iperf static build arm cross compile commands
        • Linux kernel preemption
      • ►  April (2)
        • yahoo mail retreival from gmail - POP settings
        • Hibernation in Linux 2.6.29 from Varun Maha...
      • ►  February (1)
        • tamil font chrome + linux (Fedora distribution)
    • ►  2012 (10)
      • ►  September (1)
      • ►  August (5)
      • ►  June (1)
      • ►  March (2)
      • ►  February (1)
    • ►  2011 (4)
      • ►  August (1)
      • ►  June (1)
      • ►  May (1)
      • ►  January (1)
    • ►  2010 (4)
      • ►  July (1)
      • ►  June (1)
      • ►  April (1)
      • ►  March (1)
    • ►  2009 (1)
      • ►  October (1)

    Subscribe To

    Posts
    Atom
    Posts
    All Comments
    Atom
    All Comments

    About me

    Saravanakumar
    Fellow being :) OpenSource software specialist working in containers, kubernetes,OpenShift, storage , GlusterFS, Ceph
    View my complete profile

    Statistics

    Awesome Inc. theme. Powered by Blogger.