Linux telnet and ftp problem

SpaceC0wb0y

Member
Jun 20, 2001
63
0
0
I am having trouble setting up a ftp and telnet server. I am running redhat 7.1 with a wireless ap linksys cable/dsl router connected to my @home cable modem. I have set up the linux box with a static ip connected to the router. I have also modified my telnet and wuftp files in the xinetd.d directory so that "disable = no". When I try and connect via telnet and ftp I get no response. Any ideas as to what the problem is?
 

cranch

Golden Member
Apr 26, 2001
1,059
0
0
maybe a dumb question, but are you running a firewall or anything? I'm not too knowledgable (sp?) on the wireless ap stuff though. That may be part of the problem? Also...did you snoop through the rc.xxx files to see if it was loading as a daemon ? If I remember correctly, redhat has a sysVinit application that shows everything that loads at bootup. Run it as root and look there too. Hope this helps
 

Zach

Diamond Member
Oct 11, 1999
3,400
1
81
Make sure Xinetd is starting, it is the process that controls those services.

/etc/rc.d/init.d/xinetd start
 

mgpaulus

Golden Member
Dec 19, 2000
1,112
0
0
How are you testing? From another machine within your private net? If so, then you probably need to check your inetd.conf file, to make sure they are startable, and have good entries.

If from outside your net, then your linksys router is probably acting as a NAT router. You will probably have to go into the linksys router and configure the FTP and Telnet services to forward to your machine.

 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< I am having trouble setting up a ftp and telnet server. I am running redhat 7.1 with a wireless ap linksys cable/dsl router connected to my @home cable modem. I have set up the linux box with a static ip connected to the router. I have also modified my telnet and wuftp files in the xinetd.d directory so that &quot;disable = no&quot;. When I try and connect via telnet and ftp I get no response. Any ideas as to what the problem is? >>



First of all telnet is dumb, but thats for another post. Did you kill -HUP the xinetd process? If not it will not read its config file over again. Atleast thats how inetd works, not too sure abotu xinetd. Check it out.

Telnet sucks
 

SpaceC0wb0y

Member
Jun 20, 2001
63
0
0
What is the biggest difference between telnet and ssh besides security? Is it harder to setup than telnet? I may just throw out the telnet and switch to ssh, but right now I cannot even get ftp or telnet to work.

mgpaulus: I have tried to connect inside the network and outside the network and nothing seems to work.

There are some good suggestions in here that I will give a go tonight.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< What is the biggest difference between telnet and ssh besides security? Is it harder to setup than telnet? I may just throw out the telnet and switch to ssh, but right now I cannot even get ftp or telnet to work.

mgpaulus: I have tried to connect inside the network and outside the network and nothing seems to work.

There are some good suggestions in here that I will give a go tonight.
>>



It is pretty easy to setup. You download the portable OpenSSH, compile it and follow the directions for setting it up and you are set. Then download one of the many free Windows clients out there and you are set. Security is NOT something to be overlooked
 

Zach

Diamond Member
Oct 11, 1999
3,400
1
81
The main difference is encrytion. If you want to have fun, get a packet sniffer and look at how often your passwords are naked to the world.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< The main difference is encrytion. If you want to have fun, get a packet sniffer and look at how often your passwords are naked to the world. >>



I dont think fun is the right word but yeah
 

SpaceC0wb0y

Member
Jun 20, 2001
63
0
0
I still am having problems connecting to this machine. The telnet and ftp are on because I can connect when I use localhost as the domain. Any other suggestions? I am using a wired connection to the linksys router so it is not a wireless connection. Also the port forwarding is working because I can forward ports to my Windows machine. Maybe it is the way I have the network setup on the Linux box. Anyone running anything similar to this? (Linux connected to a Linksys cable/dsl router)

Any help is appreciated because this is frustrating the crap out of me.
 

mgpaulus

Golden Member
Dec 19, 2000
1,112
0
0
Do you see anything in /var/log/syslog? What ftp daemon are you using? I am using proftpd. If you are using that, it looks like there is a way to run it in &quot;standalone&quot; mode, where stderr and stdout are dumped to the tty. I would think that between that and levels of verbosity, you should be able to figure out ftp's problem. If you are using wuftpd, you might need to check your man pages to see if there is some similar option.

BTW, all this is based upon the assumption that you are able to communicate to the outside world.

Hmmm. Another thought. Do you have your subnet mask setup correctly and the same on all the machines? Can you ping to this machine from another, and/or ping to another from this? Can you also do a traceroute to/from this machine? (Where this machine is the telnet/ftp server).

If that doesn't work, then get a utility called iptraf, and run that. It will allow you to see what all the packets that are trying to come in/go out of the adapter (eth0) that you are viewing. That will give you some more info to know whether the problem is at an application level, or at a lower, network level.

SSh is very nice. I have 6 machines on a net @ home, all connected to the internet through a NetGear RT311 NAT router. I have a designated DMZ machine where I am running SSH, and I have opened up ONLY port 22 on my Router. I can get into my DMZ via ssh, and I can copy files into/out of my home net via scp (Secure Copy over SSH). I have also set up some port forwarding over SSH, and I use VNC over SSH to access all of my other windows machines via a virtual X server on my DMZ (It sounds confusing, and it was a bit confusing to get working. But it's nice). (Basically I run a virtual X server on display :32, forwarded to port 5904 on my work machine. That's my X. Then I can run xvncviewer <machine:0> to view my home machines behind the firewall. All this is encrypted and forwarded over the ssh link).
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< I still am having problems connecting to this machine. The telnet and ftp are on because I can connect when I use localhost as the domain. Any other suggestions? I am using a wired connection to the linksys router so it is not a wireless connection. Also the port forwarding is working because I can forward ports to my Windows machine. Maybe it is the way I have the network setup on the Linux box. Anyone running anything similar to this? (Linux connected to a Linksys cable/dsl router)

Any help is appreciated because this is frustrating the crap out of me.
>>



check /etc/hosts.deny
Anything in there?
 

xaigi

Golden Member
Oct 9, 1999
1,235
0
0
If you are using roadrunner (time warner), your FTP port may automatically be blocked.

Also: From the machine that you want to connect FROM, run.

nmap YOURSERVERIPADDRESS

If your telnet and FTP ports are not shown as &quot;open&quot;, something (probably time warner) is blocking access to your machine.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |