From 733b7526f08538f5ea5c69609d3bca14f33375d0 Mon Sep 17 00:00:00 2001 From: Leland Sindt Date: Tue, 29 Jan 2019 18:40:40 -0600 Subject: [PATCH] when you map directly to wpa_supplicant.conf, wpa_supplicant can't effect changes. Writing configuration file '/etc/wpa_supplicant/wpa_supplicant.conf.tmp' Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' written unsuccessfully CTRL_IFACE: SAVE_CONFIG - Failed to update configuration --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5f762f5..e1b2335 100644 --- a/README.md +++ b/README.md @@ -199,17 +199,16 @@ $ docker run --rm --privileged --net host \ -v $(pwd)/wificfg.json:/cfg/wificfg.json \ cjimti/iotwifi ``` - -Optionally, you can also provide a `wpa_supplicant.conf`, like so: +Optionally, you can also map a directory containing `wpa_supplicant.conf`, like so: ```bash $ docker run --rm --privileged --net host \ -v $(pwd)/wificfg.json:/cfg/wificfg.json \ - -v /wpa_supplicant.conf:/wpa_supplicant.conf \ + -v : \ cjimti/iotwifi ``` -Where `` is the path to `wpa_supplicant.conf` specified in `wificfg.json`. +Where `` is the path containing `wpa_supplicant.conf` specified in `wificfg.json`. The IOT Wifi container outputs logs in the JSON format. While this makes them a bit more challenging to read, we can feed them directly (or indirectly)