[SLE] telnet, ftp with dial-up connection
Hi, Before I get my hands dirtier, I would like to confirm if it's possible to telnet (and ftp) my home computer, which does not have a permanent internet connection, only a simple dial-up connection. Is there simple guidelines for me to follow? Maybe a website? I tried SuSE database, but no luck. HOWTO's as well... 3 Linux books, including "Running Linux." Thanks in advance, Alvaro ps. etc/inetd.conf contains the following lines: # ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -a # Note: I guess I should uncomment the line above and comment the one below. # wuftpd seems to be preferred over ftpd. ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd -- -- -- -- -- Alvaro A. Novo novo@uiuc.edu "1 is equal to 2 for sufficiently large values of 1." --Anonymous -- -- -- -- -- -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Thu, 23 Dec 1999, Alvaro A. Novo wrote:
Hi,
Before I get my hands dirtier, I would like to confirm if it's possible to telnet (and ftp) my home computer, which does not have a permanent internet connection, only a simple dial-up connection.
Is there simple guidelines for me to follow? Maybe a website? I tried SuSE database, but no luck. HOWTO's as well... 3 Linux books, including "Running Linux."
Thanks in advance,
Alvaro
ps. etc/inetd.conf contains the following lines:
# ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -a
# Note: I guess I should uncomment the line above and comment the one below. # wuftpd seems to be preferred over ftpd.
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
#1 Yes you can telnet and ftp to a pc on a dial up connection. I would suggest you go to: www.justlinux.com or one of the similar sites and look into dns forwarding service. You install a simple little perl script and run it when you log on and it references a sub-domain to your current IP so your machine can be found with a simple name. #2 As for commenting out lines as above: Which ones you comment out depends on what you want to run and what you have installed. I would agree with using wu.ftpd. I use it myself because I found it easy to get up and running. As for everything else I would reccomend not using telnet unless absolutely necessary. Instead install SSH and use that for your remote sessions. Comment out all other services you don't use because they are all potential security holes. Good luck ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Darren R. Weber drw@linuxfan.com ICQ# 2849193 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Thu, 23 Dec 1999, Darren R. Weber writes:
#1 Yes you can telnet and ftp to a pc on a dial up connection. I would suggest you go to: www.justlinux.com or one of the similar sites and look into dns forwarding service. You install a simple little perl script and run it when you log on and it references a sub-domain to your current IP so your machine can be found with a simple name.
Thanks Darren. I have already set it up, but I had a feeling that the problem was another because before doing it I tried: anovo@friedman anovo > telnet 130.126.xx.xxx Trying 130.126.xx.xxx... telnet: Unable to connect to remote host: Connection refused After setting it up at justlinux.com, I tried: [anovo@galton anovo]$ telnet xxxxxxx.penguinpowered.com Trying 130.126.xx.xxx... telnet: Unable to connect to remote host: Connection refused I believe I need to change some permissions, hosts.allow or something in the neighborhood. Can you or someone else point me out in the right track. Thanks a bunch, Alvaro -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Thu, 23 Dec 1999, Alvaro A. Novo wrote:
Thanks Darren. I have already set it up, but I had a feeling that the problem was another because before doing it I tried:
anovo@friedman anovo > telnet 130.126.xx.xxx Trying 130.126.xx.xxx... telnet: Unable to connect to remote host: Connection refused
I figured it out... inetd was not started, dumb!!! Thanks a lot anyway, Alvaro -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Thu, 23 Dec 1999, you wrote:
On Thu, 23 Dec 1999, Darren R. Weber writes:
#1 Yes you can telnet and ftp to a pc on a dial up connection. I would suggest you go to: www.justlinux.com or one of the similar sites and look into dns forwarding service. You install a simple little perl script and run it when you log on and it references a sub-domain to your current IP so your machine can be found with a simple name.
Thanks Darren. I have already set it up, but I had a feeling that the problem was another because before doing it I tried:
anovo@friedman anovo > telnet 130.126.xx.xxx Trying 130.126.xx.xxx... telnet: Unable to connect to remote host: Connection refused
After setting it up at justlinux.com, I tried:
[anovo@galton anovo]$ telnet xxxxxxx.penguinpowered.com Trying 130.126.xx.xxx... telnet: Unable to connect to remote host: Connection refused
I believe I need to change some permissions, hosts.allow or something in the neighborhood. Can you or someone else point me out in the right track.
Thanks a bunch,
Alvaro
Yep I think that tcp wrappers is set up by default so you will have to add an entry to /etc/hosts.allow something similar to this: in.telnetd : 192.168.0.0/255.255.255.0 LOCAL With this I allow in my local machine and my local network 192.168.0.x You can enter single IPs or ranges. check out the man page for hosts.allow. As I said before I don't allow telnet from remote. I run a firewall also so even if I enable it here it won't get through, but that is how it works. The syntax is a little tricky so you may have to get help depending on what you are doing. I know I needed it. On IRIX . . .what I usually admin. . .hosts.allow is much more straight forward and easily changed, but here. . .different story. Once you know what each server is to the system (file names, commands etc.) it's much easier to understand. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Darren R. Weber drw@linuxfan.com ICQ# 2849193 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
"Alvaro A. Novo" wrote:
After setting it up at justlinux.com, I tried:
[anovo@galton anovo]$ telnet xxxxxxx.penguinpowered.com Trying 130.126.xx.xxx... telnet: Unable to connect to remote host: Connection refused
I believe I need to change some permissions, hosts.allow or something in the neighborhood. Can you or someone else point me out in the right track.
You said that you have a dial-up connection. So you need to adjust diald or some other program to react on a "RING" comming from your modem. This program then makes the connection to your ISP. To connect you call your modem. Let it ring and hang up. Your computer then calls your ISP and you can connect to it via telnet. BB, Arjen -- Sell what you use, use what you sell. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
"Alvaro A. Novo" wrote:
On Thu, 23 Dec 1999, Darren R. Weber writes:
#1 Yes you can telnet and ftp to a pc on a dial up connection. I would suggest you go to: www.justlinux.com or one of the similar sites and look into dns forwarding service. You install a simple little perl script and run it when you log on and it references a sub-domain to your current IP so your machine can be found with a simple name.
Thanks Darren. I have already set it up, but I had a feeling that the problem was another because before doing it I tried:
anovo@friedman anovo > telnet 130.126.xx.xxx Trying 130.126.xx.xxx... telnet: Unable to connect to remote host: Connection refused
After setting it up at justlinux.com, I tried:
[anovo@galton anovo]$ telnet xxxxxxx.penguinpowered.com Trying 130.126.xx.xxx... telnet: Unable to connect to remote host: Connection refused
I believe I need to change some permissions, hosts.allow or something in the neighborhood. Can you or someone else point me out in the right track.
Hi Alvaro, I think you're on the right track naming hosts.allow / hosts.deny. I think the preset is to forbid access. For testing I'd suggest commenting all of both files, try again and if you're successful read the man pages (man 5 hosts_access). I thought I understood the procedures described there for allowing access, but I found out things didn't work as expected. ;-( Wish you more luck! Juergen
Thanks a bunch,
Alvaro
-- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (4)
-
arjen@technologist.com
-
juergen.braukmann@ruhr-west.de
-
novo@uiuc.edu
-
weberdr@bellsouth.net