2
# MiracleCast - Wifi-Display/Miracast Implementation
3
# Copyright (c) 2013-2014 David Herrmann <dh.herrmann@gmail.com>
7
# This is an example configuration for wpa_supplicant to work with miracled. You
8
# can modify it to your needs and then run wpa_supplicant *as root* on it. If
9
# you want to run it in foreground for debugging, you might wanna use:
10
# ./wpa_supplicant -dd -iwlan0 -Dnl80211 -c wpa.conf
12
# wpa_supplicant is *not* spawned by miracled, you need to do that yourself and
13
# afterwards add the device as wifi-link to miracled via:
14
# ./miraclectl add-link wifi:wlan0
16
# For debugging you usually want to connect a wpa_cli interface so you can
17
# follow the events and interact with wpas:
21
# Directory where control-interface sockets are stored. Must not be changed!
22
ctrl_interface=/run/wpa_supplicant
24
# Allow manual AP scans
27
# Set default device-name. Overwritten by miracled with current hostname. If
28
# you want to change it, use "./miraclectl set-link-name <link> <name>"
31
# Device type for desktop systems. Usually better left untouched..
32
device_type=1-0050F204-1
34
# Supported config-methods:
35
# pbc: Supports Push-Button-Configuration
36
# display: Can display PINs
37
# label: Has hard-coded label which can be used as PIN
38
# keypad: Has keyboard for dynamic PIN input
40
# Usually PBC is the preferred method for short-lived ad-hoc connections like
41
# Miracast as it doesn't require any PIN input on either side. Unfortunately,
42
# not all devices support it so you might wanna fall back to "display" and
44
# Note that wpas supports multiple options separated by spaces. But my remote
45
# devices tend to choose "keypad" then, which is annoying for testing so I just
46
# list pbc here as default.