Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bruce.cs.monash.edu.au!harbinger.cc.monash.edu.au!msuinfo!uwm.edu!news.moneng.mei.com!hookup!news.kei.com!ddsw1!crazyhorse!jacbop From: jacbop@mcs.com (Thomas Michael Wilberding) Newsgroups: comp.unix.bsd Subject: yet another getty hack Date: 4 Mar 1994 15:38:07 GMT Organization: First National Bank of Chicago Lines: 24 Distribution: world Message-ID: <2l7kkv$d3b@Mars.mcs.com> NNTP-Posting-Host: jacbop.pr.mcs.net I'd like to modify getty to 1) Hang up the line 2) ping a host 3) make init think that the connect was closed normally The idea behind this is that I can dial my modem number, and my new getty will open up a dial on demand ppp connection to my internet provider so I can telnet home. Since the internet provider I'm using doesn't provide dial on demand to my home, I need something like above to be able to login from work with out hogging a modem all day. I've played with the getty code from NetBSD (I'm running SunOS 4.1.3) but init thinks that the connection failed (which of course it did, because no modem connection was established). Basically, What do you have to do to make init think that the user just disconnected and all is well? Thanks, jacbop@mcs.com