On Wed, Oct 20, 1999 at 09:48:25PM +0100, Tom Mackey wrote:
> Hi,
> I have been trying to set up networking between Linux and Windows98 (and
> failing miserably!) As a first step to fault finding I am trying to
> telnet to the linux machine that I am working on. If I try this to
> localhost (or 127.0.0.1) it works. However when I try the same using
> the actual host name of the machine I am working on (or it's IP address)
> I get a message that the "connection closed by foreign host".
>> When I try to ftp to either 127.0.0.1 or the ip address of eth0 I get
> the error message "421 Service not available".
Take a look in /var/log/secure and you'll probably find that
the connections are being denied by tcpd. Add these lines
to /etc/hosts.allow
in.telnetd: ALL at 192.168.1.1
in.ftpd: ALL at 192.168.1.1
Replace 192.168.1.1 with the IP address of your machine.
If you want to allow access to anyone on your local network,
use 192.168.1. rather than 192.168.1.1.
Type man hosts.allow for more info.
Later,
Kenn
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!