Path: utzoo!attcan!uunet!samsung!munnari.oz.au!metro!wolfen!bhpcpd.kembla.oz.au!bernd From: bernd@bhpcpd.kembla.oz.au (Bernd Wechner) Newsgroups: comp.sys.hp Subject: Dial in and Dial out on the one line Summary: How to configure a line for both dial in and dial out. Keywords: Modem,Dial Message-ID: <1990Sep18.164732.4941@bhpcpd.kembla.oz.au> Date: 18 Sep 90 16:47:32 GMT Organization: BHP Coated Products Division, Research & Technology Centre Lines: 49 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.