On Monday 08 January 2001 15:54, Jonathan Wilson wrote:
Howdy,
I asked the other day what the best way to set up a dialup server was (the goal being to get a remote shell).
The uanimous answer was to use mgetty.
I now have mgetty set up and working just fine, with one problem: I don't know how to use it as a shell.
You don't. mgetty is just a respawning answering service that presents the caller with the login and password prompt. The login athenticates the user and if the user account is found it passes control to the shell designated in passwd when the account was setup up. JLK
I know it works because I set up wvdial on our Red Hat box with my username and password and it dialed up and connected just fine. However, it tries to start ppp (which isn't really what I need, I don't think) and then after a bit the pppd dies because (of course) no connection is made. So basically, I can connect (thus I know mgetty is working) but I can't figure out how to get a shell out of the deal.
Can anyone explain how to get a shell prompt? Am I even supposed to be using wvdial or should I be using some shell script? If a shell script could I see an example?
TIA,
---------------------------------------- Jonathan Wilson System Administrator
Cedar Creek Software http://www.cedarcreeksoftware.com
Central Texas IT http://www.centraltexasit.com
-- Scientific theories, according to Sir Karl Popper, can be "falsified," or proven wrong, by experiment. Unscientific theories -Marxist dialectical history and Freudian psychology were Popper's favorites- are formed in such a way that they cannot be falsified by data.