tschak909 #76 Posted January 28, 2021 3 minutes ago, moonlight_mile said: Gotcha. I think what the issue is that the data folder is pointing within the container. When I get some ambition it will download docker and try to change the image to allow the data to point outside the container. Thanks for the help. DUDE, IT'S A VOLUME MOUNT! All you have to do is set the volume mount to point to wherever you need it to point. -Thom Quote Share this post Link to post Share on other sites
_The Doctor__ #77 Posted January 28, 2021 did you try putting your ATARI folder in root, not inside anything else and set it for there? Quote Share this post Link to post Share on other sites
moonlight_mile #78 Posted January 28, 2021 27 minutes ago, tschak909 said: DUDE, IT'S A VOLUME MOUNT! All you have to do is set the volume mount to point to wherever you need it to point. -Thom I want to apologize. I had the volumes backwards. I am really sorry. I was basing the setup to the pihole setup I did and it was the same but i got confused with the mount point. I got it running. Thanks again for your help and your contribution of this container. craig Quote Share this post Link to post Share on other sites
tschak909 #79 Posted January 28, 2021 I'm glad -Thom Quote Share this post Link to post Share on other sites
wildstar87 #80 Posted April 24, 2021 (edited) Looking to set a TNFS server on my NAS, runs on Xigmanas (formerly Nas4free), based on Freebsd 12. Running on an AMD FX 8350 at 4Ghz, so x64 platform. I can SSH into my NAS, and I can fumble my way through Unix. Anyone give me some pointers? Edited April 24, 2021 by wildstar87 Putting cpu details in Quote Share this post Link to post Share on other sites
spicyjack #81 Posted May 13, 2021 On 4/24/2021 at 2:19 AM, wildstar87 said: Looking to set a TNFS server on my NAS, runs on Xigmanas (formerly Nas4free), based on Freebsd 12. Running on an AMD FX 8350 at 4Ghz, so x64 platform. I can SSH into my NAS, and I can fumble my way through Unix. Anyone give me some pointers? tschak909 already explained building on Linux, building for a *BSD is almost the same. Grab the source code (https://github.com/FujiNetWIFI/spectranet), put it on your NAS device, and then run: make OS=BSD in the tnfs/tnfsd/ directory inside of the downloaded spectranet repo. Assuming you have all of the correct programs installed (compiler, linker, etc.) on your NAS, it will build a binary called tnfsd inside of the bin/ directory, which you can then execute on your NAS in order to serve files. You can use the Python script tnfs_client.py to test your new server, assuming you have Python installed on the machine where you are testing from. You could also use your FujiNet to test as well. Quote Share this post Link to post Share on other sites
wildstar87 #82 Posted May 13, 2021 41 minutes ago, spicyjack said: tschak909 already explained building on Linux, building for a *BSD is almost the same. Grab the source code (https://github.com/FujiNetWIFI/spectranet), put it on your NAS device, and then run: make OS=BSD in the tnfs/tnfsd/ directory inside of the downloaded spectranet repo. Assuming you have all of the correct programs installed (compiler, linker, etc.) on your NAS, it will build a binary called tnfsd inside of the bin/ directory, which you can then execute on your NAS in order to serve files. You can use the Python script tnfs_client.py to test your new server, assuming you have Python installed on the machine where you are testing from. You could also use your FujiNet to test as well. Thanks, I'll give this a try. I don't think that stuff is installed however, but I will check. I know that they try to strip out everything that isn't needed, so they can run off a USB drive, they don't even have man pages. I might have to try installing FreeBSD on another machine to build. Quote Share this post Link to post Share on other sites
badolepuddytat #83 Posted June 27, 2021 On 12/2/2020 at 4:14 PM, tschak909 said: Yup, I built that container. -Thom Hi, I have a QNAP NAS and just recieved my FujiNet. Are you saying its possible to connect the two? If so, is there a REALLY SIMPLE set by step guide please? Many thanks. Quote Share this post Link to post Share on other sites
tschak909 #84 Posted June 27, 2021 (edited) Does nobody understand that it's next to impossible to make step by step guides for every concievable NAS, especially since I do not have all these different bits of hardware? You'll need to do some of your own digging. With that said, you'll want to use the container at docker hub. There are two versions for x86-64 and arm respectively: https://hub.docker.com/r/tschak909/tnfsd-x64 https://hub.docker.com/r/tschak909/tnfsd-armv7l The container mounts a volume at /data. You'll want to point that to whatever you wish to expose over tnfs. The container also exposes UDP port 16384. The dockerfile is shown here: https://hub.docker.com/layers/tschak909/tnfsd-x64/latest/images/sha256-d24f6d6f7c27c0f0e4095cb9e770c56066313bc0e3cc51eb02b8b03eb87b6a21?context=explore -Thom Edited June 27, 2021 by tschak909 2 Quote Share this post Link to post Share on other sites
monsoft #85 Posted July 2, 2021 Some time ago I build docker with tnfsd server as well https://hub.docker.com/r/monsoft/tnfs 4 Quote Share this post Link to post Share on other sites
monsoft #86 Posted July 16, 2021 (edited) BTW. I got TNFS server running on Synology NAS but not all is working yet. I'm in process of building synology package but there is not very well documented how to do all bits. I think that I'm missing some permissions but when I start process manually as root, all things works. I'm currently out of home and will back on the end of august so will re-start work at this time. [email protected]:/var/packages/tnfsd/target/bin# ./tnfsd /volume2/ISO/tnfs & [email protected]:/var/packages/tnfsd/target/bin# Starting tnfsd version 20.1115.2 using root directory "/volume2/ISO/tnfs" [email protected]:/var/packages/tnfsd/target/bin# netstat -ulpn|grep tnfs udp 0 0 0.0.0.0:16384 0.0.0.0:* 30025/./tnfsd [email protected]:/var/packages/tnfsd/target/bin# ps aux|grep tnfs root 30025 0.0 0.0 1588 388 pts/6 S 16:23 0:00 ./tnfsd /volume2/ISO/tnfs Edited July 16, 2021 by monsoft 3 Quote Share this post Link to post Share on other sites
gandalf1369 #87 Posted January 9 A BIG thank you to @tschak909 !! I successfully set up the TNFS server on my NAS and it is working great. My son, who is a computer programmer (who started on an Atari 400 35 years ago), helped me with the set-up. I used the Docker container file at https://hub.docker.com/r/tschak909/tnfsd-x64 on a Terra-Master F2-220 NAS. Thanks to @tschak909 for the FujiNet and the Docker container. 1 1 Quote Share this post Link to post Share on other sites
mnemo #88 Posted March 16 On 12/17/2020 at 7:16 PM, tuf said: For anyone wanting to run tnfsd on an ATOM based Synology (in my case the 412+) I've attached the tnfsd binary. Stick it in your /usr/local/bin on the NAS and you should be good to go. I compiled this in docker on an Ubuntu image using OS=LINUX. Howdy, @tuf. You wouldn't happen to have a compiled 1.2 (current) version of tfnsd for Atom? My Synology doesn't support Docker, so I cannot compile it myself easily. Quote Share this post Link to post Share on other sites
tuf #89 Posted March 16 (edited) 1 hour ago, mnemo said: Howdy, @tuf. You wouldn't happen to have a compiled 1.2 (current) version of tfnsd for Atom? My Synology doesn't support Docker, so I cannot compile it myself easily. Oh there's a new version? I can give it a shot. Stay tuned, might take me a minute - I'll try when I get home from work tonight. Edited March 16 by tuf Quote Share this post Link to post Share on other sites
mnemo #90 Posted March 16 (edited) 7 minutes ago, tuf said: Oh there's a new version? I can give it a shot. Stay tuned, might take me a minute - I'll try when I get home from work tonight. That would be great! Take your time. 🙂 Current version should be here: https://github.com/spectrumero/spectranet/tree/master/tnfs/tnfsd EDIT: There's also optional functionality that can be enabled with define "TNFS_DIR_EXT". I don't think it's used by FujiNet. Edited March 16 by mnemo Quote Share this post Link to post Share on other sites
tuf #91 Posted March 17 14 hours ago, mnemo said: That would be great! Take your time. 🙂 Current version should be here: https://github.com/spectrumero/spectranet/tree/master/tnfs/tnfsd EDIT: There's also optional functionality that can be enabled with define "TNFS_DIR_EXT". I don't think it's used by FujiNet. Here you go. There's an .exe that gets produced as well, not sure what that's for but I included it. Let me know if it works! tnfsd-3-17-22.zip Quote Share this post Link to post Share on other sites
mnemo #92 Posted March 17 32 minutes ago, tuf said: Here you go. There's an .exe that gets produced as well, not sure what that's for but I included it. Let me know if it works! Thank you! Sadly, the Linux binary doesn't work on my Synology. I guess it's for another platform? The .exe is for Windows and works. /bin/tnfsd: cannot execute binary file: Exec format error I can find the string "/lib64/ld-linux-x86-64.so.2" in the binary which refers to 64-bit. But the Intel Atom is 32-bit. /proc/cpuinfo says: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 54 model name : Intel(R) Atom(TM) CPU CE5335 @ 1.60GHz stepping : 2 microcode : 0x205 cpu MHz : 1600.126 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm arat dtherm tpr_shadow vnmi flexpriority Quote Share this post Link to post Share on other sites
tuf #93 Posted June 3 On 3/17/2022 at 3:07 AM, mnemo said: Thank you! Sadly, the Linux binary doesn't work on my Synology. I guess it's for another platform? I know it's been a minute but I just had to recompile for a new Synology that runs a Celeron. To compile it you need an OS that has an older version of GLIBC since the Synology runs an older version. I used "Holy Build Box" in Docker on the Synology to build it in, which worked great. I did have to add "-std=c99" to the CFLAGS (add it to the end of the FLAGS line for LINUX) to get it to compile. tnfsd Quote Share this post Link to post Share on other sites
mnemo #94 Posted June 13 (edited) On 6/3/2022 at 9:33 AM, tuf said: I know it's been a minute but I just had to recompile for a new Synology that runs a Celeron. To compile it you need an OS that has an older version of GLIBC since the Synology runs an older version. I used "Holy Build Box" in Docker on the Synology to build it in, which worked great. I did have to add "-std=c99" to the CFLAGS (add it to the end of the FLAGS line for LINUX) to get it to compile. Thanks for getting back to me, but sadly this exe won't run on my NAS, either. Same problem: It's a 64-bit exe, but the NAS is 32-bit. Just looked at the "Holy Build Box" homepage and it says it can ONLY build 64-bit exes. $ /usr/bin/tnfsd -sh: /usr/bin/tnfsd: cannot execute binary file: Exec format error I would like to build the exe myself, but my old Synology DS214play doesn't support Docker. 😞 I put tnfsd on a Raspberry Pi 4 now and installed Samba to easily access the tnfsd directory to put some stuff in. 🙂 Edited June 13 by mnemo Quote Share this post Link to post Share on other sites