mirror of
https://github.com/open-sdr/openwifi.git
synced 2024-12-22 06:57:58 +00:00
Add testmode argument (1 for AMPDU) to fosdem.sh
This commit is contained in:
parent
d572f3b04e
commit
7d361288db
@ -4,12 +4,19 @@
|
|||||||
# SPDX-FileCopyrightText: 2019 UGent
|
# SPDX-FileCopyrightText: 2019 UGent
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
test_mode=$1
|
||||||
|
if [ -z $test_mode ]
|
||||||
|
then
|
||||||
|
test_mode=0
|
||||||
|
fi
|
||||||
|
echo test_mode $test_mode
|
||||||
|
|
||||||
killall hostapd
|
killall hostapd
|
||||||
killall webfsd
|
killall webfsd
|
||||||
|
|
||||||
cd ~/openwifi
|
cd ~/openwifi
|
||||||
service network-manager stop
|
service network-manager stop
|
||||||
./wgd.sh
|
./wgd.sh $test_mode
|
||||||
ifconfig sdr0 192.168.13.1
|
ifconfig sdr0 192.168.13.1
|
||||||
route add default gw 192.168.10.1
|
route add default gw 192.168.10.1
|
||||||
service isc-dhcp-server restart
|
service isc-dhcp-server restart
|
||||||
|
@ -4,12 +4,19 @@
|
|||||||
# SPDX-FileCopyrightText: 2019 UGent
|
# SPDX-FileCopyrightText: 2019 UGent
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
|
test_mode=$1
|
||||||
|
if [ -z $test_mode ]
|
||||||
|
then
|
||||||
|
test_mode=0
|
||||||
|
fi
|
||||||
|
echo test_mode $test_mode
|
||||||
|
|
||||||
killall hostapd
|
killall hostapd
|
||||||
killall webfsd
|
killall webfsd
|
||||||
|
|
||||||
cd ~/openwifi
|
cd ~/openwifi
|
||||||
service network-manager stop
|
service network-manager stop
|
||||||
./wgd.sh
|
./wgd.sh $test_mode
|
||||||
ifconfig sdr0 192.168.13.1
|
ifconfig sdr0 192.168.13.1
|
||||||
route add default gw 192.168.10.1
|
route add default gw 192.168.10.1
|
||||||
service isc-dhcp-server restart
|
service isc-dhcp-server restart
|
||||||
|
Loading…
Reference in New Issue
Block a user