LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Serial Modem Communications (https://www.linuxquestions.org/questions/red-hat-31/serial-modem-communications-557750/)

digitolx 05-30-2007 08:54 AM

Serial Modem Communications
 
I am coming from a SCO unix Environment and have a quick question as I cannot seem to find this anywhere. Minicom is responding like the port is locked up.

Background....
The modem is an External Multitech modem.
Modem is on ttyS1
## Inittab String is
m0:2345:respawn:/sbin/mgetty ttyS1 -a
I have also added the following line to /etc/securetty
/dev/ttyS1


I was able to get the modem working but it is very sporadic..

In SCO you can reset the port using enable/disable commands..

1. Is there a command in redhat to do this from command line?
2. How can you unlock ports?

Thank you
Aaron

dxqcanada 05-30-2007 09:00 AM

No.

You must manually edit the /etc/inittab file ... then run "init q".

You may want to try agetty (if you have it).
See manpage.

digitolx 05-30-2007 09:06 AM

Hmm, I have been running telinit q,, I think that should do the same thing..

that command just re-reads the inittab and will not disable/re-enable the port and does not seem to be efficient or giving the required results.

Any other ideas?

2damncommon 05-30-2007 11:29 AM

Should /etc/inittab be:
m0:2345:respawn:/sbin/mgetty -a ttyS1

The man page says gettydefs should follow the device but lists "-a" as an option.
mgetty [options] ttydevice [gettydefs]


All times are GMT -5. The time now is 09:53 PM.