Enabling Serial Console on /dev/ttyAM1 in TS-7260
I'm running Debian on SD card for this TS-7260. I decided to switch the serial console to the second port which is /dev/ttyAM1 because I'm going to use the first serial /dev/ttyAM0 for my Wavecom GPRS modem. So, I open the /etc/inittab and just realize that serial console on /dev/ttyAM1 is already there.
Then I grab my RS-232 cable and plug it from my /dev/ttyS0 on my PC to the /dev/ttyAM1 on the TS-ARM board... after waiting for some seconds, my minicom shows the login...
Debian GNU/Linux 3.1 ts7000 ttyAM1
ts7000 login:
So, I type root and press the enter... the console returns, "Login incorrect"... WTF!!
How come the serial console on the second port is useless for root? The solution for this is actually very simple. But it took me some minutes to figure it out... hehehe...
Thank god, i've already fixed the ssh, so i can ssh to the board...
$ ssh root@10.1.1.91
$ Password:
The solution is, edit the /etc/securetty file...
$ vi /etc/securetty
And then add the line ttyAM1 under the ttyAM0 in the /etc/securetty file... press escape and type :wq
That's it. Reboot the board. and now i can login with root on my second serial console. Thanks to the guys in #debian at freenode for pointing me to the right direction.
Related Posts:
How to Extract rar files in LinuxRAR is a proprietary compression format widely used today. It’s supposedly has 30% higher compression rate when compared with WinZip. If you download … Read More
How to Install rar and unrar programs in Linux or UnixHowever, I am a linux supporter and I don't want to make you upset while bumping into this blog and didn't really get what you need. So, here is how t… Read More
How to Create and Extract RAR Files in LinuxI've been sharing mp3s with my close friends for years. We share mp3 files within our same interest in music. As I'm now a total Linux desktop user (I… Read More
Howto Create .ISO images from CD or DVD in Linux In Linux computer, we have a simple tool to create CD or DVD .ISO file. This is very helpfull to backup your CD and DVD into ISO images: T… Read More
How to Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for LinuxPowerISO provides a free PowerISO for Linux utility which can extract, list, and convert image files in Linux. The image file formats supported by the… Read More
0 comments:
Post a Comment