HELP: with dip.

Nao Yoshino kingding-a-ling na ndirect.co.uk
Neděle Květen 25 19:51:07 CEST 1997


Help! Here is my script for useage through dip to initiate
a SLIP connecion between my computer and my ISP... it doesn't
work.

Can you tell me why?



slipchat.dip
____________

main:

get $mtu 1500
default
port cua3
speed 38400

reset

send ATZ

#send ATF&C1&D2&Q5S7=60S9=100S10=100
wait OK 2
if $errlvl != 0 goto error
dial <a certain telephone number>
if $errlvl != 0 goto error
wait CONNECT 60
if $errlvl != goto error

login:
  sleep 3
  send \r\n\r\n
  wait ogin: 10
  if $errlvl != 0 goto error
  send kingding-a-ling
  wait word: 5
  if $errlvl != 0 goto error
  send <a certain password>
  wait annex: 30
  get $remote remote
  if $errlvl != 0 goto error
  wait Your 30
  get $local remote
  if $errlvl !=0 goto error

done:
  print CONNECTED to $remote at $rmtip
  print GATEWAY address $rmtip
  print LOCAL address $local
  mode CSLIP
  goto exit

error:
  print SLIP to $remote failed.

exit:
  print Done.



HERE are the errors:

DIP: Dialup IP Protocol Driver version 3.3.7n-uri (17 Apr 95)
Written by Fred N. van Kempen, MicroWalt Corporation.
DIP: name=root home=/tmp
     host=zero-shell.0.0.0.0 IP=127.0.0.1
     prot=SLIP MTU=296

Modem set to "HAYES".
About to set variable $mtu to 1500
Destination net/address set to 'default'
PORT: terminal port set to "cua3".
DIP: tty_open: /dev/cua3 (4) DIP: tty_open: IBUF=1024 OBUF=1020
DIP: tty: set_speed: 38400
DIP: tty: set_databits: 8
DIP: tty: set_stopbits: 1
DIP: tty: set_parity: N
DIP: tty: set_speed: 38400

ATZSLIP to  failed.
Done.
DIP: tty: set_speed: 0




Any help greatly appreciated.



Nao Yoshino
kingding-a-ling na ndirect.co.uk



Další informace o konferenci Linux