LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 10-24-2010, 12:57 AM   #1
phody_lee
LQ Newbie
 
Registered: Jul 2008
Distribution: RHEL 4-5.2
Posts: 17

Rep: Reputation: 0
Multiple minicom session


Hi everyone,

Is it possible that I can run multiple session of minicom in a server?
For example, 3 USB to Serial cable connecting to 3 console port device from a single server.
/dev/ttyUSB0
/dev/ttyUSB1
/dev/ttyUSB2
and created 3 different minicom config for each.
Then 3 different users are accessing 3 different console using minicom.

Hi Mod,
If there's thread like this, kindly redirect me.

Thank you,
 
Old 10-24-2010, 04:39 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Yes it should work ...
 
Old 10-24-2010, 08:00 AM   #3
phody_lee
LQ Newbie
 
Registered: Jul 2008
Distribution: RHEL 4-5.2
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by kbp View Post
Yes it should work ...
Hi kbp,
I manage to work only in single minicom config (/dev/ttyUSB0). When I try to connect another user using different config, it hang, like not responding but the status of the minicom is online.
Do you have any idea why I can't make it work?

TIA,
 
Old 10-24-2010, 10:11 AM   #4
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
Did you read the man page for minicom especially the configuration parameter.
It will give you the option the define a configuration file to use.
 
Old 10-26-2010, 02:08 AM   #5
phody_lee
LQ Newbie
 
Registered: Jul 2008
Distribution: RHEL 4-5.2
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gdejonge View Post
Did you read the man page for minicom especially the configuration parameter.
It will give you the option the define a configuration file to use.
Hi,
Yes, I did. Strange that I cannot use /dev/ttyUSB1 if I'm using /dev/ttyUSB0 in minicom.

Anyone has done this before? multiple device connected to different USB to serial.And at the same time 2 different minicom config is running.
 
Old 10-26-2010, 04:40 AM   #6
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
Quote:
Originally Posted by phody_lee View Post
Hi,
Yes, I did. Strange that I cannot use /dev/ttyUSB1 if I'm using /dev/ttyUSB0 in minicom.
Are you getting error messages when you try to use both ports at the same time? If yes can you tell what those messages are.

I presume you did test each connection by itself, before you tried the multiple sessions.
 
Old 10-28-2010, 03:19 AM   #7
phody_lee
LQ Newbie
 
Registered: Jul 2008
Distribution: RHEL 4-5.2
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gdejonge View Post
Are you getting error messages when you try to use both ports at the same time? If yes can you tell what those messages are.

I presume you did test each connection by itself, before you tried the multiple sessions.
I have no error messages, which is strange.
My serial cable (USB-Serial) are working. I tested it using my laptop.
As of now, I end-up using 3 servers using /dev/ttyS0 to connect to different console because I need it asap.

I plan to continue my problem tomorrow. I will build a fresh installed linux box and connect all USB-SERIAL.
 
Old 11-02-2010, 09:09 AM   #8
phody_lee
LQ Newbie
 
Registered: Jul 2008
Distribution: RHEL 4-5.2
Posts: 17

Original Poster
Rep: Reputation: 0
Ok. Here's the update.
I have a working USB > Serial cable to access a console switch.
I test it using putty and it works. Both cables.
Now, I used minicom and what happen is, it hangs. It says "Online" but its not responding. It happened in both cables.
Also did 777 permission on device, no luck.
What causing my minicom to not work properly?
If I want to access my console using putty, is there a command to access /dev/ttyUSBO?
 
Old 11-14-2010, 01:37 PM   #9
phody_lee
LQ Newbie
 
Registered: Jul 2008
Distribution: RHEL 4-5.2
Posts: 17

Original Poster
Rep: Reputation: 0
For updates. I can see the additional serial ports now.
Minicom is running in /dev/ttyS0 but not to /dev/ttyS1-S4.

# dmesg | grep tty
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
0000:04:00.0: ttyS2 at I/O 0x6000 (irq = 217) is a 16550A
0000:04:00.0: ttyS3 at I/O 0x6400 (irq = 217) is a 16550A
# setserial -g /dev/ttyS[0123]
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: 16550A, Port: 0x6000, IRQ: 217
/dev/ttyS3, UART: 16550A, Port: 0x6400, IRQ: 217
#

help?
 
Old 11-16-2010, 02:16 AM   #10
phody_lee
LQ Newbie
 
Registered: Jul 2008
Distribution: RHEL 4-5.2
Posts: 17

Original Poster
Rep: Reputation: 0
Hi Mod,

Kindly close the thread.

Problem/issues solved.
Minicom will work in different config with different physical ports.
I bought PCI Controller that is not fully supported by rhel.

Thank you,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
multiple users for one session? _man_ouer Linux - Security 2 10-13-2010 01:34 AM
Automating multiple minicom sessions jasper77 Linux - Server 2 10-06-2010 10:11 AM
Minicom via ttyS0: Please help with $TERM, $MINICOM, colors, mouse/gpm. GrapefruiTgirl Linux - Software 2 07-19-2008 07:01 AM
session specific for multiple terminal work Niceman2005 Linux - General 1 08-12-2007 01:13 AM
weird string during minicom session amrust Linux - Hardware 0 12-09-2003 08:20 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 06:13 PM.

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