Accessing the Internet with Telnet ================================== I only have 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.siberia.int 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.siberia.int 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.siberia.int/teatips.htm you would type GET /teatips.htm HTTP/1.0 and press Enter two times. ----- I only have Telnet and want to search for a FTP 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 ----- I only have 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 2007 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 ----- I only have Telnet and want to check email 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 ----- I only have Telnet and want to read a NetNews (nntp) 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, 2007, 9 o'clock, type: newgroups 011207 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, 2007, 17:30, type: newnews your.favoured.group 011407 173000 To disconnect from the news server type: quit ----- I only have Telnet and want to post an article to a NetNews (nntp) 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 2007 18:45:00 GMT Type: Newsgroups: your.destination.group Type: Subject: Choosing a tea-pot Type: Message-ID: <011407184500your@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 ========== Ports are addresses of services available on a server. Ports commonly used: No. Name No. Name 11 systat 70 Gopher 13 daytime 79 finger 15 netstat 80 HTTP 20 ftp-data 110 pop3 21 ftp 119 nntp 22 sshd 517 talk 23 telnet 6667 irc 25 stmp 43 whois 53 domain