LinuxQuestions.org
Review your favorite Linux distribution.
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-2005, 03:38 PM   #1
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Rep: Reputation: 36
console login through RS232/serial port ?


How do I configure my RS232/serial port to allow console logins from another machine?

My Linux-server-to-be does not have a keyboard or screen attached, and I'd like to be able to do a console login without running to my neighbour to borrow a screen. (All my other computers are laptops with no video in)

Can I use mgetty for this, or any other software that allows me to do a console login similar to how it's done on Sun machines and Cisco routers?

Thanks much in advance for any insight!

-Yalla1
 
Old 02-24-2005, 03:41 PM   #2
dastrike
Member
 
Registered: Apr 2004
Location: Stockholm, Sweden
Distribution: Debian 'sid'
Posts: 250

Rep: Reputation: 30
This document seems to describe how to do that: http://www.vanemery.com/Linux/Serial...l-console.html
 
Old 02-24-2005, 03:43 PM   #3
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641

Original Poster
Rep: Reputation: 36
Perfect!

Thank you so much - now I know what I'll be doing this upcoming weekend

Just a quick newbie question : I see this is for Red Hat, and I run SuSE - are there any obvious changes I should be aware of, or is this pretty standard and straightforward?

Last edited by Yalla-One; 02-24-2005 at 03:46 PM.
 
Old 02-24-2005, 04:12 PM   #4
dastrike
Member
 
Registered: Apr 2004
Location: Stockholm, Sweden
Distribution: Debian 'sid'
Posts: 250

Rep: Reputation: 30
SuSE is fairly similar to RedHat (at least from the relatively limited experience I have dealt with both of them), so it is not unlikely that the instructions will apply to SuSE as well.




In Debian which I use it was trivial to enable console login on a serial port, I just tried it to see how well it worked to do so. I just had to uncomment one line in /etc/inittab, and then run init q to reload the inittab settings.

Example how it looks for me there now:
Code:
# Example how to put a getty on a serial line (for a terminal)
#
#T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
T1:23:respawn:/sbin/getty -L ttyS1 115200 vt100

Last edited by dastrike; 02-24-2005 at 04:14 PM.
 
  


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
linux serial port to router console port connection? frankie_fix Linux - General 3 02-26-2007 09:32 PM
Serial RS232 problem Onyx^ Linux - Hardware 6 09-09-2004 11:35 PM
RS232 serial port programing blackzone Programming 2 08-11-2004 12:54 AM
serial port: RS232 RS574? blackzone Linux - Hardware 1 08-10-2004 04:15 AM
Console will default to serial port 1, and now? bako Linux - General 5 02-18-2002 06:03 PM

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

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