1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-12 15:31:56 +00:00

Local helpers

helpers to start/stop wpa_supplicant
This commit is contained in:
albfan 2015-01-23 01:28:31 +01:00
parent 4cc81e1261
commit 028bfc3e34
4 changed files with 11 additions and 0 deletions

2
res/kill-wpa.sh Executable file
View file

@ -0,0 +1,2 @@
echo killing actual wpa_supplicant connection
sudo kill -9 $(ps -ef | grep wpa_supplican[t] | awk '{print $2}')

4
res/miracle-wifi.sh Executable file
View file

@ -0,0 +1,4 @@
./kill-wpa.sh
echo starting wpa_supplicant for miraclecast
sudo wpa_supplicant -dd -B -iwlp3s0 -Dnl80211 -c wpa.conf

4
res/normal-wifi.sh Executable file
View file

@ -0,0 +1,4 @@
./kill-wpa.sh
echo starting wpa_supplicant for normal connection
sudo wpa_supplicant -B -P /run/wpa_supplicant_wlp3s0.pid -i wlp3s0 -D nl80211,wext -c/run/network/wpa_supplicant_wlp3s0.conf

1
res/show_wpa.sh Executable file
View file

@ -0,0 +1 @@
ps -ef | grep wpa_supplican[t]