LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack 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: 39,855

Rep: Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121Reputation: 1121
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,500

Rep: Reputation: 285Reputation: 285Reputation: 285
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
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,747

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
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
Senior Member
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 4,508

Rep: Reputation: 602Reputation: 602Reputation: 602Reputation: 602Reputation: 602Reputation: 602
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, and others as time allows.
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,500

Rep: Reputation: 285Reputation: 285Reputation: 285
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
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 10:48 AM.

Main Menu
 
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
Open Source Consulting | Domain Registration