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 |
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. |
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? |
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. |