Article View: aus.computers.linux
Article #55633HELP: with dip.
From: Nao Yoshino
Date: Sun, 25 May 1997 00:00
Date: Sun, 25 May 1997 00:00
94 lines
2060 bytes
2060 bytes
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@ndirect.co.uk
Technical Details
Message-ID:
<33887bce.0@hades.ndirect.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,7df0a4564e3b2b42,start X-Google-Attributes: gid102983,public From: kingding-a-ling@ndirect.co.uk (Nao Yoshino) Subject: HELP: with dip. Date: 1997/05/25 Message-ID: <33887bce.0@hades.ndirect.co.uk> X-Deja-AN: 243849296 Organization: TiBURON Inc., UK Newsgroups: aus.computers.linux