Skip to content

ArmstrongJ/wifi_da

 
 

Repository files navigation

BlueSCSI Wi-Fi DA

A Wi-Fi status and control Desk Accessory for BlueSCSI (Atari ST version)

For this utility to work, you'll need to make sure that you've enabled DaynaPORT SCSI/Link emulation on your BlueSCSIv2. Basic instructions are available in the BlueSCSI docs.

Desk accessory/GEM version written by Thorsten Otto Command line utility writte by Jeff Armstrong Based on code by Joshua Stein [email protected] - http://jcs.org/bluescsi

Desk Accessory

The desk accessory can be used to scan for and connect to WiFi from GEM. To use as a desk accessory, simply copy wifi_da.acc to your boot drive. You can then select whatever WiFi network can be detected regardless of your BlueSCSI settings.

The GEM program wifi_da.prg is exactly the same as the desk accessory, just using a different extension.

Command Line

The command line utility wifi_da.tos can be used to connect to a WiFi network as well, and the utility is meant to be used during a MiNT init script. It could, in theory, be executed directly from the boot drive auto folder as well instead of from a MiNT init script, though.

For help on running the TOS program, pass the -h option:

wifi_da.tos -h

By default, when executed, the TOS program will attempt to load a config file, described later, from C:\wifi_da.cfg, or, if that fails, /etc/wifi_da.cfg. An alternate configuration file can be specified using the -f flag, like, for example:

wifi_da.tos -f D:\config\wifi.cfg

The SSID and, if necessary, the key can be specified directly on the command line as well, as, for example:

wifi_da.tos -s EggAndSpoonPublic -k LadyMargaux001

For the purposes of scripting, wifi_da.tos will end with a return code of 0 when successful. Any nonzero code indicates a failure. This feature can be useful if you need to possibly retry due to flakey connections or you want to delay a DHCP client until a connection is successful.

Config File

The configuration file contains two key pieces of information, the SSID and, if necessary, the KEY. Lines that are blank or start with a # symbol are ignored. A sample configuration might be:

# Public WiFi when we visit Twilight Crossing

SSID=EggAndSpoonPublic

KEY=LadyMargaux001

License

BlueSCSI Wi-Fi DA is free software; see the LICENSE file for copyright/licensing. Note that this forked repository has added a single additional restriction.

Versions

2025-08-21

  • Added a command-line utility

1.1 - 2024-07-22 - First Atari version

About

BlueSCSI Wi-Fi Desk Accessory and Command-Line Utility for Atari ST

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 85.8%
  • RenderScript 11.8%
  • Shell 2.0%
  • Makefile 0.4%