mirror of
https://github.com/open-sdr/openwifi.git
synced 2025-02-18 00:40:23 +00:00
by default fosdem.sh now runs in 11n mode. add 11ag related scripts
This commit is contained in:
parent
aa239344c1
commit
9aa482478c
user_space
15
user_space/fosdem-11ag.sh
Executable file
15
user_space/fosdem-11ag.sh
Executable 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 &
|
16
user_space/hostapd-openwifi-11ag.conf
Normal file
16
user_space/hostapd-openwifi-11ag.conf
Normal 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
|
Loading…
x
Reference in New Issue
Block a user