////////////////////////////////////////////////////////////////////////////////////// /////////////////////////I sit in Siberia and have only Telnet//////////////////////// ////////////////////////////////////////////////////////////////////////////////////// 1. I sit in Siberia and have only Telnet and want to get a web page? 2. I sit in Siberia and have only Telnet and want to send an e-mail? 3. I sit in Siberia and have only Telnet and want to check mail on my pop mail account? 4. I sit in Siberia and have only Telnet and want to read a newsgroup? 5. I sit in Siberia and have only Telnet and want to post an article to a newsgroup? 6. I sit in Siberia and have only Telnet and want to search for a program? contribution. 7. I sit in Siberia and have only Telnet and want to check a webserver version? -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- 1. I sit in Siberia and have only Telnet and want to get a web page? Set in your telnet options local echo to on. Type address of the web server you want a page from. For example: www.examplename.com The default port for telnet is usually port 23. Set port to 80 and press Enter to connect. If you use a telnet program without a graphical interface you would type telnet then set echo and open www.examplename.com 80 Type: GET / HTTP/1.0 Press the Enter-key two times and you get the default page of the server. After transmission of the page you are automatically disconnected. If you want to get the page http://www.examplename.com/teatips.htm you would type GET /teatips.htm HTTP/1.0 and press Enter two times. -------------------------------------------------------------------------------- 2. I sit in Siberia and have only Telnet and want to send an e-mail? Set in your telnet options local echo to on. Type the address of your SMTP mail server. Set port to 25 and press Enter to connect. Type: helo To see available commands or possible syntax differences type: help Type: mail from:your@address Type: rcpt to:recipient@address Writing the message: Type: data Date and time ( GMT or offset e.g. 14:01:00 +0600 ) Type: Date: 8 Jan 2004 18:45:00 GMT Type: From: your@address Type: To: recipient@address Type: Subject: Let's have a cup of tea. Type: Just press Enter to insert a blank line. Now you can type the main text of your message. When finished type on a new line a . dot and press Enter. You should get a message that your mail has been accepted. To disconnect from the mail server type: quit -------------------------------------------------------------------------------- 3.I sit in Siberia and have only Telnet and want to check mail on my pop mail account? Set in your telnet options local echo to on. Type the address of your pop mail server. Set port to 110 and press Enter to connect. Type: user your_accountname Type: pass your_password To get a list of numbers and size of messages type: list To read one of the mails type: retr number (of the message) To tag a mail for deletion on exit: dele number (of the message) To end connection type: quit Other pop server commands top x y shows of message number x the first y lines rset removes deletion tag of files stat for details about the mailbox uidl number information about that message noop to test if connection to pop server still exists -------------------------------------------------------------------------------- 4. I sit in Siberia and have only Telnet and want to read a newsgroup? Set in your telnet options local echo to on. Type the address of a NNTP news server. Set port to 119 and press Enter to connect. To see available commands or possible syntax differences type: help To list available newsgroups type: list for a list of all newsgroups list active to get a list of active newsgroups These lists can be very long. Its a good idea to narrow the listing. To list groups that were created after January 12, 2004, 9 o'clock, type: newgroups 011204 090000 For the message numbers in a group type: group your.favoured.group Some numbers are returned. The second is the number of messages in that group. The third is the message number of the first message in that group. The fourth is the message number of the last message in that group. To see only the header of a message type head message_number To read a message type article message_number Type: Next to select next message Type: Last to select previous message To list new messages in a group since January 14, 2004, 17:30, type: newnews your.favoured.group 011404 173000 To disconnect from the news server type: quit -------------------------------------------------------------------------------- 5. I sit in Siberia and have only Telnet and want to post an article to a newsgroup? Set in your telnet options local echo to on. Type the address of a NNTP news server where posting is allowed. Set port to 119 and press Enter to connect. To see available commands or possible syntax differences type: help Type: post Type: From: your@address Type: Date: 14 Jan 2004 18:45:00 GMT Type: Newsgroups: your.destination.group Type: Subject: Choosing a tea-pot Type: Message-ID: <011404184500your@address> (Composition of this Message-ID: Date, time, your e-mail address) Type: Just press Enter to insert a blank line. Now you can type the main text of your message. When finished type on a new line a . dot and press Enter. The server should confirm that your message has been accepted. To disconnect from the news server type: quit -------------------------------------------------------------------------------- 6. I sit in Siberia and have only Telnet and want to search for a program? Type the address of an Archie server. For example: archie.rutgers.edu or archie.hensa.ac.uk. For the login name type: archie To see available commands or possible syntax differences type: help To leave help type: done Example: Looking for locations were the WWW browser Netscape Navigator 4.08 is available for download. The name of the distributed file is n16e408.exe. Type: prog n16e408.exe The result is a list of FTP servers with this program. To modify the search method use the set command: set exact to search exactly for the name entered with prog set sub to search for file names which contain the search string set subcase to search file names for a case sensitive sub string set regex for regular expression search To check the present setting type: show search To see a list of Archie servers to pick one closer to you type: servers To disconnect from the Archie server type: quit -------------------------------------------------------------------------------- 7. I sit in Siberia and have only Telnet and want to check a webserver version? Telnet to port 80 of the target server. And type "GET / HTTP/1.0", then press enter twice. In most of the cases you;ll get the server name or / and version number. Example: [root@|log:]# telnet localhost 80 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. GET / HTTP/1.0 HTTP/1.1 200 OK Date: Tue, 27 Jul 2004 10:26:18 GMT Server: Apache/1.3.31 (Unix) mod_ssl/2.8.16 OpenSSL/0.9.6k mod_fastcgi/mod_fastcgi-SNAP-0404142202 Last-Modified: Mon, 30 Sep 2002 12:01:30 GMT ETag: "96acd-67-3d983d1a" Accept-Ranges: bytes Content-Length: 103 Connection: close Content-Type: text/html Loading Connection closed by foreign host. [root@|log:]# That's all enjoy your checking! :] contributed by hip0 ------------------------------------------------------------------------------ Ports are addresses of services available on a server. No. Name No. Name 11 systat 79 finger 13 daytime 80 HTTP World Wide Web 15 netstat 110 pop3 20 ftp-data 119 nntp 21 ftp 517 talk 22 sshd 23 telnet 6667 irc 25 stmp 43 whois 53 domain 70 gopher