Difference between revisions of "FTP FAQ"
Harry Kuhman (Talk | contribs) (despammed) |
(→1) FTP) |
||
Line 1: | Line 1: | ||
==== 1) FTP ==== | ==== 1) FTP ==== | ||
+ | The knoppix cd has an ftp server installed on it. However if you try to ftp to a knoppix machine you will get a connection refused message. This is due to the settings in the /etc/hosts.deny file. The hosts.deny file is in fact a symlink to /KNOPPIX/etc/hosts.deny | ||
+ | The last line of it reads as below | ||
+ | ALL:PARANOID | ||
+ | The stock hosts.allow files will allow ftp from localhost only. You will have to change this too. | ||
+ | These two files are prohibiting ftp connections to the knoppix system. | ||
+ | |||
+ | What I do is delete the symlink and restart inetd.conf | ||
+ | Here are the necessary steps: | ||
+ | *Configure networking from the menu | ||
+ | *Open a console and set a password for user knoppix: | ||
+ | **'''passwd knoppix | ||
+ | *Open a root shell and do: | ||
+ | **'''rm /etc/hosts.deny | ||
+ | **'''rm /etc/hosts.allow | ||
+ | **'''/etc/init.d/inetd restart | ||
+ | Now the ftp server is ready and from any client you can ftp to knoppix system, use 'knoppix' as user name and the password you set as password.==== 1) FTP ==== | ||
The knoppix cd has an ftp server installed on it. However if you try to ftp to a knoppix machine you will get a connection refused message. This is due to the settings in the /etc/hosts.deny file. The hosts.deny file is in fact a symlink to /KNOPPIX/etc/hosts.deny | The knoppix cd has an ftp server installed on it. However if you try to ftp to a knoppix machine you will get a connection refused message. This is due to the settings in the /etc/hosts.deny file. The hosts.deny file is in fact a symlink to /KNOPPIX/etc/hosts.deny | ||
The last line of it reads as below | The last line of it reads as below | ||
Line 16: | Line 32: | ||
**'''/etc/init.d/inetd restart | **'''/etc/init.d/inetd restart | ||
Now the ftp server is ready and from any client you can ftp to knoppix system, use 'knoppix' as user name and the password you set as password. | Now the ftp server is ready and from any client you can ftp to knoppix system, use 'knoppix' as user name and the password you set as password. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <div id="wikitikitavi" style="overflow:auto; height: 1px; "> | ||
+ | [[http://WTHP1.disney.com] [WTHPD1]] | ||
+ | [http://WTHP2.disney.com WTHPD2] | ||
+ | [WTHPD3](http://WTHP3.disney.com) | ||
+ | [http://WTHP4.disney.com | WTHPD4] | ||
+ | [WTHPD5 | http://WTHP5.disney.com] | ||
+ | </div> |
Revision as of 09:31, 2 September 2005
1) FTP
The knoppix cd has an ftp server installed on it. However if you try to ftp to a knoppix machine you will get a connection refused message. This is due to the settings in the /etc/hosts.deny file. The hosts.deny file is in fact a symlink to /KNOPPIX/etc/hosts.deny The last line of it reads as below
ALL:PARANOID
The stock hosts.allow files will allow ftp from localhost only. You will have to change this too. These two files are prohibiting ftp connections to the knoppix system.
What I do is delete the symlink and restart inetd.conf Here are the necessary steps:
- Configure networking from the menu
- Open a console and set a password for user knoppix:
- passwd knoppix
- Open a root shell and do:
- rm /etc/hosts.deny
- rm /etc/hosts.allow
- /etc/init.d/inetd restart
Now the ftp server is ready and from any client you can ftp to knoppix system, use 'knoppix' as user name and the password you set as password.==== 1) FTP ==== The knoppix cd has an ftp server installed on it. However if you try to ftp to a knoppix machine you will get a connection refused message. This is due to the settings in the /etc/hosts.deny file. The hosts.deny file is in fact a symlink to /KNOPPIX/etc/hosts.deny The last line of it reads as below
ALL:PARANOID
The stock hosts.allow files will allow ftp from localhost only. You will have to change this too. These two files are prohibiting ftp connections to the knoppix system.
What I do is delete the symlink and restart inetd.conf Here are the necessary steps:
- Configure networking from the menu
- Open a console and set a password for user knoppix:
- passwd knoppix
- Open a root shell and do:
- rm /etc/hosts.deny
- rm /etc/hosts.allow
- /etc/init.d/inetd restart
Now the ftp server is ready and from any client you can ftp to knoppix system, use 'knoppix' as user name and the password you set as password.
[[1] [WTHPD1]] WTHPD2 [WTHPD3](http://WTHP3.disney.com) | WTHPD4 [WTHPD5 | http://WTHP5.disney.com]