: >----------------------------------mydip.dip--------
: >get $mtu 1500 #also tried 1005
: try the default value (i think 296)
I am using 1024, it should work with any value i think, never tried smaller
values.
:
: >default
: the default command starts the slip-connection, i.e.
: it should be the last command (after login).
Yeah, I think this is true...
:
: >port cua1
: >speed 28800 #also tried 38400
: >reset
: >send AT&FE1Q0V1X1&K3\r
: >wait OK 2
: >if $errlvl != 0 goto error
: >dial 5365500
: isn't there an timeout, like
: dial 76575757 8
: as a command parameter??
No, I have set the timeout to 45 only in the modem (internal) and don't use
the timeout value in the dial command.
: >if $errlvl != 0 goto error #FAILS at this point
: >wait CONNECT 60
Here we have the problem: dial returns $errlvl 1 on connecting. What you
have to do is:
(1) remove the wait line
(2) use something like:
if $errlvl != 1 goto error
^^^^^
Hope that helps
Andi
ps.: I missed the original posting, that's why I quoted Stefan Waldherr.
pps.: Why don't you RTFM!
[...]
dial phonenumber [timeout]
Dials the indicated number. The default timeout is
60 sec. dip parses the string returned by the
modem, and sets $errlvl accordingly. The standard
codes are as follows:
0 OK
--------------> 1 CONNECT
2 ERROR
3 BUSY
4 NO CARRIER
5 NO DIALTONE
[...]