Tuesday 25 June 2013

Configuring your Android to connect to Gmail via IMAP

                           

Configuring your Android device


  1. Make sure you have already synced your password using the procedure described under Syncing your Unity passwordThis link will open in a new window. If you don't do this first, your connection still won't work even after completing the following steps.
  2. On your phone, press <Home>, then open the E-mail application.
  3. On the Your accounts page, select Next to get started with setup.
  4. Enter your NC State e-mail address (unityID@ncsu.edu) and Unity password, then select Next.
  5. Select IMAP account and then select Next.
  6. On the Incoming server settingspage, some fields may be pre-populated. Make sure to change the following:
    • For Username, enter your full NC State e-mail address: UnityID@ncsu.edu [Note: This must be the fully-qualified address, so be sure to include the @ncsu.edu in it.]
    • For the Password, enter your Unity password.
    • For IMAP server, enter imap.gmail.com
    • For Port enter 993
    • For Security type select SSL (always)
  7. Select Next.
  8. On the Outgoing server settingspage, some fields may be pre-populated. Make sure to change the following fields:
    • For SMTP server enter smtp.gmail.com
    • For Port, enter 465
    • For Security type, select SSL (always)
    • Select Next and continue through the setup options.

Verifying your Android configuration

You can verify your settings from the Inbox view by tapping <Menu>, then Account settings:

Incoming settings

  • IMAP server: imap.gmail.com
  • Port: 993
  • Security type: SSL (always)

Outgoing settings

  • SMTP server: smtp.gmail.com
  • Port: 465
  • Security type: SSL (always)


                                                      Click Here to visit our facebook page and like.

Monday 17 June 2013

Netcat NC Command.

What is Netcat?

Netcat is a computer networking service for reading from and writing to network connections using TCP or UDP. Netcat is designed to be a dependable "back-end" device that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and investigation tool, since it can produce almost any kind of correlation you would need and has a number of built-in capabilities.


Use Netcat to Transfer Files
The netcat utility can also be used to transfer files. At the client side, suppose we have a file named ‘testfile’ containing :

$ cat testfile
hello test

and at the server side we have an empty file ‘test’
Now, we run the server as :
$ nc -l 2389 > test

and run the client as :
cat testfile | nc localhost 2389

Now, when we see the ‘test’ file at the server end, we see :
$ cat test
hello test

So we see that the file data was transfered from client to server.
Click Here to visit our facebook page and like.