I have just finished setting up my samba server and it is working perfectly as intended.
Now i want to be able to set up an ftp server preferably using proftpd as thats the one i have emerged. but that doesnt really matter. As this Xbox runs 24/7 i want to know so i can access it wherever in the world. ie. i type into a ftp client an ip,port,user,pass and i will be able to access files off it from wherever.
If anyone could help with some basic .conf file to get me started on this and some commands it would be appreciated.
Current System: Xbox Xecuter 2.6 flashed with BootLoader 5.1a, 200gb HD.
proftpd setting up a server.
im not sure exactly what you mean , do you have a firewall installed , do you have a router ?
what i usually do is edit the /etc/proftpd/proftpd.conf file simply by adding the line below to the very bottom of the file
then create a user
make that users home directory the http root directory
then you can upload documents to your apache directory and the user is stuck in that directory because of the defaultroot entry
Code: Select all
if its a firewall , simply open port 21
if you have a router , port forward port 21 ..
Code: Select all
defaultroot ~
Code: Select all
useradd -m website
passwd website
Code: Select all
usermod -d /var/www/localhost website
-
- Newbie
- Posts: 3
- Joined: Wed Jan 18, 2006 8:58 pm
thank you very much for the user set up help, but when i try to upload a file to the modified directory of the user it tells me i do not have permissions to write to the file. i'm guessing i need to chmod it to 775 and add my new user to to the group that owns the folder. thing is i dont recall how to check and see the current groups owner of a file hmmmmmm amazing what one forgets in the summer
thank you again
thank you again
Just a small hint.. (I stumbeled over this problem) Proftp may seem a bit slow - this could be (probably is) caused by reverse DNS.. by adding these two parameters to the proftpd.conf file - logon and listing dirs will be a lot faster.. (probably already is in the default installations - right Shallax?) - If you do a native install, or emerge proftpd yourself - this could be a good thing to keep in mind..
IdentLookups off
UseReverseDNS off
Steinar T
IdentLookups off
UseReverseDNS off
Steinar T