[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Automatic login



Hi Raul,

Torrego Raul wrote:
Hi,
I'm trying to connect my board via telnet, but I've realized that this is not possible until the login/password is typed (my intention was to do this via telnet) so, is there any way of getting an automatic login? This is, is there something that can be configured so that petalinux starts itself? In the end, what I want is not to use the Hyperterminal to login because I have more than one board along my department and would be great if I could control all of them from a single computer without needing to move. So if someone knows any other solution...

You can change /etc/inittab so it runs the /bin/sh instead of login as follows:

ttyS0:vt100:/bin/sh
...

To do this automatically, you might add a little fragment like this to

vendors/myvednro/myplatform/Makefile, in the "romfs::" target (note leading TAB characgter is required).

sed --in-place -e "s/^ttyS0.*/ttyS0:vt100:\/bin\/sh/g" ${ROMFSDIR}/etc/inittab

This will override the default beahviour in the romfs build which is to run inittab.

This will be a nice little feature to add automatically, I'll queue it to the wishlist.

Regards,

John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/