Browse Source

Initial commit

master
Martins Eglitis 1 year ago
commit
79223e42a7
3 changed files with 13 additions and 0 deletions
  1. 7
    0
      README.md
  2. 3
    0
      init.sh
  3. 3
    0
      scan.sh

+ 7
- 0
README.md View File

@@ -0,0 +1,7 @@
# wpa

WPA supplicant initialization and command line scan scripts.

## Usage

Enter the name of the interface as the first argument for the `init.sh` script. Then run the `scan.sh` to scan for the available networks.

+ 3
- 0
init.sh View File

@@ -0,0 +1,3 @@
#!/bin/sh

wpa_supplicant -i ${1} -c /etc/wpa_supplicant/wpa_supplicant.conf

+ 3
- 0
scan.sh View File

@@ -0,0 +1,3 @@
#!/bin/sh

wpa_cli scan && wpa_cli scan_results

Loading…
Cancel
Save