LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 03: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, 02:00 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"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, 02: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,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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, 10: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, 03:01 AM   #5
single29
LQ Newbie
 
Registered: Jan 2010
Posts: 3

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, 01: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:21 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