iwconfig

0.1

Stores a WiFi SSID and password to the SD card so ZX-Uno/ESP8266 network dot commands can join the network; run once as .iwconfig SSID PASS.

Install on your ZX Spectrum.pkg-inst install iwconfig

.iwconfig

Writes a WiFi SSID and password to /sys/config/iw.cfg on the SD card, in the fixed 80+80 byte layout that the ZX-Uno's ESP8266 network stack and its dot commands expect. It does not talk to the ESP8266 itself or verify the credentials; it only stores them for other tools to pick up.

Usage

.iwconfig SSID PASS
ArgumentMeaning
SSIDAccess point name
PASSAccess point password

Running it with no arguments prints usage and does nothing. The credentials are written plaintext, truncated/null-padded to 80 bytes each, overwriting any previous iw.cfg.

Requirements

ZX-Uno (or compatible) with esxDOS and an ESP8266 WiFi module. Put the binary in BIN/ on the SD card. It has no dependency on the ESP module actually being present to run — it just writes the config file other tools read.

Notes

  • Config path is hardcoded to /sys/config/iw.cfg.
  • No validation of SSID/password length beyond the 80-byte buffer; longer values are silently truncated by strcpy into an 80-byte array (potential overflow if either exceeds 80 bytes — there is no bounds check in the source).
  • Superseded on later hardware/forks by NetManZX, which adds scanning and a menu on top of the same idea.

Provenance

Downloaded from the project's only GitHub release, tag 0.1 ("Initial release", 2019-06-10), asset IWCONFIG, 3016 bytes.

Credits

Author: Alex Nihirash (nihirash). Home: https://github.com/nihirash/iwconfig. Licensed GPL-3.0.

Versions

VersionMachineOSPublishedFiles
0.1latest128kesxdos19 July 2026IWCONFIG.sigsource repositoryoriginal download