dot

packages and services management
Log | Files | Refs | README

commit 090c89dbda0b60b0a1bd5c2739e57ed91c580d9c
parent 95ffabc2640ce82578c5b450edaaa42d6b20af12
Author: Josuah Demangeon <mail@josuah.net>
Date:   Wed, 27 Dec 2017 01:11:21 +0100

the default config teach me how to PEAP

Diffstat:
Dbin/pree | 51---------------------------------------------------
Adot/config/wpa_supplicant | 29+++++++++++++++++++++++++++++
2 files changed, 29 insertions(+), 51 deletions(-)

diff --git a/bin/pree b/bin/pree @@ -1,51 +0,0 @@ -#!/bin/sh -# print a directory tree with some stat infos - -LC_COLLATE=C - -case $# in (0) ;; (1) cd "$1" || exit 1 ;; (*) exit 1 ;; esac - -find . \ - -name CVS -prune -o \ - -name .git -prune -o \ - -exec stat -f '%N%t%Sp %10z' {} + | -sort -u | -awk -v LINE='| ' -v NODE='|- ' -v TAIL='`- ' -v VOID=' ' ' - -{ - split($0, stat); - count = split(stat[1], empty_v, "/"); - if (HTML) { - gsub("&", "\\&amp;"); - gsub("<", "\\&gt;"); - } - line_v[NR":"0] = $0 - for (i = 1; i <= count; i++) - line_v[NR":"i] = LINE; - line_v[NR":"i - 1] = NODE; -} - -END { - for (i = 2; !stop; i++) { - stop = tail = 1; - for (l = NR; l > 0; l--) { - if (line_v[l":"i] == LINE && tail) { - line_v[l":"i] = VOID; - stop = 0; - } else if (line_v[l":"i] == NODE && tail) { - line_v[l":"i] = TAIL - tail = stop = 0; - } else if (!line_v[l":"i]) { - tail = 1; - } - } - } - for (l = 1; l <= NR; l++) { - split(line_v[l":"0], name, "\t"); - printf("%s ", name[2]) - for (i = 2; line_v[l":"i] != ""; i++) - printf("%s", line_v[l":"i]); - sub(".*/", "", name[1]); - print(name[1]); - } -}' | more -e diff --git a/dot/config/wpa_supplicant b/dot/config/wpa_supplicant @@ -0,0 +1,29 @@ +# If your authentication servers are broken with TLSv1.1/1.2, you may need: +# phase1="tls_disable_tlsv1_1=1 tls_disable_tlsv1_2=1" + +ctrl_interface=/var/run/wpa_supplicant +ctrl_interface_group=wheel + +# wired network: + +#network={ +# key_mgmt=IEEE8021X +# eap=MD5 +# identity="user" +# password="password" +# eapol_flags=0 +#} +# wireless network: + +#network={ +# ssid="humppa" +# key_mgmt=WPA-EAP +# eap=TTLS PEAP +# identity="user" +# password="password" +#} + +network={ + ssid="SFR_2016" + psk=a3f63bd8aa82889867d0f5ee821b3ec5213d78ce6d4d529dd03368ab302290ad +}