Hi,
Long ago before I've start using X-isp which is an excellent dialer
(To my point of view) I've used "dip" - for ACE authentication.
Though I'm not familiar with the dip version bundled with any Linux
distribution - most likely that you'd have to compile it yourself with
the SecureID option turned on.
I'm including a sample dip script that I've once used with it. Though
check the init strings - I've turned off Carrier detect in order to be
able to do "FollowMe" on the line prior to the dial.
Check the example script bandles with the dip package, this was their
dynamic one, which I've added the SecureID features into it.
Look for my comments marked with "<<<<", fill in the <blanks> with
your details.
I don't mind sending you my compiled "dip" script if you'd like to try
it, just let me know.
#
# xxx.dip Dialup IP connection support script. (dynamic)
#
# Version: xxx.dip 1.0 08/12/94
#
# Author: Vincent Chen
# Modified: Yossi Amon
#
# Server: xxxxx
#
# Features: Auto redial when busy
# Two phone numbers support
#
main:
#
# Set serial port and speed.
#
### Working option: port cua1
port ttyS1
speed 38400
#
# Should match the assignment from your administrator
#
netmask 255.255.255.0
#
# Reset the modem and terminal line.
# This seems to cause trouble for some people!
#
#reset
#
# Prepare for dialing.
#
# send AT&FL1S0=0S7=25\r
# Carier detect override for follow-up services
send AT&C0&FL0M0S0=0S7=25\r
# L1
# Silent Modem: L0M0
# Carier detect override: &C0
# send send ATL0M0&C0\r
wait OK 3
if $errlvl != 0 goto modemerr
print DIP script by Yossi Amon 28/06/1998
print -------------------------------------------------------
print .............. AutoDial procedure started .............
print ................ Press Ctrl-C to abort ................
dialsvr:
send +++\r
wait OK 3
send ATH0\r
wait OK 3
print ................... Trying <Phone number> .................
send ATDT<Phone number>\r <<<< Phone number
if $errlvl != 0 goto error
wait BUSY 15
if $errlvl == 0 goto dialsvr
wait CONNECT 15
if $errlvl != 0 goto dialsvr
goto login
#
# We are connected. Login to the system.
#
login:
sleep 2
#
# "login:" is my system prompt, change it to yours
#
wait sername 20
if $errlvl != 0 goto log_error
#
# Tell server our ID
#
send <user>\r <<<< Your User name
if $errlvl != 0 goto log_error
#
# Password:
wait ssword 20
if $errlvl != 0 goto log_error
#
# Tell server our password
#
securidfixed <1234> <<<< 4 bit Ace PIN code
beep
securid
if $errlvl != 0 goto secure_error
#
# Catch the key word to confirm that IP will show up shortly.
#
wait IP 10
if $errlvl != 0 goto ip_error
#
# Get dynamic IP from strings that sent by server
#
get $local remote 10
if $errlvl != 0 goto local_error
#
# Get gateway IP from strings that sent by server
#
# ??? get $remote remote 10
get $remote <remote IP> <<<< Probobly not required, try
leav the previous line instead
if $errlvl != 0 goto remote_error
#
# Set up the SLIP operating parameters.
#
get $mtu 1500
#
# Set Destination net/address as type 'default' (vice an address).
# This is used by the 'route' command to set the kernel routing table.
# Some machines seem to require this be done for SLIP to work properly.
#
default
#
# Give the connection report !
#
done:
print Entering PPP mode.
print Dynamic IP assigned by host is $local
print Remote host connected is $remote
mode ppp
goto exit
log_error:
print Account loging connection failed.
goto exit
secure_error:
print SecureID connection failed.
goto exit
local_error:
print Getting local IP connection failed.
goto exit
remote_error:
print Getting remote IP connection failed.
goto exit
ip_error:
print IP reception failed.
goto exit
error:
print PPP connection failed.
goto exit
modemerr:
print Modem initializing failed.
goto exit
exit:
exit
Elya Ga Yerr <[EMAIL PROTECTED]> writes:
> Hi!
> Thanks everybody who tried to help me ,
> although, perhaps I haven't explained myself well enough. I am dialing to
> some place using SecureID passwd card, that means I MUST enter a passwd
> manually ( since it's valid for a very short perion of time). I can do it
> in kppp ( with terminal option on), however I haven't succeeded to
> authenticate in minicom , I guess it's an emulation problem. Anyway what I
> need is a console dialer capable of inserting user and passwd manually as
> I dial and not from any kind of startup script
> Elya
>
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
--
Regards,
Yossi Amon
___________________________________________________________
Star*Core - Next Generation DSP
2100 Riveredge Parkway, Suite 600, Atlanta GA 30328
Phone: 770-937-3346 Fax: 770-937-4534
mailto:[EMAIL PROTECTED]
___________________________________________________________
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]