LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-17-2017, 09:59 AM   #1
diosim
LQ Newbie
 
Registered: Jun 2017
Posts: 16

Rep: Reputation: Disabled
Serial over Lan


Hi guys,

I'm having some issue to login via serial over lan ttyS1.
I can the output during the reboot via the serial console, but can't login, no getting any login prompt.
Can someone please help?
Thanks
Here my /etc/inittab
Code:
S1:23:respawn:/sbin/agetty -L 115200 ttyS1 xterm
my grub: /etc/grub.conf
Code:
default=0
default ttyS1
serial 0x30e0 115200
label ttyS1
timeout=5
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
serial --port=0x30e0 --unit=1 --speed=115200 --word=8 --parity=no --stop=1
terminal --timeout=5 serial console
timeout=10
kernel /boot/vmlinuz-2.6.32-696.3.2.el6.x86_64 ro root=UUID=2e5016ed-970a-4089-9c81-d47979c4b47c nomodeset rghb guiet rdblacklist=snd_hda_intel console=ttyS1,115200n8 noirqdebug selinux=0 nodmraid nompth nolvm raid=noautodetect rd_NO_LUKS KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_NO_MD pci=nommconf SYSFONT=latarcyrheb-sun16 rd_NO_LVM rd_NO_DM crashkernel=auto
initrd /boot/initramfs-2.6.32-696.3.2.el6.x86_64.img
 
Old 07-17-2017, 11:22 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
Looks like you are running Redhat/CentOS 6. Version 6.x uses Upstart and not SysV so adding the agetty line to inittab has no effect.

From everything I have found on the internet all you need to do is add the console=ttyS1,115200n8 as a kernel parameter. Although one thread seemed to indicate that version 6.4 required a /etc/init/ttyS1.conf and 6.5 did not.

This thread contains both methods so try it and see what works.
https://www.cyberciti.biz/faq/centos...erial-console/
 
Old 07-18-2017, 04:23 AM   #3
diosim
LQ Newbie
 
Registered: Jun 2017
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thanks, I've done some test with both, but still hanging at
Code:
FS-Cache: Netfs ‘nfs’ registered for caching
Even if the machine is up and running on the main screen, so I don't understand what is wrong.
Latest logs
Code:
FS-Cache: Netfs 'nfs' registered for caching
polkitd[3244]: started daemon version 0.96 using authority implementation `local' version `0.96'
rtkit-daemon[3250]: Sucessfully made thread 3248 of process 3248 (/usr/bin/pulseaudio) owned by 'gdm' high priority at nice level -11.
rtkit-daemon[3250]: Sucessfully made thread 3254 of process 3248 (/usr/bin/pulseaudio) owned by 'gdm' RT at priority 5.
rtkit-daemon[3250]: Sucessfully made thread 3255 of process 3248 (/usr/bin/pulseaudio) owned by 'gdm' RT at priority 5.
 
Old 07-18-2017, 04:57 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
As far as I know that is a NFS issue and should be unrelated to using a serial console. Not enough information provided to know what is happening.
 
Old 07-18-2017, 05:01 AM   #5
diosim
LQ Newbie
 
Registered: Jun 2017
Posts: 16

Original Poster
Rep: Reputation: Disabled
Which log would you need?
 
Old 07-18-2017, 07:06 AM   #6
diosim
LQ Newbie
 
Registered: Jun 2017
Posts: 16

Original Poster
Rep: Reputation: Disabled
I checked other machines with same messages, it's the last line in dmesg so I'm just wondering if not related to serial console login which is not working?
 
  


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
redirecting serial port to VirtualBox by lan blacklove Linux - Newbie 2 02-28-2011 07:19 AM
[SOLVED] Serial-Over-Lan from Linux to Windows raz3k Linux - Networking 1 08-11-2010 08:31 AM
how to write appication of LAN to serial device amit_pansuria Programming 2 06-04-2007 11:04 AM
Start (serial) LAN at boot time lie Linux - Networking 0 11-15-2004 05:44 AM
Serial ATA and LAN problems on install drlaz Linux - Hardware 2 03-17-2004 05:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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