modules/freifunk: add profiles for Seefeld and Duesseldorf, reformat uci
This commit is contained in:
parent
4cf6fdcdbe
commit
39ee74e598
11 changed files with 224 additions and 159 deletions
|
@ -1,168 +1,170 @@
|
||||||
config settings wizard
|
package 'freifunk'
|
||||||
config public contact
|
|
||||||
option nickname ''
|
|
||||||
option name ''
|
|
||||||
option mail ''
|
|
||||||
option phone ''
|
|
||||||
option location ''
|
|
||||||
option note ''
|
|
||||||
|
|
||||||
config public community
|
config 'settings' 'wizard'
|
||||||
option name 'Freifunk'
|
|
||||||
option homepage 'http://freifunk.net'
|
|
||||||
|
|
||||||
config fw_rule icmp
|
config 'public' 'contact'
|
||||||
option src freifunk
|
option 'nickname' ''
|
||||||
option target ACCEPT
|
option 'name' ''
|
||||||
option proto icmp
|
option 'mail' ''
|
||||||
|
option 'phone' ''
|
||||||
|
option 'location' ''
|
||||||
|
option 'note' ''
|
||||||
|
|
||||||
config fw_rule http
|
config 'public' 'community'
|
||||||
option src freifunk
|
option 'name' 'Freifunk'
|
||||||
option target ACCEPT
|
option 'homepage' 'http://freifunk.net'
|
||||||
option proto tcp
|
|
||||||
option dest_port 80
|
|
||||||
|
|
||||||
config fw_rule https
|
config 'fw_rule' 'icmp'
|
||||||
option src freifunk
|
option 'src' 'freifunk'
|
||||||
option target ACCEPT
|
option 'target' 'ACCEPT'
|
||||||
option proto tcp
|
option 'proto' 'icmp'
|
||||||
option dest_port 443
|
|
||||||
|
|
||||||
config fw_rule ssh
|
config 'fw_rule' 'http'
|
||||||
option src freifunk
|
option 'src' 'freifunk'
|
||||||
option target ACCEPT
|
option 'target' 'ACCEPT'
|
||||||
option proto tcp
|
option 'proto' 'tcp'
|
||||||
option dest_port 22
|
option 'dest_port' '80'
|
||||||
|
|
||||||
config fw_rule olsr
|
config 'fw_rule' 'https'
|
||||||
option src freifunk
|
option 'src' 'freifunk'
|
||||||
option target ACCEPT
|
option 'target' 'ACCEPT'
|
||||||
option proto udp
|
option 'proto' 'tcp'
|
||||||
option dest_port 698
|
option 'dest_port' '443'
|
||||||
|
|
||||||
config fw_rule wprobe
|
config 'fw_rule' 'ssh'
|
||||||
option src freifunk
|
option 'src' 'freifunk'
|
||||||
option target ACCEPT
|
option 'target' 'ACCEPT'
|
||||||
option proto tcp
|
option 'proto' 'tcp'
|
||||||
option dest_port 17990
|
option 'dest_port' '22'
|
||||||
|
|
||||||
config fw_forwarding lan
|
config 'fw_rule' 'olsr'
|
||||||
option src lan
|
option 'src' 'freifunk'
|
||||||
option dest freifunk
|
option 'target' 'ACCEPT'
|
||||||
|
option 'proto' 'udp'
|
||||||
|
option 'dest_port' '698'
|
||||||
|
|
||||||
config fw_forwarding fffwd
|
config 'fw_rule' 'wprobe'
|
||||||
option src freifunk
|
option 'src' 'freifunk'
|
||||||
option dest freifunk
|
option 'target' 'ACCEPT'
|
||||||
|
option 'proto' 'tcp'
|
||||||
|
option 'dest_port' '17990'
|
||||||
|
|
||||||
|
config 'fw_forwarding' 'lan'
|
||||||
|
option 'src' 'lan'
|
||||||
|
option 'dest' 'freifunk'
|
||||||
|
|
||||||
config defaults wifi_device
|
config 'fw_forwarding' 'fffwd'
|
||||||
option channel 1
|
option 'src' 'freifunk'
|
||||||
option diversity 1
|
option 'dest' 'freifunk'
|
||||||
option disabled 0
|
|
||||||
option txpower 15
|
|
||||||
option country 276
|
|
||||||
|
|
||||||
config defaults wifi_iface
|
config 'defaults' 'wifi_device'
|
||||||
option mode adhoc
|
option 'channel' '1'
|
||||||
option bssid 02:CA:FF:EE:BA:BE
|
option 'diversity' '1'
|
||||||
option sw_merge 1
|
option 'disabled' '0'
|
||||||
|
option 'txpower' '15'
|
||||||
|
option 'country' '276'
|
||||||
|
|
||||||
config defaults interface
|
config 'defaults' 'wifi_iface'
|
||||||
option netmask 255.0.0.0
|
option 'mode' 'adhoc'
|
||||||
option dns "88.198.178.18 141.54.1.1 212.204.49.83 208.67.220.220 208.67.222.222"
|
option 'bssid' '02:CA:FF:EE:BA:BE'
|
||||||
|
option 'sw_merge' '1'
|
||||||
|
|
||||||
config defaults alias
|
config 'defaults' 'interface'
|
||||||
option netmask 255.255.255.0
|
option 'netmask' '255.0.0.0'
|
||||||
|
option 'dns' '88.198.178.18 141.54.1.1 212.204.49.83 208.67.220.220 208.67.222.222'
|
||||||
|
|
||||||
config defaults dhcp
|
config 'defaults' 'alias'
|
||||||
option leasetime 30m
|
option 'netmask' '255.255.255.0'
|
||||||
|
|
||||||
config defaults olsr_interface
|
config 'defaults' 'dhcp'
|
||||||
option Ip4Broadcast 255.255.255.255
|
option 'leasetime' '30m'
|
||||||
|
|
||||||
config defaults time
|
config 'defaults' 'olsr_interface'
|
||||||
option rdate_servers "128.138.140.44 171.64.7.77 171.64.7.99 81.169.154.44 130.133.1.10"
|
option 'Ip4Broadcast' '255.255.255.255'
|
||||||
|
|
||||||
config defaults upgrade
|
config 'defaults' 'time'
|
||||||
option repository "http://dev.luci.freifunk-halle.net/freifunk-snapshots"
|
option 'rdate_servers' '128.138.140.44 171.64.7.77 171.64.7.99 81.169.154.44 130.133.1.10'
|
||||||
option rssfeed "http://firmware.leipzig.freifunk.net/kamikaze/.rss.xml"
|
|
||||||
|
|
||||||
config community leipzig
|
config 'defaults' 'upgrade'
|
||||||
option name "Freifunk Leipzig"
|
option 'repository' 'http://dev.luci.freifunk-halle.net/freifunk-snapshots'
|
||||||
option homepage http://leipzig.freifunk.net
|
option 'rssfeed' 'http://firmware.leipzig.freifunk.net/kamikaze/.rss.xml'
|
||||||
option ssid "leipzig.freifunk.net"
|
|
||||||
option mesh_network "104.61.0.0/16"
|
|
||||||
option splash_network "10.104.0.0/16"
|
|
||||||
option splash_prefix "27"
|
|
||||||
|
|
||||||
config community halle
|
config 'community' 'leipzig'
|
||||||
option name "Freifunk Halle"
|
option 'name' 'Freifunk Leipzig'
|
||||||
option homepage http://halle.freifunk.net
|
option 'homepage' 'http://leipzig.freifunk.net'
|
||||||
option ssid "halle.freifunk.net"
|
option 'ssid' 'leipzig.freifunk.net'
|
||||||
option mesh_network "104.62.0.0/16"
|
option 'mesh_network' '104.61.0.0/16'
|
||||||
option splash_network "10.104.0.0/16"
|
option 'splash_network' '10.104.0.0/16'
|
||||||
option splash_prefix "27"
|
option 'splash_prefix' '27'
|
||||||
|
|
||||||
config community l59
|
config 'community' 'halle'
|
||||||
option name "Freifunk L59"
|
option 'name' 'Freifunk Halle'
|
||||||
option homepage http://freifunk.net
|
option 'homepage' 'http://halle.freifunk.net'
|
||||||
option ssid "start.freifunk.net"
|
option 'ssid' 'halle.freifunk.net'
|
||||||
option mesh_network "104.59.0.0/16"
|
option 'mesh_network' '104.62.0.0/16'
|
||||||
option splash_network "10.104.0.0/16"
|
option 'splash_network' '10.104.0.0/16'
|
||||||
option splash_prefix "27"
|
option 'splash_prefix' '27'
|
||||||
|
|
||||||
config community berlin
|
config 'community' 'l59'
|
||||||
option name "Freifunk Berlin"
|
option 'name' 'Freifunk L59'
|
||||||
option homepage http://berlin.freifunk.net
|
option 'homepage' 'http://freifunk.net'
|
||||||
option ssid "olsr.freifunk.net"
|
option 'ssid' 'start.freifunk.net'
|
||||||
option mesh_network "104.0.0.0/8"
|
option 'mesh_network' '104.59.0.0/16'
|
||||||
option splash_network "10.104.0.0/16"
|
option 'splash_network' '10.104.0.0/16'
|
||||||
option splash_prefix "27"
|
option 'splash_prefix' '27'
|
||||||
option external freifunk_berlin
|
|
||||||
|
|
||||||
config community potsdam
|
config 'community' 'berlin'
|
||||||
option name "Freifunk Potsdam"
|
option 'name' 'Freifunk Berlin'
|
||||||
option homepage http://potsdam.freifunk.net
|
option 'homepage' 'http://berlin.freifunk.net'
|
||||||
option ssid "www.freifunk-potsdam.de"
|
option 'ssid' 'olsr.freifunk.net'
|
||||||
option mesh_network "10.22.0.0/16"
|
option 'mesh_network' '104.0.0.0/8'
|
||||||
option splash_network "10.104.0.0/16"
|
option 'splash_network' '10.104.0.0/16'
|
||||||
option splash_prefix "27"
|
option 'splash_prefix' '27'
|
||||||
option external freifunk_potsdam
|
option 'external' 'freifunk_berlin'
|
||||||
|
|
||||||
config community hamburg
|
config 'community' 'potsdam'
|
||||||
option name "Freifunk Hamburg"
|
option 'name' 'Freifunk Potsdam'
|
||||||
option homepage http://hamburg.piratenpartei.de
|
option 'homepage' 'http://potsdam.freifunk.net'
|
||||||
option ssid "hamburg.freifunk.net"
|
option 'ssid' 'www.freifunk-potsdam.de'
|
||||||
option mesh_network "10.112.0.0/12"
|
option 'mesh_network' '10.22.0.0/16'
|
||||||
option splash_network "10.104.0.0/16"
|
option 'splash_network' '10.104.0.0/16'
|
||||||
option splash_prefix "27"
|
option 'splash_prefix' '27'
|
||||||
option external freifunk_hamburg
|
option 'external' 'freifunk_potsdam'
|
||||||
|
|
||||||
config community hannover
|
config 'community' 'hamburg'
|
||||||
option name "Freifunk Hannover"
|
option 'name' 'Freifunk Hamburg'
|
||||||
option homepage http://hannover.freifunk.net
|
option 'homepage' 'http://hamburg.piratenpartei.de'
|
||||||
option ssid "hannover.freifunk.net"
|
option 'ssid' 'hamburg.freifunk.net'
|
||||||
option mesh_network "10.2.0.0/16"
|
option 'mesh_network' '10.112.0.0/12'
|
||||||
option splash_network "10.104.0.0/16"
|
option 'splash_network' '10.104.0.0/16'
|
||||||
option splash_prefix "27"
|
option 'splash_prefix' '27'
|
||||||
option external freifunk_hannover
|
option 'external' 'freifunk_hamburg'
|
||||||
|
|
||||||
config community augsburg
|
config 'community' 'hannover'
|
||||||
option name "Freifunk Augsburg"
|
option 'name' 'Freifunk Hannover'
|
||||||
option homepage http://augsburg.freifunk.net
|
option 'homepage' 'http://hannover.freifunk.net'
|
||||||
option ssid "augsburg.freifunk.net"
|
option 'ssid' 'hannover.freifunk.net'
|
||||||
option mesh_network "10.11.0.0/18"
|
option 'mesh_network' '10.2.0.0/16'
|
||||||
option splash_network "10.104.0.0/16"
|
option 'splash_network' '10.104.0.0/16'
|
||||||
option splash_prefix "27"
|
option 'splash_prefix' '27'
|
||||||
option external freifunk_augsburg
|
option 'external' 'freifunk_hannover'
|
||||||
|
|
||||||
|
config 'community' 'augsburg'
|
||||||
|
option 'name' 'Freifunk Augsburg'
|
||||||
|
option 'homepage' 'http://augsburg.freifunk.net'
|
||||||
|
option 'ssid' 'augsburg.freifunk.net'
|
||||||
|
option 'mesh_network' '10.11.0.0/18'
|
||||||
|
option 'splash_network' '10.104.0.0/16'
|
||||||
|
option 'splash_prefix' '27'
|
||||||
|
option 'external' 'freifunk_augsburg'
|
||||||
|
|
||||||
config 'community' 'jena'
|
config 'community' 'jena'
|
||||||
option 'name' 'Freifunk Jena'
|
option 'name' 'Freifunk Jena'
|
||||||
option 'homepage' 'http://www.freifunk-jena.de'
|
option 'homepage' 'http://www.freifunk-jena.de'
|
||||||
option 'ssid' 'jena.freifunk.net'
|
option 'ssid' 'jena.freifunk.net'
|
||||||
option mesh_network "10.127.0.0/20"
|
option 'mesh_network' '10.127.0.0/20'
|
||||||
option splash_network "10.104.0.0/16"
|
option 'splash_network' '10.104.0.0/16'
|
||||||
option splash_prefix "29"
|
option 'splash_prefix' '29'
|
||||||
option 'external' 'freifunk_jena'
|
option 'external' 'freifunk_jena'
|
||||||
|
|
||||||
config 'community' 'mainz'
|
config 'community' 'mainz'
|
||||||
|
@ -174,6 +176,24 @@ config 'community' 'mainz'
|
||||||
option 'splash_prefix' '27'
|
option 'splash_prefix' '27'
|
||||||
option 'external' 'freifunk_mainz'
|
option 'external' 'freifunk_mainz'
|
||||||
|
|
||||||
|
config 'community' 'seefeld'
|
||||||
|
option 'name' 'Freifunk Seefeld'
|
||||||
|
option 'homepage' 'http://wiki.freifunk.net/Seefeld.freifunk.net'
|
||||||
|
option 'ssid' 'seefeld.freifunk.net'
|
||||||
|
option 'mesh_network' '10.111.0.0/16'
|
||||||
|
option 'splash_network' '10.104.0.0/16'
|
||||||
|
option 'splash_prefix' '27'
|
||||||
|
option 'external' 'freifunk_seefeld'
|
||||||
|
|
||||||
|
config 'community' 'duesseldorf'
|
||||||
|
option 'name' 'Freifunk Duesseldorf'
|
||||||
|
option 'homepage' 'http://wiki.piratenpartei.de/D%C3%BCsseldorf/Freifunk'
|
||||||
|
option 'ssid' 'duesseldorf.freifunk.net'
|
||||||
|
option 'mesh_network' '10.40.0.0/16'
|
||||||
|
option 'splash_network' '10.104.0.0/16'
|
||||||
|
option 'splash_prefix' '27'
|
||||||
|
option 'external' 'freifunk_duesseldorf'
|
||||||
|
|
||||||
config 'community' 'ljubljana'
|
config 'community' 'ljubljana'
|
||||||
option 'name' 'Kiberpipa.net (wlan-lj)'
|
option 'name' 'Kiberpipa.net (wlan-lj)'
|
||||||
option 'homepage' 'http://www.kiberpipa.net'
|
option 'homepage' 'http://www.kiberpipa.net'
|
||||||
|
@ -182,3 +202,4 @@ config 'community' 'ljubljana'
|
||||||
option 'splash_network' '10.14.128.0/17'
|
option 'splash_network' '10.14.128.0/17'
|
||||||
option 'splash_prefix' '27'
|
option 'splash_prefix' '27'
|
||||||
option 'external' 'freifunk_ljubljana'
|
option 'external' 'freifunk_ljubljana'
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
config defaults interface
|
package 'freifunk_augsburg'
|
||||||
option netmask 255.255.0.0
|
|
||||||
|
config 'defaults' 'interface'
|
||||||
|
option 'netmask' '255.255.0.0'
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
config defaults wifi_device
|
package 'freifunk_berlin'
|
||||||
option channel 10
|
|
||||||
|
config 'defaults' 'wifi_device'
|
||||||
|
option 'channel' '10'
|
||||||
|
|
||||||
|
|
11
modules/freifunk/root/etc/config/freifunk_duesseldorf
Normal file
11
modules/freifunk/root/etc/config/freifunk_duesseldorf
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
package 'freifunk_duesseldorf'
|
||||||
|
|
||||||
|
config 'defaults' 'interface'
|
||||||
|
option 'netmask' '255.255.0.0'
|
||||||
|
|
||||||
|
config 'defaults' 'wifi_device'
|
||||||
|
option 'channel' '3'
|
||||||
|
|
||||||
|
config 'defaults' 'wifi_iface'
|
||||||
|
option 'bssid' '02:CA:FF:EE:BA:BE'
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
config defaults interface
|
package 'freifunk_hamburg'
|
||||||
option netmask 255.240.0.0
|
|
||||||
|
config 'defaults' 'interface'
|
||||||
|
option 'netmask' '255.240.0.0'
|
||||||
|
|
||||||
|
config 'defaults' 'wifi_device'
|
||||||
|
option 'channel' '1'
|
||||||
|
|
||||||
config defaults wifi_device
|
|
||||||
option channel 1
|
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
config defaults wifi_iface
|
package 'freifunk_hannover'
|
||||||
option bssid CA:FF:EE:CA:FF:EE
|
|
||||||
|
config 'defaults' 'wifi_iface'
|
||||||
config defaults interface
|
option 'bssid' 'CA:FF:EE:CA:FF:EE'
|
||||||
option netmask 255.255.0.0
|
|
||||||
|
config 'defaults' 'interface'
|
||||||
|
option 'netmask' '255.255.0.0'
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
|
package 'freifunk_jena'
|
||||||
|
|
||||||
config 'defaults' 'interface'
|
config 'defaults' 'interface'
|
||||||
option 'dns' '88.198.178.18 141.54.1.1 212.204.49.83'
|
option 'dns' '88.198.178.18 141.54.1.1 212.204.49.83'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
config defaults wifi_device
|
package 'freifunk_ljubljana'
|
||||||
option channel 8
|
|
||||||
|
config 'defaults' 'wifi_device'
|
||||||
|
option 'channel' '8'
|
||||||
|
|
||||||
config 'defaults' 'interface'
|
config 'defaults' 'interface'
|
||||||
option 'dns' '10.14.0.1 208.67.222.220 208.67.220.222'
|
option 'dns' '10.14.0.1 208.67.222.220 208.67.220.222'
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
config defaults wifi_iface
|
package 'freifunk_mainz'
|
||||||
option bssid 02:ca:ff:ee:ba:be
|
|
||||||
|
|
||||||
config defaults wifi_device
|
config 'defaults' 'wifi_iface'
|
||||||
option channel 1
|
option 'bssid' '02:ca:ff:ee:ba:be'
|
||||||
|
|
||||||
|
config 'defaults' 'wifi_device'
|
||||||
|
option 'channel' '1'
|
||||||
|
|
||||||
|
config 'defaults' 'interface'
|
||||||
|
option 'netmask' '255.255.0.0'
|
||||||
|
|
||||||
config defaults interface
|
|
||||||
option netmask 255.255.0.0
|
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
config defaults interface
|
package 'freifunk_potsdam'
|
||||||
option netmask 255.255.0.0
|
|
||||||
|
config 'defaults' 'interface'
|
||||||
|
option 'netmask' '255.255.0.0'
|
||||||
|
|
||||||
|
config 'defaults' 'wifi_device'
|
||||||
|
option 'channel' '13'
|
||||||
|
|
||||||
config defaults wifi_device
|
|
||||||
option channel 13
|
|
||||||
|
|
9
modules/freifunk/root/etc/config/freifunk_seefeld
Normal file
9
modules/freifunk/root/etc/config/freifunk_seefeld
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
package 'freifunk_seefeld'
|
||||||
|
|
||||||
|
config 'defaults' 'interface'
|
||||||
|
option 'netmask' '255.255.255.0'
|
||||||
|
|
||||||
|
config 'defaults' 'wifi_device'
|
||||||
|
option 'channel' '1'
|
||||||
|
option 'bssid' '02:CA:FF:EE:BA:BB'
|
||||||
|
|
Loading…
Reference in a new issue