Problems with mgetty at HP workstation

"David L. Crow" (crow@dev.tivoli.com)
Tue, 28 Oct 1997 15:42:15 -0600



Claus Svarer wrote:
> I hope someone can help me. I have a lot of problems getting
> mgetty+sendfax 1.1.9 up and running at a HP9000/712 with HP-UX 10.20 and
> aa ZyXEL 2864 modem. 

 This is my exact scenario except that I have not moved up to this
 release of mgetty yet. I'm at 1.1.5 I think. Here is my note to the
 list a while back regarding getting mgetty to work on HP-UX 10.10.
 Let me know if you have any questions or still have problems.

--
 ------------ Texas! It's like a whole other country. ------------
 David L. Crow   http://www.cactus.org/~crow (internet)
 crow@dev.tivoli.com  http://w3.tivoli.com/~crow (intranet)


Date:  Thu, 17 19Apr 1997 02:04:35
From:  "David L. Crow" <crow@hamilton.dev.tivoli.com>
To:  mgetty@muc.de
Subject: mgetty and HP-UX 10.10 (solved)
Reply-To: crow@dev.tivoli.com
X-Phone: 512/436-8362
Organization: Tivoli Systems Inc. - Austin, TX


 I always knew that mgetty was a great functional program, but after
 the last three or four hours of stepping through and studying the
 code, I am equally impressed with the internals as well.

 Sure enough as I expected, my problems were related to flow
 control. Fortunately, mgetty is doing everything as expected. I
 found an HP-UX 10.10 patch that solved all of my problems. The patch
 is PHNE_9741 available from the HP Support WWW Site.

 To get the code to compile on HP 10.10, I had to make a couple of
 changes.
 
 First, I moved the #include of sys/modem.h from tio.c to tio.h so
 that other .c files like mgetty.c that needed it would get it.

 Second, the definition of openlog and syslog in logfile.c do not
 match those defined in syslog.h for HP-UX 10.10. So, HP-UX 10 can be
 added to the long list of !defined() os's that don't need the
 definitions in logfile.c. Unfortunately, it appears that those
 definitions are required in HP-UX 9 and the HP built-in compiler/
 pre-processor don't provide a symbol to differentiate between HP 9 and
 HP 10. Fortunately, I might be the only one using mgetty on HP-UX and
 I have upgraded to HP 10.

 Anyway, I can send context diffs for the two problems, but since the
 changes were so minor, I didn't think it necessary. Let me know if
 you would like them.

 Gert, thanks again for all of your hard work. Feel free to send
 anyone my way who is trying to use mgetty/vgetty on HP.

 Gert, if you are looking for some more in depth documentation on
 device files and such for HP-UX, let me know. I can provide some
 pointers to man pages and other docs that might be of help to other
 HP-UX users.
 
 One thing to note is that I was able to set hw flow control at the
 device level, so using termiox was not needed. If the device is not
 configured for hw flow control, then I am led to believe from the 
 modem(7), termio(7), and termiox(7) man pages that termiox is the only
 way to get hw flow control enabled.

 Thanks again.
--
 ------------ Texas! It's like a whole other country. ------------
 David L. Crow   http://www.cactus.org/~crow (internet)
 crow@dev.tivoli.com http://w3.dev.tivoli.com/~crow (intranet)
.