Re: I need a truley interactive chat script for PPP

2000-01-05 Thread Joachim Trinkwitz
[EMAIL PROTECTED] writes:

> I need to connect to the mainframe from the office, and have a need for a 
> complex chat script.  Can someone help me out?
> Under Win95, I have my dialout connection set to bring up a terminal window 
> after connecting, so I can do the following:
> Login:  
> Password: 
> Challenge: abc93029
> Response: 
> [Here I take the challenge number above and key it into a card-like device.  
> It then gives me another number I need to key in as the "response".  Then I 
> press F7 (Continue) to start the PPP session.
> How do I mimic this functionality in Linux?  

If I remember right, the xisp package (in debian/contrib) has the same
functionality (nice program indeed).

Greetings,
joachim


Re: I need a truley interactive chat script for PPP

2000-01-05 Thread John Hasler
Jay writes:
> chat doesn't seem to be powerful enough.  I can use SAY or REPORT to see
> the challenge, but chat doesn't seem to provide a way to key in a number
> interactively.

> Any thoughts?

Several.  You could use something like expect or perl or bash instead of
chat.  Anything that can read stdin and write stdout will do.  There is an
example using expect in /usr/doc/ppp/examples/scripts/secure-card.  You
could also make use of the fact that recent versions of chat can read
environment variables and can read passwords and such from a file or pipe.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin


Re: I need a truley interactive chat script for PPP

2000-01-04 Thread aphro
an easy way to do this is to dial manually with minicom and then quit
without resetting the modem and manually load pppd.(not sure what the
command line options wuld be though maybe somene else can assist in that
area)

nate

On Tue, 4 Jan 2000 [EMAIL PROTECTED] wrote:

Mallar >I need to connect to the mainframe from the office, and have a need for 
a 
Mallar >complex chat script.  Can someone help me out?
Mallar >
Mallar >Under Win95, I have my dialout connection set to bring up a terminal 
window 
Mallar >after connecting, so I can do the following:
Mallar >
Mallar >Login:  
Mallar >Password: 
Mallar >Challenge: abc93029
Mallar >Response: 
Mallar >
Mallar >[Here I take the challenge number above and key it into a card-like 
device.  
Mallar >It then gives me another number I need to key in as the "response".  
Then I 
Mallar >press F7 (Continue) to start the PPP session.
Mallar >
Mallar >How do I mimic this functionality in Linux?  
Mallar >
Mallar >chat doesn't seem to be powerful enough.  I can use SAY or REPORT to 
see the 
Mallar >challenge, but chat doesn't seem to provide a way to key in a number 
Mallar >interactively.  wvdial doesn't seem to be capable of this either.
Mallar >
Mallar >Any thoughts?
Mallar >
Mallar >Thanks,
Mallar >Jay
Mallar >
Mallar >
Mallar >-- 
Mallar >Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
Mallar >

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
2:32pm up 138 days, 2:28, 5 users, load average: 1.64, 1.60, 1.51


Re: I need a truley interactive chat script for PPP

2000-01-04 Thread Marcin Kurc
Try minicom.
and after you get connected start pppd.

On Tue, Jan 04, 2000 at 05:11:07PM -0500, [EMAIL PROTECTED] wrote: 
> I need to connect to the mainframe from the office, and have a need for a 
> complex chat script.  Can someone help me out?
> 
> Under Win95, I have my dialout connection set to bring up a terminal window 
> after connecting, so I can do the following:
> 
> Login:  
> Password: 
> Challenge: abc93029
> Response: 
> 
> [Here I take the challenge number above and key it into a card-like device.  
> It then gives me another number I need to key in as the "response".  Then I 
> press F7 (Continue) to start the PPP session.
> 
> How do I mimic this functionality in Linux?  
> 
> chat doesn't seem to be powerful enough.  I can use SAY or REPORT to see the 
> challenge, but chat doesn't seem to provide a way to key in a number 
> interactively.  wvdial doesn't seem to be capable of this either.
> 
> Any thoughts?
> 
> Thanks,
> Jay
> 

-- 
Marcin Kurc
Indiana Institute of Technology
System Administrator
http://me.indtech.edu   http://www.indtech.edu


I need a truley interactive chat script for PPP

2000-01-04 Thread MallarJ2
I need to connect to the mainframe from the office, and have a need for a 
complex chat script.  Can someone help me out?

Under Win95, I have my dialout connection set to bring up a terminal window 
after connecting, so I can do the following:

Login:  
Password: 
Challenge: abc93029
Response: 

[Here I take the challenge number above and key it into a card-like device.  
It then gives me another number I need to key in as the "response".  Then I 
press F7 (Continue) to start the PPP session.

How do I mimic this functionality in Linux?  

chat doesn't seem to be powerful enough.  I can use SAY or REPORT to see the 
challenge, but chat doesn't seem to provide a way to key in a number 
interactively.  wvdial doesn't seem to be capable of this either.

Any thoughts?

Thanks,
Jay