Adding wpa_config to fail authentication and instructions in the RG container

Change-Id: I14baf0e192219f0c1cb8566ed5e9bb9ab6cc17e7
diff --git a/docker/Dockerfile.tester b/docker/Dockerfile.tester
index fcb464a..9c4a461 100644
--- a/docker/Dockerfile.tester
+++ b/docker/Dockerfile.tester
@@ -29,3 +29,5 @@
 RUN chmod 755 /usr/local/bin/igmp.py
 
 COPY config/wpa_supplicant.conf /etc/wpa_supplicant/
+COPY config/wpa_supplicant_fail.conf /etc/wpa_supplicant/
+COPY config/wpa_readme.md /README.md
\ No newline at end of file
diff --git a/docker/config/wpa_readme.md b/docker/config/wpa_readme.md
new file mode 100644
index 0000000..86b7b00
--- /dev/null
+++ b/docker/config/wpa_readme.md
@@ -0,0 +1,27 @@
+# How to operate the RG
+
+## Send a correct authentication request
+
+```bash
+wpa_supplicant -i eth0 -Dwired -c /etc/wpa_supplicant/wpa_supplicant.conf
+```
+
+## Send a failing authentication request
+
+```bash
+wpa_supplicant -i eth0 -Dwired -c /etc/wpa_supplicant/wpa_supplicant_fail.conf
+```
+
+## Request an IP
+
+```bash
+dhclient -d eth0
+```
+
+## Ping the gateway
+
+Assuming that your DHCP Server correctly returns the gateway informations:
+
+```bash
+ping $(route -n | awk NR==3 | awk '{ print $2 }')
+```
\ No newline at end of file
diff --git a/docker/config/wpa_supplicant_fail.conf b/docker/config/wpa_supplicant_fail.conf
new file mode 100644
index 0000000..6d14c40
--- /dev/null
+++ b/docker/config/wpa_supplicant_fail.conf
@@ -0,0 +1,15 @@
+ctrl_interface=/var/run/wpa_supplicant
+eapol_version=1
+ap_scan=0
+fast_reauth=1
+network={
+        key_mgmt=WPA-EAP
+        eap=MD5
+        identity="user"
+        password="wrongpassword"
+        ca_cert="/etc/cert/cacert.pem"
+        client_cert="/etc/cert/client.pem"
+        private_key="/etc/cert/client.key"
+        private_key_passwd="whatever"
+        eapol_flags=3
+}