How can I set up a log-in focused on a USB port so I can hook up a DB9-to-USB cable I already own up to log in using putty or minicom?
Asked
Active
Viewed 971 times
5
-
What is the OS of your other computer? – xxmbabanexx Apr 17 '13 at 12:11
-
Xubuntu 12.04.2 – Stephen Michael Kellat Apr 17 '13 at 12:37
-
Alternatively just use the console on the GPIO header – John La Rooy Apr 17 '13 at 13:15
-
Right now I want to use the Commercial Off The Shelf hardware I do possess which is the DB9 to USB cable which is hooked up to a serial port already. – Stephen Michael Kellat Apr 19 '13 at 16:31
1 Answers
1
You will need to do 2 things to make this work:
- Make the USB->serial cable always use the same device name when you connect it.
This article on noctis.de and this article on redhat magazine describe how you can do this. Have the system run
getty
on that serial device.
Add a line like this to your/etc/inittab
:T1:23:respawn:/sbin/getty -L **{Device name from step one}** 115200 vt100
I have not done this with my RPi (or any Linux system) so I don't know how feasible this is.