-   Linux - Newbie (
-   -   agety dial-in setup (

slack66 04-30-2006 10:26 PM

agety dial-in setup
i just want to access my remote server using agetty how do i configure my linux box to become a dial-in server?
and iam using windows xp to access my linux box

joking 05-01-2006 08:30 PM

modifying /etc/inittab on most systems to respawn the port you have the modem on will do the trick. you will have to either init q or reboot the server at that point then when you dial in it should answer on between rings 1 and 3.

or you can attach the server to the internet and vnc into the server. run apache on the server for web interface. run a secure ftp server for file transfers.

don't forget to create a user and a strong password on the server.

DavidPhillips 05-01-2006 08:37 PM

You really should follow a howto like the one above first. This way you will have more of an idea what's going on and then if you have questions you could get more detailed help.

However I'm not using agetty and recommend mgetty since I'm using it.

I can also receive faxes on the same line and they can be emailed to you as they are received.

It's not complicated at all.

Here is my options file which I have added some dns stuff and wins server to it...


# > cat /etc/ppp/options

asyncmap 0
mtu 512

and /etc/inittab entry which answers the phone. You have other options here so see man mgetty..

S0:2345:respawn:/sbin/mgetty -s 57600 -x 3 ttyS0
My method of starting the login in /etc/mgetty+sendfax/login.config...

/AutoPPP/ -    a_ppp  /usr/sbin/pppd auth -chap +pap login asyncmap 0
You could also support chap if you wish.

The method I prefer using requires that the users allowed to login are added to the pap-secrets file.

#cat /etc/ppp/pap-secrets
# client        server  secret                  IP addresses
david          *      ""    

Don't put your password in the file

slack66 05-04-2006 08:04 AM

thank david:)

i will try to install mgetty to my linux box:) another question if i dont have a dns server can i ommite the ms-dns option? and can i access my linux box thru my windows without using hyperterminal???

DavidPhillips 05-04-2006 11:34 PM

You can omit the dns if the box is not accessing the internet it's not needed. However if the box has a connection then you could use it as a dialup ISP. I am guessing it does not and that's why you are dialing in.

Once you have logged in you could use putty. Putty will work for several types of shell logins. You should use ssh to be sure the connection is secured. It is pretty safe to have ssh running as opposed to the other unsecured logins like telnet.

You could also use vnc for a desktop gui but it will be too slow over a modem.

All times are GMT -5. The time now is 05:03 AM.