Sponsored Content
Full Discussion: serial card in SCO Unix
Top Forums UNIX for Advanced & Expert Users serial card in SCO Unix Post 25570 by ArkiMage on Wednesday 31st of July 2002 11:03:49 PM
Old 08-01-2002
There's a dozen ways to skin this cat. This is how I setup modems for primarily dial-in access:

Hardware modems are best.. Not "WinModems".

Get the serial port working the modem is on, I'll assume COM1 or tty1A.

Hook the modem to a terminal or PC and set the baud rate to something appropriate (115,000bps for a 56K modem perhaps). Enter the appropriate AT commands to disable echo and result codes and turn on auto-answer. If there's a setting to "lock" the serial baud rate, enable that. If not, most of the time this is remembered by the speed the terminal or terminal emulator are running at when you do an AT&W.

Set the port in inittab something like this:
Se1A:234:respawn:/usr/lib/uucp/uugetty -t60 tty1A 6

The "6" in the gettydefs file I modified for the baud rate I wanted. Here it is set for 19,200bps which along with 115,000 isn't in the gettydefs file by default (for modems) I think:

6 # B19200 HUPCL # B19200 CS8 ORTSFL SANE HUPCL TAB3 ECHOE IXANY #login: # 6

Also notice the ORTSFL which sets CTS/RTS hardware flow control. Very important for high-speed modems.

Good luck!
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

terminal/port (serial) lock up mystery! SCO 5.0

Sorta new to Unix. great site here. I have SCO server with (5) 16 port Digi-boards and 5 line printers. For 3 years we've had no problems, till now... All of a sudden I get terminals and printers locking up. Killed the PID's for these particular situations. No help. So I disable the tty post... (10 Replies)
Discussion started by: ftn96
10 Replies

2. Filesystems, Disks and Memory

SCO TCP/IP runtime System for SCO Unix

Hi everyone i have a question for all of you. It may be basic or it may be a good one. I recently aquired a copy of "SCO TCP/IP runtime System for SCO Unix" (thats what the disks say) and for the life of me i can not get it to load. i have tried opening the disk in linux and it can not determine... (0 Replies)
Discussion started by: Cerberus
0 Replies

3. UNIX for Dummies Questions & Answers

Unix sco 5.0.6 Serial card

Hi guys how r you doing. I have a ISI 4608 is a serial card from multi-tech system, i'm installing it on sco 5.0.6. The driver version that i'm using is VER 3.01. the reason i'm doing this is because i have a APC power supply that works with unix. Ones i do the firts install of the... (1 Reply)
Discussion started by: josramon
1 Replies

4. UNIX for Dummies Questions & Answers

Disable form feed on a serial printer connected to Sco OpenServer

I connected a serial printer to my scoOpenServer which works great. I was able to disable the banner in the interface of the printer. However i am unable to find the command in the interface to disable the formfeed . Below is a copy of the interface file. Please can anyone instruct me on how to... (0 Replies)
Discussion started by: scoman2
0 Replies

5. SCO

3c905b network card problem with SCO 5.0.5

Hi, I was wondering if anyone could help me out with this problem. I have SCO 5.0.5 installed on a system that I am using 3c905b (3 Com) network card. This system is always powered on. After no certain time period this NIC doesn't work. I can't ping to this system from any other machine or vice... (2 Replies)
Discussion started by: AtALoss
2 Replies

6. SCO

SCO 5.0.7 and Serial ATA HDD question

Hi guys, I have this quick question , is it posible to isntall SCO 5.0.7 on a serial ATA and if it is can you tell me how or maybe a website that has some info about this. I'm not using any raid, just one HDD. Thanks a lot (0 Replies)
Discussion started by: josramon
0 Replies

7. UNIX for Dummies Questions & Answers

isa serial port adapter card no longer detectedworking

hi all, i've got an old PC with unix (SCO System V/386 rel. 3.2) on it. Pentium I; 128mb; ISA 2-port RS232 serial adapter card for an oki dot-matrix printer. (no usb, no CD) i've been running an old cobol program to do some invoicing and print reports. some time back i changed the... (0 Replies)
Discussion started by: frankpky
0 Replies

8. Shell Programming and Scripting

Auto sending text files from SCO box to a PC via serial cable

I have an SCO system with several PC's hooked up via ProComm and serial cabling (no Ethernet). I want to occasionally transfer a small text file from the UNIX system to a specific PC without the PC operator having to do anything (she may be out to lunch or doing other work during the transfer) ... (0 Replies)
Discussion started by: gbrowne
0 Replies

9. SCO

Problems with network card in SCO

hello, i am new to unix and need support</SPAN></SPAN> </SPAN></SPAN>The problem is: I have a SCO 5.0.5 server, and has no local network access, I think my problem are the drivers for network card. my network card is Kingston EtheRx PCI Fast Ethernet Adapter KNE120TX and already installed the... (9 Replies)
Discussion started by: daniel_cie
9 Replies

10. Solaris

Looking for driver for SunSAI/P 3.0 (Serial Asynchronous Interface) card X2156A

I'm looking for driver for SunSAI/P 3.0 (Serial Asynchronous Interface) card X2156A for Solaris. It used to be on sun-solve, but I fail to find it on the Oracle site. Any help would be very appreciated! (1 Reply)
Discussion started by: Ira28
1 Replies
mgettydefs(4)						       mgetty_sendfax manual						     mgettydefs(4)

NAME
mgettydefs - speed and terminal settings used by mgetty DESCRIPTION
The /etc/gettydefs file contains information used by mgetty(1) to set up the speed and terminal settings for a line. It also supplies information on what the login prompt should look like. Many versions of UNIX have a version of getty(1) that also reads /etc/gettydefs. Both mgetty and getty expect similar formats in /etc/get- tydefs except that, when used by mgetty, extended functionality is available. Even so, the additional functions are simply ignored by standard getty, so they can co-exist using the same file. Note, however, that mgetty can be compiled to use a file different from /etc/gettydefs if your getty gets upset about the extensions. This manual page documents /etc/gettydefs and describes the extended func- tionality available when used by mgetty(1). This document will refer to getty(1) except where mgetty's behaviour is different. Each entry in /etc/gettydefs has the following format: label# initial-flags # final-flags # login-prompt #next-label Each entry is followed by a blank line. The login prompt field can contain quoted characters which will be converted to other values. The sequences and their substitutions are: newline carriage return g beep  backspace v vertical tab (VT) f formfeed tab L portname C time in ctime(3) format. N number of users currently logged in U number of users currently logged in D date in DD/MM format T time in hh:mm:ss format I modem CONNECT attributes sequence where "sequence" is a valid strtol format, such as: nnn (octal), xnnn (hex), or nn (decimal). Note that standard getty usually only supports , and . The various fields are: label This is the string against which getty tries to match its second argument. It is often the speed, such as 1200, at which the terminal is supposed to run, but it need not be (see below). initial-flags These flags are the initial ioctl(2) settings to which the terminal is to be set if a terminal type is not specified to getty. The flags that getty understands are the ones listed in termio(7)). mgetty is usually compiled for termios(7) and often has a more complete set than getty. Normally only the speed flag is required in the initial-flags. getty automatically sets the terminal to raw input mode and takes care of the other flags. If the "-s" option is used with mgetty(1) the speed setting is ignored. The initial-flag settings remain in effect until getty executes login(1). final-flags These flags take the same values as the initial-flags and are set just before getty executes login. The speed flag is again required, except with mgetty if the -s flag was supplied. Two other commonly specified final-flags are TAB3, so that tabs are sent to the terminal as spaces, and HUPCL, so that the line is hung up on the final close. login-prompt This entire field is printed as the login-prompt. Unlike the above fields where white space (a space, tab or new-line) is ignored, they are included in the login-prompt field. This field is ignored if the "-p" option has been specified to mgetty(1). next-label specifies the label to use if the user user types a <break> character, or getty detects a reception error. Getty searches for the entry with next-label as its label field and set up the terminal for those settings. Usually, a series of speeds are linked together in this fashion, into a closed set; for instance, 2400 linked to 1200, which in turn is linked to 300, which finally is linked to 2400. next-label is ignored with mgetty(1). Several additional composite settings are available for initial-flags and final-flags. The following composite flags are supported by mgetty and are usually supported by getty: SANE equivalent to ``stty sane''. (BRKINT, IGNPAR, ISTRIP, ICRNL, IXON, OPOST, CS8, CREAD, ISIG, ICANON, ECHO, ECHOK) ODDP Odd parity (CS7, PARENB, PARODD) PARITY,EVENP even parity (CS7, PARENB) -ODDP,-PARITY,-EVENP no parity (resets PARENB, PARODD, and sets CS8) RAW raw I/O (no canonical processing) (turns off OPOST, ICANON) -RAW,COOKED enable canonical processing (turns on OPOST, ICANON) NL Ignore newlines. (ICRNL, ONLCR) -NL Respect newlines (turns INLCR, IGNCR, ICRNL, ONLCR, OCRNL, ONLRET off) LCASE Ignore case - treat all as lowercase. (IUCLC, OLCUC, XCASE) Is set if mgetty believes login is entirely uppercase. -LCASE Repect case (turns off IUCLC, OLCUC and XCASE) TABS output tabs as tabs -TABS,TAB3 output tabs as spaces EK Sets VERASE to "#" and VKILL to CKILL respectively. (note that while many gettys default VERASE to "#". mgetty defaults VERASE to backspace.) Additionally, mgetty (but not getty) can set any of the control characters listed in the c_cc termio(termios) structure by the use of two tokens: <character name> <value> Eg: VERASE ^h The value can be set as ``^<character>'', `` nn'' or ``<character>'' (normal UNIX escapes). See the termio(7) or termios(7) manual pages to a list of which ``V'' variables can be changed. Note that many of these can be changed in the c_cc array, but won't have any effect. If getty is called without a second argument, the first entry of /etc/gettydefs is used by getty, thus making the first entry of /etc/get- tydefs the default entry. It is also used if getty cannot find the specified label. Mgetty use a default label of ``n'', but this can be changed in the configuration. If /etc/gettydefs itself is missing, there is one entry built into the command which brings up a terminal at 300 (configuration parameter in mgetty) baud. It is strongly recommended that after making or modifying /etc/gettydefs, it be run through getty with the check option to be sure there are no errors. EXAMPLES
The following two lines show an example of 300/1200 baud toggle, which is useful for dial-up ports: 1200# B1200 HUPCL # B1200 SANE IXANY TAB3 #login: #300 300# B300 HUPCL # B300 SANE IXANY TAB3 #login: #1200 The following line shows a typical 9600 baud entry for a hard-wired connection (not currently supported for mgetty): 9600# B9600 # B9600 SANE IXANY IXANY ECHOE TAB3 #login: #9600 The following line is a typical smart-modem setup, suitable for mgetty: 19200mg# B19200 # B19200 SANE VERASE  VINTR 03 HUPCL # D T N Users @!login: #19200mg FILES
/etc/gettydefs SEE ALSO
mgetty(8), getty(8), login(1), ioctl(2), termio(7), termios(7). greenie 4 Dec 93 mgettydefs(4)
All times are GMT -4. The time now is 10:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy