On 20 January 2013 17:11, Jim Cheetham <[email protected]> wrote: > > On Sun, Jan 20, 2013 at 2:48 PM, Bevan <[email protected]> wrote: > > i am attempting to setup vgetty on my ubuntu but i am having issue with it > > That is probably because your system is already running /sbin/getty > > > http://frank.harvard.edu/~coldwell/answering_machine/ > > This talks about Red Hat 7.3, that's about 10 years old. Perhaps there > are more up-to-date instructions for what you want to do elsewhere? > Alternatively, it's all unix, and the steps & principles are the same > today, it's just the details that may be different, so you have to be > a bit adaptable :-) > > > say i need to put S0:345:respawn:/sbin/vgetty ttyS0 in /etc/inittab but > > ubuntu 12.10 doesn't user inittab now it use upstart so how do i do this? > > Any pointers? > > $ man upstart > which gives you the man page for init, and says you can read about how > to configure init in init(5) > $ man 5 init > which tells you about scripts in /etc/init/ > $ cd /etc/init > $ grep tty * > which tells you about a series of files tty1.conf tty2.conf and so on. > These run the individual getty processes on each port. > > Without actually trying anything :-) I'd guess that you might need a > ttyUSB0.conf file, pointing to the command that you want to have run > on that port. > > -jim > _______________________________________________ > Linux-users mailing list > [email protected] > http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
Hi Jim Thanks for the help i copied tty6.conf file and renamed it ttyUSB0. Edited the file and changed the line exec /sbin/getty -8 38400 tty6 to exec /usr/sbin/vgetty -n 6 ttyUSB0, then restarted the computer and it works. Regards Bevan In a world without fences and walls, who needs Gates and Windows? _______________________________________________ Linux-users mailing list [email protected] http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
