(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



gettyaccts, atdialer, fax modem recognition


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



From - Mon Jun  7 06:41:34 1999
Xref: world comp.unix.sco.misc:98215
Message-ID: <375B7E72.EA4C583A@idealgroup.com> 
Date: Mon, 07 Jun 1999 01:10:26 -0700
From: Darryl Krasman <darryl@idealgroup.com>
Organization: Ideal Computer Group Inc.
X-Mailer: Mozilla 4.05 [en] (X11; I; SCO_SV 3.2 i386)
MIME-Version: 1.0
Newsgroups: comp.unix.sco.misc
Subject: Re: PPP on ORS - Why is it so hard to use?
References: <4.1.19990528130742.009609a0@scogr1> <375B1282.61FA9645@idealgroup.com> <19990607002103.L19392@jpradley.jpr.com> 
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: sparky.idealgroup.com
X-Trace: 7 Jun 1999 01:10:34 -0800, sparky.idealgroup.com
Lines: 50
Path: world!newsfeed.mathworks.com!news.idt.net!news.vphos.net!sparky.idealgroup.com
X-Mozilla-Status: 8011

Jean-Pierre Radley wrote:
> Thanks, Darryl.  Where'd you dig up the information to make gettyacts
> useful?  I've been looking around for some time.

I happened on the -s & -f flags while doing a man getty. From there a
man gettydefs got me an example. The problem was that the -s detect-time
in the man page says seconds when it was really 10ths of seconds. A
setting of  -s2 left precious little time for the Windoze box to get out
the detect character. High debugging on the getty showed the unit was
tenths. A setting of -s20 is usable and doesn't interfere with normal
logins too much. I suppose one could use this feature to set up a custom
program for downloading/uploading data to a hand held unit or custom
designed hardware. With some mods to atdialer I guess you could
incorporate your own voice stuff if your modem supports that. 



For kicks, try this:
NA:/usr/bin/banner:Hi there:0x01

Then dial in and in the 2 seconds before a login prompt press ^a.

 
> Do you have any lines to use in gettyacts to take care of an incoming FAX
> instead of an incoming PPP or DATA call?

I don't have a program suitable to receive a fax handy but I tried the
concept with a shell script (which needs #!/bin/sh or the exec will
fail). You need to add the -f flag to the getty entry and add a FAX
entry to /etc/gettyacts such as:
FAX:/tmp/fax::

and /tmp/fax has:
#!/bin/sh
echo 'settings: '$* >/tmp/fax.log
echo '\nEnvironment:'>>/tmp/fax.log
set >>/tmp/fax.log
exit 0

and you also need to add RTC_FAX line to your atdialer file. For my
MultiTech 2834ZDXb this seems to do the trick:
RTC_FAX=+FCON



Also look at MDM_FAXBAUD & others found in atdialer.c. What happens is
that the atdialer doesn't exit and turn control over to getty until the
RTC_FAX fails. The fly in this ointment is that it seems a regular user
can't use the line for dialing out with cu. Mind you, on this machine,
I've only got rs505a on and not oss497b & oss600a as yet.

-- 
Darryl
Ideal Computer Group Inc.




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

cartoon
Looking for Mac OS X Help?
OS X PDF e-books
Inexpensive, instant download



/Bofcusm/50.html copyright 1997-2004 (various authors) All Rights Reserved

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.



More:
       - OSR5
       - Bofcusm


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress