From 592c97158efdc6d5e9e372c3aade848d829a2f74 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sat, 15 Apr 2017 22:33:58 +0200
Subject: [PATCH] Fix wifi config.

---
 ansible/config.yml                            |  2 +-
 .../___etc___wicd___manager-settings.conf     | 24 +++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)
 create mode 100644 ansible/files/system/___etc___wicd___manager-settings.conf

diff --git a/ansible/config.yml b/ansible/config.yml
index 8f258a0..f2cb77e 100644
--- a/ansible/config.yml
+++ b/ansible/config.yml
@@ -81,7 +81,7 @@
     with_lines: cat ~/config/ansible/files/apt-mark/browser_environment | sed -e 's/ *#.*$//'
 
   # Ensure wifi.
-  - name: ensure browser environment
+  - name: ensure wifi configuration
     apt: name={{item}} state=present
     with_lines: cat ~/config/ansible/files/apt-mark/wifi | sed -e 's/ *#.*$//'
 
diff --git a/ansible/files/system/___etc___wicd___manager-settings.conf b/ansible/files/system/___etc___wicd___manager-settings.conf
new file mode 100644
index 0000000..d2ef3ee
--- /dev/null
+++ b/ansible/files/system/___etc___wicd___manager-settings.conf
@@ -0,0 +1,24 @@
+[Settings]
+backend = external
+wireless_interface = wlp3s0
+wired_interface = enp0s25
+wpa_driver = wext
+always_show_wired_interface = False
+use_global_dns = False
+global_dns_1 = None
+global_dns_2 = None
+global_dns_3 = None
+global_dns_dom = None
+global_search_dom = None
+auto_reconnect = True
+debug_mode = False
+wired_connect_mode = 1
+signal_display_type = 0
+should_verify_ap = 1
+dhcp_client = 0
+link_detect_tool = 0
+flush_tool = 0
+sudo_app = 0
+prefer_wired = False
+show_never_connect = True
+
-- 
2.30.2