Move configuration defaults to a file
[wifi-radar.git] / etc / wifi-radar.defaults
blob0dd107f58c76088337e4242950f3a246643d394d
1 # -*- coding: utf-8 -*-
2 # These are the default configuration values for WiFi Radar.
3 # This file is only read if the expected configuration file is missing.
5 [DHCP]
6 # Arguments to use with DHCP client on connect.
7 args = -D -o -i dhcp_client -t ${timeout}
9 # The location of the DHCP client.
10 command = /sbin/dhcpcd
12 # Argument to use with DHCP client on disconnect.
13 kill_args = -k
15 # The file where DHCP client PID is written.
16 pidfile = /etc/dhcpc/dhcpcd-${GENERAL:interface}.pid
18 # How long to wait for an IP addr from DHCP server.
19 timeout = 30
22 [GENERAL]
23 # The order in which profiles are displayed.
24 auto_profile_order = []
26 # You may set this to true for cards that require a 'commit' command
27 #  with iwconfig.
28 commit_required = False
30 # The location of the network card configuration program.
31 ifconfig_command = /sbin/ifconfig
33 # You may set this to true for cards that require the interface to be
34 #  brought up first
35 ifup_required = False
37 # The network interface you use.
38 # Specify 'auto_detect' as the interface to make WiFi Radar
39 #  automatically detect your wireless card.
40 interface = auto_detect
42 # The location of the wireless configuration program.
43 iwconfig_command = /sbin/iwconfig
45 # The location of the wireless network scanning program.
46 iwlist_command = /sbin/iwlist
48 # set the location and verbosity of the log file
49 logfile = /var/log/wifi-radar.log
50 loglevel = 50
52 # The location of the network route configuration program.
53 route_command = /sbin/route
55 # How long should the scan for access points last?
56 #'scan_timeout': '5',
58 # WiFi Radar version.  This is overwritten each time the configuration
59 #  file is saved.
60 version = 0.0.0
63 [WPA]
64 # Arguments to use with WPA Supplicant on connect.
65 args = -B -i ${GENERAL:interface} -c ${configuration} -D ${driver} -P ${pidfile}
67 # The WPA Supplicant program.
68 command = /usr/sbin/wpa_supplicant
70 # Where the WPA Supplicant configuration file can be found.
71 configuration = /etc/wpa_supplicant.conf
73 # The driver to use with WPA Supplicant.
74 driver = wext
76 # Arguments to use with WPA Supplicant on disconnect
77 kill_command =
79 # The file where the WPA Supplicant PID is written.
80 pidfile = /var/run/wpa_supplicant.pid