home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / hp / 15200 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  3.8 KB

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!Sirius.dfn.de!informatik.uni-frankfurt.de!atlas.rbi.informatik.uni-frankfurt.de!doemel
  2. From: doemel@atlas.rbi.informatik.uni-frankfurt.de (Peter Doemel)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: Adding modems to HP 700 running HP-UX 8.07
  5. Message-ID: <1694@diane.informatik.uni-frankfurt.de.informatik.uni-frankfurt.de>
  6. Date: 22 Jan 93 09:54:17 GMT
  7. References: <C0CHx3.Hyu@world.std.com>
  8. Sender: news@informatik.uni-frankfurt.de.informatik.uni-frankfurt.de
  9. Lines: 89
  10.  
  11. kovar@world.std.com (David C Kovar) writes:
  12.  
  13.  
  14. >  This should be simple, but it's not. I want to add a modem to
  15. >my HP 700 to support UUCP services. I used SAM to configure
  16. >the modem, built what I think is the correct cable, connected everything
  17. >and tried to call out - nothing was ever sent out the serial port to
  18. >the modem.
  19.  
  20. >  Are there known gotchas - bad documentation, missing information, 
  21. >correct cables to use to make this work?
  22.  
  23. >  Thanks, in advance.
  24.  
  25. >-David
  26.  
  27. First of all I want to apologize for the late follow up, but there
  28. aren't many occasions for me to read news :-(
  29.  
  30. Assuming that your cable is correct and you're using the right
  31. device files (did you configure the modem as `call out' modem in
  32. SAM?) but you still may not receive any data from your
  33. modem, the reason could be the way SAM did it's job.
  34.  
  35. I am using a 705 running HP-UX 8.07 and on my machine the following
  36. happens:
  37.  
  38. Among creating the three device files and modifying /etc/ps_data,
  39. one line is appended to /etc/inittab by SAM. In my environment, this line
  40. looks like this:
  41.  
  42. a1:2:respawn:/etc/getty -h ttyd00 9600
  43.  
  44. The entry `a1' (it could be `a0' in your case) is unimportant
  45. --- despite the fact, that according to initab(4) `it is strongly
  46. recommended to use a four character sequence' --- and so is
  47. the baud rate (your modem uses the right one and is connected
  48. to the right port, isn't it?).
  49.  
  50. The critical part is the `2' because starting the X-Window System
  51. (and HP-VUE) puts the system in runlevel 3 (see init(1M) and
  52. /etc/inittab). The getty process, which is to wait for input from
  53. the modem, thus won't be created (type `ps -e | grep getty' to
  54. see if this is the case on your machine).
  55.  
  56. A solution could be to replace the `:2:' with `:23:' in /etc/inittab
  57. manually (but make a copy of the /etc/inittab before editing, you
  58. might need it :-). After every thing is consistent, you have to reboot.
  59.  
  60. -----
  61.  
  62. I had a similar problem using SAM to connect an ATARI-ST to the
  63. RS232 port A as terminal. The line added by SAM to /etc/inittab was:
  64.  
  65. a0:2:respawn:/etc/getty -h tty02 19200
  66.  
  67. SAM created /dev/tty02 for RS232 port A but it(/he?) could have used
  68. /dev/tty00, which already existed.
  69.  
  70. Of course I thought, it must be my fault that the connection didn't
  71. work. I modified the cable several times before I thought of SAM as the
  72. guilty.
  73.  
  74. -----
  75.  
  76. Some remarks concerning SAM:
  77.  
  78. I think, SAM should provide for the possibility that every modification
  79. he does to the system can be undone by him. For example, there is no
  80. way from within SAM to remove the `created' terminals and modems. But
  81. you can look into /usr/sam/log/`your_hostname' to see some (but not all!)
  82. of the things it did to your system.
  83.  
  84. I'd appreciate a solution similar to the one used by SMIT (a similar
  85. tool on RS/6000's with AIX). SAM should create a (good commented?)
  86. script containing ALL command calls for the actions he plans to perform
  87. and make this script available on demand. Of course this makes it
  88. necessary to prevent SAM from doing some `magic things' directly.
  89.  
  90. -----
  91.  
  92. I hope I could help you!
  93.  
  94. Peter
  95. -- 
  96. +----------------------------+----------------------------------------------+
  97. |        Peter Doemel        | email: doemel@informatik.uni-frankfurt.de    |
  98. |                            |                                              |
  99. |   Johann Wolfgang Goethe   | voice:                                       |
  100.