Author Topic: securid and afterdial connection to ras server.  (Read 2028 times)

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
securid and afterdial connection to ras server.
« on: October 10, 2004, 07:13:57 am »
Hello, I have to use a securid card (constantly generates a code) to log in to our ras server at work.

On the laptop the afterdial terminal option is enabled, I enter no password/username click dial and a window pops up for me to enter the username and generated password.

I cannot find a way of using an afterdial terminal on the zaurus.

I have tried putting the securid password in before I dial but this doesn't work, possibly because the password has changed by the time it connects.

I am connecting via bluetooth which works for internet through gprs ans also works when I dial up a gsm internet provider.

Anyone got this working?
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
securid and afterdial connection to ras server.
« Reply #1 on: October 10, 2004, 09:18:13 am »
Can't think of a way offhand, although you could try waiting until your fob shows a complete bank of symbols then immediately entering the passcode/dialing.

This way you should get a full minute before the code changes.

BTW: It ain't going to help things if your fob goes into newpin/next token mode though.
« Last Edit: October 10, 2004, 09:19:07 am by iamasmith »
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
securid and afterdial connection to ras server.
« Reply #2 on: October 11, 2004, 04:07:06 am »
I've just checked the logs and it seems it's not even getting to the password stage, it appears to be getting stuck at sending my username (changed in the logs to zbones)

Also a minute isn't quite long enough as the modem needs to connect first.


Code: [Select]
abort on (NO CARRIER)
abort on (NO DIALTONE)
abort on (BUSY)
send (ATZ^M)
expect (OK)
ATZ^M^M
OK
 -- got it

send (ATDPxxxxxxxxxxx^M)
expect (CONNECT)
^M
ATDPxxxxxxxxxxxx^M^M
CONNECT
 -- got it

Serial connection established.
using channel 4
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
sent [LCP ConfReq id=0x1 ]
Timeout 0x20084bc:0x203b440 in 3 seconds.
rcvd [LCP ConfAck id=0x1 ]
sent [LCP ConfReq id=0x1 ]
Timeout 0x20084bc:0x203b440 in 3 seconds.
rcvd [LCP ConfReq id=0x2 ]
lcp_reqci: returning CONFREJ.
sent [LCP ConfRej id=0x2 ]
rcvd [LCP ConfAck id=0x1 ]
rcvd [LCP ConfReq id=0x3 ]
lcp_reqci: returning CONFACK.
sent [LCP ConfAck id=0x3 ]
Untimeout 0x20084bc:0x203b440.
rcvd [CHAP Challenge id=0x4 <2d6c8a16461cba7d746739b8e9a431b7>, name = "hiper"]
ChapReceiveChallenge: using 'BLUETOOTH1xxxxxxxxxx' as remote name
sent [CHAP Response id=0x4 <09fe10d1f6a2297d36d55ede5f46914f>, name = "zbones"]
Timeout 0x200f698:0x203b710 in 3 seconds.
sent [CHAP Response id=0x4 <09fe10d1f6a2297d36d55ede5f46914f>, name = "zbones"]
Timeout 0x200f698:0x203b710 in 3 seconds.
sent [CHAP Response id=0x4 <09fe10d1f6a2297d36d55ede5f46914f>, name = "zbones"]
Timeout 0x200f698:0x203b710 in 3 seconds.
rcvd [CHAP Failure id=0x4 "-l\212\026F\034\272}tg9\270\351\2441\267"]
Untimeout 0x200f698:0x203b710.
Remote message: -lM-^J^VF^\M-:}tg9M-8M-iM-$1M-7
CHAP authentication failed
Untimeout 0x200f698:0x203b710.
sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
Timeout 0x20084bc:0x203b440 in 3 seconds.
rcvd [LCP TermReq id=0x5]
sent [LCP TermAck id=0x5]
Terminating on signal 15.
sent [LCP TermReq id=0x3 "User request"]
Timeout 0x20084bc:0x203b440 in 3 seconds.
Connection terminated.
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.