Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 1999 19:18:19 +0530
From:      "Milind Bajekal" <milind@rolta.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Problem connecting with BOCA modem
Message-ID:  <000101be3a44$786318a0$3a0a10ac@milindb.rolta.com>

next in thread | raw e-mail | index | archive | help
Hi,

We are facing a problem achieving connectivity with BOCA 33.6 external
fax/data modems and would be grateful if you could help, since we lack
in-depth expertise on this configuration.

We are presently using a BOCA 33.6 external fax/data modem at our server end
(host) and CODEX MOTOROLA 3265 modem at the client end. The setup is
configured to deliver and receive mail from the client side via uucp. This
setup is and has been working successfully.

We are in the process of replacing the Motorola modem with BOCA modem. On an
experimental basis we had connected another BOCA modem at the client end,
thereby attempting to achieve connectivity from BOCA to BOCA. Unfortunately
this is not working.

Below is the complete listing of relevant files on the server and client end
which will better aid you in helping us.

Thanks in advance.

Milind Bajekal
Rolta India Ltd.

Server Side setup (host)
============================================================
/var/spool/Debug file contents of BOCA to Motorola connection
============================================================
uucico Delhi - (1999-01-06 09:30:05.25 7240) Calling system Delhi (port
tty01)
uucico Delhi - (1999-01-06 09:30:05.39 7240) DEBUG: fcsend: Writing sleep
"ATX1\r" sleep
uucico Delhi - (1999-01-06 09:30:07.39 7240) DEBUG: icexpect: Looking for 2
"OK"
uucico Delhi - (1999-01-06 09:30:07.39 7240) DEBUG: icexpect: Got
"ATX1\r\r\nOK" (found it)
uucico Delhi - (1999-01-06 09:30:07.39 7240) DEBUG: fcsend: Writing "ATDT"
\D "116\r"
uucico Delhi - (1999-01-06 09:30:07.39 7240) DEBUG: icexpect: Looking for 7
"CONNECT"
uucico Delhi - (1999-01-06 09:30:07.40 7240) DEBUG: icexpect: Got
"\r\nATDT0116\r\r\nCONNECT" (found it)
uucico Delhi - (1999-01-06 09:30:31.07 7240) DEBUG: fcsend: Writing "\r"
uucico Delhi - (1999-01-06 09:30:31.07 7240) DEBUG: icexpect: Looking for 5
"ogin:"
uucico Delhi - (1999-01-06 09:30:31.07 7240) DEBUG: icexpect: Got "
19200\r\n\r\n\r\r\n   FreeBSD (Delhi.rolta.com) (tty01)\r\r\n\r\r\nlogin"
uucico Delhi - (1999-01-06 09:30:31.29 7240) DEBUG: icexpect: Got ":" (found
it)
uucico Delhi - (1999-01-06 09:30:31.29 7240) DEBUG: fcsend: Writing login
"foo\r"
uucico Delhi - (1999-01-06 09:30:31.29 7240) DEBUG: icexpect: Looking for 5
"word:"
uucico Delhi - (1999-01-06 09:30:31.29 7240) DEBUG: icexpect: Got "
\r\n\r\r\n   FreeBSD (Delhi.rolta.com) (tty01)\r\r\n\r\r\nlogin: foo\r"
uucico Delhi - (1999-01-06 09:30:31.42 7240) DEBUG: icexpect: Got
"\nPassword:" (found it)
uucico Delhi - (1999-01-06 09:30:32.58 7240) DEBUG: fcsend: Writing password
"bar\r"
uucico Delhi - (1999-01-06 09:30:35.41 7240) Login successful
uucico Delhi - (1999-01-06 09:30:36.24 7240) Handshake successful (protocol
'i' sending packet/window 1024/16 receiving 1024/16)
uucico Delhi daemon (1999-01-06 09:30:36.25 7240) Sending rmail lalad
(D.10SW) (500 bytes)
uucico Delhi daemon (1999-01-06 09:30:36.27 7240) Sending rmail lalad
(D.10SZ) (688 bytes)
uucico Delhi daemon (1999-01-06 09:30:36.28 7240) Sending rmail lalad
(D.10T2) (688 bytes)
uucico Delhi daemon (1999-01-06 09:30:41.99 7240) Receiving rmail
ingr.com!hjain hotmail.com!hemaningr bechtel.com!axnn (412853 bytes resume
at 120320)
uucico Delhi - (1999-01-06 09:59:56.33 7240) Call complete (1764 seconds
2683784 bytes 1521 bps)
uucico Delhi - (1999-01-06 09:59:56.33 7240) DEBUG: fcsend: Writing sleep
sleep "+++" sleep sleep "ATH\r"


=================================================
/var/spool/Debug file on BOCA to BOCA connection
=================================================

uucico Delhi - (1999-01-06 12:31:10.09 10637) Calling system Delhi (port
tty01)
uucico Delhi - (1999-01-06 12:31:10.35 10637) DEBUG: fcsend: Writing sleep
"ATX1\r" sleep
uucico Delhi - (1999-01-06 12:31:12.36 10637) DEBUG: icexpect: Looking for 2
"OK"
uucico Delhi - (1999-01-06 12:31:12.36 10637) DEBUG: icexpect: Got
"ATX1\r\r\nOK" (found it)
uucico Delhi - (1999-01-06 12:31:12.36 10637) DEBUG: fcsend: Writing "ATDP"
\D "225\r"
uucico Delhi - (1999-01-06 12:31:12.37 10637) DEBUG: icexpect: Looking for 7
"CONNECT"
uucico Delhi - (1999-01-06 12:31:12.37 10637) DEBUG: icexpect: Got
"\r\nATDP225\r\r\nCONNECT" (found it)
uucico Delhi - (1999-01-06 12:31:31.82 10637) DEBUG: fcsend: Writing "\r"
uucico Delhi - (1999-01-06 12:31:31.82 10637) DEBUG: icexpect: Looking for 5
"ogin:"
uucico Delhi - (1999-01-06 12:31:31.82 10637) DEBUG: icexpect: Got "
19200\r\nB\003\004!\004!\000\006DF'G\037'G\006\006D\004FbBC'f\007}NB!\nH\002
\010u\014Ly\014Hs\014!=\014kgCbfEg"
uucico Delhi - (1999-01-06 12:31:31.97 10637) DEBUG: icexpect: Got "t"
(timed out)
uucico Delhi - (1999-01-06 12:31:41.97 10637) DEBUG: fcsend: Writing break
uucico Delhi - (1999-01-06 12:31:42.37 10637) DEBUG: icexpect: Looking for 5
"ogin:"
uucico Delhi - (1999-01-06 12:31:42.37 10637) DEBUG: icexpect: Got
"B\003\004!\004!\000\006DF'G\004'G\006\006D\004FbBC'f\007" (timed out)
uucico Delhi - (1999-01-06 12:31:52.52 10637) DEBUG: fcsend: Writing break
uucico Delhi - (1999-01-06 12:31:52.92 10637) DEBUG: icexpect: Looking for 5
"ogin:"
uucico Delhi - (1999-01-06 12:31:52.92 10637) DEBUG: icexpect: Got
"B\003\004!on j1grk!foBz1kgCbfEgt" (timed out)
uucico Delhi - (1999-01-06 12:32:02.14 10637) ERROR: Timed out in chat
script
uucico Delhi - (1999-01-06 12:32:02.37 10637) DEBUG: fcsend: Writing sleep
sleep "+++" sleep sleep "ATH\r"

================================================================
/var/spool/uucp/run.del (script to run the process)
================================================================
rm -f /var/spool/lock/LCK..tty01
/usr/libexec/uucp/uucico -r1 -f -x chat -s Delhi

===================================
/etc/uucp/dial of BOCA to Motorola
===================================

# This is a typical Hayes modem definition.
dialer hayes

#Script for Tone Dial
chat "" \dATX1\r\d\c OK ATDT\D CONNECT

# If we get "BUSY" or "NO CARRIER" during the dial chat script we
# abort the dial immediately.
chat-fail BUSY
chat-fail ERROR
chat-fail NO\sDIALTONE
chat-fail NO\sCARRIER

# When the call is over, we make sure we hangup the modem.
# You don't need this stuff, if you modem can handle DTR drop properly
complete \d\d+++\d\dATH\r\c
abort \d\d+++\d\dATH\r\c

=================================================
/etc/uucp/dial file for BOCA to BOCA
=================================================

# This is a typical Hayes modem definition.
dialer hayes

#Script for Pulse Dial
chat "" \dATX1\r\d\c OK ATDP\D CONNECT

# If we get "BUSY" or "NO CARRIER" during the dial chat script we
# abort the dial immediately.
chat-fail BUSY
chat-fail ERROR
chat-fail NO\sDIALTONE
chat-fail NO\sCARRIER

# When the call is over, we make sure we hangup the modem.
# You don't need this stuff, if you modem can handle DTR drop properly
complete \d\d+++\d\dATH\r\c
abort \d\d+++\d\dATH\r\c

=========================
/etc/uucp/config listing
==========================

# nodename uucp				# The UUCP name of this system
 nodename 68f800			# The UUCP name of this system

# spool /usr/spool/uucp			# The UUCP spool directory
 spool /var/spool/uucp			# The UUCP spool directory


# pubdir /usr/spool/uucppublic		# The UUCP public directory
 pubdir /var/spool/uucppublic		# The UUCP public directory

# logfile /usr/spool/uucp/Log		# The UUCP log file
 logfile /var/spool/uucp/Log		# The UUCP log file

# statfile /usr/spool/uucp/Stats	# The UUCP statistics file
 statfile /var/spool/uucp/Stats 	# The UUCP statistics file

# debugfile /usr/spool/uucp/Debug	# The UUCP debugging file
 debugfile /var/spool/uucp/Debug	# The UUCP debugging file

 max-uuxqts 1				# The maximum number of uuxqts

===========================
/etc/uucp/sys file listing
===========================

#call-login *
call-login foo
#call-password *
call-password bar

# The systems must use a particular login
#called-login Ulocal

# Permit local users to send any world readable file
#local-send /
# Permit local users to send files from /var/spool/uucp directory only
local-send /var/spool/uucp

# Permit local uses to request into any world writable directory
#local-receive /
# Permit local users to request files into /var/spool/uucppublic directory
only
local-receive /var/spool/uucppublic

# Call at any time
time any

# Use port1, then port2
port port1

alternate

port port2

# Now define the systems themselves.  Because of all the defaults we
# used, there is very little to specify for the systems themselves.

# Here come the names & phone no.s of our systems :-
system Delhi
#phone 116
phone 225


===========================
/etc/uucp/port file listing
===========================

# type of device
type modem

# Now we describe two ports.
port port1

# This is the device name to open to dial out.
# I use COM2 or tty01 in UNIX parlance
device /dev/tty01

# This is the dialer to use, as described in the dialer file.
# hayes comatible modem
dialer hayes

# This is the baud rate to dial out at.
# BSD can handle 19200
speed 19200

# Here is a second port.  This is like the first, except that it uses
# a different device.  It also permits a range of speeds, which is
# mainly useful if the system specifies a particular baud rate.
port port2
#device /dev/ttyd1
# changed from tty00 to tty01....vrushal
device /dev/tty01
dialer hayes
#speed-range 2400 9600
speed 19200

=================================================
/etc/uucp/dial file listing On the client system
=================================================

# This is a typical Hayes modem definition.
dialer hayes

#Script for Tone Dial
# for Tone dial
chat "" dATX4*DE12\r\d\c OK ATDT\D CONNECT
#for Pulse dial
#chat "" dATX4*DE12\r\d\c OK ATDP\D CONNECT

# If we get "BUSY" or "NO CARRIER" during the dial chat script we
# abort the dial immediately.
chat-fail BUSY
chat-fail ERROR
chat-fail NO\sDIALTONE
chat-fail NO\sCARRIER

# When the call is over, we make sure we hangup the modem.
# You don't need this stuff, if you modem can handle DTR drop properly
complete \d\d+++\d\dATH\r\c
abort \d\d+++\d\dATH\r\c




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000101be3a44$786318a0$3a0a10ac>