Hi
Could you please help me. I am having trouble running "dip" on Linux patch
13. I'm trying to do is dial out with dip.
First:
Am I taking me dip problems to the right news group?
When I run the following script.
# Start of Script "x.dip"
main:
port cua1
speed 2400
reset # it does the same without reset
dial 555-1234
if $errlvl != 0 goto error
wait CONNECT 10
if $errlvl != 0 goto error
done:
print CONNECTED
goto exit
error:
print SLIP Failed
exit:
# End of Script
When I run ( dip -v x.dip ) I get
DIP: Dialup IP Protocol Driver version 3.2.0
Writen by Fed N. van Kempen, MicroWalt Corporation.
Set PORT to "cua1"Quote:>> main:
>> port cua1
TTY= /dev/cua1 (4) BAUD -1 SPEED 13
CS = 8
PARITY = N
STOP = 1
IBUF = 1024 OBUF = 1024
# end of out putQuote:>> speed 2400
Speed set to 2400
>> reset
>> dial 555-1234
>> if $errlvl != 0 goto error
>> wait CONNECT 10
>> if $errlvl != 0 goto error
>> print SLIP Failed
SLIP Failed
>> exit:
I know my modem and serial port work because I can dial out with "seyon" in X windows.
When I ran the above script the modem lights flashed on and off, so I know the serial port is
talking to the modem. ( the modem is a supra 2400 external)
And when I run the script
# Start of script
port cua1
speed 2400
send ATDT33884\r
# End of script
I get
DIP: Dialup IP Protocol Driver version 3.2.0
Writen by Fed N. van Kempen, MicroWalt Corporation.
Set PORT to "cua1"Quote:>> port cua1
TTY= /dev/cua1 (4) BAUD -1 SPEED 13
CS = 8
PARITY = N
STOP = 1
IBUF = 1024 OBUF = 1024
end of outputQuote:>> speed 2400
Speed set to 2400
>> send ATDT33884\r
Again the modem lights flash and nothing happens.
I must be doing something wrong. Could you please help me.
Your help would be greatly appreciated.
Thanks
Stewart Johnston