LinuxQuestions.org
Help answer threads with 0 replies.
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 04-11-2003, 12:15 AM   #1
lansman
Member
 
Registered: Feb 2003
Location: Upstate N Y
Distribution: Red Hat 8.0
Posts: 46

Rep: Reputation: 15
Trouble with serial terminal/computer connections


I am running Redhat 8.0 with a 4 port Digi Acceleport board. I have installed getty and have edited /etc/inittab to read the following:

7:2345:respawn:/sbin/getty tprD001 DT9600 dt100

where tprD001 is the device name of the digiboard port. I can get a login prompt on both a dumb terminal and a laptop computer using a terminal emulator program. However the computer/terminal do not respond when I type on the keyboard - no echo, no movement. I have tested the cable using a UNIX box to the terminal and had no problems. Am I leaving something out in the configuration on my Linux box?
 
Old 04-12-2003, 04:21 PM   #2
lansman
Member
 
Registered: Feb 2003
Location: Upstate N Y
Distribution: Red Hat 8.0
Posts: 46

Original Poster
Rep: Reputation: 15
To be more specific, I plugged the terminal into the serial port ttyS0 and i get a login and was able to function. However, using the Acceleport 4r 920 I neither get a login or get an echo when I type at the terminal. I can echo a date or any message I wan though. Any suggestions?
 
Old 04-12-2003, 06:18 PM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,903

Rep: Reputation: 90
Quote:
7:2345:respawn:/sbin/getty tprD001 DT9600 dt100
Is this free of typos?
'digiConfig' ran and 'dpa.epca' shows the board is working?
I will not have access to the box I have a Digiboard on for a week or so, but I believe I modified the serial line getty in my Debian inittab from:
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
to something like:
T0:23:respawn:/sbin/getty -L ttyD000 9600 vt100

I see questionable stuff at "tpr"(??); "DT"9600 (DT??); and "dt100" (vt100??)
if everything else is working.
 
Old 04-13-2003, 12:31 AM   #4
lansman
Member
 
Registered: Feb 2003
Location: Upstate N Y
Distribution: Red Hat 8.0
Posts: 46

Original Poster
Rep: Reputation: 15
My sincere thanks! I substituted "ttyD000" for "tprD000" (are these printerports?) and that made all the difference in the world. I used it without the -L option. What does it do?

Thanks again!
 
Old 04-13-2003, 08:40 AM   #5
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,903

Rep: Reputation: 90
Glad it was that simple.
From 'man getty':
-L Force the line to be a local line with no need for carrier detect. This can be useful when you have a locally attached terminal where the serial line does not set the carrier detect signal.
 
Old 04-14-2003, 12:43 AM   #6
lansman
Member
 
Registered: Feb 2003
Location: Upstate N Y
Distribution: Red Hat 8.0
Posts: 46

Original Poster
Rep: Reputation: 15
Well..actually it is NOT that easy. I can sometimes logout and one time get a login again. Most of the time however, I get a blank terminal and then on my terminal "ID "7" respawning too fast: disabled for 5 minutes and it stays blank.
Also, it will not recognize the root pasword from the terminal but it will from the console. (Did the same when calling in to the modeM).

Any solutions/suggestions to there problems?
 
Old 04-14-2003, 09:05 AM   #7
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,903

Rep: Reputation: 90
The root password thing I know about. By default you cannot log in as root but you can use su - or su. This is not so terrible as you only need to be root when you need to be root. This can probably be changed but I did not find it necessary.
I will not be much help with the "respawning" problem. The only time I actually got it was my first attempts at serial connection between 2 PCs. Not knowing any better I set the serial getty on both. That produced the error.
Both the Serial howto and the Text-Terminal howto are useful.
Here is a section about respawning.
 
  


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
serial connections and windows xp exvor Linux - Networking 6 11-26-2004 03:03 PM
serial terminal console Alfexy Slackware 4 10-22-2004 07:15 PM
serial port terminal lectraplayer Linux - Newbie 15 02-21-2004 10:51 PM
Dumb Terminal Connections kprocter Linux - Networking 1 06-03-2003 07:35 AM
Terminal on serial port sourceman Linux - General 0 08-06-2002 04:21 AM

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

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