731e60f5c5
Signed-hostap: Jouni Malinen <j@w1.fi>
13 lines
432 B
Bash
Executable file
13 lines
432 B
Bash
Executable file
#!/bin/sh
|
|
|
|
DIR="$( cd "$( dirname "$0" )" && pwd )"
|
|
WPAS=$DIR/../../wpa_supplicant/wpa_supplicant
|
|
|
|
$DIR/stop-wifi.sh
|
|
sudo modprobe mac80211_hwsim radios=3
|
|
mkdir -p $DIR/logs
|
|
DATE=`date +%s`
|
|
sudo $WPAS -Dnl80211 -iwlan0 -c $DIR/p2p0.conf -ddKt > $DIR/logs/$DATE-log0 &
|
|
sudo $WPAS -Dnl80211 -iwlan1 -c $DIR/p2p1.conf -ddKt > $DIR/logs/$DATE-log1 &
|
|
sudo $WPAS -Dnl80211 -iwlan2 -c $DIR/p2p2.conf -ddKt > $DIR/logs/$DATE-log2 &
|
|
sleep 1
|