LinuxQuestions.org
Help answer threads with 0 replies.
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 10-24-2015, 09:20 AM   #1
SRSUser
LQ Newbie
 
Registered: Oct 2015
Posts: 12

Rep: Reputation: Disabled
Serial console on Debian 8


What is the correct way to get a serial console working on Debian Jessie? I appear to have hosed grub whilst trying to add various kernel boot parameters that googling has turned up.

Thanks.
 
Old 10-24-2015, 12:07 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
not sure what you mean by "serial console", but if you want to edit the grub command line, i think pressing 'e' or 'Tab' in grub menu should take you there.

otherwise, we will need much more information about what the problem actually is.
 
Old 10-24-2015, 01:05 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,916

Rep: Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988
Have you tried these guides? Debian 8 uses systemd by default so anything that references inittab will not work.

https://wiki.archlinux.org/index.php...serial_console
https://onemoretech.wordpress.com/20...-on-fedora-20/

By configuring a serial console one can use another PC via a terminal emulator like minicom or Hyperterminal to log in to a linux computer via a serial port (RS-232). In addition the boot up messages are sent over the serial port versus tty0 like you would normally see when linux starts.

Mainframes of yesterday were accessed by terminals i.e. physical devices like a DEC VT-100 using RS-232.

Although no longer current gives you a basic idea of how it works.
http://www.tldp.org/HOWTO/Remote-Ser...WTO/index.html

Last edited by michaelk; 10-24-2015 at 01:13 PM.
 
Old 10-24-2015, 03:24 PM   #4
SRSUser
LQ Newbie
 
Registered: Oct 2015
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks Michaelk. In the end I used:

Code:
# systemctl enable serial-getty@ttyS0.service
This starts a getty on the specified serial port as a service that runs at every boot. It was at a baud rate of 9600 on my system, not the 38400 stated in the Arch Wiki article.
 
Old 10-24-2015, 03:30 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,916

Rep: Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988Reputation: 5988
Great that you got it working.

You can mark the thread as solved if desired by using the thread tools pull down menu at the top of the page
 
  


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
Separate output to serial console and screen console systemlordanubis Linux - Server 1 11-21-2014 03:27 AM
serial console +plx tech console server card pankajd Linux - Hardware 1 10-14-2009 01:45 PM
serial console pvpnguyen Red Hat 1 11-17-2007 01:42 PM
Serial Console zaicheke Linux - Networking 4 11-14-2004 07:55 PM
serial console ixion Linux - Software 3 03-19-2003 12:36 PM

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

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