LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-30-2007, 08:54 AM   #1
digitolx
Member
 
Registered: Nov 2004
Posts: 96

Rep: Reputation: 15
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
 
Old 05-30-2007, 09:00 AM   #2
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
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.
 
Old 05-30-2007, 09:06 AM   #3
digitolx
Member
 
Registered: Nov 2004
Posts: 96

Original Poster
Rep: Reputation: 15
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?
 
Old 05-30-2007, 11:29 AM   #4
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
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]
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial Communications Library carcassonne Programming 1 12-11-2006 10:11 AM
RH doesn't detect my Serial modem connected to a PCI Serial card ricky_ds Linux - Hardware 1 08-17-2006 02:37 PM
USB to Serial Converter on Serial Modem bongski55 Linux - General 3 08-29-2005 10:04 AM
ADSL eth modem and ISDN serial modem configuration zedrob Linux - Networking 6 01-19-2004 08:02 AM
serial communications flandercan Programming 4 02-13-2003 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 11:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration