|
||||||||
|
|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|
Hi!
I am having a problem with a connection between my RedHat Linux 9.x and Windows 2000. They both can ping each other. The RedHat can ftp to the Windows 2000. However, when I telnet or ftp from Windows to the RedHat, it said: D:\>telnet xx.xx.xx.xx Connecting To xx.xx.xx.xx...Could not open a connection to host: Connect failed Can you give me some idea about this? Anything I can check to solve this problem? I tried to stop linux firewall by this foloiwng commands, but still it is same problem, telnet not working service iptables stop Thanks. vasanta |
|
#2
|
|||
|
|||
|
On 24 May 2004 07:12:11 -0700, vasanta <(E-Mail Removed)> wrote:
> However, when I telnet or ftp from Windows to the RedHat, it said: > D:\>telnet xx.xx.xx.xx > Connecting To xx.xx.xx.xx...Could not open a connection to host: > Connect failed Does your RedHat run a telnetd daemon and an ftp daemon? What does 'netstat -napt' say when executed (as root) on your RedHat? Wkr, Sven Vermeulen -- Bent Hindrup Andersen, Danish MEP, about the Software Patent Directive: The approach of the Commission and Council in this directive is shocking. They are making full use of all the possibilities of evading democracy that the current Community Law provides. <http://lwn.net/Articles/84009/> |
|
#3
|
|||
|
|||
|
vasanta wrote:
> Hi! > > I am having a problem with a connection between my RedHat Linux 9.x > and > Windows 2000. > > They both can ping each other. The RedHat can ftp to the Windows 2000. > > However, when I telnet or ftp from Windows to the RedHat, it said: > D:\>telnet xx.xx.xx.xx > Connecting To xx.xx.xx.xx...Could not open a connection to host: > Connect failed > > Can you give me some idea about this? Anything I can check to solve > this problem? > > I tried to stop linux firewall by this foloiwng commands, but still it > is same problem, telnet not working > > service iptables stop > > > Thanks. Check the firewall settings on Red Hat. I think Red Hat 8 and 9 enable Firewall by default (unless you disabled it during installation) and this will prevent SSH, HTTP, etc access from outside localhost. Run iptables -L and see if you have restrictions... and if so run iptables -F and see if you can connect then. If this works, you'll need to disable or reconfigure your iptables or the Red Hat firewall or next reboot it'll reset-up the iptables filters. Hope this helps... Alex. |
|
#4
|
|||
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 NotDashEscaped: You need GnuPG to verify this message In comp.os.linux.networking vasanta <(E-Mail Removed)> suggested: > Hi! > I am having a problem with a connection between my RedHat Linux 9.x > and > Windows 2000. Fine, telnet is an old insecure protocol we don't use anymore, use ssh (secure shell) instead, usually it should be running already, try 'ps aux | grep sshd' from a terminal. There are various (free) ssh clients, putty/winscp for M$ come to my mind, try a google search, download/install one of those and use that to login. Good luck -- Michael Heiming (GPG-Key ID: 0xEDD27B94) mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/' -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAskTaAkPEju3Se5QRAtg/AJ9LobwI+Ii6HMBT3jLLVPqeK104DQCfWD07 nNDDldmGtPP+wI3xu/50kp0= =yczX -----END PGP SIGNATURE----- |
|
#5
|
|||
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 NotDashEscaped: You need GnuPG to verify this message In comp.os.linux.networking Sven Vermeulen <(E-Mail Removed)> suggested: > On 24 May 2004 07:12:11 -0700, vasanta <(E-Mail Removed)> wrote: >> However, when I telnet or ftp from Windows to the RedHat, it said: [..] > What does 'netstat -napt' say when executed (as root) on your RedHat? netstat works the same as user for this purpose, unless you want to reset the stats, which does of course only work as root. -- Michael Heiming (GPG-Key ID: 0xEDD27B94) mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/' -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAskV7AkPEju3Se5QRAtRVAKCrAeDN+DZ4e25Lcntqrd FnW5L5IgCfRJTq Efv3259v/yUtQxD6qvX4tLs= =LSnx -----END PGP SIGNATURE----- |
|
#6
|
|||
|
|||
|
look in /etc/xinted.d/ for a file called telnet or telnetd and edit that
file... towards the bottom there should be a line that says disabled=yes, change this to no and then restart the xinted process by typing /etc/init.d/xinted restart then try telnetting, also verify that netstat -pant shows the telnet daemon running on port 23. or 0.0.0.0:23 Hope this helps "Michael Heiming" <michael+(E-Mail Removed)> wrote in message news:svs9o1-(E-Mail Removed)... > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > NotDashEscaped: You need GnuPG to verify this message > > In comp.os.linux.networking vasanta <(E-Mail Removed)> suggested: > > Hi! > > > I am having a problem with a connection between my RedHat Linux 9.x > > and > > Windows 2000. > > Fine, telnet is an old insecure protocol we don't use anymore, > use ssh (secure shell) instead, usually it should be running > already, try 'ps aux | grep sshd' from a terminal. There are > various (free) ssh clients, putty/winscp for M$ come to my mind, > try a google search, download/install one of those and use that > to login. > > Good luck > > -- > Michael Heiming (GPG-Key ID: 0xEDD27B94) > mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/' > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > > iD8DBQFAskTaAkPEju3Se5QRAtg/AJ9LobwI+Ii6HMBT3jLLVPqeK104DQCfWD07 > nNDDldmGtPP+wI3xu/50kp0= > =yczX > -----END PGP SIGNATURE----- |
|
#7
|
|||
|
|||
|
On Mon, 24 May 2004 18:57:00 -0000, Michael Heiming <michael+(E-Mail Removed)> wrote:
> netstat works the same as user for this purpose, unless you want > to reset the stats, which does of course only work as root. If you run it as root you'll see the names of the processes as well as the process IDs. When run as user, you would just receive a process ID from which you cannot tell if it really is the daemon that is running or some other weird process. Wkr, Sven Vermeulen -- Bent Hindrup Andersen, Danish MEP, about the Software Patent Directive: The approach of the Commission and Council in this directive is shocking. They are making full use of all the possibilities of evading democracy that the current Community Law provides. <http://lwn.net/Articles/84009/> |
|
#8
|
|||
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 NotDashEscaped: You need GnuPG to verify this message In comp.os.linux.networking Sven Vermeulen <(E-Mail Removed)> suggested: > On Mon, 24 May 2004 18:57:00 -0000, Michael Heiming <michael+(E-Mail Removed)> wrote: >> netstat works the same as user for this purpose, unless you want >> to reset the stats, which does of course only work as root. > If you run it as root you'll see the names of the processes as well as the > process IDs. When run as user, you would just receive a process ID from which > you cannot tell if it really is the daemon that is running or some other weird > process. Yep, double-checked, never mentioned that, you'll see only the names of PID running under your own UID. $ netstat -V net-tools 1.60 netstat 1.42 (2001-04-15) -- Michael Heiming (GPG-Key ID: 0xEDD27B94) mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/' -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFAsuxWAkPEju3Se5QRAre/AJsH0pdItMpGabG4cTTZv2fPGFWIQwCfUPzX e608EKlGaLutiaY46QcqVnw= =gK2h -----END PGP SIGNATURE----- |
|
#9
|
|||
|
|||
|
Thanks guys, actually my telnet-server*.rpm package was not installed,
I installed that and then added "telnet" file in /etc/xinetd.d. Then started telnet service. |
![]() |
| Tags |
| hat, machine, red, telnet, windows |
| Thread Tools | |
| Display Modes | |
|
|