home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / minix / 3746 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.5 KB

  1. Path: sparky!uunet!mcsun!sunic!isgate!krafla!adamd
  2. From: adamd@rhi.hi.is (Adam David)
  3. Newsgroups: comp.os.minix
  4. Subject: Modem login
  5. Summary: Can't get the modem to answer
  6. Message-ID: <5140@krafla.rhi.hi.is>
  7. Date: 22 Jul 92 12:05:57 GMT
  8. Sender: usenet@rhi.hi.is
  9. Lines: 24
  10.  
  11. I am running ST minix 1.5.10.4 and now for the first time am trying to set
  12. up a modem login. The modem dipswitch is set to default no answer (I don't)
  13. want it to answer unless I specifically ask it to). I have modified modem.c
  14. so that it sends the right strings to the modem. The modem never takes the
  15. line offhook when I dial in, despite having tried the commands:
  16. modem -i2 tty2          (it's on tty2) or:
  17. modem -g -i2 tty2       What does that -g actually do?
  18. It occurs to me that it is basically a problem with getty, which spawns a
  19. login without waiting for a connection. I looked at the source and this is
  20. indeed the case, but I am definitely not happy with the other alternative
  21. of polling the tty once a second looking for a connection.
  22.  
  23. The ST hardware has a ring indicator interrupt. The best solution would
  24. therefore seem to be enabling this interrupt to do something useful in minix
  25. and letting the RING signal wake up the getty process to spawn the login.
  26. Has anybody done this already? What would be the best way of implementing
  27. this?
  28.  
  29. Also, how do I configure the getty that listens on tty2 to be different
  30. from those that are on tty0 and tty1. Do I need to modify INIT or is there
  31. a config file somewhere?
  32.  
  33. --
  34. Adam David. (adamd@rhi.hi.is)
  35.