On Mon, Jan 08, 2001 at 03:54:28PM -0600, 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 use mgetty as a shell. mgetty is a specialized getty. It listens on your modem port and if someone is knocking it starts normally /bin/login which in turn - after a successful login - starts a shell. Configure minicom, start minicom and do something like: ATZ[enter] The modem should answer with: OK and all is well. Now dail your machine: ATDT0123456789[enter] The AT-command tells your modem to use a dial tone to dial the number. You should hear the modem dial out and after some time see something like: Connect Now you should see your normal login prompt: hostname login: Just type your login and password and everything should work fine. You can now work as if your are sitting on the console. N.B. most distributions don't allow root to login in this way. login as a normal user an do 'su -' when needen. Regards, Cees.