1834883 Members
2908 Online
110071 Solutions
New Discussion

Newbie Modem question

 
James Pethigal_1
Occasional Contributor

Newbie Modem question

via SAM I was tried to change the baud rate of a modem because disconnects @ graphically intensive displays.
I wanted to lower the baud - it was a 56k & I thought I might be set to high.

original config:

/dev/ttyd2c9 Modem 8/20/5/1 c9 115200_8n1


new config:

/dev/ttyd2c9 Modem 8/20/5/1 c9 57600


That didn't solve the problem plus I could not connect - so I went to change it back to 115200_8n1.

But I keep get error message: The Terminal or Modem baud rate you have entered is not in the file /etc/gettydefs. The /etc/gettydefs file may be incomplete or incorrect ..... see a list of allowed baud rates select the "Speed (Baud Rate)..." selector

"Speed (Baud Rate)..." does not list 115200_8n1 ? it has 115200

I looked in /etc/gettydefs with the following entry:
115200_8n1 # B115200 HUISIG ICANON ECHO ECHOK ISTRIP IXANY TAB3EAD
#login: #115200 SANE CS8 ISTRIP IXANY TAB3 HUPCL

What's the deal & what am I missing.

Thanks for the help & have a good Friday!
James
Smile - It confuses people!
1 REPLY 1
Dietmar Konermann
Honored Contributor

Re: Newbie Modem question

The 115200_8n1 seems to be an manually added entry, which may be the reason for SAM to not recognze it. If SAM makes trouble you could simply edit /etc/inittab manually (and carefully!). Then run init -c and kill the getty process to get a new one respawned.

To configure 57600_8n1 (which seems to be desired in your case) you could copy the 115200_8n1 entry in gettydefs and change it accordingly. Then edit again /etc/inittab, run init -q and kill the running getty to get it respawned.

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)