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:
Howto Record Video Using VLC in Ubuntu / Debian VLC can also used for recording videos during Playback. But, By default the record button is hidden in VLC. First you have to enable the Record Butt… Read More
Finch - How to use Pidgin via Terminal ConsoleFor those who have starts getting in love with Terminal Console in Ubuntu, you may love to be able to do everything from the Terminal console. Even if… Read More
Install .rpm packages in Ubuntua Ubuntu normally use .deb package for application installer. However, if you have an rpm file for a package you wish to install, and if you cannot fi… Read More
Simple Linux Socket Programming in UbuntuNormally, people start learning programming with some simple typical Hello World sample. However, I'm searching for some challenge as my first try. So… Read More
Speed up Ubuntu Linux - Fine tuning UbuntuSpeed launch your Ubuntu using the following steps Stop unnecessary Applications and Services that start automatically at boot time. First Stop the… Read More
0 comments:
Post a Comment