[arachne] ADSL connect with Telnet * script

Arachne at FreeLists---The Arachne Fan Club!

On Mon, 07 Apr 2008 22:44:07 -0500, Glenn McCorkle wrote:

> Arachne at FreeLists---The Arachne Fan Club!

> On Mon, 7 Apr 2008 21:29:50 -0500, Glenn Gilbreath Jr. wrote:

>> Depends on which telnet you use...if using Clarskson, or Cute,
>> you can run a script called at commandline,
>> each command must be on a seperate line in script...press ALT+H
>> for quick help with telnet (this is the telnet in original telnet.apm).

>> CU L8R!

>> Wiz  <{;-)

The telnet I use is Clarkson CUTE:2.2D/TC-D
But, whatever scriptfile I use it looks as telnet is not using it.

As soon as the command: telnet 192.168.1.254 has been given I am
connected with the modem that prompts:
Username : (cursor)
I am suspected to type: Administrator (enter)

After that a kind of logo from the modem is reflected back and at the
cursor: {Administrator}=>
It seems I am in the Administrator directory of the modem.

** And it seems I have to use the language of the modem and it seems that
** is not the telnet command set ;-((


Now the command: ppp should be given. Result at the cursor:
{Administrator}[ppp]=>
I am now in Administrator\ppp directory

Next command: ifattach intf=Internet
This connects the modem to internet!

**************
The command lookfor "Username :" is not seen in the scriptfile.
I tried it in the batch file => wrong command or filename

write "Administrator" is not executed too. In the batchfile: This
program cannot be run in DOS mode.
**************

Regards, Bastiaan


> Sample script file.

> --- sample.scr ---

> flags debug
> timeout 60
> telnet mail.cisnet.com
> lookfor "OK"
> flags nocase
> write "user glennmcc\r\n"
> lookfor "glennmcc"
> write "pass mypassword\r\n"
> lookfor "glennmcc"
> write "list\r\n"
> lookfor "message"
> write "quit\r\n"
> ______________________________________________

> command line....

> telnet 110 @sample.scr

> (note that port # 110 is needed to connect to the pop3 server)

> --
> Glenn
> http://www.delorie.com/listserv/mime/
> http://www.cisnet.com/glennmcc/
> http://www.law.cornell.edu/constitution/constitution.table.html
>              Arachne at FreeLists
> -- Arachne, The Premier GPL Web Browser/Suite for DOS --

-- This mail was written by a user of the Arachne Browser - http://arachne.cz/
                  Arachne at FreeLists                  
-- Arachne, The Premier GPL Web Browser/Suite for DOS --

Other related posts: