Dip dial out help

Dip dial out help

Post by Stewart Johnst » Fri, 08 Apr 1994 11:46:13



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.

Quote:>> main:
>> port cua1

Set PORT to "cua1"
TTY= /dev/cua1  (4) BAUD -1 SPEED 13
CS = 8
PARITY = N
STOP = 1
IBUF = 1024 OBUF = 1024

Quote:>> 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:

# end of out put

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.

Quote:>> port cua1

Set PORT to "cua1"
TTY= /dev/cua1  (4) BAUD -1 SPEED 13
CS = 8
PARITY = N
STOP = 1
IBUF = 1024 OBUF = 1024

Quote:>> speed 2400
Speed set to 2400
>> send ATDT33884\r

end of output

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

 
 
 

Dip dial out help

Post by Frank Strau » Sun, 10 Apr 1994 20:11:27



>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

This script lacks of some very important statements. Take a look at the
file "sample.dip". I think, you should also grab a new version of dip,
for example dip-3.3.7.strauss.tar.gz that may be found on FTP.Germany.EU.net.

Quote:>When I run ( dip -v x.dip )  I get

[...]
Quote:>>>  wait CONNECT 10
>>> if $errlvl != 0 goto error
>>> print SLIP Failed

[...]

You should increase the time for waiting for a CONNECTion. 10 seconds is too
short in many cases, at least here in Germany.

Quote:>I must be doing something wrong. Could you please help me.
>Your help would be greatly appreciated.

You should obviously take a look at dip's man page. In short terms: RTFM.

--

--



 
 
 

1. DIP pulse dialing and dip.pid

Recently after upgrading my kernel dip has started to pulse dial instead of
tone dial.  Has this happened to anyone before? How do I fix it?  It's not my
init string, I know that.  Is it something to do with the dial library? Also,
no one except root can use dip without it getting messed up because it can't
write the dip.pid file to the /etc directory.  This didn't happen with
dip-3.x.xn, only with dip-3.x.xo.  Can anyone help?

thanks,
Caglar Girit

2. Sound drivers for linux

3. dip "dial" command defaults to PULSE dialing!!!

4. How to speed up Dial-Up Networking for Games?

5. Preventing Dial outs.

6. plip-to-ppp-network

7. Multiple dial OUTS & report on 3COM 3C905-TX ethernet

8. I upgraded to new SysV 2.6... I need to change inittab

9. Permanent dial-outs with dynamic IP

10. HELP IBM dip script does not dial pulse

11. setting dial-in dip...HELP PLEASE

12. Help:Dip & Dialing In

13. tone dialing with dip, & rlogin help