diff options
author | Steven Barth <steven@midlink.org> | 2008-09-14 21:59:14 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-14 21:59:14 +0000 |
commit | 5872bfa084797e903b5ba1a722c22938a6a9cc95 (patch) | |
tree | 0b5087850801fe68155d5da66c31c6e5a49483ec /modules | |
parent | d0442f8aab131cb53deaed1da81e09001cc33a82 (diff) |
Overall Freifunk improvements
Diffstat (limited to 'modules')
-rw-r--r-- | modules/freifunk/luasrc/model/cbi/freifunk/contact.lua | 9 | ||||
-rw-r--r-- | modules/freifunk/luasrc/model/cbi/freifunk/freifunk.lua | 3 | ||||
-rw-r--r-- | modules/freifunk/root/etc/config/freifunk | 77 |
3 files changed, 60 insertions, 29 deletions
diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua b/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua index 203b1ce6d..fd3bcf7ef 100644 --- a/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua +++ b/modules/freifunk/luasrc/model/cbi/freifunk/contact.lua @@ -20,7 +20,12 @@ c:option(Value, "name", translate("name")) c:option(Value, "mail", translate("mail"), translate("mail1")) c:option(Value, "phone", translate("phone")) c:option(Value, "location", translate("location")) -c:option(Value, "geo", translate("coord"), translate("coord1")) c:option(Value, "note", translate("note")) -return m
\ No newline at end of file +m2 = Map("system", translate("geo")) + +s = m2:section(TypedSection, "system", "") +s:option(Value, "latitude", translate("latitude", "Breite")).rmempty = true +s:option(Value, "longitude", translate("longitude", "Länge")).rmempty = true + +return m, m2
\ No newline at end of file diff --git a/modules/freifunk/luasrc/model/cbi/freifunk/freifunk.lua b/modules/freifunk/luasrc/model/cbi/freifunk/freifunk.lua index f1bf64163..1a147460b 100644 --- a/modules/freifunk/luasrc/model/cbi/freifunk/freifunk.lua +++ b/modules/freifunk/luasrc/model/cbi/freifunk/freifunk.lua @@ -18,6 +18,7 @@ für die lokale Freifunkgemeinschaft. Diese Werte wirken sich NICHT auf die Konf des Routers aus, sondern definieren nur die Vorgaben für den Freifunkassistenten.]]) c:option(Value, "name", "Gemeinschaft") c:option(Value, "homepage", "Webseite") -c:option(Value, "realm", "Realm") +c:option(Value, "ssid", "ESSID") +c:option(Value, "prefix", "Netzprefix") return m
\ No newline at end of file diff --git a/modules/freifunk/root/etc/config/freifunk b/modules/freifunk/root/etc/config/freifunk index 832f69da3..7678fc775 100644 --- a/modules/freifunk/root/etc/config/freifunk +++ b/modules/freifunk/root/etc/config/freifunk @@ -1,32 +1,28 @@ +config settings wizard config public contact - option nickname - option name - option mail - option phone - option location - option geo - option note + option nickname '' + option name '' + option mail '' + option phone '' + option location '' + option note '' config public community - option name "Freifunk Halle" - option homepage http://halle.freifunk.net - option realm netz.freifunk-halle.net - -config settings wizard - + option name 'Freifunk' + option homepage 'http://freifunk.net' config fw_rule http option src freifunk option target ACCEPT option proto tcp option dest_port 80 - + config fw_rule https option src freifunk option target ACCEPT option proto tcp option dest_port 443 - + config fw_rule ssh option src freifunk option target ACCEPT @@ -38,12 +34,11 @@ config fw_rule olsr option target ACCEPT option proto udp option dest_port 698 - + config fw_forwarding lan option src lan option dest freifunk - config defaults wifi_device option channel 1 @@ -53,17 +48,16 @@ config defaults wifi_device option rxant 1 option diversity 0 option disabled 0 - + config defaults wifi_iface option mode adhoc - option ssid halle.freifunk.net option bssid 02:CA:FF:EE:BA:BE option txpower 10 option rts 2347 option frag 512 - - + + config defaults interface 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" @@ -71,12 +65,12 @@ config defaults interface config defaults alias option netmask 255.255.255.0 - - + + config defaults dhcp option leasetime 30m - - + + config defaults olsr_interface option HelloInterval 6.0 option HelloValidityTime 108.0 @@ -85,4 +79,35 @@ config defaults olsr_interface option MidInterval 18.0 option MidValidityTime 324.0 option HnaInterval 18.0 - option HnaValidityTime 108.0
\ No newline at end of file + option HnaValidityTime 108.0 + + +config community leipzig + option name "Freifunk Leipzig (104.61)" + option homepage http://leipzig.freifunk.net + option ssid "leipzig.freifunk.net" + option prefix "104.61" + +config community halle + option name "Freifunk Halle (104.62)" + option homepage http://halle.freifunk.net + option ssid "halle.freifunk.net" + option prefix "104.62" + +config community l59 + option name "Leisnig, Gadow, ... (104.59)" + option homepage http://freifunk.net + option ssid "start.freifunk.net" + option prefix "104.59" + +config community berlin + option name "Freifunk Berlin (104)" + option homepage http://berlin.freifunk.net + option ssid "olsr.freifunk.net" + option prefix "104" + +config community augsburg + option name "Freifunk Augsburg (191.161)" + option homepage http://augsburg.freifunk.net + option ssid "augsburg.freifunk.net" + option prefix "191.161"
\ No newline at end of file |