@prinam - it is not necessary to put your SD card in your computer in order to configure your Pi to connect to the internet. I assume your computer runs Windows since you can only see the 1st 2GB FAT partition on the SD card, so it will actually be more difficult to set the internet connection this way. Better to set up your internet connection on the Pi itself.
You did not mention what type of internet connection you have - wired ethernet, ICS, wifi, 3G etc. What you want to connect to affects how you configure it. By default in Raspbian, wired ethernet is set up in DHCP mode, so if you can plug your Pi into a home router with an ethernet cable, it should just work. There should be plenty of posts here and on Google about how to set up other types of internet connection. If you are still stuck, you need to provide more information about the internet connection that you want to connect to. In any event, from the cmdline, you will probably end up editing /etc/network/interfaces.
PINN - NOOBS with the extras... https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=142574