Operating System - HP-UX
1837090 Members
2731 Online
110112 Solutions
New Discussion

Re: dial-in wierdness on predictive modem

 
John Henrikson
Regular Advisor

dial-in wierdness on predictive modem

Hi,
I'm trying to get dial-in access correctly set up on a predictive modem recently installed. I can get it to connect but I get garbage on the remote terminal until I enter the command: stty -parity, then it clears up.
Where would I make this change permanent?
thanks alot!!!
6 REPLIES 6
Keely Jackson
Trusted Contributor

Re: dial-in wierdness on predictive modem

Hi
What are you using to connect to the modem?

K
Live long and prosper
John Henrikson
Regular Advisor

Re: dial-in wierdness on predictive modem

doesn't seem to matter, i have a suprasonic modem but an application support person tried calling in remotely and had the same problem..
Darren Prior
Honored Contributor

Re: dial-in wierdness on predictive modem

The stty settings for dial-in access via a getty are stored in /etc/gettydefs. You'll need to check in inittab to see which entry in gettydefs is being used.

eg:

a0:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd1p0 192modem
In this case you need to find the 192modem entry in gettydefs. Next decide whether you want to modify gettydefs or the configuration of your communications software, ie Kermit/Hyperterm/etc.

Take great care when modifying gettydefs, make sure you keep a copy of the file before you modify it, and use getty -c /etc/gettydefs to check it for syntax errors (although it can't spot EVERY possible error.)

regards,

Darren.
Calm down. It's only ones and zeros...
Rodney Hills
Honored Contributor

Re: dial-in wierdness on predictive modem

If you look at /etc/inittab, look for the entry that defines the serial port the modem is hooked up on. Should look something like-

ttp1:234:respawn:/usr/sbin/getty -h tty0p1 9600

If you then look in file /etc/gettydefs look for the entry for 9600 (using the above sample).

You can specify the parity and other terminal connection characteristics here. Do a "man gettdefs" for more info.

-- Rod Hills
There be dragons...
John Henrikson
Regular Advisor

Re: dial-in wierdness on predictive modem

great thanks for that.. but can someone tell me what the stty -parity setting actually is so I know what to modify?
thanks!!!!!!!!
Rodney Hills
Honored Contributor

Re: dial-in wierdness on predictive modem

-parity turns off parity (makes it full 8-bit data transfer). Do man stty for info.

-- Rod Hills
There be dragons...