mirror of
https://github.com/open-sdr/openwifi.git
synced 2024-12-19 13:48:24 +00:00
20 lines
386 B
Bash
Executable File
20 lines
386 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Author: Xianjun Jiao
|
|
# SPDX-FileCopyrightText: 2019 UGent
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
killall hostapd
|
|
killall webfsd
|
|
|
|
cd ~/openwifi
|
|
service network-manager stop
|
|
./wgd.sh
|
|
ifconfig sdr0 192.168.13.1
|
|
route add default gw 192.168.10.1
|
|
service isc-dhcp-server restart
|
|
hostapd hostapd-openwifi-11ag.conf &
|
|
sleep 5
|
|
cd webserver
|
|
webfsd -F -p 80 -f index.html &
|