The Key Croc features an onboard WiFi module for connecting to nearby 2.4 GHz networks. To configure WiFi, edit the config.txt file on the root of the KeyCroc flash disk from Arming Mode.
The two WiFi parameters are:
- WIFI_SSID – the network name
- WIFI_PASS – the WPA-PSK password
Any characters after these variables will be used as the values. Special considerations must be made for WiFi network names and passwords containing special characters or spaces.
WIFI_SSID This is my network
WIFI_PASS The P@$$word is 1337!!
Should be escaped:
WIFI_SSID This\ is\ my\ network
WIFI_PASS The\ P\@\$\$word\ is\ 1337\!\!
For open networks which do not require a password, omit the WIFI_PASS option.
To disconnect the Key Croc from a network, remove the WIFI_SSID and WIFI_PASS options, then restart the device.
By default the Key Croc is configured to attempt to obtain an IP address from a network's DHCP server. Configuring a static IP address is outside the scope of this guide, however considering its Debian base this can be achieved in a number of ways.
The DNS server may be overridden from that obtained via DHCP by using the DNS option in config.txt, in the format:
DNS x.x.x.x x.x.x.x
To determine the IP address obtained by the Key Croc for development purposes, see the guide on Interactive Payload Development from the Tips section of this documentation.