Skip to content

Instantly share code, notes, and snippets.

View tinue's full-sized avatar

Martin tinue

  • Switzerland
View GitHub Profile
@tinue
tinue / SMB-Pi.md
Last active July 10, 2023 21:53
Simple file server for old retro clients, based on Samba / Raspberry Pi

Retro File Server

A common challenge with retro machines is transferring data from and to it. If the retro machine has an Ethernet adapter that can be enabled, then sharing data via a file server is a good solution for this challenge.
Unfortunately, these old systems use protocols that are dangerous and thus disabled on any modern file server, such as a NAS. Usually, these protocols can be re-enabled on a NAS, but I would advise against doing this.

Instead, this Gist shows how a dedicated Raspberry Pi can be used to make a file server that supports all of these old protocols.

A word of caution: Because these protocols are dangerous, never expose the Raspberry Pi to the internet! You will most