FXP.One:Clients: Difference between revisions

From Lundman Wiki
No edit summary
 
mNo edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
==The FXP.One clients==
1. Telnet into the box and change to the /mnt/syb8634/etc directory.


This is a known list of [[FXP.One]] clients. If you make a new one, feel free to add it here.  
2. Jailbreak the ftpuser and move him into the mounting directory:
          ../bin/pure-pw usermod ftpuser -D /opt/sybhttpd/localhost.drives/ -f pureftpd.passwd
3. Re-write the PureFTPd user database:
          ../bin/pure-pw mkdb pureftpd.pdb -f pureftpd.passwd
4. That's it, you can confirm your changes if you want
          ../bin/pure-pw show ftpuser -f pureftpd.passwd


==Newer versions==
A recent upgrade reveals that this method no longer works, as the ftp user file is now created dynamically on startup.


=== FXP.cOne ===
To fix this, telnet into the box and copy to the /mnt/syb8634/etc/ftpserver.sh file to a download directory and edit the following section as below


'''* FXP.cOne (CDK/ncurses client)'''
start() {
        echo -n "Starting FTP Server..."
        /mnt/syb8634/bin/nmt_services.cgi cmd=ftp_passwd opt=ftpuser > /dev/null 2> /dev/null
        /mnt/syb8634/bin/telnetd telnetd -l /bin/sh -p 23 &
        /mnt/syb8634/bin/pure-ftpd -j -H -lpuredb:/etc/pureftpd.pdb -U 133:022 -c 10 -k 100 -I 1440 -w &
        /mnt/syb8634/bin/pure-pw usermod ftpuser -D /opt/sybhttpd/localhost.drives/ -f /etc/pureftpd.passwd
        /mnt/syb8634/bin/pure-pw mkdb /etc/pureftpd.pdb -f /etc/pureftpd.passwd
}


This [[FXP.One]] client ships with the FXP.One packages and will be compiled automatically if '''./configure''' can find '''ncurses''' and the special version of '''CDK'''. Download the CDK library from [http://invisible-island.net/cdk/ http://invisible-island.net/cdk/]
==Adding users==
Someone in the NMT forums asked me if there was a way to add additional users. I don't know why you would want multiple users, but here is your solution:


Until the local site can be added the client, if you wish to create a '''local''' site, please use ''<local>'' as the setting for '''host''', '''user''' and '''pass'''.
Add the following line to your start() script near the usermod line:
(echo NEWUSER PASSWORD; echo NEWUSER PASSWORD) | pure-pw useradd NEWUSER -D /opt/sybhttpd/localhost.drives -u nmt -f /etc/pureftpd.passwd


 
Obviously, you want to replace NEWUSER PASSWORD in both cases with the password for the user you are creating and NEWUSER in the last instance with the username you desire for your new user. You can do this as many times, to add as many users as you like.
Status: Beta: Completely Functional, but missing much cosmetics. Knowns bugs exist.
 
 
=== clomps ===
 
'''* clomps (console multiple site 'whats new?' query program, with auto-queue support)'''
 
This [[FXP.One]] client ships with the FXP.One packages and will be compiled automatically. It is a console only application that connects to multiple servers, works out what entries are '''new''' since it last ran, and presents a matrix of where files/directories are, and are missing. It can also automatically '''mirror''' between sites, in multiple ways, using the pass- and skip- lists. It can setup up sequential mirroring (A->B, then B->C) or concurrent mirroring. (A->B and A->C).
 
Status: v1.1 stable.
 
The latest Windows binary is available here:
[http://www.lundman.net/ftp/clomps-v1.0.zip clomps-v1.0.zip]
 
 
 
=== Ixodes ===
 
This [[FXP.One]] client is a GTK GUI client made on Python by a colleague. This client was never released and was made as a test-case for the '''UFxp''' client.
 
Status: deprecated.
 
 
=== UFxp ===
 
This [[FXP.One]] client is a Ultimate++ GUI client. This is an external client. Please see the [[UFxp]] home page for more information.
 
Status: beta, fully functional.

Latest revision as of 07:02, 5 April 2012

1. Telnet into the box and change to the /mnt/syb8634/etc directory.

2. Jailbreak the ftpuser and move him into the mounting directory:

         ../bin/pure-pw usermod ftpuser -D /opt/sybhttpd/localhost.drives/ -f pureftpd.passwd

3. Re-write the PureFTPd user database:

         ../bin/pure-pw mkdb pureftpd.pdb -f pureftpd.passwd

4. That's it, you can confirm your changes if you want

         ../bin/pure-pw show ftpuser -f pureftpd.passwd

Newer versions

A recent upgrade reveals that this method no longer works, as the ftp user file is now created dynamically on startup.

To fix this, telnet into the box and copy to the /mnt/syb8634/etc/ftpserver.sh file to a download directory and edit the following section as below

start() {

       echo -n "Starting FTP Server..."
       /mnt/syb8634/bin/nmt_services.cgi cmd=ftp_passwd opt=ftpuser > /dev/null 2> /dev/null
       /mnt/syb8634/bin/telnetd telnetd -l /bin/sh -p 23 &
       /mnt/syb8634/bin/pure-ftpd -j -H -lpuredb:/etc/pureftpd.pdb -U 133:022 -c 10 -k 100 -I 1440 -w &
       /mnt/syb8634/bin/pure-pw usermod ftpuser -D /opt/sybhttpd/localhost.drives/ -f /etc/pureftpd.passwd
       /mnt/syb8634/bin/pure-pw mkdb /etc/pureftpd.pdb -f /etc/pureftpd.passwd

}

Adding users

Someone in the NMT forums asked me if there was a way to add additional users. I don't know why you would want multiple users, but here is your solution:

Add the following line to your start() script near the usermod line:

(echo NEWUSER PASSWORD; echo NEWUSER PASSWORD) | pure-pw useradd NEWUSER -D /opt/sybhttpd/localhost.drives -u nmt -f /etc/pureftpd.passwd

Obviously, you want to replace NEWUSER PASSWORD in both cases with the password for the user you are creating and NEWUSER in the last instance with the username you desire for your new user. You can do this as many times, to add as many users as you like.