LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-24-2004, 04:40 AM   #1
nigham
Member
 
Registered: Oct 2003
Location: Singapore
Distribution: Fedora Core 2
Posts: 32

Rep: Reputation: 15
using minicom


hi... i'm trying to connect to a serial device (an iPaq) through minicom - i've configured the settings correctly but its unable to connect - just keeps showing me the status as "offline".

i can connect to the same device using hyperterminal simply by saying connect to COM1.

is there any such command in minicom? any alternative program i should try?

any help much appreciated, thanks!
 
Old 02-24-2004, 03:00 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,589

Rep: Reputation: 187Reputation: 187
"i've configured the settings correctly but its unable to connect - just keeps showing me the status as "offline"."

Are you using /dev/ttyS0

---------------------------
Steve Stites
 
Old 02-24-2004, 03:05 PM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,111

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
hmm, if you have a spare null modem cable handy, plug it between ttyS0 and ttyS1, put the following line in your /etc/inittab
S1:2345:respawn:/sbin/agetty 19200 vt100
then type 'init q'
and then make sure minicom is set for those settings then with minicom in one console, type killall agetty in another and you should get a prompt
ok, shoot me that's overly complex hit ctl ctl-A Z to find the settings and make sure baud rate, stop bits, etc... match on both devices
 
Old 09-22-2006, 11:36 AM   #4
JohnDaVinci
LQ Newbie
 
Registered: Jul 2006
Posts: 9

Rep: Reputation: 0
Did you ever have any luck with this?

I'm trying to connect to a Quatech box on Linux. I can do a manual loopback with a console window on the Quatech, but I cannot get the Quatech port to talk to Hypterminal on another Windows machine.
 
Old 01-26-2010, 04:01 AM   #5
single29
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
copied from other site

1. By default, minicom is not installed in Ubuntu, so you need to install it first.
sudo apt-get install minicom
2. Find the name of your Serial Port
dmesg | grep tty
In the output look for something like "tty". The output in my case is like this:
$ dmesg | grep tty
[ 17.341823] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 17.342454] 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
This means the device correspond to my serial port is ttyS0.
3. Configure minicom
sudo minicom -s
* Use the keyboard keys to select the menu item Serial port setup.
* Enter A to change the Serial Device to /dev/ttyS0, and then enter E to change the line speed to 9600 8N1
* Using arrow keys, select Save setup as dfl
4. Select Exit from Minicom.
5. Next time, from the terminal you only need to run sudo minicom in order to access your Cisco box.

__________________
 
Old 01-06-2011, 02:12 PM   #6
lcbalogh
LQ Newbie
 
Registered: Jan 2011
Posts: 4

Rep: Reputation: 0
ttyS0 offline in minicom

I am not understanding from the previous posts how to get my serial data to display on my terminal. The minicom status bar reads offline. I am capturing data in my data file to which the input is written, but I need it displayed on the terminal as well.
 
  


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
minicom yashika Linux - Newbie 1 09-09-2004 03:54 AM
minicom flensplop Linux - Newbie 2 08-30-2004 09:21 PM
using minicom Pico_01 Linux - General 5 02-12-2004 04:01 AM
Looking for information on how to use minicom King Richard Linux - Networking 1 01-30-2004 10:16 AM
something about minicom Kamrul Hakim Linux - Software 1 01-21-2003 03:45 PM


All times are GMT -5. The time now is 07:42 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration