equal
deleted
inserted
replaced
|
1 //SIAP11 |
|
2 password |
|
3 Pname:Demon |
|
4 Ptype:PPPS |
|
5 Pdata:! Generic script for dial up connections |
|
6 ! Consult your service provider if |
|
7 ! modifications are required |
|
8 start: |
|
9 LOOP 3 |
|
10 { |
|
11 WAIT 10 |
|
12 { |
|
13 "name" login |
|
14 "ogin" login |
|
15 } |
|
16 SEND <0x0d> |
|
17 } |
|
18 login: |
|
19 SEND login_name$+<0x0d> |
|
20 WAIT 10 |
|
21 { |
|
22 "assword:" password |
|
23 "nvalid" failure |
|
24 "rror" failure |
|
25 "ncorrect" failure |
|
26 } |
|
27 EXIT KErrTimeOut$ |
|
28 password: |
|
29 SEND login_pass$+<0x0d> |
|
30 WAIT 10 |
|
31 { |
|
32 "OK" success |
|
33 "HELLO" success |
|
34 "GO" success |
|
35 "IP" success |
|
36 "ddress" success |
|
37 "ocol" protocol |
|
38 "nvalid" failure |
|
39 "rror" failure |
|
40 "ncorrect" failure |
|
41 } |
|
42 EXIT KErrTimeOut$ |
|
43 protocol: |
|
44 SEND "PPP"+<0x0d> |
|
45 EXIT |
|
46 success: |
|
47 EXIT |
|
48 failure: |
|
49 EXIT KErrLoginFail$ |