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