Modem Blues, SS20 port A and Supra 28.8 modem

Modem Blues, SS20 port A and Supra 28.8 modem

Post by Bruce B. Sal » Thu, 06 Jul 1995 04:00:00



Modem Blues:

        I have a Supra 28.8 kb modem attached to port A of a serial
split cable off the serial port of a SS 20. I want to set up the
port to be bidirectional. For now I am just trying to see if I can
tip out and get out with kermit. The results are not good.

        Would someone advise me what might be wrong with the following
software setup?

         A troubling fact is that when the modem is used  alone with
a full-duplex 1-8-none wyse50 at 9600 it takes commands OK but doesn't
echo even if ATE1 is used. The modem does communicate to services, it
echos properly but it drops some characters.

        In the cases below I am trying to use the modem to dial out
from the computer's port.

        The /etc/remote file. I am trying to go out via /dev/cua/a
which is called hardwire2. Hardwire is used for another purpose and is working.

# cat /etc/remote
cuab:dv=/dev/cua/b:br#2400
dialup1|Dial-up system:\
        :pn=2015551212:tc=UNIX-2400:
hardwire:\
        :dv=/dev/term/b:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D:
hardwire2:\
        :dv=/dev/term/a:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D:
tip300:tc=UNIX-300:
tip1200:tc=UNIX-1200:
tip0|tip2400:tc=UNIX-2400:
tip9600:tc=UNIX-9600:
tip19200:tc=UNIX-19200:
UNIX-300:\

UNIX-1200:\

UNIX-2400:\

UNIX-9600:\

UNIX-19200:\

VMS-300|TOPS20-300:\

VMS-1200|TOPS20-1200:\

dialers:\
        :dv=/dev/cua/b:

        The port monitors running. The one for /dev/term/a is intended for
bidirectional use.

# pmadm -l
PMTAG          PMTYPE         SVCTAG         FLGS ID       <PMSPECIFIC>
tcp            listen         lp             -    root     - - p - /var/spool/lp/fifos/listenS5 #
tcp            listen         lpd            -    root     \x00020203000000000000000000000000 - p - /var/spool/lp/fifos/listenBSD #
tcp            listen         0              -    root     \x00020ACE000000000000000000000000 - c - /usr/lib/saf/nlps_server #
zsmon          ttymon         ttyb           u    root     /dev/term/b I - /usr/bin/login - 9600 ldterm,ttcompat ttyb login: - tvi925 y  #
zsmon          ttymon         ttya           u    root     /dev/term/a b - /usr/bin/login - contty5H ldterm,ttcompat Please Login:  - - n  #dial in/out on serial port

        The permissions on the devices. You will note that the real permisisons
are for the devices linked to. Where is getty when you want it? :-)

# cd /dev/term
# ls -l
total 4


# cd ../..//devices/obio
# ls -l
total 0
crw-------   1 root     sys       74,  0 Oct 18  1994 profile:profile




        Now the tests. Kermit has actually worked a couple of times but
I have had difficulty reproducing the conditions. Now both kermit and tip
fail. Tip has never worked. This is bad.

# /usr/local/bin/kermit
C-Kermit, 4D(061) 8 Sep 86, 4.2 BSD
Type ? for help
C-Kermit>set lin  e /dev/cua/a
set line /dev/cua/a
C-Kermit>set speed 9600
set speed 9600
/dev/cua/a: 9600 baud
C-Kermit>connect
connect
Connecting thru /dev/cua/a, speed 9600.
The escape character is CTRL-\ (28).
Type the escape character followed by C to get back,
or followed by ? to see other options.
Sorry, can't condition console terminal
C-Kermit>quit
quit
# tip hardwire2
link down

 
 
 

Modem Blues, SS20 port A and Supra 28.8 modem

Post by Celeste Stoke » Fri, 07 Jul 1995 04:00:00


I suspect that you've been working on this modem and port long enough that
parts of both are fouled up. (It's certainly happened to ME before!)

Most important--reset the modem back to a known state. There must be a way
in a Supra to turn it back to some factory default. Look in the book for
some basic 9600 baud, sw or hw flow control setup. Don't worry about locking
the DTE rate yet, unless that's a factory default setting. Get it working,
THEN lock the rate between the modem and the Sun.

Now, reboot the Sun, if at all possible. Several times my clients had a modem
setup that was perfect, only it didn't work because the kernel was all
confused from their messing about with it. Reboot is a great, brutal cleanup of
the kernel data structures. :-)

Look for lock files (which I don't really suspect, but looking for them
is good modem hygiene) in /var/spool/locks and delete the ones which look
like they're yours.

Check your modem cable, or try another 25 pin, straight-through cable.

Make kermit setuid-uucp, like tip is.

I bet you're a lot closer to success at this than you know!

.Celeste Stokely, Unix System Administration Consultant, Stokely Consulting

Voice Line:     415-967-6898 / FAX: 415-967-0160
USMAIL Address: Stokely Consulting/211 Thompson Square/Mountain View CA 94043
URL:            http://www.stokely.com/stokely
------------------------------------------------------------------------
"Celeste's Tutorial on Solaris 2.x Modems & Terminals" is available via
the Web at http://www.stokely.com/stokely, or via ftp at
ftp.batnet.com:/pub/wombats/stokely/ftp. Latest rev is 1.4, 6/18/95.
Check out the Web page for lots of Unix Serial Port Resources!
------------------------------------------------------------------------


: Modem Blues:

:       I have a Supra 28.8 kb modem attached to port A of a serial
: split cable off the serial port of a SS 20. I want to set up the
: port to be bidirectional. For now I am just trying to see if I can
: tip out and get out with kermit. The results are not good.

:       Would someone advise me what might be wrong with the following
: software setup?

:        A troubling fact is that when the modem is used  alone with
: a full-duplex 1-8-none wyse50 at 9600 it takes commands OK but doesn't
: echo even if ATE1 is used. The modem does communicate to services, it
: echos properly but it drops some characters.

:       In the cases below I am trying to use the modem to dial out
: from the computer's port.

:       The /etc/remote file. I am trying to go out via /dev/cua/a
: which is called hardwire2. Hardwire is used for another purpose and is working.

: # cat /etc/remote
: cuab:dv=/dev/cua/b:br#2400
: dialup1|Dial-up system:\
:       :pn=2015551212:tc=UNIX-2400:
: hardwire:\
:       :dv=/dev/term/b:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D:
: hardwire2:\
:       :dv=/dev/term/a:br#9600:el=^C^S^Q^U^D:ie=%$:oe=^D:
: tip300:tc=UNIX-300:
: tip1200:tc=UNIX-1200:
: tip0|tip2400:tc=UNIX-2400:
: tip9600:tc=UNIX-9600:
: tip19200:tc=UNIX-19200:
: UNIX-300:\

: UNIX-1200:\

: UNIX-2400:\

: UNIX-9600:\

: UNIX-19200:\

: VMS-300|TOPS20-300:\

: VMS-1200|TOPS20-1200:\

: dialers:\
:       :dv=/dev/cua/b:

:       The port monitors running. The one for /dev/term/a is intended for
: bidirectional use.

: # pmadm -l
: PMTAG          PMTYPE         SVCTAG         FLGS ID       <PMSPECIFIC>
: zsmon          ttymon         ttya           u    root     /dev/term/a b - /usr/bin/login - contty5H ldterm,ttcompat Please Login:  - - n  #dial in/out on serial port

:       Now the tests. Kermit has actually worked a couple of times but
: I have had difficulty reproducing the conditions. Now both kermit and tip
: fail. Tip has never worked. This is bad.

: # /usr/local/bin/kermit
: C-Kermit, 4D(061) 8 Sep 86, 4.2 BSD
: Type ? for help
: C-Kermit>set lin  e /dev/cua/a
: set line /dev/cua/a
: C-Kermit>set speed 9600
: set speed 9600
: /dev/cua/a: 9600 baud
: C-Kermit>connect
: connect
: Connecting thru /dev/cua/a, speed 9600.
: The escape character is CTRL-\ (28).
: Type the escape character followed by C to get back,
: or followed by ? to see other options.
: Sorry, can't condition console terminal
: C-Kermit>quit
: quit
: # tip hardwire2
: link down

 
 
 

1. Supra 28.8 modem problems

Hi. Hopefully someone can help me. I'm trying to get Supra 28.8K
modems to answer reliably on a Linux box running uugetty and Linux
1.1.59.  I've already got two 14.4K lines on it, and they work just
fine. I now want to replace the 14.4's with 28.8K modems. The problem
is they only answer the phone every second call. Here's my
/etc/conf.uugetty.ttyS0:

#DEBUG=777
#DEBUG=010
ALTLOCK=cua0
ALTLINE=cua0
INITLINE=cua0
HANGUP=NO
TIMEOUT=60
INIT="" \d+++\dAT\r OK\r\n AT&D3\r OK\r\n ATH0\r OK\r\n AT\r OK\r\n
WAITFOR=RING
CONNECT="" ATA\r CONNECT\s
DELAY=1

The modem appears to be getting the init string sent to it, but won't
answer the line on calls 2,4,6,8... . Can anybody help me with this?

By the way, saying "dump uugetty and use mgetty" is *not* an
appropriate solution. The 14.4's work just fine with uugetty, and I
just want to upgrade my TIA server modem pool.

Thanks in advance,

-drin

Adrian Smith
-------------------
Informatics Coordinator,
Department of Family Medicine, University of Alberta

2. Accessing an NT workstation HD from HP UX 9 or 10

3. FS: Supra 28.8 V.FC External Modem

4. solaris and java

5. 28.8/33.6 Supra Modem not working

6. Scope of memory leaks un Unix

7. Supra 28.8 PnPi modem quick fix

8. Getting DMA enabled on the intel 7500 chipset

9. EQL between 1 28.8 Modem and 1 128K ISDN Modem

10. modem : USR 28.8 Fax Modem, script fails

11. linux-modem initializatio strings with 28.8 v.34 modem

12. UARTs, serial ports and 28.8 modems...problems!

13. Problem with 16550A high speed serial port and 28.8 modem