Jump to content

Fujinet BBS Day

JohnPolka
Calendar

This event begins 12/14/2024 and repeats every year forever

On this day, in 2020, the Fujinet's WiFi modem support was declared stable for calling BBSs. Prior to 12/14/2020, the Fujinet had trouble staying connected to BBSs, especially Atari 8-bit BBSs. This turned out to be caused by a TCP/IP SDK setting in Fujinet's networking layer. If a host sends too many one-byte packets (due to the Nagle algorithm being disabled by the host to improve interactive performance), then Fujinet's processor, the ESP32, does not respond fast enough to them, and the host re-sends the packet, ultimately resulting in a duplicate acknowledgement (DUP ACK). The duplicate acknowledgements would lead to dropped packets or worse, BBS disconnections, or race conditions. After spending about a month combing through Fujinet firmware, network packets, and lots of experimentation, the needle in a haystack was found by yours's truly. An option in the TCP/IP SDK known as CONFIG_LWIP_TCP_QUEUE_OOSEQ, controlled the queuing of packets that are out of sequence, forcing the host to re-send (which it will anyway), but avoiding the duplicate acknowledgements. Once this single byte was changed from a 'y' to an 'n' in the Fujinet firmware, the lost packets, random BBS disconnections, and race conditions ceased. This elusive bug was squashed, and it was now safe for users to call BBSs with Fujinet.

To commemorate this milestone, we declare December 14th as Fujinet BBS Day. To celebrate, connect to an Atari BBS today. Better yet, connect to it with a Fujinet if you own one.

 

Sources:

 Problems connecting with BBSs · Issue #371 · FujiNetWIFI/fujinet-firmware · GitHub
are TCP DUP ACKs caused by lwIP process being starved of time? - ESP32 Forum
 

Edited by JohnPolka


Recommended Comments

Awesome stuff.   FujiNet has been a great device and it's been fun seeing all the activity on the BBSs.

 

APE interface introduced us to telnet BBSs.  Looking at you "Closer to Home" (Tom Hunt)

Lantronix devices showed you could emulate telnet like a phone call without another computer in tow.   Don't know who first found that, but it was a blast.

And now FujiNet gives a SIO plug in device that is as simple to set up as an Atari 1030 300 baud modem.  Simply wonderful.

×
×
  • Create New...