Skip to content

Setting Up TNFS On Windows 10

Bill Lange edited this page Oct 21, 2020 · 7 revisions

Setting Up TNFS On Windows 10

Originally, the TNFS server was created to allow Spectrum users to easily share files between a PC and a Spectrum. By default, it uses UDP port 16384. It is a small standalone program, with versions for Windows, Mac, Linux, and Raspberry Pi.

You can read more about the Spectrum TNFS Project here: http://spectrum.alioth.net/doc/index.php/TNFS_server

The Fujinet project adopted the TNFS server with some customizations.

Using a cheap, new “Desktop Mini PC Fanless Computer Windows 10 Pro” from Amazon ...

Give your Windows 10 PC a machine name, static IP address, and other values appropriate for your network. For example, my Windows 10 PC’s name is “tungsten” with an IP address of “192.168.1.74”, (74 being the Atomic number of the element). Typically a private home network will be in the “192.168.x.x” range, but there are other private ranges as well.

Download the pre-compiled binary FujiNet version of the TNFSD server.
https://fujinet.online/firmware-dl/tnfsd.exe

(Optional) Note that you can find the custom FujiNet tnfsd source code on Github if you want to build it yourself (and customize it). https://github.com/FujiNetWIFI/spectranet/tree/master/tnfs/tnfsd

Create a folder on the Windows 10 box named “C:\tnfsd”. Put the downloaded tnfsd.exe file in this folder. This is the server software.

Create a folder on the Windows 10 box named “C:\tnfsroot”. This is where you would put subfolders and Atari 8-bit disk images, etc.

On the Windows 10 box, right click Start. Click Search and enter “Firewall”. Click on “Allow an app through firewall”. Click on “Change settings”, then click on “Allow another app…”. Click “Browse…” and browse to the “C:\tnfsd\tnfsd.exe” file and click “Open”, then click “Add”. Next to the newly added “tnfsd.exe” app, check both the “Private” and “Public” checkboxes.

Right click Start, then click Computer Management. Click Task Scheduler. Click Create a Basic Task. Name it “TNFSD”. Set the trigger to “When the computer starts”. Set the action to “Start a program”. Browse to the “C:\tnfsd\tnfsd.exe” file and give it an argument of “C:\tnfsroot”. Check “Open the Properties dialog for this task when I click Finish”. When the properties open, select “Run whether user is logged on or not”, and “Run with highest privileges”. Click “Ok”. Reboot.

At this point, the TNFS server should be set up for your internal network. You should be able to enter the IP address of the TNFS, e.g. “192.168.1.74” from my example, into the Fujinet and be able to browse and load files from the “C:\tnfsroot” folder on the Windows 10 PC.

To make your TNFS server available on the public internet, on your router, configure “Port Forwarding” for UDP 16384 to the IP address of the Windows 10 box. If you have a domain name and it is configured to point to your external IP address, you should be good. If you do not have a domain name registered and configured, use https://whatismyipaddress.com/ to get your external IP address. To test from an external Fujinet device, enter either your domain name or external IP address into an external Fujinet and try to browse/load files from your TNFS server.

Clone this wiki locally