install
vm2pc Instalation
Server instalation on pc
========================
Edit server's variables in the script vm2pc_pc from "pc" directory: then "./install.sh".
VM2PCFILES: variable for server's root.
SERVER: location of tinyftp server. by default this is installed in /usr/bin/tinyftp
PORT: ftp server's port
To start the server just write in the shell: vm2pc start.
Avaible commands: start, status, restart.
Virtual machine instalation
===========================
Edit the client's variables vm2pc_vm from the "vm" directory:
SERVER: variable for server's ip. Usualy in qemu this is 10.0.2.2. You may change the ip with your pc's ip address.
PORT: variable for server's port.
Optional variables:
USER: variable that contains the username for the ftp server. Tinyftp is compiled by default with the username "vm2pc" so you will don't need to change it"
PASS: password variable. Tinyftp is compiled by default without a password so you don't need to change this.
Upload the folder "vm" to the virtual machine and also lftp from the "src/" folder or get it from: http://lftp.yar.ru/.
Install lftp on the virtual machine. This is needed by the script. Then you will need to run install.sh on the virtual machine.
To put, list, or get a file from the server just type: vm2pc put <file> , vm2pc get <file>, vm2pc ls
Unistalling
===========
to unistall the server or the client: "./install.sh unistall"