File Sharing

There are a few ways to share files with other computers using Fatdog64. They are:

FTP

FTP is a good choice if you want to just move single files, not whole folders. Files must be moved one at a time with FTP, so if you want to do a folder it痴 best to zip the folder up into one file. To start the FTP server go to Control Panel, click on the System tab, and then Manage Servers and Services. Click on ftpd and then click Start to run the service. Click enable if you want the ftpd server to run at each boot . To connect from another computer you値l need the IP address of the computer running the FTP server. Open a terminal and type ifconfig, it will look something like this:

# ifconfig

lo        Link encap:Local Loopback  

         inet addr:127.0.0.1  Mask:255.0.0.0

         UP LOOPBACK RUNNING  MTU:16436  Metric:1

         RX packets:0 errors:0 dropped:0 overruns:0 frame:0

         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

         collisions:0 txqueuelen:0

         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:23:14:DC:48:B8  

         inet addr:192.168.254.42  Bcast:192.168.254.255      

         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

         RX packets:48110 errors:0 dropped:0 overruns:0 frame:0

         TX packets:8953 errors:0 dropped:0 overruns:0 carrier:0

         collisions:0 txqueuelen:1000

         RX bytes:17773416 (16.9 MiB)  TX bytes:1027903 (1003.8 KiB)

#

In this example our IP address is 192.168.254.42. The other piece of information we need is a login name and password. To login as root the default password is woofwoof. When you made your save file, you where given the opportunity to change it.  To change the root password, open a terminal and type:

# passwd

You値l be prompted for a new password. From the other computer open Firefox and in the address box type ftp://192.168.254.42 That痴 for the example above, substitute your IP address. You値l be prompted for a user name and password.  Or you can connect using gFTP, which is found under Network in the main menu. You can make this available over the internet too. To do that you値l need to login to your router and forward port 21 to the IP address of the computer running the FTP server. 


HTTP web server

Http can be a good choice if you want others to be able to download files, but not upload. To start the web server go to Control Panel, click on the System tab, and then Manage Servers and Services. Click on mongoose and then click Start to run the service. Click enable if you want the http server to run at each boot . The Mongoose web server forks itself to run as user webuser. The server's root is located at /var/lib/www. Files or links placed there will be visible to users of the web server. To connect open a web browser and enter your IP address. The configuration file for the server is located at /etc/mongoose.conf. You can make this available over the internet too. To do that you値l need to login to your router and forward port 80 to the IP address of the computer running the HTTP server. 

Note: You can also run mongoose as a "user" server. Run open terminal and type "mongoose". It will then serve the files from the current directory. To stop it, just press Ctrl-C.

Samba

If you want to share files with other computers on your local network, including Windows computers, this is the way to go. To start the Samba server go to Control Panel, click on the System tab, and then Manage Servers and Services. Click on samba and then click Start to run the service. Click enable if you want the Samba server to run at each boot . This will share your Downloads folder as user spot. To connect from another computer running Fatdog64, open the Shared folder on the desktop and click on Scan. This will create icons for the shared folders found on your network. Then click on those icons to mount the shared folder, right click to unmount.  From Windows go network neighborhood/places. You might have to click refresh a few times for it to show up. Clients connecting to Fatdog64 will only be able to write files in folders that user spot has permission.