From e3f717754c3803707e1b07be3be378edb213c635 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 21 Feb 2006 02:25:51 +0000 Subject: Add OLSRD package --- packages/olsrd.xml | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 packages/olsrd.xml (limited to 'packages') diff --git a/packages/olsrd.xml b/packages/olsrd.xml new file mode 100644 index 00000000..6840b46c --- /dev/null +++ b/packages/olsrd.xml @@ -0,0 +1,116 @@ + + + OLSRD + 1.0 + OLSRD + /var/db/OLSRD + + + OLSRD +
Services
+ olsrd.xml +
+ + OLSRD + + + + + OLSRD Settings + /pkg_edit.php?xml=olsrd.xml&id=0 + + + + /usr/local/www/ + 0755 + http://www.pfsense.com/packages/config/OLSRD_rules.php + + + ['installedpackages']['OLSRD']['config'] + + + + Enable OLSR + enable + Enables the dynamic mesh linking daemon + checkbox + + + Interfaces + interface_array + lan + true + 3 + interfaces_selection + + + Enable HTTPInfo Plugin + enablehttpinfo + Enables the OLSR stats web server + checkbox + + + HTTPInfo Port + port + Port that HTTPInfo will listen on + input + + + Allowed host(s) + allowedhttpinfohost + Enables the OLSR stats web server + input + + + Allowed host(s) subnet + allowedhttpinfosubnet + Enter the subnet mask in form 255.255.255.0 + input + + + Enable Dynamic Gateway + enabledyngw + Enables the OLSR Dynamic Gateways feature + checkbox + + + Ping + ping + Pings this host to ensure connectivity + input + + + Enable Secure Mode + enabledsecure + Enables the secure mode + checkbox + + + Key + key + Paste the secure key information here. + textarea + 5 + 50 + + + + + + $fd = fopen("/usr/local/etc/olsrkey.txt","w"); + fwrite($fd, $_POST['key']); + fclose($fd); + foreach($_POST['interface_array'] as $iface) { + $if = convert_friendly_interface_to_real_interface_name($iface); + if($if) { + setup_wireless_olsr($if); + } + } + + + + + +
\ No newline at end of file -- cgit v1.2.3