Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!newshost.marcam.com!news.mathworks.com!panix!not-for-mail From: twallace@panix.com (Thomas Wallace) Newsgroups: comp.os.386bsd.questions Subject: Re: NetBSD1.0-Amiga getty trouble Date: 2 Feb 1995 04:45:40 -0500 Organization: PANIX Public Access Internet and Unix, NYC Lines: 53 Message-ID: <3gq9k4$cgv@panix3.panix.com> References: <3giiem$76d@panix3.panix.com> <3gitar$42j@mail.fwi.uva.nl> NNTP-Posting-Host: panix3.panix.com Keywords: NetBSD getty Amiga In <3gitar$42j@mail.fwi.uva.nl> vdlinden@fwi.uva.nl (Frank van der Linden) writes: >twallace@panix.com (Thomas Wallace) writes: >>Cu responds with permission denied, line busy. So who has the line? ps -j >>tells of .../libexec/getty -s. I try killing the pesky bugger but another >>starts on the line as if spawned from the loins of a deamon. The question >>is: How do I gain back control of the serial port? >This daemon is none other then init(8) ;-) You should edit /etc/ttys, >mark the entry for tty00 as 'off', and do a "kill -HUP 1" (all as root, >naturally). Then you can kill the getty process, and it won't come >back. >- Frank O.K. I edit tty00 as follows: tty00 "/usr/libexec/getty std.9600" vt100 off insecure # int serial. Then I "kill -HUP 1" and watch the terminal ready led on the modem go dark. So I think to myself, Frank and Ezra are right. So I try cu again and here is the result: cu: open (/dev/tty00): Permission denied cu: tty00: Line in use Disconnected. O.k. no problem, I reboot. 30 to 60 secs to shutdown. 60 to 120 secs to boot. I login as root and remember the password on the third try. Now I'm ready, modem is ready, in high speed mode and nothing else. I type "cu -s 9600 -l tty00" and the response is: cu: open (/dev/tty00): Permission denied cu: tty00: Line in use Disconnected. So to Frank and Ezra, I thank you both. But as you can tell I have probably asked the wrong questions. BTW I have tried it on and off. I've tried calling the line but the modem probably needs to be in autoanswer mode but I just can't figure out how to grab the line. Either I have a bug somewhere or I just do not know the correct question to ask. Any other ideas would be as welcomed as the first. Thanks to all. -- **Babylon 5**SeaQuest DSV**Star Trek VI**Quantum Leap**'96 Olympics etc,etc Just another lucky Amiga user //Hostile thoughts have no effect on EMail: twallace@panix.com \\ // my personality" Author: Unknown A2000 '30 9Megs 340HD Toasted\X/ From: Tang S'Dang "Bigger and Harder" CD