I recently acquired a serial to tty adaptor and set about getting it working. There was loads of info on the net and i have managed to get it working but still have one issue i can find no answer for.
I have to manually start ttyAMA0 with "sudo /sbin/agetty 115200 ttyAMA0 vt102 &" from the command line and can then log in from my Windows machine using putty in serial mode and everything works as it should.
When i log off from the Windows machine ttyAMA0 stops running and i have to restart it to log back in again. At the moment i can do this as i still have a ethernet cable tothe Pi but i want to remove this and use serial only.
I edited /boot/cmdline.txt and removed "console=ttyAMA0,115200 kgdboc=ttyAMA0,115200" and edited /etc/inittab and commented out the line "T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100" as i though i had read that would do as i want but it hasn't. I did reboot after the changes.
Does anybody know what i need to do to get ttyAMA0 to start at boot and stay running all the time?
EDIT: When i do log on remotely i get the message "-bash: no job control in this shell" don't know if that's important or not.