Hacks for Intel 9600EX with Xenix/386 2.3

Randy Bush news at m2xenix.psg.com
Mon Dec 10 13:09:42 AEST 1990


The following hacks run the Intel 9600EX 'Fast Eddie' modem on Xenix/386 2.3.x.

Note that this runs the modem with the computer-modem baud rate locked at 9600
while the modem-modem rate floats, so that callers do not have to whack that
disgusting break key to cycle the getty's baud rate.

Should you wish to lock the modem at a higher baud rate, and I recommend doing
so *after* getting it working at 9600, then hack all the B9600 stuff to EXTA,
and all the 9600's to 19200.


/* /usr/lib/uucp/Devices */

ACU tty1A - 9600 /usr/lib/uucp/dialIN96 \D
Direct tty1a - 9600 direct


/* /usr/lib/uucp/Systems */

uunet	Sa0745-2300Su0745-1700Any1700-0745 ACU 9600 17038765058 gin:--gin:--gin: mysysname word: secret


/* since we are running at a locked baud rate, change /etc/gettydefs to */

0 # B9600 HUPCL OPOST CR1 NL1 #
	B9600 CS8 SANE HUPCL TAB3 ECHOE IXANY #\r\n@!login: # 0


/* and. of course, your /etc/ttys entry for the port on which the modem
   sits should point to the above gettydefs entry, e.g., */

10tty1A


/* hack SCO's /usr/lib/uucp/dialHA24.c to be dialIN96.c as follows */

104c104
< #define	MDSETUP		"ATQ0E0T&D2&C1S0=0X4S2=043\r"
---
> #define	MDSETUP		"AT&Fe0m1l2\\n0\\x1%c0s7=55s11=60\r"
124c124
< #define	MDRESET		"ATQ0Z\r" 
---
> #define	MDRESET		"AT&Fe0m1l2\\n0\\x1%c0s7=55s11=60\r"
166c166,168
< #define	CONNECT		9
---
> #define	CONNECT4800	9
> #define	CONNECT9600	10
> #define	CONNECT		11
174c176
< /* 5 */ "NO DIALTONE",
---
> /* 5 */ "NO DIAL TONE",
178c180,182
< /* 9 */	"CONNECT",
---
> /* 9 */ "CONNECT 4800",
> /*10 */ "CONNECT 9600",
> /*11 */	"CONNECT ",
386c390
< 	term.c_cflag |= CLOCAL | (hflag ? (B2400|HUPCL) : highbaud);
---
> 	term.c_cflag |= CLOCAL | (hflag ? (B9600|HUPCL) : highbaud);
518a523,528
> 		case CONNECT4800:
> 			c = matchbaud(B4800, lowbaud, highbaud);
> 			cleanup(retcode | c);
> 		case CONNECT9600:
> 			c = matchbaud(B9600, lowbaud, highbaud);
> 			cleanup(retcode | c);
742a753,758
> 			break;
> 		case 4800:
> 			baudrate = B4800;
> 			break;
> 		case 9600:
> 			baudrate = B9600;

Good luck, and happy modeming!
-- 
..!{uunet,qiclab,intelhf,bucket}!m2xenix!news



More information about the Comp.unix.xenix.sco mailing list