LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-16-2007, 02:01 PM   #1
daceo
LQ Newbie
 
Registered: Jun 2003
Location: cambridge uk
Distribution: slackware 9.0
Posts: 25

Rep: Reputation: 15
how to use serial port like hyper terminal in windos?


Hi,

I am an electronic engineer, and I work on embedded uControlers with RS232 ports which can talk to the Hyperterminal or similar in windos through com1-4...

how do I do this in linux. I feel it probably is so basic that everyone knows it and hance documentation is not forthcomming. (have been wondering this for several years)

could any body help me with a magic command line, and how to set up baud etc, or a pointer to a good how to...

cheers

daceo

suse 9.1
slack 9.x 10.x
ubuntu 6.x
win 98 se 2000 XP

if it helps
 
Old 03-16-2007, 02:06 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
check out minicom, pretty nice tool for the job. btw, i use TuTTY, a puTTY fork for this under windows, whops hyperterminal by a long way.
 
Old 03-16-2007, 02:08 PM   #3
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
The tool is minicom, it's included with many distributions. As root,

minicom -s

This lets you setup system-wide defaults (like port selection and bit rate).

Then as a user just run minicom to connect to the port.
 
Old 03-16-2007, 02:09 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
You would want to look at "minicom" which is a console-based serial terminal emulator which should be able to do anything Hyperterminal was doing.

If you want something with a GUI those are out there too, like CuteCom.
 
Old 03-16-2007, 02:09 PM   #5
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,397
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Most distros com with minicom, which I find a bit spartan, although functional. My weapon of choice, for greatest control and flexibility is C-kermit. That you even understand the utility of serial communcations automatically puts you in an enlightened category IMHO, so no need to feel shame.
--- rod.
 
Old 03-16-2007, 03:29 PM   #6
Linville79
Member
 
Registered: Nov 2006
Location: Indiana, U.S.A.
Distribution: Red Hat Enterprise Linux, Fedora, CentOS
Posts: 134

Rep: Reputation: 16
I also prefer C-Kermit for serial port communication in Linux.
 
Old 03-16-2007, 06:18 PM   #7
daceo
LQ Newbie
 
Registered: Jun 2003
Location: cambridge uk
Distribution: slackware 9.0
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks guys,

For some strange reason I thought I could type ttyS0 ore something like that in to a "terminal" and it would start working all by itself.... so it is kind of reassuring that i need a program to run. next task is to see if any of the single floppy distros have any of these as standard....

cheers

daceo
 
Old 03-16-2007, 06:40 PM   #8
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
While the single boot floppy versions of Linux ("Serial Terminal Linux" was for just this purpose) that had minicom seem to have disappeared, you can still get Feather Linux - a bootable image for CD or USB thumb drive.

However, if you're able to boot a CD, you might as well just get a recent distribution's LiveCD with minicom.
 
Old 03-16-2007, 06:45 PM   #9
dxqcanada
Member
 
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702

Rep: Reputation: 43
If you want a GUI app ... look into cutecom
 
Old 08-14-2015, 12:42 AM   #10
szieker
LQ Newbie
 
Registered: Aug 2015
Posts: 2

Rep: Reputation: Disabled
Lightbulb tool for serial communication

A really good tool (GUI) for serial communication (and TCP, UDP, CAN, SPI) is ScriptCommunicator (comes with a script interface and a good manual).
It is open source (GPLv3) and has pebuild executables (available on sourceforge).
http://sourceforge.net/projects/scriptcommunicator/
 
Old 08-14-2015, 01:21 PM   #11
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,507

Rep: Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102Reputation: 2102
Quote:
Originally Posted by szieker View Post
A really good tool (GUI) for serial communication (and TCP, UDP, CAN, SPI) is ScriptCommunicator (comes with a script interface and a good manual).
It is open source (GPLv3) and has pebuild executables (available on sourceforge).
http://sourceforge.net/projects/scriptcommunicator/
Reported as spam
 
  


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
How to enable serial port by Hyper Terminal UltraSoul Solaris / OpenSolaris 1 01-01-2007 09:56 AM
Dumb terminal (non-telnet!!) via DB9 serial port WindsorKnot Linux - Newbie 8 09-12-2005 08:47 PM
serial port (ttyS1) - Sending commands via terminal... HELP!!! Nalorin Linux - Networking 2 08-21-2005 10:22 PM
serial port terminal lectraplayer Linux - Newbie 15 02-21-2004 10:51 PM
Terminal on serial port sourceman Linux - General 0 08-06-2002 04:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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