ts-7000
[Top] [All Lists]

Re: [ts-7000] TS-7200 ttyAM1 Console Login Problem

To:
Subject: Re: [ts-7000] TS-7200 ttyAM1 Console Login Problem
From: Jim Jackson <>
Date: Tue, 20 Mar 2007 22:00:02 +0000 (GMT)


On Tue, 20 Mar 2007, strohsch wrote:

> Hello,
>   I am trying to use com2 as my console connection to Minicom running
> on a Debian Linux PC. However I am unable to get past the "root" login.
> Background: I have the Technologic Systems supplied Debian Woody image
> loaded onto a 1GB CF that is in my TS-7200. When I use this set-up and
> boot using Com1 (ttyAM0) I can log into the TS-7200 SBC without
> problems.
> So do a "shutdown -h now", wait for the SBC to "power down",I turn off
> the SBC, move the jumper from '3' to '4', move the Technologic Systems
> supplied RS-232 dual-headed cable to the Com2 RS-232 10-pin adapter
> (again Technologic Systems supplied).
> I then plug the power adapter back in the wall, hit CTRL-C a few times
> until I get the RedBoot> prompt and then I type in the following
> RedBoot>fis load vmlinux
> RedBoot>exec -c "console=ttyAM1,115200 ip=dhcp root=/dev/hda1"
> The TS-7200 then proceeds to boot up fine and returns the login prompt
> and I type "root". It then asks for a password and I type in the
> correct password. Then the TS-7200 keeps cycling through the login:
> and password: even though I typed in the correct combination that
> worked when I was connected to COM1 (ttyAM0).
> Also, the /etc/inittab entries for console from ttyAM0 and ttyAM1 are
> bothe active (not commented out) and they appear to be the same.
> What do I need to do so that I can connect the console to  COM2?
> Thanks,

You don't need to change the "console".
Even with the console set as per default to /dev/ttyAM0, the "getty" that
runns on /dev/ttyAM1 allows you to connect up a terminal/ternial-emulator
to COM" and get a login prompt and login, at least as far as non-root
logins are concerned.

However you are using the Debian Develepment Image, and that uses
a more sophisticated version of the "login" program with more security
features. One of which, is the file /etc/securetty  which restricts
which devices it will allows root to login on.

My TS7200 debian image /etc/securetty file only lists ttyAM0, so you need
to edit the file and add a line for ttyAM1 to allow root login.

Jim


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU