Bluetooth console

May 11, 2014 0 Replies

Hi! On a pi with rasbian, I have hooked up an old DEC vt420. Serial line is via usb-to-rs232 cable. Works fine, and I've fixed /etc/inittab to spawn a getty on it, thus getting a login prompt. I can login and do what I expect. Now, the pi lives in the living room, and so does the vt420.



Wifefactor is not in favour of this placement.



Fine, I'll put it somewhere else, using a bluetooth to serial adaptor. I got something on ebay called HC-06 or BT2S Wireless Bluetooth to Serial Slave RS232 TTL UART


So I get it to work. I can do (from an ssh session) sudo echo "whatever" > /dev/rfcomm0 and see it on the vt420 screen. I can sudo cat somewhat_largish_textfile.txt > /dev/rfcomm0 and get it on the vt420 screen ungarbled.



The other way around is ok to. I can (in an ssh session) sudo cat /dev/rfcomm0 and see the characters i type on the vt420



What I CANNOT do is to get a login prompt. goggling gives several tips, which of most do different kinds of tricks with bluetooth-tools to get the device /dev/rfcomm0 to show up, and the run a getty on it.



Problem is that the getty process dies after 10 secs. And it does not present a login screen during that time.



pointers anyone?


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required