APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > ttymon Unixware ––>Re: Cannot login by modem on Unixware7.1
Printer Friendly Version




News Group Posts

ttymon Unixware


I can well remember rolling my eyes over sacadm and ttymon. It's not that it is a horrible idea; it's just that it is much different than just running getty on a port in inittab.

The man page for ttymon is the place to start. You might also find Incoming PPP Setup on Unixware 7.x helpful.


From: Roberto Zini <fred@strhold.it>
Newsgroups: comp.unix.sco.misc
Subject: Re: Cannot log by modem on Unixware 7.1
Date: Thu, 24 Feb 2000 10:00:55 +0100
Message-ID: <38B4F347.3841C1E8@strhold.it> 

Luc Chatelain wrote:
> 
> Hi all.
> 
> I configured a modem on a Com port on my system, using the
> ttymon monitor ...
> When I dial to that modem I get the login and am able to log on,
> the system will display my last login time and I get kicked out,
> back to the login.   The modem does not hangup, I can still try and
> log on and get kicked out again.
> 
> I know that it doesn't get to the /etc/profile file ( I put a trace in
> it
> and it never showed).
> 
> I tried different users, they all react the same way.
> I'm able to login and work with these user codes if  I telnet.
> 
> Thanks for you help.
> Luc Chatelain
> ogcplus@cam.org

This is a repost of an article I managed to post a while ago concerning
a similar issue : 














=== cut here ===

I've been involved in a modem installation under UW 7.1 in the
last few days and, after much fighting, sighing, crying and so on, 
I've been able to get the long awaited login prompt by manually
changing the /etc/saf/ttymon1/_pmtab file (assuming that ttymon1
is the label assigned to your port monitor). As an example, stop
the port monitor (sacadm -k -p ttymon1), switch to /etc/saf/ttymon1
and, by using the editor of your choice, change the _pmtab as
follows :


# VERSION=2
termA1:u::reserved:reserved:login:/dev/term/A1:ohr:0:/usr/bin/shserv:60:
38400_8N:ldterm,ttcompat:login\:
:::::#

Please notice the tenth field of the above string (/usr/bin/shserv); by
default it's automatically set to "auto" and this caused us a log of
headaches. Once replaced with /usr/bin/shserv, everything went as
expected (please change the twelfth field - speed - accordingly to
your needs).

Next restart your port monitor (sacadm -s -p ttymon1) and see what
happens; if you have trouble, please check /var/saf/ttymon1/log for
additional details.



Note: the above workaround was originally posted under this newsgroup
by a wyse guy whose name I can't remember right now - kudos to him
for his knowledge.

=== cut here ===

The problem you're experiencing could be due to a bad serial cable
wiring too; I had the same problem while trying to connect a serial
terminal to a UW 7.1.0 machine. To get the above to work I had to
phisically wire DTR and DCD on the UW7 side, even if I was logging
in via a null modem device (actually it was /dev/term/00t which,
as stated in the docs, DOES NOT consider modem signals). OK, this
is not your case but consider downloading patch ptf7613a  if
you plan to do the above connection.

Best,
Roberto
-- 
---------------------------------------------------------------------
Roberto Zini                                  email : fred@strhold.it
Technical Support Manager -- Strhold Sistemi EDP Reggio Emilia(ITALY)
---------------------------------------------------------------------
"Has anybody around here seen an aircraft carrier?"                
        (Pete "Maverick" Mitchell - Top Gun)


If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

1 comment




More Articles by



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!


book graphic unix and linux troubleshooting guide


 I sell and support
 Kerio Mail server
pavatar.jpg

This post tagged:

       - Modems
       - Unixware




Unix/Linux Consultants

Skills Tests

Guest Post Here