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 |
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. |
http://www.faqs.org/docs/Linux-HOWTO...tml#PPP-SERVER
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... Code:
# > cat /etc/ppp/options Code:
S0:2345:respawn:/sbin/mgetty -s 57600 -x 3 ttyS0 Code:
/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login asyncmap 0 192.168.1.101:192.168.1.201 The method I prefer using requires that the users allowed to login are added to the pap-secrets file. Code:
#cat /etc/ppp/pap-secrets |
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??? |
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 06:40 AM. |