Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Probemodem errors? - stty command



On my system (Debian distribution), the stty command (part of GNU sh-utils 
2.0) works on the current terminal device (stdin) by default, thus the 
response "stty: standard input: unable to perform all requested operations"

To hang up modem lines, you would need to do:
     stty -F /dev/ttyS0 hup

...HH


At 10:05 PM 1/12/2000 -0500, you wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>
>On Wed, 12 Jan 2000, George Zeigler wrote:
>
> > Hello,
> >       I'm not really understanding the importance of the stty 0 
> message.  Is
> > this the same thing as serial port ttyS0?
>
>Goodness, George! Please read the manual page for the command "stty"!
>
>The command is a reset command, designed to hang up modem lines, at least
>under SunOS and RedHat Linux.
>
> > >Nico wrote:
> > > What happens with "fuser /dev/ttyS1" issued as a root user? And do
> > > you have another getty or something running on /dev/ttyS3, or /dev/modem
> > > symbolically linked to /dev/ttyS1?
> >
> >       I ran fuser for /dev/ttyS1
> > bash-2.03# fuser /dev/ttyS1
> > /dev/ttyS1:           6244
> >       How do I find out what that is?  When I do the same for /dev/ttyS0 or
> > /dev/ttyS2 , I get nothing.  When I do
> > ps
> > , I don't see the PID 6244 anywhere.  Is there
> > subprocesses that ps does not show?  ps man page tells nothing about hidden
> > processes.
>
>Try "ps auxww | less". That should nail everything, and you can look
>for 6244.
>
>
> > > It's possible to comment out of your probemodem/faxaddmodem commands.
> >       How do I do this?  Also, I'm not following.  What's the problem with
> > this, since it is only one of about 40 problem messages?
> > <snip>
>
>It would clean up the logs and make them much more legible. You might also
>look into the "stty" command for SuSE Linux and see if there is an equivalent
>that you should use for that OS...
>
>                         Nico Kadel-Garcia
>                         Senior Engineer, CIRL
>                         Mass. Eye and Ear Infirmary
>                         raoul@cirl.meei.harvard.edu
>
>-----BEGIN PGP SIGNATURE-----
>Version: 2.6.2
>
>iQCVAwUBOH1BBj/+ItycgIJRAQGDHAQAokJQvdLjdsLz7tXoYYWhpvq+tkGTzT7p
>2WYzuNC7yuleyyXgahmmAFMxEIWfm+IQaqMrOPkStBK2MCM8rXklcdZMF2DHMp5q
>Cz5v+jW9ApZiqz3BKk8RVaLfIWqXLAKV96RwY++obJGdE5Shh36IO4a6kjaqb4E8
>jTH1weLmRgI=
>=CUaW
>-----END PGP SIGNATURE-----



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services