~thopiekar/miracle/miraclecast-albfan

« back to all changes in this revision

Viewing changes to res/wpa.conf

  • Committer: David Herrmann
  • Date: 2014-02-11 14:23:03 UTC
  • Revision ID: git-v1:eaea59d32467076954830e59a843107bf2d7c191
res: add wpa.conf example

Add example file for wpa_supplicant so users can start testing.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# MiracleCast - Wifi-Display/Miracast Implementation
 
3
# Copyright (c) 2013-2014 David Herrmann <dh.herrmann@gmail.com>
 
4
#
 
5
 
 
6
#
 
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
 
11
#
 
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
 
15
#
 
16
# For debugging you usually want to connect a wpa_cli interface so you can
 
17
# follow the events and interact with wpas:
 
18
#   ./wpa_cli -iwlan0
 
19
#
 
20
 
 
21
# Directory where control-interface sockets are stored. Must not be changed!
 
22
ctrl_interface=/run/wpa_supplicant
 
23
 
 
24
# Allow manual AP scans
 
25
ap_scan=1
 
26
 
 
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>"
 
29
device_name=my-device
 
30
 
 
31
# Device type for desktop systems. Usually better left untouched..
 
32
device_type=1-0050F204-1
 
33
 
 
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
 
39
#
 
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
 
43
# "keypad".
 
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.
 
47
config_methods=pbc