kees@bode.ee.ualberta.ca (Kees denHartigh,SYS ADMIN,5421-EB544) (06/13/90)
I am at my wits end with my hayes compatable modem and my serial line not syncing up at the proper incoming call baud rate. I have an hp9000-835 sys running hp-ux 7.0. The line was set up by sam for incoming and outgoing calls. this is my gettydefs definition 2400# B2400 OPOST ONLCR # B2400 ICRNL IXON IXANY ONLCR OPOST ECHOK ECHO ICANON ISIG INPCK ISTRIP HUPCL BRKINT #2400login: #PH PH# B1200 OPOST ONLCR # B1200 ICRNL IXON IXANY ONLCR OPOST ECHOK ECHO ICANON ISIG INPCK ISTRIP HUPCL BRKINT CLOCAL #1200login: #PH3 PH3# B300 OPOST ONLCR # B300 ICRNL IXON IXANY ONLCR OPOST ECHOK ECHO ICANON ISIG INPCK ISTRIP HUPCL BRKINT CLOCAL #300login: #2400 this is my inittab entry c5:2:respawn:/usr/lib/uucp/uugetty -h -r ttyd0p5 2400 vt100 this is my ttytype entry vt100 tty0p5 #Modem this is my /usr/lib/uucp/Devices ACU cul0p5 cua0p5 1200 hayes ACU cul0p5 cua0p5 2400 hayes The Problem comes when a person dials in at 1200 baud If the modem was at high speed (2400) and a users dials in at 1200 the modem answers at 1200 and a simple <cr> will set the line at 1200 after that person logs out and again trys to dial in at 1200 absolutely nothing the user types will give them a getty prompt. If I reset the modem or a call goes out (uucp) or otherwise all seems well and another user can dial in at 1200 and a <cr> will give them a prompt. Also if a user has dialed in at 1200 and logs out. Then someone else comes in at 2400 I get the similar dead screen syndrome I have tryed the round robin eg. in the gettydefs section of the manual eg. 2400# B2400 HUPCL # B2400 SANE IXANY IXANY TAB3 #2400login: #PH PH# B1200 HUPCL # B1200 SANE IXANY IXANY TAB3 #1200login: #PH3 PH3# B300 HUPCL # B300 SANE IXANY IXANY TAB3 #1200login: #2400 but i get no joy Has anyone run into a similar problem or have a fix for me. Thanks in advance a frustrated admin. ________________________________________________________________ Kees denHartigh kees@bode.ee.ualberta.ca Electrical Engineering Digital Labs alberta!bode!kees University of Alberta 238 Civil Elect Voice (403)492-5421 Edmonton, Alberta Canada Fax (403)492-1811
davem@hpubvwa.HP.COM (Dave MacDonald) (06/14/90)
I didn't spend a lot of time on it, but here are working entries from a system here. Note that the break key is what triggers the round-robin mechanism, ie if the user appears to get the wrong speed, hitting "break" should move them to the next speed. 2400h # B2400 HUPCL IGNPAR PARENB ICRNL IXON OPOST ONLCR CS7 CREAD ISIG ICANON ECHO ECHOK PARENB ISTRIP IXANY TAB3 # B2400 HUPCL SANE CS7 PARENB ISTRIP IXANY TAB3 #login: #1200h 1200h # B1200 HUPCL IGNPAR PARENB ICRNL IXON OPOST ONLCR CS7 CREAD ISIG ICANON ECHO ECHOK PARENB ISTRIP IXANY TAB3 # B1200 HUPCL SANE CS7 PARENB ISTRIP IXANY TAB3 #login: #300h 300h # B300 HUPCL IGNPAR PARENB ICRNL IXON OPOST ONLCR CS7 CREAD ISIG ICANON ECHO ECHOK PARENB ISTRIP IXANY TAB3 # B300 HUPCL SANE CS7 PARENB ISTRIP IXANY TAB3 #login: #2400h ACU culd0p4 cuad0p4 2400 HAYES2400 ACU culd0p4 cuad0p4 1200 HAYES1200 ACU culd0p4 cuad0p4 300 HAYES300 04:24 :respawn:/etc/getty_slow -h -t 240 ttyd0p4 2400h # Modem in/out Hope this helps... Dave MacDonald Bellevue, WA CEC davem@hpubvwa