Forum Discussion
Altera_Forum
Honored Contributor
19 years agoProblem with getty
Hi,
I try to add a login to uClinux-dist-20060803 patch V32. I've added to busybox adduser/ addgroup / deluser / delgroup / login / su / passwd / getty / shadowpw support. It works pretty fine when I connect to my board with a telnet client, but on the ttyS0 console it looks good but the keyboard is disabled ... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif I've added to /etc/inittab: ttyS0:vt100:/sbin/getty -L 9600 ttyS0 or ttyS0:vt100:/sbin/getty 9600 ttyS0 or with others speed ... the same. I've tried with tinylogin : same behavior, but with an IOCTL error message. If someone could help me ... thanks ! LeFred.2 Replies
- Altera_Forum
Honored Contributor
You should disable the console shell in the simple init.
Core Applications--> [*] init [ ] enable console shell <== The getty in busybox might take more memory. You should try agetty, which is standalone. [*] agetty - Altera_Forum
Honored Contributor
It works fine now ! Thanks Hippo http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif
About the used RAM memory: Busybox/getty -> 514 k standalone agetty -> 130 k !! Once again ... Thanks Hippo http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif