LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-20-2005, 05:12 PM   #1
wilsonsamm
Member
 
Registered: Aug 2005
Location: Sheffield, UK
Distribution: Gentoo
Posts: 105

Rep: Reputation: 15
Which hole in the back of the computer corresponds to which /dev/tty* node?


Sorry if this is in the wrong place, and please bear with me as my skills in networking aren't too good and I'm a relative new beginner at Linux.

I'm attempting to connect a dumb terminal (the VT220 from DEC), through a "null modem cable" to the serial port. The serial port is located at the back of the computer, but directly on the motherboard. Now I thought I might add a getty to the init file to set up the terminal on each startup.

It's probably called COM1 or COM2 under MS-DOS. How do I know which node in /dev/ is the serial port?

Thanks for your time, and RSVP.
 
Old 12-20-2005, 05:50 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Ordinarily, the first serial port would correspond to /dev/ttyS0 (at least using udev under kernel 2.6, and devfs under kernel 2.4)
 
Old 12-21-2005, 05:22 AM   #3
wilsonsamm
Member
 
Registered: Aug 2005
Location: Sheffield, UK
Distribution: Gentoo
Posts: 105

Original Poster
Rep: Reputation: 15
Thanks.
I'm thinking I might test this by sending a byte to that port. What is the easiest way to do this?
 
Old 12-21-2005, 06:50 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
You can use minicom

run it as root first an type
Code:
minicom -s
then create a configuration , save it and then launch minicom using this configuration
Code:
minicom conftty0
 
  


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
ieee1394: /dev/raw1394 device node missing kevinatkins Linux - Hardware 4 12-16-2008 11:07 AM
USB hotplug: how do I get the same /dev node every time? georgekm Linux - General 5 03-29-2005 06:25 PM
I can`t create a device node in /dev gcasados Slackware 8 02-21-2005 05:17 AM
Checking TTY for back space compatability HenchmenResourc Linux - Newbie 3 09-03-2004 03:31 PM
"unable to find device node for /dev/x in /dev!" during install zombiedeth *BSD 0 02-02-2004 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:03 AM.

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