commit 74a0b87

chld  ·  2026-08-28 02:25:12 +0000 UTC
parent 6e8bfbe
remove extra files
8 files changed,  +0, -1196
+0, -21
 1@@ -1,21 +0,0 @@
 2-#!/bin/sh
 3-fdl(){
 4-	cmd_get=${cmd_get:-"$(
 5-		command -v aria2c ||
 6-		command -v axel ||
 7-		command -v curl ||
 8-		command -v wget ||
 9-		command -v wget2
10-	)"}
11-	# printf "$cmd_get\n"
12-}
13-_dl(){
14-fdl
15-case ${cmd_get##*/} in
16-         aria2c) set -- -d / -o  "$@" ;;
17-           axel) set -- -o       "$@" ;;
18-           curl) set -- -fLo     "$@" ;;
19-     wget|wget2) set -- -O       "$@" ;;
20-esac 
21-$cmd_get "$@"
22-}
+0, -551
  1@@ -1,551 +0,0 @@
  2-# Example wpa_supplicant build time configuration
  3-#
  4-# This file lists the configuration options that are used when building the
  5-# hostapd binary. All lines starting with # are ignored. Configuration option
  6-# lines must be commented out complete, if they are not to be included, i.e.,
  7-# just setting VARIABLE=n is not disabling that variable.
  8-#
  9-# This file is included in Makefile, so variables like CFLAGS and LIBS can also
 10-# be modified from here. In most cases, these lines should use += in order not
 11-# to override previous values of the variables.
 12-
 13-
 14-# Uncomment following two lines and fix the paths if you have installed OpenSSL
 15-# or GnuTLS in non-default location
 16-#CFLAGS += -I/usr/local/openssl/include
 17-#LIBS += -L/usr/local/openssl/lib
 18-
 19-# Some Red Hat versions seem to include kerberos header files from OpenSSL, but
 20-# the kerberos files are not in the default include path. Following line can be
 21-# used to fix build issues on such systems (krb5.h not found).
 22-#CFLAGS += -I/usr/include/kerberos
 23-
 24-# Driver interface for generic Linux wireless extensions
 25-# Note: WEXT is deprecated in the current Linux kernel version and no new
 26-# functionality is added to it. nl80211-based interface is the new
 27-# replacement for WEXT and its use allows wpa_supplicant to properly control
 28-# the driver to improve existing functionality like roaming and to support new
 29-# functionality.
 30-CONFIG_DRIVER_WEXT=y
 31-
 32-# Driver interface for Linux drivers using the nl80211 kernel interface
 33-CONFIG_DRIVER_NL80211=y
 34-
 35-# QCA vendor extensions to nl80211
 36-#CONFIG_DRIVER_NL80211_QCA=y
 37-
 38-# driver_nl80211.c requires libnl. If you are compiling it yourself
 39-# you may need to point hostapd to your version of libnl.
 40-#
 41-#CFLAGS += -I$<path to libnl include files>
 42-#LIBS += -L$<path to libnl library files>
 43-
 44-# Use libnl v2.0 (or 3.0) libraries.
 45-CONFIG_LIBNL20=y
 46-CONFIG_LIBNL_TINY=y
 47-
 48-# Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored)
 49-#CONFIG_LIBNL32 is not set
 50-
 51-
 52-# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
 53-#CONFIG_DRIVER_BSD=y
 54-#CFLAGS += -I/usr/local/include
 55-#LIBS += -L/usr/local/lib
 56-#LIBS_p += -L/usr/local/lib
 57-#LIBS_c += -L/usr/local/lib
 58-
 59-# Driver interface for Windows NDIS
 60-#CONFIG_DRIVER_NDIS=y
 61-#CFLAGS += -I/usr/include/w32api/ddk
 62-#LIBS += -L/usr/local/lib
 63-# For native build using mingw
 64-#CONFIG_NATIVE_WINDOWS=y
 65-# Additional directories for cross-compilation on Linux host for mingw target
 66-#CFLAGS += -I/opt/mingw/mingw32/include/ddk
 67-#LIBS += -L/opt/mingw/mingw32/lib
 68-#CC=mingw32-gcc
 69-# By default, driver_ndis uses WinPcap for low-level operations. This can be
 70-# replaced with the following option which replaces WinPcap calls with NDISUIO.
 71-# However, this requires that WZC is disabled (net stop wzcsvc) before starting
 72-# wpa_supplicant.
 73-# CONFIG_USE_NDISUIO=y
 74-
 75-# Driver interface for wired Ethernet drivers
 76-CONFIG_DRIVER_WIRED=y
 77-
 78-# Driver interface for the Broadcom RoboSwitch family
 79-#CONFIG_DRIVER_ROBOSWITCH=y
 80-
 81-# Driver interface for no driver (e.g., WPS ER only)
 82-#CONFIG_DRIVER_NONE=y
 83-
 84-# Solaris libraries
 85-#LIBS += -lsocket -ldlpi -lnsl
 86-#LIBS_c += -lsocket
 87-
 88-# Enable IEEE 802.1X Supplicant (automatically included if any EAP method is
 89-# included)
 90-CONFIG_IEEE8021X_EAPOL=y
 91-
 92-# EAP-MD5
 93-CONFIG_EAP_MD5=y
 94-
 95-# EAP-MSCHAPv2
 96-CONFIG_EAP_MSCHAPV2=y
 97-
 98-# EAP-TLS
 99-CONFIG_EAP_TLS=y
100-
101-# EAL-PEAP
102-CONFIG_EAP_PEAP=y
103-
104-# EAP-TTLS
105-CONFIG_EAP_TTLS=y
106-
107-# EAP-FAST
108-# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed
109-# for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g.,
110-# with openssl-0.9.8x-tls-extensions.patch, to add the needed functions.
111-#CONFIG_EAP_FAST=y
112-
113-# EAP-GTC
114-CONFIG_EAP_GTC=y
115-
116-# EAP-OTP
117-CONFIG_EAP_OTP=y
118-
119-# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
120-#CONFIG_EAP_SIM=y
121-
122-# EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
123-#CONFIG_EAP_PSK=y
124-
125-# EAP-pwd (secure authentication using only a password)
126-CONFIG_EAP_PWD=y
127-
128-# EAP-PAX
129-#CONFIG_EAP_PAX=y
130-
131-# LEAP
132-CONFIG_EAP_LEAP=y
133-
134-# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
135-#CONFIG_EAP_AKA=y
136-
137-# EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used).
138-# This requires CONFIG_EAP_AKA to be enabled, too.
139-#CONFIG_EAP_AKA_PRIME=y
140-
141-# Enable USIM simulator (Milenage) for EAP-AKA
142-#CONFIG_USIM_SIMULATOR=y
143-
144-# EAP-SAKE
145-#CONFIG_EAP_SAKE=y
146-
147-# EAP-GPSK
148-#CONFIG_EAP_GPSK=y
149-# Include support for optional SHA256 cipher suite in EAP-GPSK
150-#CONFIG_EAP_GPSK_SHA256=y
151-
152-# EAP-TNC and related Trusted Network Connect support (experimental)
153-#CONFIG_EAP_TNC=y
154-
155-# Wi-Fi Protected Setup (WPS)
156-CONFIG_WPS=y
157-# Enable WPS external registrar functionality
158-#CONFIG_WPS_ER=y
159-# Disable credentials for an open network by default when acting as a WPS
160-# registrar.
161-#CONFIG_WPS_REG_DISABLE_OPEN=y
162-# Enable WPS support with NFC config method
163-#CONFIG_WPS_NFC=y
164-
165-# EAP-IKEv2
166-#CONFIG_EAP_IKEV2=y
167-
168-# EAP-EKE
169-#CONFIG_EAP_EKE=y
170-
171-# PKCS#12 (PFX) support (used to read private key and certificate file from
172-# a file that usually has extension .p12 or .pfx)
173-CONFIG_PKCS12=y
174-
175-# Smartcard support (i.e., private key on a smartcard), e.g., with openssl
176-# engine.
177-CONFIG_SMARTCARD=y
178-
179-# PC/SC interface for smartcards (USIM, GSM SIM)
180-# Enable this if EAP-SIM or EAP-AKA is included
181-#CONFIG_PCSC=y
182-
183-# Support HT overrides (disable HT/HT40, mask MCS rates, etc.)
184-#CONFIG_HT_OVERRIDES=y
185-
186-# Support VHT overrides (disable VHT, mask MCS rates, etc.)
187-#CONFIG_VHT_OVERRIDES=y
188-
189-# Development testing
190-#CONFIG_EAPOL_TEST=y
191-
192-# Select control interface backend for external programs, e.g, wpa_cli:
193-# unix = UNIX domain sockets (default for Linux/*BSD)
194-# udp = UDP sockets using localhost (127.0.0.1)
195-# udp6 = UDP IPv6 sockets using localhost (::1)
196-# named_pipe = Windows Named Pipe (default for Windows)
197-# udp-remote = UDP sockets with remote access (only for tests systems/purpose)
198-# udp6-remote = UDP IPv6 sockets with remote access (only for tests purpose)
199-# y = use default (backwards compatibility)
200-# If this option is commented out, control interface is not included in the
201-# build.
202-CONFIG_CTRL_IFACE=y
203-
204-# Include support for GNU Readline and History Libraries in wpa_cli.
205-# When building a wpa_cli binary for distribution, please note that these
206-# libraries are licensed under GPL and as such, BSD license may not apply for
207-# the resulting binary.
208-#CONFIG_READLINE=n
209-
210-# Include internal line edit mode in wpa_cli. This can be used as a replacement
211-# for GNU Readline to provide limited command line editing and history support.
212-CONFIG_WPA_CLI_EDIT=y
213-
214-# Remove debugging code that is printing out debug message to stdout.
215-# This can be used to reduce the size of the wpa_supplicant considerably
216-# if debugging code is not needed. The size reduction can be around 35%
217-# (e.g., 90 kB).
218-#CONFIG_NO_STDOUT_DEBUG=y
219-
220-# Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to save
221-# 35-50 kB in code size.
222-#CONFIG_NO_WPA=y
223-
224-# Remove IEEE 802.11i/WPA-Personal ASCII passphrase support
225-# This option can be used to reduce code size by removing support for
226-# converting ASCII passphrases into PSK. If this functionality is removed, the
227-# PSK can only be configured as the 64-octet hexstring (e.g., from
228-# wpa_passphrase). This saves about 0.5 kB in code size.
229-#CONFIG_NO_WPA_PASSPHRASE=y
230-
231-# Disable scan result processing (ap_mode=1) to save code size by about 1 kB.
232-# This can be used if ap_scan=1 mode is never enabled.
233-#CONFIG_NO_SCAN_PROCESSING=y
234-
235-# Select configuration backend:
236-# file = text file (e.g., wpa_supplicant.conf; note: the configuration file
237-#	path is given on command line, not here; this option is just used to
238-#	select the backend that allows configuration files to be used)
239-# winreg = Windows registry (see win_example.reg for an example)
240-CONFIG_BACKEND=file
241-
242-# Remove configuration write functionality (i.e., to allow the configuration
243-# file to be updated based on runtime configuration changes). The runtime
244-# configuration can still be changed, the changes are just not going to be
245-# persistent over restarts. This option can be used to reduce code size by
246-# about 3.5 kB.
247-#CONFIG_NO_CONFIG_WRITE=y
248-
249-# Remove support for configuration blobs to reduce code size by about 1.5 kB.
250-#CONFIG_NO_CONFIG_BLOBS=y
251-
252-# Select program entry point implementation:
253-# main = UNIX/POSIX like main() function (default)
254-# main_winsvc = Windows service (read parameters from registry)
255-# main_none = Very basic example (development use only)
256-#CONFIG_MAIN=main
257-
258-# Select wrapper for operating system and C library specific functions
259-# unix = UNIX/POSIX like systems (default)
260-# win32 = Windows systems
261-# none = Empty template
262-#CONFIG_OS=unix
263-
264-# Select event loop implementation
265-# eloop = select() loop (default)
266-# eloop_win = Windows events and WaitForMultipleObject() loop
267-#CONFIG_ELOOP=eloop
268-
269-# Should we use poll instead of select? Select is used by default.
270-#CONFIG_ELOOP_POLL=y
271-
272-# Should we use epoll instead of select? Select is used by default.
273-#CONFIG_ELOOP_EPOLL=y
274-
275-# Should we use kqueue instead of select? Select is used by default.
276-#CONFIG_ELOOP_KQUEUE=y
277-
278-# Select layer 2 packet implementation
279-# linux = Linux packet socket (default)
280-# pcap = libpcap/libdnet/WinPcap
281-# freebsd = FreeBSD libpcap
282-# winpcap = WinPcap with receive thread
283-# ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y)
284-# none = Empty template
285-#CONFIG_L2_PACKET=linux
286-
287-# Disable Linux packet socket workaround applicable for station interface
288-# in a bridge for EAPOL frames. This should be uncommented only if the kernel
289-# is known to not have the regression issue in packet socket behavior with
290-# bridge interfaces (commit 'bridge: respect RFC2863 operational state')').
291-#CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y
292-
293-# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
294-CONFIG_PEERKEY=y
295-
296-# IEEE 802.11w (management frame protection), also known as PMF
297-# Driver support is also needed for IEEE 802.11w.
298-#CONFIG_IEEE80211W=y
299-
300-# Select TLS implementation
301-# openssl = OpenSSL (default)
302-# gnutls = GnuTLS
303-# internal = Internal TLSv1 implementation (experimental)
304-# none = Empty template
305-#CONFIG_TLS=openssl
306-
307-# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.1)
308-# can be enabled to get a stronger construction of messages when block ciphers
309-# are used. It should be noted that some existing TLS v1.0 -based
310-# implementation may not be compatible with TLS v1.1 message (ClientHello is
311-# sent prior to negotiating which version will be used)
312-#CONFIG_TLSV11=y
313-
314-# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.2)
315-# can be enabled to enable use of stronger crypto algorithms. It should be
316-# noted that some existing TLS v1.0 -based implementation may not be compatible
317-# with TLS v1.2 message (ClientHello is sent prior to negotiating which version
318-# will be used)
319-#CONFIG_TLSV12=y
320-
321-# If CONFIG_TLS=internal is used, additional library and include paths are
322-# needed for LibTomMath. Alternatively, an integrated, minimal version of
323-# LibTomMath can be used. See beginning of libtommath.c for details on benefits
324-# and drawbacks of this option.
325-#CONFIG_INTERNAL_LIBTOMMATH=y
326-#ifndef CONFIG_INTERNAL_LIBTOMMATH
327-#LTM_PATH=/usr/src/libtommath-0.39
328-#CFLAGS += -I$(LTM_PATH)
329-#LIBS += -L$(LTM_PATH)
330-#LIBS_p += -L$(LTM_PATH)
331-#endif
332-# At the cost of about 4 kB of additional binary size, the internal LibTomMath
333-# can be configured to include faster routines for exptmod, sqr, and div to
334-# speed up DH and RSA calculation considerably
335-#CONFIG_INTERNAL_LIBTOMMATH_FAST=y
336-
337-# Include NDIS event processing through WMI into wpa_supplicant/wpasvc.
338-# This is only for Windows builds and requires WMI-related header files and
339-# WbemUuid.Lib from Platform SDK even when building with MinGW.
340-#CONFIG_NDIS_EVENTS_INTEGRATED=y
341-#PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib"
342-
343-# Add support for old DBus control interface
344-# (fi.epitest.hostap.WPASupplicant)
345-#CONFIG_CTRL_IFACE_DBUS=n
346-
347-# Add support for new DBus control interface
348-# (fi.w1.hostap.wpa_supplicant1)
349-# CONFIG_CTRL_IFACE_DBUS_NEW=n
350-
351-# Add introspection support for new DBus control interface
352-# CONFIG_CTRL_IFACE_DBUS_INTRO=n
353-
354-# Add support for loading EAP methods dynamically as shared libraries.
355-# When this option is enabled, each EAP method can be either included
356-# statically (CONFIG_EAP_<method>=y) or dynamically (CONFIG_EAP_<method>=dyn).
357-# Dynamic EAP methods are build as shared objects (eap_*.so) and they need to
358-# be loaded in the beginning of the wpa_supplicant configuration file
359-# (see load_dynamic_eap parameter in the example file) before being used in
360-# the network blocks.
361-#
362-# Note that some shared parts of EAP methods are included in the main program
363-# and in order to be able to use dynamic EAP methods using these parts, the
364-# main program must have been build with the EAP method enabled (=y or =dyn).
365-# This means that EAP-TLS/PEAP/TTLS/FAST cannot be added as dynamic libraries
366-# unless at least one of them was included in the main build to force inclusion
367-# of the shared code. Similarly, at least one of EAP-SIM/AKA must be included
368-# in the main build to be able to load these methods dynamically.
369-#
370-# Please also note that using dynamic libraries will increase the total binary
371-# size. Thus, it may not be the best option for targets that have limited
372-# amount of memory/flash.
373-#CONFIG_DYNAMIC_EAP_METHODS=y
374-
375-# IEEE Std 802.11r-2008 (Fast BSS Transition)
376-#CONFIG_IEEE80211R=y
377-
378-# Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt)
379-CONFIG_DEBUG_FILE=y
380-
381-# Send debug messages to syslog instead of stdout
382-CONFIG_DEBUG_SYSLOG=y
383-# Set syslog facility for debug messages
384-CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
385-
386-# Add support for sending all debug messages (regardless of debug verbosity)
387-# to the Linux kernel tracing facility. This helps debug the entire stack by
388-# making it easy to record everything happening from the driver up into the
389-# same file, e.g., using trace-cmd.
390-#CONFIG_DEBUG_LINUX_TRACING=y
391-
392-# Add support for writing debug log to Android logcat instead of standard
393-# output
394-#CONFIG_ANDROID_LOG=y
395-
396-# Enable privilege separation (see README 'Privilege separation' for details)
397-#CONFIG_PRIVSEP=y
398-
399-# Enable mitigation against certain attacks against TKIP by delaying Michael
400-# MIC error reports by a random amount of time between 0 and 60 seconds
401-#CONFIG_DELAYED_MIC_ERROR_REPORT=y
402-
403-# Enable tracing code for developer debugging
404-# This tracks use of memory allocations and other registrations and reports
405-# incorrect use with a backtrace of call (or allocation) location.
406-#CONFIG_WPA_TRACE=y
407-# For BSD, uncomment these.
408-#LIBS += -lexecinfo
409-#LIBS_p += -lexecinfo
410-#LIBS_c += -lexecinfo
411-
412-# Use libbfd to get more details for developer debugging
413-# This enables use of libbfd to get more detailed symbols for the backtraces
414-# generated by CONFIG_WPA_TRACE=y.
415-#CONFIG_WPA_TRACE_BFD=y
416-# For BSD, uncomment these.
417-#LIBS += -lbfd -liberty -lz
418-#LIBS_p += -lbfd -liberty -lz
419-#LIBS_c += -lbfd -liberty -lz
420-
421-# wpa_supplicant depends on strong random number generation being available
422-# from the operating system. os_get_random() function is used to fetch random
423-# data when needed, e.g., for key generation. On Linux and BSD systems, this
424-# works by reading /dev/urandom. It should be noted that the OS entropy pool
425-# needs to be properly initialized before wpa_supplicant is started. This is
426-# important especially on embedded devices that do not have a hardware random
427-# number generator and may by default start up with minimal entropy available
428-# for random number generation.
429-#
430-# As a safety net, wpa_supplicant is by default trying to internally collect
431-# additional entropy for generating random data to mix in with the data fetched
432-# from the OS. This by itself is not considered to be very strong, but it may
433-# help in cases where the system pool is not initialized properly. However, it
434-# is very strongly recommended that the system pool is initialized with enough
435-# entropy either by using hardware assisted random number generator or by
436-# storing state over device reboots.
437-#
438-# wpa_supplicant can be configured to maintain its own entropy store over
439-# restarts to enhance random number generation. This is not perfect, but it is
440-# much more secure than using the same sequence of random numbers after every
441-# reboot. This can be enabled with -e<entropy file> command line option. The
442-# specified file needs to be readable and writable by wpa_supplicant.
443-#
444-# If the os_get_random() is known to provide strong random data (e.g., on
445-# Linux/BSD, the board in question is known to have reliable source of random
446-# data from /dev/urandom), the internal wpa_supplicant random pool can be
447-# disabled. This will save some in binary size and CPU use. However, this
448-# should only be considered for builds that are known to be used on devices
449-# that meet the requirements described above.
450-CONFIG_NO_RANDOM_POOL=y
451-
452-# IEEE 802.11n (High Throughput) support (mainly for AP mode)
453-#CONFIG_IEEE80211N=y
454-
455-# IEEE 802.11ac (Very High Throughput) support (mainly for AP mode)
456-# (depends on CONFIG_IEEE80211N)
457-#CONFIG_IEEE80211AC=y
458-
459-# Wireless Network Management (IEEE Std 802.11v-2011)
460-# Note: This is experimental and not complete implementation.
461-#CONFIG_WNM=y
462-
463-# Interworking (IEEE 802.11u)
464-# This can be used to enable functionality to improve interworking with
465-# external networks (GAS/ANQP to learn more about the networks and network
466-# selection based on available credentials).
467-#CONFIG_INTERWORKING=y
468-
469-# Hotspot 2.0
470-#CONFIG_HS20=y
471-
472-# Enable interface matching in wpa_supplicant
473-CONFIG_MATCH_IFACE=y
474-
475-# Disable roaming in wpa_supplicant
476-#CONFIG_NO_ROAMING=y
477-
478-# AP mode operations with wpa_supplicant
479-# This can be used for controlling AP mode operations with wpa_supplicant. It
480-# should be noted that this is mainly aimed at simple cases like
481-# WPA2-Personal while more complex configurations like WPA2-Enterprise with an
482-# external RADIUS server can be supported with hostapd.
483-CONFIG_AP=y
484-
485-# P2P (Wi-Fi Direct)
486-# This can be used to enable P2P support in wpa_supplicant. See README-P2P for
487-# more information on P2P operations.
488-CONFIG_P2P=y
489-
490-# Enable TDLS support
491-#CONFIG_TDLS=y
492-
493-# Wi-Fi Direct
494-# This can be used to enable Wi-Fi Direct extensions for P2P using an external
495-# program to control the additional information exchanges in the messages.
496-#CONFIG_WIFI_DISPLAY=y
497-
498-# Autoscan
499-# This can be used to enable automatic scan support in wpa_supplicant.
500-# See wpa_supplicant.conf for more information on autoscan usage.
501-#
502-# Enabling directly a module will enable autoscan support.
503-# For exponential module:
504-#CONFIG_AUTOSCAN_EXPONENTIAL=y
505-# For periodic module:
506-#CONFIG_AUTOSCAN_PERIODIC=y
507-
508-# Password (and passphrase, etc.) backend for external storage
509-# These optional mechanisms can be used to add support for storing passwords
510-# and other secrets in external (to wpa_supplicant) location. This allows, for
511-# example, operating system specific key storage to be used
512-#
513-# External password backend for testing purposes (developer use)
514-#CONFIG_EXT_PASSWORD_TEST=y
515-
516-# Enable Fast Session Transfer (FST)
517-#CONFIG_FST=y
518-
519-# Enable CLI commands for FST testing
520-#CONFIG_FST_TEST=y
521-
522-# OS X builds. This is only for building eapol_test.
523-#CONFIG_OSX=y
524-
525-# Automatic Channel Selection
526-# This will allow wpa_supplicant to pick the channel automatically when channel
527-# is set to "0".
528-#
529-# TODO: Extend parser to be able to parse "channel=acs_survey" as an alternative
530-# to "channel=0". This would enable us to eventually add other ACS algorithms in
531-# similar way.
532-#
533-# Automatic selection is currently only done through initialization, later on
534-# we hope to do background checks to keep us moving to more ideal channels as
535-# time goes by. ACS is currently only supported through the nl80211 driver and
536-# your driver must have survey dump capability that is filled by the driver
537-# during scanning.
538-#
539-# TODO: In analogy to hostapd be able to customize the ACS survey algorithm with
540-# a newly to create wpa_supplicant.conf variable acs_num_scans.
541-#
542-# Supported ACS drivers:
543-# * ath9k
544-# * ath5k
545-# * ath10k
546-#
547-# For more details refer to:
548-# http://wireless.kernel.org/en/users/Documentation/acs
549-#CONFIG_ACS=y
550-
551-# Support Multi Band Operation
552-#CONFIG_MBO=y
+0, -24
 1@@ -1,24 +0,0 @@
 2-#!/bin/sh
 3-# wifi — wireless network service using wpa_supplicant
 4-
 5-# check for wpa_supplicant
 6-if ! which wpa_supplicant >/dev/null 2>&1; then
 7-	echo "error: wpa_supplicant not found"
 8-	echo "install wpa_supplicant first"
 9-	exit 1
10-fi
11-
12-# detect wireless interfaces
13-WLAN_IF=$(ip link show | awk -F: '/^[0-9]+: wl/ {print $2; exit}' | tr -d ' ')
14-
15-if [ -z "$WLAN_IF" ]; then
16-	echo "error: no wireless interface found"
17-	echo "check that wireless drivers are loaded"
18-	exit 1
19-fi
20-
21-echo "wifi: initializing wpa_supplicant using $WLAN_IF"
22-wpa_supplicant -B -i "$WLAN_IF" -c /etc/wpa.conf
23-
24-echo "wifi: configuring with udhcpc"
25-udhcpc -i "$WLAN_IF"
+0, -2
1@@ -1,2 +0,0 @@
2-#!/bin/sh
3-exec wpa_supplicant -c /etc/wpa_supplicant.conf 2>&1
+0, -21
 1@@ -1,21 +0,0 @@
 2-#!/bin/sh
 3-fdl(){
 4-	cmd_get=${cmd_get:-"$(
 5-		command -v aria2c ||
 6-		command -v axel ||
 7-		command -v curl ||
 8-		command -v wget ||
 9-		command -v wget2
10-	)"}
11-	# printf "$cmd_get\n"
12-}
13-_dl(){
14-fdl
15-case ${cmd_get##*/} in
16-         aria2c) set -- -d / -o  "$@" ;;
17-           axel) set -- -o       "$@" ;;
18-           curl) set -- -fLo     "$@" ;;
19-     wget|wget2) set -- -O       "$@" ;;
20-esac 
21-$cmd_get "$@"
22-}
+0, -551
  1@@ -1,551 +0,0 @@
  2-# Example wpa_supplicant build time configuration
  3-#
  4-# This file lists the configuration options that are used when building the
  5-# hostapd binary. All lines starting with # are ignored. Configuration option
  6-# lines must be commented out complete, if they are not to be included, i.e.,
  7-# just setting VARIABLE=n is not disabling that variable.
  8-#
  9-# This file is included in Makefile, so variables like CFLAGS and LIBS can also
 10-# be modified from here. In most cases, these lines should use += in order not
 11-# to override previous values of the variables.
 12-
 13-
 14-# Uncomment following two lines and fix the paths if you have installed OpenSSL
 15-# or GnuTLS in non-default location
 16-#CFLAGS += -I/usr/local/openssl/include
 17-#LIBS += -L/usr/local/openssl/lib
 18-
 19-# Some Red Hat versions seem to include kerberos header files from OpenSSL, but
 20-# the kerberos files are not in the default include path. Following line can be
 21-# used to fix build issues on such systems (krb5.h not found).
 22-#CFLAGS += -I/usr/include/kerberos
 23-
 24-# Driver interface for generic Linux wireless extensions
 25-# Note: WEXT is deprecated in the current Linux kernel version and no new
 26-# functionality is added to it. nl80211-based interface is the new
 27-# replacement for WEXT and its use allows wpa_supplicant to properly control
 28-# the driver to improve existing functionality like roaming and to support new
 29-# functionality.
 30-CONFIG_DRIVER_WEXT=y
 31-
 32-# Driver interface for Linux drivers using the nl80211 kernel interface
 33-CONFIG_DRIVER_NL80211=y
 34-
 35-# QCA vendor extensions to nl80211
 36-#CONFIG_DRIVER_NL80211_QCA=y
 37-
 38-# driver_nl80211.c requires libnl. If you are compiling it yourself
 39-# you may need to point hostapd to your version of libnl.
 40-#
 41-#CFLAGS += -I$<path to libnl include files>
 42-#LIBS += -L$<path to libnl library files>
 43-
 44-# Use libnl v2.0 (or 3.0) libraries.
 45-CONFIG_LIBNL20=y
 46-CONFIG_LIBNL_TINY=y
 47-
 48-# Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored)
 49-#CONFIG_LIBNL32 is not set
 50-
 51-
 52-# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
 53-#CONFIG_DRIVER_BSD=y
 54-#CFLAGS += -I/usr/local/include
 55-#LIBS += -L/usr/local/lib
 56-#LIBS_p += -L/usr/local/lib
 57-#LIBS_c += -L/usr/local/lib
 58-
 59-# Driver interface for Windows NDIS
 60-#CONFIG_DRIVER_NDIS=y
 61-#CFLAGS += -I/usr/include/w32api/ddk
 62-#LIBS += -L/usr/local/lib
 63-# For native build using mingw
 64-#CONFIG_NATIVE_WINDOWS=y
 65-# Additional directories for cross-compilation on Linux host for mingw target
 66-#CFLAGS += -I/opt/mingw/mingw32/include/ddk
 67-#LIBS += -L/opt/mingw/mingw32/lib
 68-#CC=mingw32-gcc
 69-# By default, driver_ndis uses WinPcap for low-level operations. This can be
 70-# replaced with the following option which replaces WinPcap calls with NDISUIO.
 71-# However, this requires that WZC is disabled (net stop wzcsvc) before starting
 72-# wpa_supplicant.
 73-# CONFIG_USE_NDISUIO=y
 74-
 75-# Driver interface for wired Ethernet drivers
 76-CONFIG_DRIVER_WIRED=y
 77-
 78-# Driver interface for the Broadcom RoboSwitch family
 79-#CONFIG_DRIVER_ROBOSWITCH=y
 80-
 81-# Driver interface for no driver (e.g., WPS ER only)
 82-#CONFIG_DRIVER_NONE=y
 83-
 84-# Solaris libraries
 85-#LIBS += -lsocket -ldlpi -lnsl
 86-#LIBS_c += -lsocket
 87-
 88-# Enable IEEE 802.1X Supplicant (automatically included if any EAP method is
 89-# included)
 90-CONFIG_IEEE8021X_EAPOL=y
 91-
 92-# EAP-MD5
 93-CONFIG_EAP_MD5=y
 94-
 95-# EAP-MSCHAPv2
 96-CONFIG_EAP_MSCHAPV2=y
 97-
 98-# EAP-TLS
 99-CONFIG_EAP_TLS=y
100-
101-# EAL-PEAP
102-CONFIG_EAP_PEAP=y
103-
104-# EAP-TTLS
105-CONFIG_EAP_TTLS=y
106-
107-# EAP-FAST
108-# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed
109-# for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g.,
110-# with openssl-0.9.8x-tls-extensions.patch, to add the needed functions.
111-#CONFIG_EAP_FAST=y
112-
113-# EAP-GTC
114-CONFIG_EAP_GTC=y
115-
116-# EAP-OTP
117-CONFIG_EAP_OTP=y
118-
119-# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
120-#CONFIG_EAP_SIM=y
121-
122-# EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
123-#CONFIG_EAP_PSK=y
124-
125-# EAP-pwd (secure authentication using only a password)
126-CONFIG_EAP_PWD=y
127-
128-# EAP-PAX
129-#CONFIG_EAP_PAX=y
130-
131-# LEAP
132-CONFIG_EAP_LEAP=y
133-
134-# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
135-#CONFIG_EAP_AKA=y
136-
137-# EAP-AKA' (enable CONFIG_PCSC, if EAP-AKA' is used).
138-# This requires CONFIG_EAP_AKA to be enabled, too.
139-#CONFIG_EAP_AKA_PRIME=y
140-
141-# Enable USIM simulator (Milenage) for EAP-AKA
142-#CONFIG_USIM_SIMULATOR=y
143-
144-# EAP-SAKE
145-#CONFIG_EAP_SAKE=y
146-
147-# EAP-GPSK
148-#CONFIG_EAP_GPSK=y
149-# Include support for optional SHA256 cipher suite in EAP-GPSK
150-#CONFIG_EAP_GPSK_SHA256=y
151-
152-# EAP-TNC and related Trusted Network Connect support (experimental)
153-#CONFIG_EAP_TNC=y
154-
155-# Wi-Fi Protected Setup (WPS)
156-CONFIG_WPS=y
157-# Enable WPS external registrar functionality
158-#CONFIG_WPS_ER=y
159-# Disable credentials for an open network by default when acting as a WPS
160-# registrar.
161-#CONFIG_WPS_REG_DISABLE_OPEN=y
162-# Enable WPS support with NFC config method
163-#CONFIG_WPS_NFC=y
164-
165-# EAP-IKEv2
166-#CONFIG_EAP_IKEV2=y
167-
168-# EAP-EKE
169-#CONFIG_EAP_EKE=y
170-
171-# PKCS#12 (PFX) support (used to read private key and certificate file from
172-# a file that usually has extension .p12 or .pfx)
173-CONFIG_PKCS12=y
174-
175-# Smartcard support (i.e., private key on a smartcard), e.g., with openssl
176-# engine.
177-CONFIG_SMARTCARD=y
178-
179-# PC/SC interface for smartcards (USIM, GSM SIM)
180-# Enable this if EAP-SIM or EAP-AKA is included
181-#CONFIG_PCSC=y
182-
183-# Support HT overrides (disable HT/HT40, mask MCS rates, etc.)
184-#CONFIG_HT_OVERRIDES=y
185-
186-# Support VHT overrides (disable VHT, mask MCS rates, etc.)
187-#CONFIG_VHT_OVERRIDES=y
188-
189-# Development testing
190-#CONFIG_EAPOL_TEST=y
191-
192-# Select control interface backend for external programs, e.g, wpa_cli:
193-# unix = UNIX domain sockets (default for Linux/*BSD)
194-# udp = UDP sockets using localhost (127.0.0.1)
195-# udp6 = UDP IPv6 sockets using localhost (::1)
196-# named_pipe = Windows Named Pipe (default for Windows)
197-# udp-remote = UDP sockets with remote access (only for tests systems/purpose)
198-# udp6-remote = UDP IPv6 sockets with remote access (only for tests purpose)
199-# y = use default (backwards compatibility)
200-# If this option is commented out, control interface is not included in the
201-# build.
202-CONFIG_CTRL_IFACE=y
203-
204-# Include support for GNU Readline and History Libraries in wpa_cli.
205-# When building a wpa_cli binary for distribution, please note that these
206-# libraries are licensed under GPL and as such, BSD license may not apply for
207-# the resulting binary.
208-#CONFIG_READLINE=n
209-
210-# Include internal line edit mode in wpa_cli. This can be used as a replacement
211-# for GNU Readline to provide limited command line editing and history support.
212-CONFIG_WPA_CLI_EDIT=y
213-
214-# Remove debugging code that is printing out debug message to stdout.
215-# This can be used to reduce the size of the wpa_supplicant considerably
216-# if debugging code is not needed. The size reduction can be around 35%
217-# (e.g., 90 kB).
218-#CONFIG_NO_STDOUT_DEBUG=y
219-
220-# Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to save
221-# 35-50 kB in code size.
222-#CONFIG_NO_WPA=y
223-
224-# Remove IEEE 802.11i/WPA-Personal ASCII passphrase support
225-# This option can be used to reduce code size by removing support for
226-# converting ASCII passphrases into PSK. If this functionality is removed, the
227-# PSK can only be configured as the 64-octet hexstring (e.g., from
228-# wpa_passphrase). This saves about 0.5 kB in code size.
229-#CONFIG_NO_WPA_PASSPHRASE=y
230-
231-# Disable scan result processing (ap_mode=1) to save code size by about 1 kB.
232-# This can be used if ap_scan=1 mode is never enabled.
233-#CONFIG_NO_SCAN_PROCESSING=y
234-
235-# Select configuration backend:
236-# file = text file (e.g., wpa_supplicant.conf; note: the configuration file
237-#	path is given on command line, not here; this option is just used to
238-#	select the backend that allows configuration files to be used)
239-# winreg = Windows registry (see win_example.reg for an example)
240-CONFIG_BACKEND=file
241-
242-# Remove configuration write functionality (i.e., to allow the configuration
243-# file to be updated based on runtime configuration changes). The runtime
244-# configuration can still be changed, the changes are just not going to be
245-# persistent over restarts. This option can be used to reduce code size by
246-# about 3.5 kB.
247-#CONFIG_NO_CONFIG_WRITE=y
248-
249-# Remove support for configuration blobs to reduce code size by about 1.5 kB.
250-#CONFIG_NO_CONFIG_BLOBS=y
251-
252-# Select program entry point implementation:
253-# main = UNIX/POSIX like main() function (default)
254-# main_winsvc = Windows service (read parameters from registry)
255-# main_none = Very basic example (development use only)
256-#CONFIG_MAIN=main
257-
258-# Select wrapper for operating system and C library specific functions
259-# unix = UNIX/POSIX like systems (default)
260-# win32 = Windows systems
261-# none = Empty template
262-#CONFIG_OS=unix
263-
264-# Select event loop implementation
265-# eloop = select() loop (default)
266-# eloop_win = Windows events and WaitForMultipleObject() loop
267-#CONFIG_ELOOP=eloop
268-
269-# Should we use poll instead of select? Select is used by default.
270-#CONFIG_ELOOP_POLL=y
271-
272-# Should we use epoll instead of select? Select is used by default.
273-#CONFIG_ELOOP_EPOLL=y
274-
275-# Should we use kqueue instead of select? Select is used by default.
276-#CONFIG_ELOOP_KQUEUE=y
277-
278-# Select layer 2 packet implementation
279-# linux = Linux packet socket (default)
280-# pcap = libpcap/libdnet/WinPcap
281-# freebsd = FreeBSD libpcap
282-# winpcap = WinPcap with receive thread
283-# ndis = Windows NDISUIO (note: requires CONFIG_USE_NDISUIO=y)
284-# none = Empty template
285-#CONFIG_L2_PACKET=linux
286-
287-# Disable Linux packet socket workaround applicable for station interface
288-# in a bridge for EAPOL frames. This should be uncommented only if the kernel
289-# is known to not have the regression issue in packet socket behavior with
290-# bridge interfaces (commit 'bridge: respect RFC2863 operational state')').
291-#CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y
292-
293-# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
294-CONFIG_PEERKEY=y
295-
296-# IEEE 802.11w (management frame protection), also known as PMF
297-# Driver support is also needed for IEEE 802.11w.
298-#CONFIG_IEEE80211W=y
299-
300-# Select TLS implementation
301-# openssl = OpenSSL (default)
302-# gnutls = GnuTLS
303-# internal = Internal TLSv1 implementation (experimental)
304-# none = Empty template
305-#CONFIG_TLS=openssl
306-
307-# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.1)
308-# can be enabled to get a stronger construction of messages when block ciphers
309-# are used. It should be noted that some existing TLS v1.0 -based
310-# implementation may not be compatible with TLS v1.1 message (ClientHello is
311-# sent prior to negotiating which version will be used)
312-#CONFIG_TLSV11=y
313-
314-# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.2)
315-# can be enabled to enable use of stronger crypto algorithms. It should be
316-# noted that some existing TLS v1.0 -based implementation may not be compatible
317-# with TLS v1.2 message (ClientHello is sent prior to negotiating which version
318-# will be used)
319-#CONFIG_TLSV12=y
320-
321-# If CONFIG_TLS=internal is used, additional library and include paths are
322-# needed for LibTomMath. Alternatively, an integrated, minimal version of
323-# LibTomMath can be used. See beginning of libtommath.c for details on benefits
324-# and drawbacks of this option.
325-#CONFIG_INTERNAL_LIBTOMMATH=y
326-#ifndef CONFIG_INTERNAL_LIBTOMMATH
327-#LTM_PATH=/usr/src/libtommath-0.39
328-#CFLAGS += -I$(LTM_PATH)
329-#LIBS += -L$(LTM_PATH)
330-#LIBS_p += -L$(LTM_PATH)
331-#endif
332-# At the cost of about 4 kB of additional binary size, the internal LibTomMath
333-# can be configured to include faster routines for exptmod, sqr, and div to
334-# speed up DH and RSA calculation considerably
335-#CONFIG_INTERNAL_LIBTOMMATH_FAST=y
336-
337-# Include NDIS event processing through WMI into wpa_supplicant/wpasvc.
338-# This is only for Windows builds and requires WMI-related header files and
339-# WbemUuid.Lib from Platform SDK even when building with MinGW.
340-#CONFIG_NDIS_EVENTS_INTEGRATED=y
341-#PLATFORMSDKLIB="/opt/Program Files/Microsoft Platform SDK/Lib"
342-
343-# Add support for old DBus control interface
344-# (fi.epitest.hostap.WPASupplicant)
345-#CONFIG_CTRL_IFACE_DBUS=n
346-
347-# Add support for new DBus control interface
348-# (fi.w1.hostap.wpa_supplicant1)
349-# CONFIG_CTRL_IFACE_DBUS_NEW=n
350-
351-# Add introspection support for new DBus control interface
352-# CONFIG_CTRL_IFACE_DBUS_INTRO=n
353-
354-# Add support for loading EAP methods dynamically as shared libraries.
355-# When this option is enabled, each EAP method can be either included
356-# statically (CONFIG_EAP_<method>=y) or dynamically (CONFIG_EAP_<method>=dyn).
357-# Dynamic EAP methods are build as shared objects (eap_*.so) and they need to
358-# be loaded in the beginning of the wpa_supplicant configuration file
359-# (see load_dynamic_eap parameter in the example file) before being used in
360-# the network blocks.
361-#
362-# Note that some shared parts of EAP methods are included in the main program
363-# and in order to be able to use dynamic EAP methods using these parts, the
364-# main program must have been build with the EAP method enabled (=y or =dyn).
365-# This means that EAP-TLS/PEAP/TTLS/FAST cannot be added as dynamic libraries
366-# unless at least one of them was included in the main build to force inclusion
367-# of the shared code. Similarly, at least one of EAP-SIM/AKA must be included
368-# in the main build to be able to load these methods dynamically.
369-#
370-# Please also note that using dynamic libraries will increase the total binary
371-# size. Thus, it may not be the best option for targets that have limited
372-# amount of memory/flash.
373-#CONFIG_DYNAMIC_EAP_METHODS=y
374-
375-# IEEE Std 802.11r-2008 (Fast BSS Transition)
376-#CONFIG_IEEE80211R=y
377-
378-# Add support for writing debug log to a file (/tmp/wpa_supplicant-log-#.txt)
379-CONFIG_DEBUG_FILE=y
380-
381-# Send debug messages to syslog instead of stdout
382-CONFIG_DEBUG_SYSLOG=y
383-# Set syslog facility for debug messages
384-CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
385-
386-# Add support for sending all debug messages (regardless of debug verbosity)
387-# to the Linux kernel tracing facility. This helps debug the entire stack by
388-# making it easy to record everything happening from the driver up into the
389-# same file, e.g., using trace-cmd.
390-#CONFIG_DEBUG_LINUX_TRACING=y
391-
392-# Add support for writing debug log to Android logcat instead of standard
393-# output
394-#CONFIG_ANDROID_LOG=y
395-
396-# Enable privilege separation (see README 'Privilege separation' for details)
397-#CONFIG_PRIVSEP=y
398-
399-# Enable mitigation against certain attacks against TKIP by delaying Michael
400-# MIC error reports by a random amount of time between 0 and 60 seconds
401-#CONFIG_DELAYED_MIC_ERROR_REPORT=y
402-
403-# Enable tracing code for developer debugging
404-# This tracks use of memory allocations and other registrations and reports
405-# incorrect use with a backtrace of call (or allocation) location.
406-#CONFIG_WPA_TRACE=y
407-# For BSD, uncomment these.
408-#LIBS += -lexecinfo
409-#LIBS_p += -lexecinfo
410-#LIBS_c += -lexecinfo
411-
412-# Use libbfd to get more details for developer debugging
413-# This enables use of libbfd to get more detailed symbols for the backtraces
414-# generated by CONFIG_WPA_TRACE=y.
415-#CONFIG_WPA_TRACE_BFD=y
416-# For BSD, uncomment these.
417-#LIBS += -lbfd -liberty -lz
418-#LIBS_p += -lbfd -liberty -lz
419-#LIBS_c += -lbfd -liberty -lz
420-
421-# wpa_supplicant depends on strong random number generation being available
422-# from the operating system. os_get_random() function is used to fetch random
423-# data when needed, e.g., for key generation. On Linux and BSD systems, this
424-# works by reading /dev/urandom. It should be noted that the OS entropy pool
425-# needs to be properly initialized before wpa_supplicant is started. This is
426-# important especially on embedded devices that do not have a hardware random
427-# number generator and may by default start up with minimal entropy available
428-# for random number generation.
429-#
430-# As a safety net, wpa_supplicant is by default trying to internally collect
431-# additional entropy for generating random data to mix in with the data fetched
432-# from the OS. This by itself is not considered to be very strong, but it may
433-# help in cases where the system pool is not initialized properly. However, it
434-# is very strongly recommended that the system pool is initialized with enough
435-# entropy either by using hardware assisted random number generator or by
436-# storing state over device reboots.
437-#
438-# wpa_supplicant can be configured to maintain its own entropy store over
439-# restarts to enhance random number generation. This is not perfect, but it is
440-# much more secure than using the same sequence of random numbers after every
441-# reboot. This can be enabled with -e<entropy file> command line option. The
442-# specified file needs to be readable and writable by wpa_supplicant.
443-#
444-# If the os_get_random() is known to provide strong random data (e.g., on
445-# Linux/BSD, the board in question is known to have reliable source of random
446-# data from /dev/urandom), the internal wpa_supplicant random pool can be
447-# disabled. This will save some in binary size and CPU use. However, this
448-# should only be considered for builds that are known to be used on devices
449-# that meet the requirements described above.
450-CONFIG_NO_RANDOM_POOL=y
451-
452-# IEEE 802.11n (High Throughput) support (mainly for AP mode)
453-#CONFIG_IEEE80211N=y
454-
455-# IEEE 802.11ac (Very High Throughput) support (mainly for AP mode)
456-# (depends on CONFIG_IEEE80211N)
457-#CONFIG_IEEE80211AC=y
458-
459-# Wireless Network Management (IEEE Std 802.11v-2011)
460-# Note: This is experimental and not complete implementation.
461-#CONFIG_WNM=y
462-
463-# Interworking (IEEE 802.11u)
464-# This can be used to enable functionality to improve interworking with
465-# external networks (GAS/ANQP to learn more about the networks and network
466-# selection based on available credentials).
467-#CONFIG_INTERWORKING=y
468-
469-# Hotspot 2.0
470-#CONFIG_HS20=y
471-
472-# Enable interface matching in wpa_supplicant
473-CONFIG_MATCH_IFACE=y
474-
475-# Disable roaming in wpa_supplicant
476-#CONFIG_NO_ROAMING=y
477-
478-# AP mode operations with wpa_supplicant
479-# This can be used for controlling AP mode operations with wpa_supplicant. It
480-# should be noted that this is mainly aimed at simple cases like
481-# WPA2-Personal while more complex configurations like WPA2-Enterprise with an
482-# external RADIUS server can be supported with hostapd.
483-CONFIG_AP=y
484-
485-# P2P (Wi-Fi Direct)
486-# This can be used to enable P2P support in wpa_supplicant. See README-P2P for
487-# more information on P2P operations.
488-CONFIG_P2P=y
489-
490-# Enable TDLS support
491-#CONFIG_TDLS=y
492-
493-# Wi-Fi Direct
494-# This can be used to enable Wi-Fi Direct extensions for P2P using an external
495-# program to control the additional information exchanges in the messages.
496-#CONFIG_WIFI_DISPLAY=y
497-
498-# Autoscan
499-# This can be used to enable automatic scan support in wpa_supplicant.
500-# See wpa_supplicant.conf for more information on autoscan usage.
501-#
502-# Enabling directly a module will enable autoscan support.
503-# For exponential module:
504-#CONFIG_AUTOSCAN_EXPONENTIAL=y
505-# For periodic module:
506-#CONFIG_AUTOSCAN_PERIODIC=y
507-
508-# Password (and passphrase, etc.) backend for external storage
509-# These optional mechanisms can be used to add support for storing passwords
510-# and other secrets in external (to wpa_supplicant) location. This allows, for
511-# example, operating system specific key storage to be used
512-#
513-# External password backend for testing purposes (developer use)
514-#CONFIG_EXT_PASSWORD_TEST=y
515-
516-# Enable Fast Session Transfer (FST)
517-#CONFIG_FST=y
518-
519-# Enable CLI commands for FST testing
520-#CONFIG_FST_TEST=y
521-
522-# OS X builds. This is only for building eapol_test.
523-#CONFIG_OSX=y
524-
525-# Automatic Channel Selection
526-# This will allow wpa_supplicant to pick the channel automatically when channel
527-# is set to "0".
528-#
529-# TODO: Extend parser to be able to parse "channel=acs_survey" as an alternative
530-# to "channel=0". This would enable us to eventually add other ACS algorithms in
531-# similar way.
532-#
533-# Automatic selection is currently only done through initialization, later on
534-# we hope to do background checks to keep us moving to more ideal channels as
535-# time goes by. ACS is currently only supported through the nl80211 driver and
536-# your driver must have survey dump capability that is filled by the driver
537-# during scanning.
538-#
539-# TODO: In analogy to hostapd be able to customize the ACS survey algorithm with
540-# a newly to create wpa_supplicant.conf variable acs_num_scans.
541-#
542-# Supported ACS drivers:
543-# * ath9k
544-# * ath5k
545-# * ath10k
546-#
547-# For more details refer to:
548-# http://wireless.kernel.org/en/users/Documentation/acs
549-#CONFIG_ACS=y
550-
551-# Support Multi Band Operation
552-#CONFIG_MBO=y
+0, -24
 1@@ -1,24 +0,0 @@
 2-#!/bin/sh
 3-# wifi — wireless network service using wpa_supplicant
 4-
 5-# check for wpa_supplicant
 6-if ! which wpa_supplicant >/dev/null 2>&1; then
 7-	echo "error: wpa_supplicant not found"
 8-	echo "install wpa_supplicant first"
 9-	exit 1
10-fi
11-
12-# detect wireless interfaces
13-WLAN_IF=$(ip link show | awk -F: '/^[0-9]+: wl/ {print $2; exit}' | tr -d ' ')
14-
15-if [ -z "$WLAN_IF" ]; then
16-	echo "error: no wireless interface found"
17-	echo "check that wireless drivers are loaded"
18-	exit 1
19-fi
20-
21-echo "wifi: initializing wpa_supplicant using $WLAN_IF"
22-wpa_supplicant -B -i "$WLAN_IF" -c /etc/wpa.conf
23-
24-echo "wifi: configuring with udhcpc"
25-udhcpc -i "$WLAN_IF"
+0, -2
1@@ -1,2 +0,0 @@
2-#!/bin/sh
3-exec wpa_supplicant -c /etc/wpa_supplicant.conf 2>&1