[arachne] Re: ADSL connect with Telnet
- From: Steve <steve@xxxxxxxxxxxxxxx>
- To: arachne@xxxxxxxxxxxxx
- Date: Mon, 7 Apr 2008 17:01:22 -0400 (EDT)
Arachne at FreeLists---The Arachne Fan Club!
On Mon, 7 Apr 2008, Bastiaan Edelman wrote:
My last post regarding Telnet in Arachne 1.93 not functioning...
the problem has been solved by adding telnet.exe AND config.tel to the
main Arachne directory.
Telnet was not there and so telnet.exe was picked from C:\. That however
is the windows version.
****************
Why do I need Telnet? To have the Thomson SpeedTouch modem connected to
the internet.
You remember I was stuck with Javascript to connect?
Now I telnet to the nameserver/gateway of the router/modem:
192.168.1.254
So:
Key "T" in Arachne to start Telnet
.................................. I am in telnet now
Press Alt-A to start => Alt-A
service? => 192.168.1.254
user? => Administrator (not administrator or admin)
Now all the commands to the modem become available
(Don't know how many... they are in a 422 pages .pdf downloaded from
the web)
Go to the modem's ppp department => ppp
"ifattach intf=Internet" connects => ifattach intf=Internet
"ifdetach intf=Internet" disconnects
Connection succesfull and Internet-LED on modem lights :-))
to return to Arachne => exit
****************************
Next question... how to automate this?
Tried to make a batch file... but it seems that after calling telnet I
have to use some script running within telnet. The batchfile however
does run outside telnet.
Ideas how to do this? Would be nice to use the "dial in" key in Arachne.
Disconnecting by an Arachne key would also be nice... but switching the
modem off is quick and easy.
If I were to do that in 'nix, I'd use expect. I see DOS mentioned on
the home page, but the explanation then quickly jumps to QNX for some
reason. There are also several mentions of DOS in the FAQs but the ones I
saw mostly applied to tcl/tk... so it doesn't appear that there's any
official DOS port from my very superficial search, but who knows... there
may be one out there somewhere. http://expect.nist.gov/
If nothing else, it might help in your search, maybe something like,
"DOS scripting language like expect."
I see a module for python, "Pexpect." I also see much stronger
references to python for DOS than I found for expect for DOS. If you can
get it to run, pexpect should do exactly what you need.
http://www.noah.org/wiki/Pexpect
Arachne at FreeLists
-- Arachne, The Premier GPL Web Browser/Suite for DOS --
- References:
- [arachne] ADSL connect with Telnet
- From: Bastiaan Edelman
Other related posts:
- » [arachne] ADSL connect with Telnet
- » [arachne] Re: ADSL connect with Telnet
- » [arachne] Re: ADSL connect with Telnet
- » [arachne] Re: ADSL connect with Telnet
- » [arachne] Re: ADSL connect with Telnet
My last post regarding Telnet in Arachne 1.93 not functioning... the problem has been solved by adding telnet.exe AND config.tel to the main Arachne directory. Telnet was not there and so telnet.exe was picked from C:\. That however is the windows version. **************** Why do I need Telnet? To have the Thomson SpeedTouch modem connected to the internet. You remember I was stuck with Javascript to connect? Now I telnet to the nameserver/gateway of the router/modem: 192.168.1.254 So: Key "T" in Arachne to start Telnet .................................. I am in telnet now Press Alt-A to start => Alt-A service? => 192.168.1.254 user? => Administrator (not administrator or admin) Now all the commands to the modem become available (Don't know how many... they are in a 422 pages .pdf downloaded from the web) Go to the modem's ppp department => ppp "ifattach intf=Internet" connects => ifattach intf=Internet "ifdetach intf=Internet" disconnects Connection succesfull and Internet-LED on modem lights :-)) to return to Arachne => exit **************************** Next question... how to automate this? Tried to make a batch file... but it seems that after calling telnet I have to use some script running within telnet. The batchfile however does run outside telnet. Ideas how to do this? Would be nice to use the "dial in" key in Arachne. Disconnecting by an Arachne key would also be nice... but switching the modem off is quick and easy.
- [arachne] ADSL connect with Telnet
- From: Bastiaan Edelman