by default fosdem.sh now runs in 11n mode. add 11ag related scripts

This commit is contained in:
Xianjun Jiao 2020-12-17 16:49:31 +01:00
parent aa239344c1
commit 9aa482478c
2 changed files with 31 additions and 0 deletions

15
user_space/fosdem-11ag.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
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 &

View File

@ -0,0 +1,16 @@
interface=sdr0
driver=nl80211
country_code=BE
ssid=openwifi
hw_mode=a
channel=44
supported_rates=60 90 120 180 240 360 480 540
basic_rates=60 90 120 180
#ieee80211n=1
#ht_capab=[SHORT-GI-20]
#require_ht=1
#ieee80211d=1
#ieee80211h=1
#wpa=2
#wpa_passphrase=myrabbit
#wpa_key_mgmt=WPA-PSK