bernd@bhpcpd.kembla.oz.au (Bernd Wechner) (09/18/90)
I'm having a little trouble configuring a modem line to allow both dial in and dial out. Dial out is fine if no getty is running and dial in is fine while the getty is running. This is our second modem and the inittab entry is copied directly from our first. Our first modem runs fine for both dial in and dial out. There is a subtle difference in the getty processes which look like: > UID PID PPID C STIME TTY TIME COMMAND > root 4887 1 0 16:41:55 b5 0:01 /etc/getty -t 300 ttyb5 m24 > root 4868 1 0 16:28:53 ? 0:01 /etc/getty -t 300 tty03 m24 The old modem getty has no tty while the new one keeps ttyb5 open (which I suspect is the problem). The inittab entries for these modems are: >t8:2:respawn:/etc/getty -t 300 tty03 m24 >m6:2:respawn:/etc/getty -t 300 ttyb5 m24 While the relevant gettydefs entries are: >m3# B300 HUPCL # B300 SANE CS8 IXANY ISTRIP TAB3 #login:#m24 > >m12# B1200 HUPCL # B1200 SANE CS8 IXANY ISTRIP TAB3 #login:#m3 > >m24# B2400 HUPCL # B2400 SANE CS8 IXANY ISTRIP TAB3 #login:#m12 The only real difference between the two modems is the hardware they run on. The devices are configured as follows: >crw--w--w- 3 root daemon 31 0x030000 Jun 18 14:08 /dev/tty03 >crw--w--w- 1 root daemon 29 0x010500 Sep 3 10:19 /dev/ttyb5 Our old modem is on select code 03 which is an HP 27128A Asynchronous serial interface card. Our new modem is on select code 01 which is an HP 27140A Asyncronous 6-Channel Multiplexor (with modem control). The new modem is on port 5 of that card. We are running HP-UX 5.11 on an HP9000 series 500 computer. I'm sure we're not the only people to have installed a dial in/dial out modem on this card in this computer. Any help would be greatly appreciated. -- Bernd Wechner, Research Officer (bernd@bhpcpd.kembla.oz.au) BHP Coated Products Division, Research and Technology Centre Port Kembla, New South Wales, Australia.
gentry@kcdev.UUCP (Art Gentry) (09/20/90)
In article <1990Sep18.164732.4941@bhpcpd.kembla.oz.au> bernd@bhpcpd.kembla.oz.au (Bernd Wechner) writes: >I'm having a little trouble configuring a modem line to allow both dial >in and dial out. Dial out is fine if no getty is running and dial in is >fine while the getty is running. This is our second modem and the >inittab entry is copied directly from our first. Our first modem runs >fine for both dial in and dial out. > >There is a subtle difference in the getty processes which look like: > >> UID PID PPID C STIME TTY TIME COMMAND >> root 4887 1 0 16:41:55 b5 0:01 /etc/getty -t 300 ttyb5 m24 >> root 4868 1 0 16:28:53 ? 0:01 /etc/getty -t 300 tty03 m24 > >The old modem getty has no tty while the new one keeps ttyb5 open (which >I suspect is the problem). > >The inittab entries for these modems are: > >>t8:2:respawn:/etc/getty -t 300 tty03 m24 >>m6:2:respawn:/etc/getty -t 300 ttyb5 m24 > > [ other unrelevent info deleted ] > Two things to fix your problem, one definite, the other depends on how the 500 hardware works (don't know if it's the same as the 800 series). 1) change your inittab entry to read /usr/lib/uucp/uugetty instead of /etc/getty. The reason for this is, getty doesn't understand to "turn itself off" during an outgoing connect attempt. uugetty does understand to go to sleep during outcalls. 2) you probably need to create a second device entry for the outgoing device. On the 800 series there is a bit that needs to be set in order for the mux driver to behave appropriately. Both the normal incoming dev entry and the outgoing dev entry point to the same physical device, but the correct one is called upon depending on the direction of the call. In my installations, I call the incoming /dev/tty0p1 and the outgoing /dev/ttyd0p1. Both point to mux #0, port #1. | R. Arthur Gentry Gentry and Associates Excelsior Spring, MO 64024 | | Email: gentry@genco.uucp ATTMail: attmail!kc4rtm!gentry | | The UNIX BBS: 816-221-0475 The Bedroom BBS: 816-637-4183 | | $include {std_disclaimer.h} "I will make a guess" - Spock - STIV |